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
commitcf9f6a4916a7ce27544ccba45cea73dbdf9c33d5 (patch)
tree68afb87fdbd221bdbd9251ceb96a312a7b9c7aeb
parentab30a0472dd1aaa01eeb9b2804579255b90b4a80 (diff)
downloadacf-shorewall-cf9f6a4916a7ce27544ccba45cea73dbdf9c33d5.tar.bz2
acf-shorewall-cf9f6a4916a7ce27544ccba45cea73dbdf9c33d5.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/shorewall/trunk@1563 ab2d0c66-481e-0410-8bed-d214d4d58bed
-rw-r--r--shorewall.roles6
1 files changed, 4 insertions, 2 deletions
diff --git a/shorewall.roles b/shorewall.roles
index cd638fb..5594365 100644
--- a/shorewall.roles
+++ b/shorewall.roles
@@ -1,2 +1,4 @@
-READ=shorewall:status,shorewall:details,shorewall:logfile
-UPDATE=shorewall:editrecords,shorewall:config,shorewall:check,shorewall:listfiles,shorewall:edit,shorewall:startstop
+USER=shorewall:status,shorewall:details,shorewall:logfile,shorewall:startstop
+EDITOR=shorewall:check
+EXPERT=shorewall:listfiles,shorewall:edit
+ADMIN=shorewall:status,shorewall:details,shorewall:logfile,shorewall:startstop,shorewall:check,shorewall:listfiles,shorewall:edit