Changeset 6148 for main


Ignore:
Timestamp:
19 May 2011, 15:51:15 (14 years ago)
Author:
Henrik Bettermann
Message:

Use a waeup.viewStudents permission to reserve the waeup.View permission for the academic section. This permission should be renamed later to waeup.viewAcademics.

Location:
main/waeup.sirp/trunk/src/waeup/sirp
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/browser/pages.py

    r6146 r6148  
    322322    grok.name('searchstudent')
    323323    grok.template('searchstudentpage')
    324     grok.require('waeup.View')
     324    grok.require('waeup.viewStudents')
    325325    title = u"Student Search"
    326326    pnav = 2
     
    337337    grok.name('search')
    338338    grok.template('searchpage')
    339     grok.require('waeup.View')
     339    grok.require('waeup.manageUniversity')
    340340    title = u"Site Search"
    341341    pnav = 2
     
    999999    taboneactions = ['Save','Cancel']
    10001000    tabtwoactions = ['Add department', 'Remove selected','Cancel']
    1001     tabthreeactions = ['Add local role']
     1001    tabthreeactions = ['Add local role', 'Remove local roles selected']
    10021002    subunits = 'Departments'
    10031003
  • main/waeup.sirp/trunk/src/waeup/sirp/permissions.py

    r6144 r6148  
    3434class ManagePortalSettings(grok.Permission):
    3535    grok.name('waeup.managePortalSettings')
     36   
     37class ViewStudents(grok.Permission):
     38    grok.name('waeup.viewStudents')
    3639
    3740# Local Roles
Note: See TracChangeset for help on using the changeset viewer.