Changes between Version 1 and Version 2 of TracRpcGetAllUsersPlugin
- Timestamp:
- Aug 20, 2017, 3:53:50 PM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracRpcGetAllUsersPlugin
v1 v2 5 5 == Description 6 6 7 Trac xmlrpc user related apis 7 Trac xmlrpc user related apis. 8 9 This plugin provides following api: 10 11 1. {{{user.getAllUsers}}}, 12 returning a dict of all known users, equals to {{{env.get_known_users(True)}}} 13 e.g. 14 {{{ 15 { 16 'a': ('nameof a', 'a@a.com'), 17 'b': ('nameof b', 'b@b.com'), 18 } 19 }}} 20 21 2. {{{user.getAllUserGroups}}}, 22 returning a dict of all user gruops, equals to {{{PermissionSystem.get_groups_dict}}} 23 e.g. 24 {{{ 25 { 26 'groupa': ['a', 'b'], 27 } 28 }}} 29 30 3. {{{user.getPermission}}}, 31 returning a list of all permissions and actions, 32 e.g. 33 {{{ 34 ['WIKI_VIEW', 'authecated', ..] 35 }}} 36 37 4. {{{user.resolveUsers}}} 38 returning a list of users according to given permission or group 39 e.g. 40 {{{ 41 user.resolveUsers('WIKI_VIEW') 42 43 ['a', 'b'] 44 }}} 8 45 9 46 == !Bugs/Feature Requests … … 19 56 == Download 20 57 21 Download the zipped source from [ export:tracrpcgetalluserspluginhere].58 Download the zipped source from [https://github.com/CaulyKan/TracRpcGetAllUsers/archive/master.zip here]. 22 59 23 60 == Source 24 61 25 You can check out TracRpcGetAllUsers Plugin from [/svn/tracrpcgetallusersplugin here] using Subversion, or [source:tracrpcgetallusersplugin browse the source] with Trac.62 You can check out TracRpcGetAllUsers from [https://github.com/CaulyKan/TracRpcGetAllUsers.git here] using Git, or [https://github.com/CaulyKan/TracRpcGetAllUsers browse the source]. 26 63 27 64 == Installation 28 65 66 ** requires [wiki:XmlRpcPlugin] ** 67 29 68 General instructions on installing Trac plugins can be found on the [TracPlugins#InstallingaTracplugin TracPlugins] page. 30 31 == Recent Changes32 33 [[ChangeLog(tracrpcgetallusersplugin, 3)]]34 69 35 70 == !Author/Contributors