mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-20 13:35:12 +00:00
wrong permission
This commit is contained in:
parent
5ad5a0fa07
commit
81d556d32e
1 changed files with 1 additions and 1 deletions
|
@ -959,7 +959,7 @@ function widget_wiki_pages($arr) {
|
|||
}
|
||||
}
|
||||
}
|
||||
$can_create = perm_is_allowed(\App::$profile['uid'],get_observer_hash(),'write_pages');
|
||||
$can_create = perm_is_allowed(\App::$profile['uid'],get_observer_hash(),'write_wiki');
|
||||
|
||||
$can_delete = ((local_channel() && (local_channel() == \App::$profile['uid'])) ? true : false);
|
||||
|
||||
|
|
Loading…
Reference in a new issue