On Monday, July 22, 2013 2:56:01 AM UTC-7, Belegnar Dragon wrote:

> Hello
>
> Is it possible to drop TICKET_VIEW permission in depend of ticket's 
> milestone?
> I suppose http://trac.edgewall.org/wiki/TracFineGrainedPermissions isn't 
> what can help.
>

I'm not sure I understand. Would you like to allow users to view only 
tickets associated with a particular milestone or milestones? For that, I 
believe that you'd have to write a plugin that implements 
IPermissionPolicy. The policy could check if the user has MILESTONE_VIEW 
for a particular milestone, as defined through an authz configuration file, 
and then grant access to tickets associated with that milestone.
 

> Also, where i can find full list of "Trac resource descriptors"?
>

I don't think there is a concise list available, but you can infer these 
from the URLs. For example, /milestone/release1 has the descriptor 
milestone:release1 

-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to