Can't restrict access to specified version of wiki page using FineGrainedPermissions
|Reported by:||Ryan J Ollos||Owned by:||Ryan J Ollos|
Allow specific versions of a wiki page to be viewable by properly enforcing fine-grained permissions.
This is either a defect, or I am really misreading the documentation.
After not having any success getting the authz configuration to behave the way I was expecting under Trac
0.11.4, I setup the development environment for
0.11.7dev and did some testing.
The following configuration grants access to all versions of WikiStart, as I would expect,
[wiki:WikiStart] * = WIKI_VIEW [wiki:WikiStart@*] * =
That is, it appears that the first match is used to grant
WIKI_VIEW to all versions of WikiStart, which seems to agree with the documentation.
[wiki:WikiStart@3] * = WIKI_VIEW [wiki:WikiStart@*] * =
However, with the latter configuration, I can't access any versions of WikiStart when navigating to:
There is a Forbidden Error with:
WIKI_VIEW privileges are required to perform this operation on WikiStart
I've set the LogLevel to DEBUG and will attach the log output from trying to access the aforementioned URL.
Change History (19)
comment:7 by , 9 years ago
|Keywords:||authzpolicy added; needinfo removed|
|Milestone:||0.12.1 → next-minor-0.12.x|
comment:11 by , 7 years ago
|Milestone:||next-minor-0.12.x → 1.0.2|
|Status:||new → assigned|
comment:14 by , 6 years ago
|Component:||general → wiki system|
|Keywords:||permissions added; verify removed|