Modify ↓
#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 , 11 years ago
| Component: | general → version control/browser |
|---|
comment:3 by , 11 years ago
| Release Notes: | modified (diff) |
|---|---|
| Resolution: | → fixed |
| Status: | new → closed |
comment:4 by , 11 years ago
Added default repository example to documentation: TracFineGrainedPermissions.
The issue had been previously raised in gdiscussion:trac-users:broPVz1-MHo.
comment:5 by , 11 years ago
| Owner: | set to |
|---|
Note:
See TracTickets
for help on using tickets.



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