Changeset 15964 for main/waeup.kofa/trunk/src/waeup/kofa/permissions.py
- Timestamp:
- 28 Jan 2020, 12:39:18 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/permissions.py
r15539 r15964 746 746 747 747 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 756 748 def get_users_with_local_roles(context): 757 749 """Get a list of dicts representing the local roles set for `context`.
Note: See TracChangeset for help on using the changeset viewer.