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
commit6d8727e5a6d3b096af0b2f0cc12912f4632bee9b (patch)
treeff16b3de76dfc4983acb5c89f9fed195e5bb242e
parent7d5438b1219ddc386b1abe92215af2108ffe6891 (diff)
downloadacf-quagga-6d8727e5a6d3b096af0b2f0cc12912f4632bee9b.tar.bz2
acf-quagga-6d8727e5a6d3b096af0b2f0cc12912f4632bee9b.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/quagga/trunk@1563 ab2d0c66-481e-0410-8bed-d214d4d58bed
-rw-r--r--bgp.roles5
-rw-r--r--zebra.roles5
2 files changed, 6 insertions, 4 deletions
diff --git a/bgp.roles b/bgp.roles
index 83c2721..cb203f8 100644
--- a/bgp.roles
+++ b/bgp.roles
@@ -1,2 +1,3 @@
-READ=bgp:welcome,bgp:status,bgp:details,
-UPDATE=bgp:startstop,bgp:expert,
+USER=bgp:welcome,bgp:status,bgp:details,bgp:startstop
+EXPERT=bgp:expert
+ADMIN=bgp:welcome,bgp:status,bgp:details,bgp:startstop,bgp:expert
diff --git a/zebra.roles b/zebra.roles
index 3c86963..3a408db 100644
--- a/zebra.roles
+++ b/zebra.roles
@@ -1,2 +1,3 @@
-READ=zebra:welcome,zebra:status,zebra:details,
-UPDATE=zebra:startstop,zebra:expert,
+USER=zebra:welcome,zebra:status,zebra:details,zebra:startstop
+EXPERT=zebra:expert
+ADMIN=zebra:welcome,zebra:status,zebra:details,zebra:startstop,zebra:expert