Edgewall Software
Modify

Opened 5 years ago

Closed 4 years ago

Last modified 4 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:
Release Notes:

Fix authz policy not working for default repository.

API 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 Changed 4 years ago by Ryan J Ollos

Component: generalversion control/browser

comment:2 Changed 4 years ago by Ryan J Ollos

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

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

comment:3 Changed 4 years ago by Jun Omae

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

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

comment:4 Changed 4 years ago by Ryan J Ollos

Added default repository example to documentation: TracFineGrainedPermissions.

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

comment:5 Changed 4 years ago by Ryan J Ollos

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.
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.