There are two ways to assign permissions to a user:
Add new permissions for a role, then select the User in question.
Add read-only permissionsor
Add read/write permissionsbuttons. These buttons are simply a shortcut for convenience that copies all the common permissions for that access mode.
Createto setup the permissions.
Trac lets you define a set of permissions that should be applied to all members of a Role, rather than an individual (e.g. ‘developers’, ‘testers’, ‘admin’, etc). These Roles can then be assigned to Users to allow their permissions to me managed collectively.
To do this, start by first defining a role (which typically has the same name as a Group). Then assign this Role as the ‘permission’ for the user(s) in question.
Add new permissions for a role, then select the Group in question (Groups are identified by a leading @ character in the name).
Createto setup the Group permissions.
At this point, you have now defined a set of group permissions, but have not assigned them to any Users. You now need to:
Add new permissions for a roleand select the User as the role you wish to assign the group permissions to.
Note: since it can be a tedious process to manually assign Group roles to individual Users, we provide a shortcut button
Assign Trac permissions using Group configuration that does this process for you. It does this by using the SVN Group/User mapping defined in the Groups section of the Control Panel.
Please remember: each time you add or remove Users or Groups, you need to to click this button to re-assign Users according to the new Group definitions.
The the authenticated and anonymous roles define permissions that you can assign in two special cases:
Assign all current Users to ‘authenticated’ Trac groupthat will add the authenticated permission to all Users registered in the system. Again, it is necessary to remember to click this button to re-assign this permission every time a User is added or removed from the system.
Leave a Reply
You must be logged in to post a comment.