Changeset 6397 for main/waeup.sirp/trunk


Ignore:
Timestamp:
17 Jun 2011, 08:02:20 (13 years ago)
Author:
Henrik Bettermann
Message:

Assign applicant the PortalUser? role at site level otherwise s/he won't see the Academics navigation tab.

File:
1 edited

Legend:

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

    r6396 r6397  
    438438
    439439        # Assign current principal the PortalUser role
    440         role_manager = IPrincipalRoleManager(grok.getSite()['faculties'])
     440        role_manager = IPrincipalRoleManager(grok.getSite())
    441441        role_manager.assignRoleToPrincipal(
    442442            'waeup.PortalUser', self.request.principal.id)
Note: See TracChangeset for help on using the changeset viewer.