Changes between Version 1 and Version 2 of TracRpcGetAllUsersPlugin


Ignore:
Timestamp:
Aug 20, 2017, 3:53:50 PM (5 years ago)
Author:
Cauly
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TracRpcGetAllUsersPlugin

    v1 v2  
    55== Description
    66
    7 Trac xmlrpc user related apis
     7Trac xmlrpc user related apis.
     8
     9This plugin provides following api:
     10
     111. {{{user.getAllUsers}}},
     12returning a dict of all known users, equals to {{{env.get_known_users(True)}}}
     13e.g.
     14{{{
     15{
     16'a': ('nameof a', 'a@a.com'),
     17'b': ('nameof b', 'b@b.com'),
     18}
     19}}}
     20
     212. {{{user.getAllUserGroups}}},
     22returning a dict of all user gruops, equals to {{{PermissionSystem.get_groups_dict}}}
     23e.g.
     24{{{
     25{
     26'groupa': ['a', 'b'],
     27}
     28}}}
     29
     303. {{{user.getPermission}}},
     31returning a list of all permissions and actions,
     32e.g.
     33{{{
     34['WIKI_VIEW', 'authecated', ..]
     35}}}
     36
     374. {{{user.resolveUsers}}}
     38returning a list of users according to given permission or group
     39e.g.
     40{{{
     41user.resolveUsers('WIKI_VIEW')
     42
     43['a', 'b']
     44}}}
    845
    946== !Bugs/Feature Requests
     
    1956== Download
    2057
    21 Download the zipped source from [export:tracrpcgetallusersplugin here].
     58Download the zipped source from [https://github.com/CaulyKan/TracRpcGetAllUsers/archive/master.zip here].
    2259
    2360== Source
    2461
    25 You can check out TracRpcGetAllUsersPlugin from [/svn/tracrpcgetallusersplugin here] using Subversion, or [source:tracrpcgetallusersplugin browse the source] with Trac.
     62You can check out TracRpcGetAllUsers from [https://github.com/CaulyKan/TracRpcGetAllUsers.git here] using Git, or [https://github.com/CaulyKan/TracRpcGetAllUsers browse the source].
    2663
    2764== Installation
    2865
     66** requires [wiki:XmlRpcPlugin] **
     67
    2968General instructions on installing Trac plugins can be found on the [TracPlugins#InstallingaTracplugin TracPlugins] page.
    30 
    31 == Recent Changes
    32 
    33 [[ChangeLog(tracrpcgetallusersplugin, 3)]]
    3469
    3570== !Author/Contributors