> -----Original Message-----
> From: [email protected] On Behalf Of RjOllos
> Sent: 28 April 2012 02:57
> To: Trac Users
> Subject: [Trac] Unique permission for assigning a ticket to a 
> milestone
> 
> I'm wondering if anyone knows a fairly simple way to implement the
> following in Trac 0.12. Our software development plan requires that
> *only* Ticket Review Board members have the ability to assign tickets
> to a milestone. There are two groups, trb and developers. The
> developers need to be able to see which ticket a milestone is assigned
> to, but shouldn't be able to change the milestone that a ticket is
> assigned to. Developers also need to be able to view milestones and
> currently have the MILESTONE_VIEW permission.
> 
> With the MILESTONE_VIEW permission, a user can assign tickets to a
> milestone (1). So I need to revoke the ability for users with
> MILESTONE_VIEW to assign tickets to a milestone, and add a permission
> for assigning tickets to a milestone (e.g. TICKET_CHGMILESTONE).
> Actually, the latter is probably not necessary since members of trb
> have MILESTONE_CREATE and MILETONE_MODIFY permission.
> 
> So, basically it looks like I just need to figure out how to revoke
> "assign tickets to a milestone" for users with MILESTONE_VIEW
> permission, but retain the ability to review the milestone.
> 
> (1) http://trac.edgewall.org/wiki/TracPermissions#Roadmap
> 
Hmm, while I don't have an answer, I had not realised that the _VIEW permission 
allowed to assign tickets, surely `_VIEW` should be a read-only permission?

I would be tempted to put this in as an enhancement request, perhaps with a 
MILESTONE_ASSIGN permission for what you want?

~ mark c

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.

Reply via email to