summaryrefslogtreecommitdiffstats
path: root/dnscache.roles
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2008-10-24 15:20:36 +0000
committerTed Trask <ttrask01@yahoo.com>2008-10-24 15:20:36 +0000
commit5dd2463ccd1bff080f37a6e4dacbeb5c6576f2b3 (patch)
tree6c08210ecbf48b85710d4cb73a53e79a788e43bc /dnscache.roles
parentf8cbed38de0516e54a77641171e352153a2b4fdf (diff)
downloadacf-dnscache-5dd2463ccd1bff080f37a6e4dacbeb5c6576f2b3.tar.bz2
acf-dnscache-5dd2463ccd1bff080f37a6e4dacbeb5c6576f2b3.tar.xz
Minor change to roles code and major change to roles. Replaced ALL, CREATE, READ, UPDATE, and DELETE with GUEST, USER, EDITOR, EXPERT, and ADMIN. Changed all roles files and modified some html files to hide options without permissions. Determine default roles from roles files, rather than hard-coded, and added ability to modify default roles by adding permissions.
git-svn-id: svn://svn.alpinelinux.org/acf/dnscache/trunk@1563 ab2d0c66-481e-0410-8bed-d214d4d58bed
Diffstat (limited to 'dnscache.roles')
-rw-r--r--dnscache.roles6
1 files changed, 4 insertions, 2 deletions
diff --git a/dnscache.roles b/dnscache.roles
index a4f82fc..b70c3ac 100644
--- a/dnscache.roles
+++ b/dnscache.roles
@@ -1,2 +1,4 @@
-READ=dnscache:status
-UPDATE=dnscache:config,dnscache:expert,dnscache:startstop,dnscache:editips,dnscache:listdomains,dnscache:createdomain,dnscache:editdomain,dnscache:deletedomain
+USER=dnscache:status,dnscache:startstop
+EDITOR=dnscache:config,dnscache:editips,dnscache:listdomains,dnscache:createdomain,dnscache:editdomain,dnscache:deletedomain
+EXPERT=dnscache:expert
+ADMIN=dnscache:status,dnscache:startstop,dnscache:config,dnscache:editips,dnscache:listdomains,dnscache:createdomain,dnscache:editdomain,dnscache:deletedomain,dnscache:expert