Ignore:
Timestamp:
11 May 2011, 11:14:15 (14 years ago)
Author:
uli
Message:

Move applicant perms/roles into applicants package.

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

Legend:

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

    r5909 r6043  
    4242
    4343
    44 class PortalUser(grok.Role):
    45     """A role for applicants.
    46     """
    47     grok.name('waeup.Applicant')
    48     grok.permissions('waeup.Public')
    49 
    5044class ApplicantPrincipalInfo(object):
    5145    """Infos about an applicant principal.
  • main/waeup.sirp/trunk/src/waeup/sirp/applicants/browser.py

    r6041 r6043  
    331331        role_manager = IPrincipalRoleManager(self.context)
    332332        role_manager.assignRoleToPrincipal(
    333             'waeup.ApplicationOwner', self.request.principal.id)
     333            'waeup.local.ApplicationOwner', self.request.principal.id)
    334334        self.redirect(self.url(self.context[pin], 'edit'))
    335335        return
Note: See TracChangeset for help on using the changeset viewer.