Edgewall Software
Modify

Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#11646 closed defect (fixed)

Authz policy for default repository doesn't work

Reported by: Jun Omae Owned by: Jun Omae
Priority: normal Milestone: 1.0.2
Component: version control/browser Version: 1.0-stable
Severity: normal Keywords: authzpolicy
Cc: Branch:
Release Notes:

Fix authz policy not working for default repository.

API Changes:
Internal Changes:

Description

I noticed that authz policy for default repository doesn't work in comment:10:ticket:10961 like this.

[repository:@*]
foobar = !BROWSER_VIEW, !FILE_VIEW

I think the rule should work for default repository.

The following works for default repository but makes all repositories to be not viewable.

[repository:*@*]
foobar = !BROWSER_VIEW, !FILE_VIEW

Proposed changes in jomae.git@t11293.4.

Attachments (0)

Change History (5)

comment:1 by Ryan J Ollos, 10 years ago

Component: generalversion control/browser

comment:2 by Ryan J Ollos, 10 years ago

Tested and your fix looks good. #11650 was opened while testing your fix.

Last edited 10 years ago by Ryan J Ollos (previous) (diff)

comment:3 by Jun Omae, 10 years ago

Release Notes: modified (diff)
Resolution: fixed
Status: newclosed

Thanks for testing! Committed in [12864] and merged to trunk in [12865].

comment:4 by Ryan J Ollos, 10 years ago

Added default repository example to documentation: TracFineGrainedPermissions.

The issue had been previously raised in gdiscussion:trac-users:broPVz1-MHo.

comment:5 by Ryan J Ollos, 10 years ago

Owner: set to Jun Omae

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jun Omae.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Jun Omae to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.