Opened 9 years ago
Closed 9 years ago
Last modified 9 years ago
#11646 closed defect (fixed)
Authz policy for default repository doesn't work
|Reported by:||Jun Omae||Owned by:||Jun Omae|
Fix authz policy not working for default repository.
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 firstname.lastname@example.org.
Change History (5)
comment:1 by , 9 years ago
|Component:||general → version control/browser|
comment:2 by , 9 years ago
comment:3 by , 9 years ago
|Release Notes:||modified (diff)|
|Status:||new → closed|
comment:4 by , 9 years ago
Added default repository example to documentation: TracFineGrainedPermissions.
The issue had been previously raised in gdiscussion:trac-users:broPVz1-MHo.
comment:5 by , 9 years ago
Tested and your fix looks good. #11650 was opened while testing your fix.