summaryrefslogtreecommitdiff
path: root/admin
diff options
context:
space:
mode:
authorLester Caine <lester@lsces.co.uk>2026-06-05 17:34:39 +0100
committerLester Caine <lester@lsces.co.uk>2026-06-05 17:34:39 +0100
commitf81d962b373dd701ddb91b965c49857519501061 (patch)
tree254080cd11a81fbb4157b7db2186f62f7d049cfc /admin
parentc09bca07ec9a6433c05ba142a0b2aa5f1920413a (diff)
downloadcontact-f81d962b373dd701ddb91b965c49857519501061.tar.gz
contact-f81d962b373dd701ddb91b965c49857519501061.tar.bz2
contact-f81d962b373dd701ddb91b965c49857519501061.zip
Rationalise contact permissions
p_contact_view: registered; p_contact_create/update: editors; p_contact_expunge/admin: admin — expunge gates all delete buttons. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'admin')
-rwxr-xr-xadmin/schema_inc.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/admin/schema_inc.php b/admin/schema_inc.php
index fa3bdfd..bc06b3b 100755
--- a/admin/schema_inc.php
+++ b/admin/schema_inc.php
@@ -116,11 +116,11 @@ $gBitInstaller->registerSchemaDefault( CONTACT_PKG_NAME, [
// ### Default User Permissions
$gBitInstaller->registerUserPermissions( CONTACT_PKG_NAME, [
- [ 'p_contact_view', 'Can browse the Contact List', 'basic', CONTACT_PKG_NAME ],
- [ 'p_contact_update', 'Can update the Contact List content','registered', CONTACT_PKG_NAME ],
- [ 'p_contact_create', 'Can create a new Contact List entry','registered', CONTACT_PKG_NAME ],
+ [ 'p_contact_view', 'Can browse the Contact List', 'registered', CONTACT_PKG_NAME ],
+ [ 'p_contact_create', 'Can create a new Contact List entry','editors', CONTACT_PKG_NAME ],
+ [ 'p_contact_update', 'Can update the Contact List content','editors', CONTACT_PKG_NAME ],
+ [ 'p_contact_expunge', 'Can remove a Contact entry', 'admin', CONTACT_PKG_NAME ],
[ 'p_contact_admin', 'Can admin Contact List', 'admin', CONTACT_PKG_NAME ],
- [ 'p_contact_expunge', 'Can remove a Contact entry', 'editors', CONTACT_PKG_NAME ],
] );
// ### Default Preferences