From 94290102b6e1b29b29c58318670da797394550c1 Mon Sep 17 00:00:00 2001 From: zotlabs Date: Wed, 1 Feb 2017 18:05:02 -0800 Subject: tested extensible permissions by adding wiki permissions. Discovered a couple of issues that needed attention in the process. --- Zotlabs/Access/Permissions.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Zotlabs/Access/Permissions.php') diff --git a/Zotlabs/Access/Permissions.php b/Zotlabs/Access/Permissions.php index 5fded5f03..81408f122 100644 --- a/Zotlabs/Access/Permissions.php +++ b/Zotlabs/Access/Permissions.php @@ -36,7 +36,7 @@ class Permissions { static public function version() { // This must match the version in PermissionRoles.php before permission updates can run. - return 1; + return 2; } @@ -50,7 +50,9 @@ class Permissions { 'view_storage' => t('Can view my file storage and photos'), 'write_storage' => t('Can upload/modify my file storage and photos'), 'view_pages' => t('Can view my channel webpages'), + 'view_wiki' => t('Can view my wiki pages'), 'write_pages' => t('Can create/edit my channel webpages'), + 'write_wiki' => t('Can write to my wiki pages'), 'post_wall' => t('Can post on my channel (wall) page'), 'post_comments' => t('Can comment on or like my posts'), 'post_mail' => t('Can send me private mail messages'), -- cgit v1.2.3