Ignore:
Timestamp:
28 Jan 2020, 12:39:18 (5 years ago)
Author:
Henrik Bettermann
Message:

Make getUsers customizable.

File:
1 edited

Legend:

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

    r15539 r15964  
    746746
    747747
    748 def get_all_users():
    749     """Get a list of dictionaries.
    750     """
    751     users = sorted(grok.getSite()['users'].items(), key=lambda x: x[1].title)
    752     for key, val in users:
    753         yield(dict(name=key, val=val))
    754 
    755 
    756748def get_users_with_local_roles(context):
    757749    """Get a list of dicts representing the local roles set for `context`.
Note: See TracChangeset for help on using the changeset viewer.