Opened 16 years ago
Closed 16 years ago
#7592 closed task (worksforme)
Edit permission for the viewing of the mainnav and metanav items specifically
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | general | Version: | 0.11 |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
I have a site that I'm developing for a project. We're using trac in a bit of an off way, in that its public launch won't be as so much of a trac site, but as a wiki for the project. We as the development group however still need to be able to use the majority of the trac functionality. Because of this, our project leader wants the mainnav and metanav disabled from public view, although we will need to be able to use it when logged in. I've been looking through the permissions sections, and while I know that I can enable and disable items to be displayed on the mainnav and metanav, even if I disable all items from view in the main nav, the box for the bar is still visible from the front end, and I do not have access to those once logged in. Is there anyway to set the permissions on those items so that they are only visible when logged in?
Attachments (0)
Change History (2)
comment:1 by , 16 years ago
comment:2 by , 16 years ago
Resolution: | → worksforme |
---|---|
Status: | new → closed |
Erik's above suggestion should allow achieving the desired effect.
I would say this is more of a support question—nothing to do in Trac here really that's worth doing. If you want to hide the mainnav from unauthenticated users, you can do that somewhere in your site's custom template with a Genshi match statement. Something like: