I've looked everywhere for a solution for my issue and it seem that no one 
actually have it...

Here is my issue : the Wikis of my intranet's tracs have some sensible 
datas, but the WikiStart page show an overview of my projects - which I 
want anonymous user to see. So, I used TracFineGrainedPermissions to allow 
access to anonymous user to only the WikiStart start page and it's child 
page (WikiStart/Child...). Everything work fine and as intended : anonymous 
can only see what I want from the wiki and I don't have to micro manage all 
pages (see policy below). However, the "Wiki" link from the navigation bar 
disappears when the user is anonymous.

If I do a [wiki:*] anonymous = WIKI_VIEW, the wiki menu is back, but 
anonymous can access all the wiki. So the damn menu should be somewhere in 
the Wiki realm, but I can't find it and the logs don't show anything.

Here is my policy config :

#Attachement permission
> #Since anonymous can see tickets, we also allow him to see ticket's 
> attachments. But only those
> [ticket:*]
> anonymous = ATTACHMENT_VIEW
> [*/attachment:*]
> anonymous = !ATTACHMENT_VIEW
> #Show only WikiStart, it's child's pages (if any) and the pages index
> [wiki:WikiStart*]
> anonymous = WIKI_VIEW
> [wiki:TitleIndex]
> anonymous = WIKI_VIEW
> #Block all others to anonymous
> [wiki:*]
> anonymous = !WIKI_VIEW


All other permission fall back to the default Trac permission system.

What should I do to force Trac to always show the Wiki navigation menu?

P.S : The menu don't show if I put these lines in the trac.ini  :

> [mainnav]
> wiki = enabled

However, it does hide it in any situation if I put wiki = disabled...

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/trac-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to