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
commitee7ebec74625a64077cd428ec3a385bc051b51ef (patch)
tree8cc92f1dc1da382edd5f49e88d17298124956def
parent74293bb0e7c9ba256f0d57d6525da6ea20d275b2 (diff)
downloadacf-opennhrp-ee7ebec74625a64077cd428ec3a385bc051b51ef.tar.bz2
acf-opennhrp-ee7ebec74625a64077cd428ec3a385bc051b51ef.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/opennhrp/trunk@1563 ab2d0c66-481e-0410-8bed-d214d4d58bed
-rw-r--r--opennhrp.roles6
1 files changed, 4 insertions, 2 deletions
diff --git a/opennhrp.roles b/opennhrp.roles
index 4879687..2d16b10 100644
--- a/opennhrp.roles
+++ b/opennhrp.roles
@@ -1,2 +1,4 @@
-READ=opennhrp:status,opennhrp:show
-UPDATE=opennhrp:expert,opennhrp:config,opennhrp:startstop
+USER=opennhrp:status,opennhrp:show,opennhrp:startstop
+EDITOR=opennhrp:config
+EXPERT=opennhrp:expert
+ADMIN=opennhrp:status,opennhrp:show,opennhrp:startstop,opennhrp:config,opennhrp:expert