Ignore:
Timestamp:
23 Nov 2011, 09:32:17 (13 years ago)
Author:
Henrik Bettermann
Message:

Let's be more precise: Global roles actually are site roles. Since the user does not understand the term 'site' we should use the term 'portal' in the UI instead. Now we have portal (site) roles, local roles and dynamic roles.

File:
1 edited

Legend:

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

    r7177 r7178  
    274274        return local_roles_string
    275275
    276     def getGlobalRoles(self, account):
    277         global_roles = account.roles
    278         global_roles_string = ''
    279         for global_role in global_roles:
    280             role_title = dict(getAllRoles())[global_role].title
    281             global_roles_string += '%s <br />' % role_title
    282         return global_roles_string
     276    def getSiteRoles(self, account):
     277        site_roles = account.roles
     278        site_roles_string = ''
     279        for site_role in site_roles:
     280            role_title = dict(getAllRoles())[site_role].title
     281            site_roles_string += '%s <br />' % role_title
     282        return site_roles_string
    283283
    284284class AddUserFormPage(WAeUPAddFormPage):
Note: See TracChangeset for help on using the changeset viewer.