Ignore:
Timestamp:
20 May 2011, 12:20:03 (13 years ago)
Author:
uli
Message:

Fix: get local role title correctly.

File:
1 edited

Legend:

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

    r6163 r6170  
    155155        user = grok.getSite()['users'].get(user_name,None)
    156156        user_title = getattr(user, 'description', user_name)
    157         local_role_title = getRoles()[local_role].title
     157        local_role_title = dict(getRoles())[local_role].title
    158158        yield dict(user_name = user_name,
    159159                   user_title = user_title,
Note: See TracChangeset for help on using the changeset viewer.