From cbc0e5b93427104a8cdc848f53da970114c8042e Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Tue, 21 Feb 2017 14:52:42 +0100 Subject: do not lock out channels with only read perms from all post actions. we check read/write permissions for each command later in the process --- Zotlabs/Module/Wiki.php | 5 ----- 1 file changed, 5 deletions(-) (limited to 'Zotlabs') diff --git a/Zotlabs/Module/Wiki.php b/Zotlabs/Module/Wiki.php index d0856f4d6..32b484eea 100644 --- a/Zotlabs/Module/Wiki.php +++ b/Zotlabs/Module/Wiki.php @@ -314,11 +314,6 @@ class Wiki extends \Zotlabs\Web\Controller { return; } - if(! perm_is_allowed(\App::$profile_uid,get_observer_hash(),'write_wiki')) { - notice( t('Permission denied.') . EOL); - return; - } - // /wiki/channel/preview // Render mardown-formatted text in HTML for preview if((argc() > 2) && (argv(2) === 'preview')) { -- cgit v1.2.3