Opened 13 years ago
Closed 10 years ago
#10359 closed defect (worksforme)
Wrong links highlighting with TracFineGrainedPermissions
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | wiki system | Version: | 0.12-stable |
Severity: | normal | Keywords: | authzpolicy |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
The links on WikiStart page are supposed to be disabled if the user has no WIKI_VIEW permission on corresponding pages. I'm using the list of policies:
permission_policies = AuthzSourcePolicy, AuthzPolicy, DefaultPermissionPolicy, LegacyAttachmentPolicy
Trac authz file:
[groups] admins = morgun [wiki:WikiStart@*] * = WIKI_VIEW [*] @admins = TRAC_ADMIN
So, testuser has no rights except WIKI_VIEW on WikiStart. But some links on WikiStart are highlighted as testuser can read them (see screen1.png). Following these links leads to error message "The user has no WIKI_VIEW rights".
Attachments (1)
Change History (5)
by , 13 years ago
Attachment: | screen1.png added |
---|
comment:1 by , 13 years ago
Keywords: | authzpolicy added; authz removed |
---|
follow-up: 4 comment:2 by , 13 years ago
comment:3 by , 12 years ago
Milestone: | → undecided |
---|
All the tickets for {20} from last year have probably been seen multiple times by now, yet are still to be triaged…
comment:4 by , 10 years ago
Keywords: | wiki links highlighting removed |
---|---|
Milestone: | undecided |
Resolution: | → worksforme |
Status: | new → closed |
Replying to morgunl@…:
Only intertrac links (like [wiki:Mediator]) are being checked for permissions. Therefore, this is not the bug, but the feature. You can close it freely.
Closing as worksforme.
Sorry for bad bugreport. As far as I understood, it's not a bug. Look at the wiki code:
Only intertrac links (like [wiki:Mediator]) are being checked for permissions. Therefore, this is not the bug, but the feature. You can close it freely.