Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Trac: Users

Restrict access to ticket

 

 

Trac users RSS feed   Index | Next | Previous | View Threaded


tozheghin at gmail

Jul 22, 2013, 2:56 AM

Post #1 of 3 (58 views)
Permalink
Restrict access to ticket

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.

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

--
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 trac-users+unsubscribe [at] googlegroups
To post to this group, send email to trac-users [at] googlegroups
Visit this group at http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/groups/opt_out.


rjollos at gmail

Jul 23, 2013, 9:24 AM

Post #2 of 3 (48 views)
Permalink
Re: Restrict access to ticket [In reply to]

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 trac-users+unsubscribe [at] googlegroups
To post to this group, send email to trac-users [at] googlegroups
Visit this group at http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/groups/opt_out.


rjollos at gmail

Aug 7, 2013, 2:19 PM

Post #3 of 3 (11 views)
Permalink
Re: Restrict access to ticket [In reply to]

On Tuesday, July 23, 2013 9:24:29 AM UTC-7, RjOllos wrote:

>
>
>> 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
>

Here is a related ticket: http://trac.edgewall.org/ticket/9526

--
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 trac-users+unsubscribe [at] googlegroups
To post to this group, send email to trac-users [at] googlegroups
Visit this group at http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/groups/opt_out.

Trac users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.