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
commit411b5ba29187c925b7e2009c1c0394a7cefafad2 (patch)
treeaea71684035107569b203c3ca1145567f9025b53
parent0537651b3fbf6b60fba9142f3deda4f41a27b050 (diff)
downloadacf-chrony-411b5ba29187c925b7e2009c1c0394a7cefafad2.tar.bz2
acf-chrony-411b5ba29187c925b7e2009c1c0394a7cefafad2.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/chrony/trunk@1563 ab2d0c66-481e-0410-8bed-d214d4d58bed
-rw-r--r--chrony.roles5
1 files changed, 3 insertions, 2 deletions
diff --git a/chrony.roles b/chrony.roles
index e6c0a42..55dcc4b 100644
--- a/chrony.roles
+++ b/chrony.roles
@@ -1,2 +1,3 @@
-READ=chrony:status,chrony:logfile,chrony:time
-UPDATE=chrony:expert,chrony:startstop
+USER=chrony:status,chrony:logfile,chrony:time,chrony:startstop
+EXPERT=chrony:expert
+ADMIN=chrony:status,chrony:logfile,chrony:time,chrony:startstop,chrony:expert