Changes between Version 3 and Version 4 of SuperUserPlugin


Ignore:
Timestamp:
Apr 19, 2015, 12:51:06 PM (9 years ago)
Author:
figaro
Comment:

Cosmetic changes, tagged with license

Legend:

Unmodified
Added
Removed
Modified
  • SuperUserPlugin

    v3 v4  
    1 = Super User Plugin =
     1[[PageOutline(2-5,Contents,pullout)]]
    22
    3 == Description ==
     3= Super User Plugin
     4
     5== Description
    46
    57This 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.
    68
    7 
    8 == Bugs/Feature Requests ==
     9== Bugs/Feature Requests
    910
    1011Existing bugs and feature requests for SuperUserPlugin are
     
    1415[http://trac-hacks.org/newticket?component=SuperUserPlugin&owner=airadier new ticket].
    1516
    16 == Download ==
     17[[TicketQuery(component=SuperUserPlugin&group=type,format=progress)]]
     18
     19== Download
    1720
    1821Download the zipped source from [download:superuserplugin here].
    1922
    20 == Source ==
     23== Source
    2124
    2225You can check out SuperUserPlugin from [http://trac-hacks.org/svn/superuserplugin here] using Subversion, or [source:superuserplugin browse the source] with Trac.
    2326
    24 == Example ==
     27== Example
    2528
    26 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).
     29The 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.
    2730
    28 To enable the plugin, add the line:
     31To enable the plugin, add the following line to your `trac.ini` file:
    2932
    30 {{{
     33{{{#!ini
    3134[components]
    3235tracsuperuser.* = enabled
    3336}}}
    3437
    35 to the ''components'' section in trac.ini.
    36 
    3738Then, replace the current PermissionStore. In this example ''DefaultPermissionStore'' was used before installing the superuser plugin:
    3839
    39 {{{
     40{{{#!ini
    4041[trac]
    4142...
     
    5455 * '''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.
    5556
    56 
    57 == Recent Changes ==
     57== Recent Changes
    5858
    5959[[ChangeLog(superuserplugin, 3)]]
    6060
    61 == Author/Contributors ==
     61== Author/Contributors
    6262
    6363'''Author:''' [wiki:airadier] [[BR]]
     64'''Maintainer''': [[Maintainer]] [[BR]]
    6465'''Contributors:'''