Edgewall Software

Ticket #5251 (closed enhancement: duplicate)

Opened 19 months ago

Last modified 11 months ago

TICKET_MODIFY groups others Permissions and also incorporates unique permission caracteristics that could'nt be used alone ("TICKET_STATE_UPDATER")

Reported by: gustavovera@… Owned by: jonas
Priority: normal Milestone:
Component: ticket system Version: 0.10.4
Severity: normal Keywords:
Cc:

Description

According to the documentation, the TICKET_MODIFY permission Includes both TICKET_APPEND and TICKET_CHGPROP, and in addition allows resolving tickets

What if I only want to allow a user to "resolve" tickets, but not to allow him to change properties like the version or priority??. I could almost "lost" the visibility of an important ticket if, by mistake or intentionally, it property "Version" y changed to a very distant in future one.

TICKET_MODIFY is acting as a grouping clause for the permissions TICKET_APPEND, TICKET_CHGPROP and "TICKET_STATE_UPDATER" (or something like that).

That could by fine.... but trac could be more flexifle if the permissions defined where more granular.

We can achieve the same results that the ones why get asigning the current TICKET_MODIFY using Permision Groups (I think this is something already Implemented too!!!), but I can't get the effect (or I don't know how to) of an only asigned "TICKET_STATE_UPDATER"

Attachments

Change History

Changed 19 months ago by eblot

  • priority changed from highest to normal
  • component changed from general to ticket system
  • severity changed from critical to normal
  • milestone 0.10.5 deleted

Changed 11 months ago by sid

  • status changed from new to closed
  • resolution set to duplicate

Duplicate of #3163. Please read the comments there for ideas for directions this work can go.

Changed 11 months ago by osimons

With 0.11 this can be achieved using WorkFlow / TracWorkflow - even to the point of having different permissions for each resolution or state change. With a plugin, a workflow can also be combined with a new permission type for any particular purpose by implementing the IPermissionRequestor interface.

See /trunk/sample-plugins/workflow/CodeReview.py for an example plugin.

Bordering on a 'worksforme'...

Add/Change #5251 (TICKET_MODIFY groups others Permissions and also incorporates unique permission caracteristics that could'nt be used alone ("TICKET_STATE_UPDATER"))

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
to The owner will change from jonas. Next status will be 'closed'
 
Note: See TracTickets for help on using tickets.