Ignore:
Timestamp:
4 Jan 2010, 22:46:37 (15 years ago)
Author:
uli
Message:
  • Add permission 'waeup.View'
  • Include new permissions in roles.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • waeup/branches/ulif-layout/src/waeup/permissions.py

    r4653 r4659  
    1414    grok.name('waeup.Public')
    1515
     16class ViewPermission(grok.Permission):
     17    grok.name('waeup.View')
     18
    1619class ManageUniversity(grok.Permission):
    1720    grok.name('waeup.manageUniversity')
     
    2225class FacultyRead(grok.Permission):
    2326    grok.name('waeup.facultyread')
    24 
     27   
    2528class PortalUser(grok.Role):
    2629    grok.name('waeup.PortalUser')
    27     grok.permissions('waeup.facultyread')
     30    grok.permissions('waeup.facultyread', 'waeup.View', 'waeup.Public')
    2831
    2932class PortalManager(grok.Role):
    3033    grok.name('waeup.PortalManager')
    31     grok.permissions('waeup.manageUniversity', 'waeup.manageUsers')
     34    grok.permissions('waeup.manageUniversity', 'waeup.manageUsers',
     35                     'waeup.View', 'waeup.Public')
    3236
    3337def getRoles():
Note: See TracChangeset for help on using the changeset viewer.