adds 'site-admin' role so admin interface is not open to everyone; special

bootstrapping code, too.
This commit is contained in:
Frédéric Péters 2005-05-20 09:19:50 +00:00
parent 4a7427d009
commit 556b2d20c7
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ from wcs import storage
from wcs.form import *
def get_user_roles():
l = []
l = [('site-admin', _('Site Administrator'))]
for role in storage.get_storage().values('roles'):
l.append( (role.id, role.name) )
return l