Opened 14 years ago
Last modified 8 years ago
#9573 closed defect
docs on fine-grained permissions don't warn that groups cannot be used in authz file — at Initial Version
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | normal | Milestone: | 0.12.4 |
Component: | general | Version: | 0.12-stable |
Severity: | normal | Keywords: | documentation authzpolicy |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
The documentation at http://trac.edgewall.org/wiki/TracFineGrainedPermissions does not mention the fact that group names used by trac are not automatically useable in the authz file.
As described on http://trac.edgewall.org/wiki/TracPermissions groups in trac's permission system can be created by simply assinging somebody to the group. So, if I "give" 'joeuser' the permission 'trusted-user' permission, I have automatically created the 'trusted-user' group. However, if I use 'trusted-user' in the authz file, it will be ignored, I have to use 'joeuser', or list all groups again in a '[groups]' section in the authz file.
This should at least be mentioned in the docs describing the fine-grained permissions, or, even better, the implementation should be fixed to also use the groups defined in trac in the old-style way.