From f5167a60d2987c812534dccc04fa7a514aff5c19 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/alpine-baselayout/trunk@1563 ab2d0c66-481e-0410-8bed-d214d4d58bed --- alpine-baselayout.roles | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'alpine-baselayout.roles') diff --git a/alpine-baselayout.roles b/alpine-baselayout.roles index 31a04d0..c9b2a07 100644 --- a/alpine-baselayout.roles +++ b/alpine-baselayout.roles @@ -1,5 +1,5 @@ -CREATE=interfaces:create,interfaces:editintfile -READ=health:storage,health:proc,health:network,health:modules,health:networkstats,interfaces:status,interfaces:read,logfiles:status,logfiles:view,logfiles:download,logfiles:tail,syslog:status,syslog:loginfo,rc:status -UPDATE=hostname:edit,interfaces:update,interfaces:ifup,interfaces:ifdown,interfaces:restart,password:edit,skins:update,skins:read,syslog:startstop,syslog:config,syslog:expert,rc:edit -DELETE=interfaces:delete,logfiles:delete -ALL=health:system,hostname:read +GUEST=health:system,hostname:read +USER=health:storage,health:proc,health:network,health:modules,health:networkstats,interfaces:status,interfaces:read,interfaces:restart,logfiles:status,logfiles:view,logfiles:download,logfiles:tail,skins:update,skins:read,syslog:status,syslog:loginfo,syslog:startstop,rc:status +EDITOR=hostname:edit,interfaces:delete,interfaces:create,interfaces:update,interfaces:ifup,interfaces:ifdown,logfiles:delete,syslog:config,rc:edit +EXPERT=syslog:expert,interfaces:editintfile +ADMIN=health:system,hostname:read,health:storage,health:proc,health:network,health:modules,health:networkstats,interfaces:status,interfaces:read,interfaces:restart,logfiles:status,logfiles:view,logfiles:download,logfiles:tail,skins:update,skins:read,syslog:status,syslog:loginfo,syslog:startstop,rc:status,hostname:edit,interfaces:delete,interfaces:create,interfaces:update,interfaces:ifup,interfaces:ifdown,logfiles:delete,syslog:config,rc:edit,syslog:expert,interfaces:editintfile,password:edit -- cgit v1.2.3