summaryrefslogtreecommitdiffstats
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
commitef459f812aa139faee91d92a37d1d2a84cd11c4c (patch)
tree2da595d1d88d96bf2413f9c97c00a91c75eff450
parente4bcdbc80fe799760520fac53db0d84b63aaee17 (diff)
downloadacf-openntpd-ef459f812aa139faee91d92a37d1d2a84cd11c4c.tar.bz2
acf-openntpd-ef459f812aa139faee91d92a37d1d2a84cd11c4c.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/openntpd/trunk@1563 ab2d0c66-481e-0410-8bed-d214d4d58bed
-rw-r--r--openntpd.roles6
1 files changed, 4 insertions, 2 deletions
diff --git a/openntpd.roles b/openntpd.roles
index b37a1e4..07ba252 100644
--- a/openntpd.roles
+++ b/openntpd.roles
@@ -1,2 +1,4 @@
-READ=openntpd:status,openntpd:logfile,openntpd:details
-UPDATE=openntpd:expert,openntpd:config,openntpd:startstop
+USER=openntpd:status,openntpd:logfile,openntpd:details,openntpd:startstop
+EDITOR=openntpd:config
+EXPERT=openntpd:expert
+ADMIN=openntpd:status,openntpd:logfile,openntpd:details,openntpd:startstop,openntpd:config,openntpd:expert