aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Access/PermissionRoles.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-02-07 16:08:27 -0800
committerzotlabs <mike@macgirvin.com>2017-02-07 16:08:27 -0800
commitb2bae867d02b62708e09e5abf0ebd03a4d2b095e (patch)
tree10e0c03f1a054ffd262c70a8860474a9b6977b0f /Zotlabs/Access/PermissionRoles.php
parent1cef3f15d5174636b59c86bb816a0009940201ef (diff)
downloadvolse-hubzilla-b2bae867d02b62708e09e5abf0ebd03a4d2b095e.tar.gz
volse-hubzilla-b2bae867d02b62708e09e5abf0ebd03a4d2b095e.tar.bz2
volse-hubzilla-b2bae867d02b62708e09e5abf0ebd03a4d2b095e.zip
more background work for permcat support
Diffstat (limited to 'Zotlabs/Access/PermissionRoles.php')
-rw-r--r--Zotlabs/Access/PermissionRoles.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/Zotlabs/Access/PermissionRoles.php b/Zotlabs/Access/PermissionRoles.php
index d7e162197..dd9a49d05 100644
--- a/Zotlabs/Access/PermissionRoles.php
+++ b/Zotlabs/Access/PermissionRoles.php
@@ -281,22 +281,22 @@ class PermissionRoles {
$permcats = [
[ 'follower', t('follower','permcat'),
- [ 'view_stream','view_profile','view_contacts','view_storage','view_pages',
+ [ 'view_stream','view_profile','view_contacts','view_storage','view_pages','view_wiki',
'post_like' ]
],
[ 'contributor', t('contributor','permcat'),
- [ 'view_stream','view_profile','view_contacts','view_storage','view_pages',
- 'post_wall','post_comments','post_like','tag_deliver','chat' ]
+ [ 'view_stream','view_profile','view_contacts','view_storage','view_pages','view_wiki',
+ 'post_wall','post_comments','write_wiki','post_like','tag_deliver','chat' ]
],
[ 'trusted', t('trusted','permcat'),
[ 'view_stream','view_profile','view_contacts','view_storage','view_pages',
- 'write_storage','post_wall','post_comments','post_like','tag_deliver',
+ 'write_storage','post_wall','write_pages','write_wiki','post_comments','post_like','tag_deliver',
'chat', 'republish' ]
],
[ 'moderator', t('moderator','permcat'),
[ 'view_stream','view_profile','view_contacts','view_storage','view_pages',
- 'write_storage','post_wall','post_comments','post_like','tag_deliver',
+ 'write_storage','post_wall','wite_pages','write_wiki','post_comments','post_like','tag_deliver',
'chat', 'republish' ]
]
];