Changes between Version 27 and Version 28 of FineGrainedPageAuthzEditorPlugin


Ignore:
Timestamp:
Aug 27, 2016, 2:26:02 PM (8 years ago)
Author:
figaro
Comment:

Further cosmetic changes

Legend:

Unmodified
Added
Removed
Modified
  • FineGrainedPageAuthzEditorPlugin

    v27 v28  
    1111== Description
    1212
    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.
     13This 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.
    1414
    1515A 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.
     
    2121A check that the entered text can be parsed as an ini config file is done prior to saving.
    2222
    23 == Related Plugins
     23=== Related Plugins
    2424
    2525To help edit groups the HtGroupEditorPlugin can be used.
    2626
    27 
    28 [[Image(screen.jpg, 150px)]].
     27[[Image(screen.jpg)]].
    2928
    3029The naming and positioning of this plugin may change in the light of feedback.
    3130
    32 == File Locations
     31=== File Locations
    3332
    3433The 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.
     
    3635The 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:
    3736
    38 {{{
    39 #!ini
     37{{{#!ini
    4038[account-manager]
    4139password_file = /some/project/directory/users
     
    4442For 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:
    4543
    46 {{{
    47 #!ini
     44{{{#!ini
    4845[account-manager]
    4946group_file = /some/project/directory/groups
     
    5249or:
    5350
    54 {{{
    55 #!ini
     51{{{#!ini
    5652[htgroups]
    5753group_file = /some/project/directory/groups
     
    6056The authz policy file name is under the authz_policy policy section and the name authz_file:
    6157
    62 {{{
    63 #!ini
     58{{{#!ini
    6459[authz_policy]
    6560authz_file = /some/project/directory/authzpolicy.conf
    6661}}}
    6762
    68 == Dependencies
    69 
    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 
    7563== Bugs/Feature Requests
    7664
    77 Existing bugs and feature requests for FineGrainedPageAuthzEditorPlugin are [query:status!=closed&component=FineGrainedPageAuthzEditorPlugin&order=priority here].
     65Existing bugs and feature requests for FineGrainedPageAuthzEditorPlugin are
     66[report:9?COMPONENT=FineGrainedPageAuthzEditorPlugin here].
    7867
    7968If you have any issues, create a
     
    8271[[TicketQuery(component=FineGrainedPageAuthzEditorPlugin&group=type,format=progress)]]
    8372
    84 == Download and Source
     73== Download
    8574
    86 Download the [export:finegrainedpageauthzeditorplugin zipped source], check out [/svn/finegrainedpageauthzeditorplugin using Subversion], or [source:finegrainedpageauthzeditorplugin browse the source] with Trac.
     75Download the zipped source from [export:finegrainedpageauthzeditorplugin here].
     76
     77== Source
     78
     79Check out [/svn/finegrainedpageauthzeditorplugin using Subversion], or [source:finegrainedpageauthzeditorplugin browse the source] with Trac.
    8780
    8881== Installation
    8982
    90 Install by running: `python setup.py install`.
     83This 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
     88Install the plugin by running: `python setup.py install`.
    9189
    9290== Recent Changes