Changeset 7166
- Timestamp:
- 22 Nov 2011, 14:06:56 (13 years ago)
- Location:
- main/waeup.sirp/trunk/src/waeup/sirp/applicants
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/applicants/browser.py
r7145 r7166 451 451 'waeup.local.ApplicationOwner', self.request.principal.id) 452 452 453 # Assign current principal the PortalUserrole453 # Assign current principal the global Applicant role 454 454 role_manager = IPrincipalRoleManager(grok.getSite()) 455 455 role_manager.assignRoleToPrincipal( 456 'waeup. PortalUser', self.request.principal.id)456 'waeup.Applicant', self.request.principal.id) 457 457 458 458 # Mark application as started -
main/waeup.sirp/trunk/src/waeup/sirp/applicants/permissions.py
r7136 r7166 43 43 44 44 # Global role 45 46 class ApplicantRole(grok.Role): 47 grok.name('waeup.Applicant') 48 grok.permissions('waeup.Public', 'waeup.View') 49 45 50 class ApplicationsOfficer(grok.Role): 46 51 grok.name('waeup.ApplicationsOfficer')
Note: See TracChangeset for help on using the changeset viewer.