#406 closed defect (worksforme)
Implement Trac function-filtering based on permissions
Reported by: | Owned by: | Jonas Borgström | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | general | Version: | devel |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
I would like Trac to hide components that are outside the permissions of the current user.
For example, if I remove WIKI_MODIFY from the anonymous user, the "Edit Page" buttons do not appear. This is perfect. However, if I remove BROWSER_VIEW from anonymous, "Browse Source" still appears in the toolbar. As user anonymous when I click on "Browse Source", Trac serves me a "Permission Denied" page with a nice admin explanation of why the problem occurred but its a message that is unneccessary for the typical user. It would be better, in my opinion, to prevent display of functions outside the current user's permissions.
Attachments (0)
Change History (7)
comment:1 by , 21 years ago
Milestone: | → 0.7 |
---|
comment:2 by , 21 years ago
Which version of Trac are you using, I just tested latest trunk version and it seems to work? On the other hand I know it is broken in Trac 0.6.1.
comment:5 by , 21 years ago
Hehehe. I am using 0.6.1. I'll be upgrading to 0.7 now that you have released. Hopefully this will work for me in 0.7.
I fixed this a while ago, seems like header.cs is broken again.