On Tue, May 16, 2017 at 12:22 AM toto200891 <[email protected]>
wrote:

> Hi
>
> Same like SupportPolicy, is it possible to restrict the view of tickets to
> users based on Ticket status? As in, if there is certain group named
> testers, and tickets with being status TESTING, should only be viewed to
> testers and they should not be able to see all the new tickets. Is this
> possible?
>
> Regards,
> SF
>

Yes, you can write a permission policy that restricts based on
ticket['status'] and req.authname (username).

Examples of permission policies:
https://trac.edgewall.org/wiki/TracDev/PluginDevelopment/ExtensionPoints/trac.perm.IPermissionPolicy
https://trac.edgewall.org/wiki/CookBook/PermissionPolicies

- 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