#
# Copyright (c) 2005 rPath, Inc.
#
# All Rights Reserved
#

OWNER, DEVELOPER = range(0, 2)
LEVELS = range(0, 2)

names = {
    OWNER: "Owner",
    DEVELOPER: "Developer",
}

NONMEMBER=-1

@@ -55,16 +55,161 @@
 rved%0A#%0A%0A
+#LEVELS may only be appended at the end!  Numeric values are stored in the DB.  %0A#Any discrepency could result in a security issue.%0ANONMEMBER=-1%0A
 OWNER, D
@@ -216,16 +216,22 @@
 EVELOPER
+, USER
  = range
@@ -238,31 +238,130 @@
 (0, 
-2)%0ALEVELS = range(0, 2)
+3)%0A%0A#This list is sorted in order of permissions%0AWRITERS = %5BOWNER, DEVELOPER%5D%0AREADERS = %5BUSER%5D%0ALEVELS = WRITERS + READERS%0A
 %0A%0Ana
@@ -378,16 +378,21 @@
   OWNER:
+     
  %22Owner%22
@@ -407,16 +407,17 @@
 VELOPER:
+ 
  %22Develo
@@ -426,20 +426,31 @@
 r%22,%0A
-%7D%0A%0ANONMEMBER=-1
+    USER:       %22User%22,%0A%7D%0A
 %0A

Add USER userlevel