Edgewall Software
Modify

Opened 4 years ago

Closed 2 years ago

#9573 closed defect (fixed)

docs on fine-grained permissions don't warn that groups cannot be used in authz file

Reported by: abeld@… Owned by: fbrettschneider@…
Priority: normal Milestone: 0.12.4
Component: general Version: 0.12-stable
Severity: normal Keywords: documentation authzpolicy
Cc:
Release Notes:
API Changes:

Description (last modified by Ryan J Ollos <ryano@…>)

The documentation at TracFineGrainedPermissions does not mention the fact that group names used by trac are not automatically useable in the authz file.

As described on 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.

Attachments (0)

Change History (5)

comment:1 Changed 4 years ago by cboos

  • Keywords documentation added
  • Milestone set to next-minor-0.12.x

You're welcome to fix the documentation in the wiki directly.

The problem itself is discussed in #5648.

comment:2 Changed 2 years ago by Ryan J Ollos <ryano@…>

  • Description modified (diff)
  • Keywords authzpolicy added

comment:3 Changed 2 years ago by fbrettschneider@…

wiki:TracFineGrainedPermissions?action=diff&version=41&old_version=39

After I fell into the trap I wrote something. You may close this ticket now.

comment:4 Changed 2 years ago by rblank

  • Milestone changed from next-minor-0.12.x to 0.12.4
  • Owner set to fbrettschneider@…

Thanks!

comment:5 Changed 2 years ago by rblank

  • Resolution set to fixed
  • Status changed from new to closed

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed The owner will remain fbrettschneider@….
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from fbrettschneider@… to the specified user.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.