Changeset 4659 for waeup/branches/ulif-layout/src
- Timestamp:
- 4 Jan 2010, 22:46:37 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
waeup/branches/ulif-layout/src/waeup/permissions.py
r4653 r4659 14 14 grok.name('waeup.Public') 15 15 16 class ViewPermission(grok.Permission): 17 grok.name('waeup.View') 18 16 19 class ManageUniversity(grok.Permission): 17 20 grok.name('waeup.manageUniversity') … … 22 25 class FacultyRead(grok.Permission): 23 26 grok.name('waeup.facultyread') 24 27 25 28 class PortalUser(grok.Role): 26 29 grok.name('waeup.PortalUser') 27 grok.permissions('waeup.facultyread' )30 grok.permissions('waeup.facultyread', 'waeup.View', 'waeup.Public') 28 31 29 32 class PortalManager(grok.Role): 30 33 grok.name('waeup.PortalManager') 31 grok.permissions('waeup.manageUniversity', 'waeup.manageUsers') 34 grok.permissions('waeup.manageUniversity', 'waeup.manageUsers', 35 'waeup.View', 'waeup.Public') 32 36 33 37 def getRoles():
Note: See TracChangeset for help on using the changeset viewer.