On Wednesday, October 3, 2012 at 4:35:47 AM UTC-7, mutetella wrote:
>
> Hello,
>
> I'm using the AuthzPolicy-plugin to manage the permissions in a trac-env. 
> Now I like to set a permission that disallow all users except for the 
> admins to view tickets with a specific status.
>
> I try a lot such as the following entry in the authzpolicy.conf:
>
> [ticket:*/status:new]
> @administrators = TICKET_VIEW
> * =
>
> Does the AuthzPolicy-plugin provides permission-setting for tickets with a 
> specific status, owner or something else?
>
> mutetella
>

To restrict viewing of tickets with a specific status you will need to 
write a plugin that implements IPermissionPolicy. Examples:
* 
https://trac.edgewall.org/wiki/CookBook/Configuration/SignedTickets#Readonlylogic
* 
https://trac.edgewall.org/wiki/TracDev/PluginDevelopment/ExtensionPoints/trac.perm.IPermissionPolicy

- Ryan 

-- 
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 https://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to