From cf9f6a4916a7ce27544ccba45cea73dbdf9c33d5 Mon Sep 17 00:00:00 2001 From: Ted Trask Date: Fri, 24 Oct 2008 15:20:36 +0000 Subject: 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 --- shorewall.roles | 6 ++++-- 1 file 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 -- cgit v1.2.3