Changes between Version 51 and Version 52 of TracPermissions
- Timestamp:
- Dec 6, 2007, 2:00:08 PM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracPermissions
v51 v52 2 2 [[TracGuideToc]] 3 3 4 Trac uses a simple permission system to control what users can and can't access.4 Trac uses a simple, case sensitive, permission system to control what users can and can't access. 5 5 6 Permission privileges are managed using either the [wiki:TracAdmin trac-admin] tool from the command line or the new (in version 0.11) ''Admin'' tab.6 Permission privileges are managed using the [wiki:TracAdmin trac-admin] tool. 7 7 8 8 Non-authenticated users accessing the system are assigned the name "anonymous". Assign permissions to the "anonymous" user to set privileges for anonymous/guest users. The parts of Trac that a user does not have the privileges for will not be displayed in the navigation. 9 9 In addition to these privileges, users can be granted additional individual rights in effect when authenticated and logged into the system. All logged in users belong to the virtual group "authenticated", which inherits permissions from "anonymous". 10 10 11 == Graphical Admin Tab ==12 ''This feature is new in version 0.11.''13 14 To access this tab, a user must have `TRAC_ADMIN privileges`. This can be performed as follows (more on the trac-admin script below):15 {{{16 $ trac-admin /path/to/projenv permission add bob TRAC_ADMIN17 }}}18 19 Then, the user will be able to see the Admin tab, and can then access the permissions menu. This menu will allow you to perform all the following actions, but from the browser without requiring root access to the server (just the correct permissions for your user account).20 21 1. [[Image(admin.png)]]22 1. [[Image(permissions.png)]]23 1. [[Image(ticket_admin.png)]]24 25 26 11 == Available Privileges == 27 12 28 To enable all privileges for a user, use the `TRAC_ADMIN` permission. This will also give them access to the ''Admin'' tab on the browser view.Having `TRAC_ADMIN` is like being `root` on a *NIX system: it will allow you to perform any operation.13 To enable all privileges for a user, use the `TRAC_ADMIN` permission. Having `TRAC_ADMIN` is like being `root` on a *NIX system: it will allow you to perform any operation. 29 14 30 15 Otherwise, individual privileges can be assigned to users for the various different functional areas of Trac ('''note that the privilege names are case-sensitive'''): … … 46 31 || `TICKET_ADMIN` || All `TICKET_*` permissions, plus the deletion of ticket attachments and modification of the description field || 47 32 48 Attention: the `REPORT_VIEW` permission is necessary to show the "view tickets" link.33 Attention: the "view tickets" button appears with the `REPORT_VIEW` permission. 49 34 50 35 === Roadmap === … … 55 40 || `MILESTONE_DELETE` || Delete milestones || 56 41 || `MILESTONE_ADMIN` || All `MILESTONE_*` permissions || 57 || `ROADMAP_VIEW` || View the [wiki:TracRoadmap roadmap] page || 42 || `ROADMAP_VIEW` || View the [wiki:TracRoadmap roadmap] page, is not (yet) the same as MILESTONE_VIEW, see #4292 || 43 || `ROADMAP_ADMIN` || to be removed with #3022, replaced by MILESTONE_ADMIN || 58 44 59 45 === Reports === 60 46 61 || `REPORT_VIEW` || View [wiki:TracReports reports], i.e. the "view tickets" link ||47 || `REPORT_VIEW` || View [wiki:TracReports reports], i.e. the "view tickets" link. || 62 48 || `REPORT_SQL_VIEW` || View the underlying SQL query of a [wiki:TracReports report] || 63 || `REPORT_CREATE` || Create new [wiki:TracReports reports] (Create report & save query buttons not shown)||49 || `REPORT_CREATE` || Create new [wiki:TracReports reports] || 64 50 || `REPORT_MODIFY` || Modify existing [wiki:TracReports reports] || 65 51 || `REPORT_DELETE` || Delete [wiki:TracReports reports] || … … 74 60 || `WIKI_ADMIN` || All `WIKI_*` permissions, plus the management of ''readonly'' pages. || 75 61 62 === Permissions === 63 64 || `PERMISSION_GRANT` || add/grant a permission || 65 || `PERMISSION_REVOKE` || remove/revoke a permission || 66 || `PERMISSION_ADMIN` || All `PERMISSION_*` permissions || 67 68 76 69 === Others === 77 70 … … 79 72 || `SEARCH_VIEW` || View and execute [wiki:TracSearch search] queries || 80 73 || `CONFIG_VIEW` || Enables additional pages on ''About Trac'' that show the current configuration or the list of installed plugins || 81 || `EMAIL_VIEW` || ???||74 || `EMAIL_VIEW` || Shows email addresses even if [wiki:0.11/TracIni `trac show_email_addresses` configuration optoin is `false`] || 82 75 83 76 == Granting Privileges == … … 159 152 By default on a new Trac installation, the {{{anonymous}}} user will have ''view'' access to everything in Trac, and will also have permissions to ''create and modify tickets and wiki pages''. 160 153 154 '''anonymous''':: 155 BROWSER_VIEW 156 CHANGESET_VIEW 157 FILE_VIEW 158 LOG_VIEW 159 MILESTONE_VIEW 160 REPORT_SQL_VIEW 161 REPORT_VIEW 162 ROADMAP_VIEW 163 SEARCH_VIEW 164 TICKET_VIEW 165 TIMELINE_VIEW 166 WIKI_VIEW 167 168 '''authenticated''':: 169 TICKET_CREATE 170 TICKET_MODIFY 171 WIKI_CREATE 172 WIKI_MODIFY 173 161 174 ---- 162 175 See also: TracAdmin, TracGuide and [http://trac.edgewall.org/wiki/FineGrainedPermissions FineGrainedPermissions]