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

This commit is contained in:
Mario Vavti 2017-02-21 14:52:42 +01:00
parent 81d556d32e
commit cbc0e5b934

View File

@ -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')) {