From 6d8727e5a6d3b096af0b2f0cc12912f4632bee9b 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/quagga/trunk@1563 ab2d0c66-481e-0410-8bed-d214d4d58bed --- bgp.roles | 5 +++-- zebra.roles | 5 +++-- 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 -- cgit v1.2.3