Changes between Version 27 and Version 28 of FineGrainedPageAuthzEditorPlugin
- Timestamp:
- Aug 27, 2016, 2:26:02 PM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
FineGrainedPageAuthzEditorPlugin
v27 v28 11 11 == Description 12 12 13 This is a simple plugin to help edit the [ http://trac.edgewall.org/wiki/TracFineGrainedPermissions fine grained authz permissions file]. In addition to providing a text editor, it also provides a list of the current project users, so they are readily available.13 This is a simple plugin to help edit the [t:TracFineGrainedPermissions fine grained authz permissions file]. In addition to providing a text editor, it also provides a list of the current project users, so they are readily available. 14 14 15 15 A more elaborate editor was considered where sections could be selected than the user/group to give permission to. However this was considered to be overly complicated and bloated. … … 21 21 A check that the entered text can be parsed as an ini config file is done prior to saving. 22 22 23 == Related Plugins23 === Related Plugins 24 24 25 25 To help edit groups the HtGroupEditorPlugin can be used. 26 26 27 28 [[Image(screen.jpg, 150px)]]. 27 [[Image(screen.jpg)]]. 29 28 30 29 The naming and positioning of this plugin may change in the light of feedback. 31 30 32 == File Locations31 === File Locations 33 32 34 33 The plugin tries to find the names of the files it has to work with from the config object that reads them in from the normal config file for a Trac project, They maybe specifed in a project specific file or an inherited one. … … 36 35 The list of users are obtained from the account_manager object that will could have read them from password_file specified under the account-manager section: 37 36 38 {{{ 39 #!ini 37 {{{#!ini 40 38 [account-manager] 41 39 password_file = /some/project/directory/users … … 44 42 For the group file it is looked for under the account-manager section and the name group_file. If this fails it then looks under the htgroups section: 45 43 46 {{{ 47 #!ini 44 {{{#!ini 48 45 [account-manager] 49 46 group_file = /some/project/directory/groups … … 52 49 or: 53 50 54 {{{ 55 #!ini 51 {{{#!ini 56 52 [htgroups] 57 53 group_file = /some/project/directory/groups … … 60 56 The authz policy file name is under the authz_policy policy section and the name authz_file: 61 57 62 {{{ 63 #!ini 58 {{{#!ini 64 59 [authz_policy] 65 60 authz_file = /some/project/directory/authzpolicy.conf 66 61 }}} 67 62 68 == Dependencies69 70 It uses the following additional modules which may require installation:71 1. !ConfigObj from [http://www.voidspace.org.uk/python/configobj.html#introduction]72 2. AccountManagerPlugin needs to be installed, but not enabled.73 3. Must have group_file configuration as mentioned in File Locations above.74 75 63 == Bugs/Feature Requests 76 64 77 Existing bugs and feature requests for FineGrainedPageAuthzEditorPlugin are [query:status!=closed&component=FineGrainedPageAuthzEditorPlugin&order=priority here]. 65 Existing bugs and feature requests for FineGrainedPageAuthzEditorPlugin are 66 [report:9?COMPONENT=FineGrainedPageAuthzEditorPlugin here]. 78 67 79 68 If you have any issues, create a … … 82 71 [[TicketQuery(component=FineGrainedPageAuthzEditorPlugin&group=type,format=progress)]] 83 72 84 == Download and Source73 == Download 85 74 86 Download the [export:finegrainedpageauthzeditorplugin zipped source], check out [/svn/finegrainedpageauthzeditorplugin using Subversion], or [source:finegrainedpageauthzeditorplugin browse the source] with Trac. 75 Download the zipped source from [export:finegrainedpageauthzeditorplugin here]. 76 77 == Source 78 79 Check out [/svn/finegrainedpageauthzeditorplugin using Subversion], or [source:finegrainedpageauthzeditorplugin browse the source] with Trac. 87 80 88 81 == Installation 89 82 90 Install by running: `python setup.py install`. 83 This plugin uses the following additional modules which may require installation: 84 1. !ConfigObj from [http://www.voidspace.org.uk/python/configobj.html#introduction] 85 2. AccountManagerPlugin needs to be installed, but not enabled. 86 3. Must have group_file configuration as mentioned in File Locations above. 87 88 Install the plugin by running: `python setup.py install`. 91 89 92 90 == Recent Changes