Changes between Version 4 and Version 5 of SuperUserPlugin
- Timestamp:
- Nov 26, 2015, 11:26:26 AM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
SuperUserPlugin
v4 v5 5 5 == Description 6 6 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. 7 This 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 9 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. 8 10 9 11 == Bugs/Feature Requests … … 13 15 14 16 If you have any issues, create a 15 [ http://trac-hacks.org/newticket?component=SuperUserPlugin&owner=airadiernew ticket].17 [/newticket?component=SuperUserPlugin new ticket]. 16 18 17 19 [[TicketQuery(component=SuperUserPlugin&group=type,format=progress)]] … … 19 21 == Download 20 22 21 Download the zipped source from [ download:superuserplugin here].23 Download the zipped source from [export:superuserplugin here]. 22 24 23 25 == Source 24 26 25 You can check out SuperUserPlugin from [ http://trac-hacks.org/svn/superuserplugin here] using Subversion, or [source:superuserplugin browse the source] with Trac.27 You can check out SuperUserPlugin from [/svn/superuserplugin here] using Subversion, or [source:superuserplugin browse the source] with Trac. 26 28 27 == Example29 == Installation 28 30 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. 31 General instructions on installing Trac plugins can be found on the [TracPlugins#InstallingaTracplugin TracPlugins] page. 32 33 == Configuration 30 34 31 35 To enable the plugin, add the following line to your `trac.ini` file: … … 52 56 Where: 53 57 * '''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. 55 59 * '''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. 56 60