diff options
author | Mario Vavti <mario@mariovavti.com> | 2017-02-21 14:52:42 +0100 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2017-02-21 14:52:42 +0100 |
commit | cbc0e5b93427104a8cdc848f53da970114c8042e (patch) | |
tree | 2dee13fb6ce321b49afd2de94556162075f3c0c6 /Zotlabs | |
parent | 81d556d32e2a36c62078184848391b0f9b85c3e1 (diff) | |
download | volse-hubzilla-cbc0e5b93427104a8cdc848f53da970114c8042e.tar.gz volse-hubzilla-cbc0e5b93427104a8cdc848f53da970114c8042e.tar.bz2 volse-hubzilla-cbc0e5b93427104a8cdc848f53da970114c8042e.zip |
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
Diffstat (limited to 'Zotlabs')
-rw-r--r-- | Zotlabs/Module/Wiki.php | 5 |
1 files changed, 0 insertions, 5 deletions
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')) { |