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:
parent
81d556d32e
commit
cbc0e5b934
@ -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')) {
|
||||
|
Reference in New Issue
Block a user