Changes between Version 4 and Version 5 of SuperUserPlugin


Ignore:
Timestamp:
Nov 26, 2015, 11:26:26 AM (8 years ago)
Author:
figaro
Comment:

Cosmetic changes

Legend:

Unmodified
Added
Removed
Modified
  • SuperUserPlugin

    v4 v5  
    55== Description
    66
    7 This plugin automatically gives a given username ''TRAC_ADMIN'' permissions. I find this useful for a multiproject setup with AccountManagerPlugin, where users and passwords are shared between all projects, and I want an '''admin''' user to have full permissions without manually setting it on every project.
     7This plugin automatically gives a given username `TRAC_ADMIN` permissions. This is useful for a multiproject setup with AccountManagerPlugin, where users and passwords are shared between all projects, and there should be an '''admin''' user with full permissions without manually setting it on every project.
     8
     9The plugin works by wrapping the current PermissionStore, in order to fake the superuser permissions. Permissions are not added to the database, but added ''on the fly'' when requested.
    810
    911== Bugs/Feature Requests
     
    1315
    1416If you have any issues, create a
    15 [http://trac-hacks.org/newticket?component=SuperUserPlugin&owner=airadier new ticket].
     17[/newticket?component=SuperUserPlugin new ticket].
    1618
    1719[[TicketQuery(component=SuperUserPlugin&group=type,format=progress)]]
     
    1921== Download
    2022
    21 Download the zipped source from [download:superuserplugin here].
     23Download the zipped source from [export:superuserplugin here].
    2224
    2325== Source
    2426
    25 You can check out SuperUserPlugin from [http://trac-hacks.org/svn/superuserplugin here] using Subversion, or [source:superuserplugin browse the source] with Trac.
     27You can check out SuperUserPlugin from [/svn/superuserplugin here] using Subversion, or [source:superuserplugin browse the source] with Trac.
    2628
    27 == Example
     29== Installation
    2830
    29 The plugin works by wrapping the current PermissionStore, in order to fake the superuser permissions. Permissions are not added to the database, but added ''on the fly'' when requested.
     31General instructions on installing Trac plugins can be found on the [TracPlugins#InstallingaTracplugin TracPlugins] page.
     32
     33== Configuration
    3034
    3135To enable the plugin, add the following line to your `trac.ini` file:
     
    5256Where:
    5357 * '''permission_store''': Use SuperUserPlugin as the new permission store.
    54  * '''supersuser''': The name of the user with admin permissions
     58 * '''supersuser''': The name of the user with admin permissions.
    5559 * '''wrapped_permission_store''': The permission store being used previously. If the user is not the superuser, this permission store will be used to retrieve the user permissions.
    5660