Ignore:
Timestamp:
22 Nov 2011, 14:06:56 (13 years ago)
Author:
Henrik Bettermann
Message:

Define the global Applicant role. Applicants are not regular users even if they have the same permissions as PortalUsers?.

File:
1 edited

Legend:

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

    r7145 r7166  
    451451            'waeup.local.ApplicationOwner', self.request.principal.id)
    452452
    453         # Assign current principal the PortalUser role
     453        # Assign current principal the global Applicant role
    454454        role_manager = IPrincipalRoleManager(grok.getSite())
    455455        role_manager.assignRoleToPrincipal(
    456             'waeup.PortalUser', self.request.principal.id)
     456            'waeup.Applicant', self.request.principal.id)
    457457
    458458        # Mark application as started
Note: See TracChangeset for help on using the changeset viewer.