aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2017-02-21 14:52:42 +0100
committerMario Vavti <mario@mariovavti.com>2017-02-21 14:52:42 +0100
commitcbc0e5b93427104a8cdc848f53da970114c8042e (patch)
tree2dee13fb6ce321b49afd2de94556162075f3c0c6 /Zotlabs
parent81d556d32e2a36c62078184848391b0f9b85c3e1 (diff)
downloadvolse-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.php5
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')) {