On May 24, 10:28 am, "Yunior Armando Hernandez Andrade"
<[email protected]> wrote:
> I wonder if there's anyway to configure Trac so that a certain user
> could only resolve tickets using SOME of the resolution types instead of
> having the chance of using them all.
>
> Currently I work on a project which workflow is like:
>         Open
>        |
>         Check
>  |                |
> Close           Assign
>                   |
>                 Resolve
>                   |
>           Quality Check
>          |                 |
>         Close           Reassign
>
> But there is a group of developers who's specific task is to "Quality
> Check" all resolved issues, so they can only mark tickets as
> "Done"/"Checked" or mark them as "Not Qualifies" and reassign them back.
> So, is there a way to set up permission for resolution types?

Not sure, but this actually sounds like a workflow solution.  Seems
like the quality QualityCheck -> * transition should have the
permissions requirement.  It could also have a set_resolution action,
with the options set  The actual Assigned->Resolved step could
restrict the resolutions you can set
see http://trac.edgewall.org/wiki/TracWorkflow#BasicTicketWorkflowCustomization
"actionname.set_resolution may optionally be set to a comma delimited
list or a single value"

so, not sure if you want this, but something like:
Close = *-> closed
Close.permissions=TICKET_ADMIN
Close.operations =set_resolution
....
resolve = Assigned ->QC
resolve.operations = set_resolution, set_owner
resolve.permissions = TICKET_MODIFY
resolve.set_resolution = fixed, invalid, butNotOthers
resolve.set_owner=QCGuy, QCGal, QCPuppy
reject = QC->Assigned
reject.permissions =TICKET_ADMIN
reject.operations = set_owner, del_resolution  (set_owner_to_previous
if AdvancedTicketWorkflow installed is an option here too)
passQA = QC->closed
passQA.permissions =TICKET_ADMIN

Or something.  I assumed TICKET_ADMIN for the QC permissions, but you
could easily use a custom permission, how to do that can be found
elsewhere in this group.

At least, that's what it sounds like to me.
--~--~---------~--~----~------------~-------~--~----~
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