This plugin automatically gives a given usernameTRAC_ADMIN
permissions. This is useful for a multiproject setup withAccountManagerPlugin, where users and passwords are shared between all projects, and there should be anadmin user with full permissions without manually setting it on every project.
The plugin works by wrapping the current PermissionStore, in order to fake the superuser permissions. Permissions are not added to the database, but addedon the fly when requested.
Existing bugs and feature requests forSuperUserPlugin arehere.
If you have any issues, create anew ticket.
defect | 1 / 1 | ||
---|---|---|---|
enhancement | 1 / 1 |
Download the zipped source fromhere.
You can check outSuperUserPlugin fromhere using Subversion, orbrowse the source with Trac.
General instructions on installing Trac plugins can be found on theTracPlugins page.
To enable the plugin, add the following line to yourtrac.ini
file:
[components]tracsuperuser.*=enabled
Then, replace the current PermissionStore. In this exampleDefaultPermissionStore was used before installing the superuser plugin:
[trac]...permission_store=SuperUserPlugin...[superuser]superuser=adminwrapped_permission_store=DefaultPermissionStore...
Where:
Author:airadier
Maintainer:Álvaro Iradier
Contributors: