Version 2 (modified by 8 years ago) (diff) | ,
---|
TracRpcGetAllUsers - Trac xmlrpc user related apis
Description
Trac xmlrpc user related apis.
This plugin provides following api:
user.getAllUsers
,
returning a dict of all known users, equals to env.get_known_users(True)
e.g.
{ 'a': ('nameof a', 'a@a.com'), 'b': ('nameof b', 'b@b.com'), }
user.getAllUserGroups
,
returning a dict of all user gruops, equals to PermissionSystem.get_groups_dict
e.g.
{ 'groupa': ['a', 'b'], }
user.getPermission
,
returning a list of all permissions and actions, e.g.
['WIKI_VIEW', 'authecated', ..]
user.resolveUsers
returning a list of users according to given permission or group e.g.
user.resolveUsers('WIKI_VIEW') ['a', 'b']
Bugs/Feature Requests
Existing bugs and feature requests for TracRpcGetAllUsersPlugin are here.
If you have any issues, create a new ticket.
Download
Download the zipped source from here.
Source
You can check out TracRpcGetAllUsers from here using Git, or browse the source.
Installation
requires XmlRpcPlugin
General instructions on installing Trac plugins can be found on the TracPlugins page.