Opened 7 years ago

Last modified 19 months ago

#5611 new defect

Permission option that allows all users to view a tab

Reported by: rjollos Owned by:
Priority: normal Component: TracTabPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11


I have a fairly complicated permissions and group scheme where some users are only allowed to view the WIKI module, and other users are only allowed to view the TICKETS module. There is no overlap in the permissions that these groups possess. My request is to modify the following behavior, as described on the main page for the TracTabPlugin:

Note: The perms parameter is optional, but if left unspecified, it requires TRAC_ADMIN permissions to view the tabs.

I would like to create TracTabs that are accessible by all users. However there is not currently a single permission in Trac that I can grant to all of my users. I would therefore like to specify a parameter such as perm = ALL, and allow all users to access the TracTab. Another good syntax would be perm = *. Alternatively, the behavior could be changed such that all users can view the tab when perm is not specified.

Another way to accomplish this may be to define a custom permission that all users would have under my Trac installation. A permission such as AUTHENTICATED, granted to all users that are logged into the site, may be sufficient. However this would probably be better implemented as a modification to Trac rather than this plug-in.

Attachments (0)

Change History (5)

comment:1 Changed 7 years ago by rjollos

  • Summary changed from If perm = ALL, allow all users to view the tab to Permission option that allows all users to view a tab

comment:2 Changed 7 years ago by rjollos

I'm looking at implementing a custom permission, TRAC_VIEW, to accomplish this (1). Even if that can be done, I still think the behavior of the TracTabPlugin should be modified to be more like that of the NavAddPlugin, as described previously.


comment:3 Changed 7 years ago by bobbysmith007

Another option is to simply specify the tab twice with two different permissions:

names=Users Google,Admin Google,My Blog

I recognize that this is sortof jumping through hoops, however I dont really use this plugin (and have not actively contributed to it since 11/15/06 20:35:37). That said I am happy to apply patches and commit them if you wish to provide a working patch.

Sorry I cant be of more help,


comment:4 Changed 7 years ago by bobbysmith007

  • Owner changed from bobbysmith007 to rjollos

This plugin will be adopted soon, changing ownership to new owner

comment:5 Changed 19 months ago by rjollos

  • Owner rjollos deleted

Add Comment

Modify Ticket

as new The ticket will remain with no owner.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.