Edgewall Software
Modify

Opened 18 years ago

Closed 17 years ago

Last modified 17 years ago

#5251 closed enhancement (duplicate)

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 Borgström
Priority: normal Milestone:
Component: ticket system Version: 0.10.4
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

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 (0)

Change History (3)

comment:1 by Emmanuel Blot, 18 years ago

Component: generalticket system
Milestone: 0.10.5
Priority: highestnormal
Severity: criticalnormal

comment:2 by sid, 17 years ago

Resolution: duplicate
Status: newclosed

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

comment:3 by osimons, 17 years ago

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

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jonas Borgström.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Jonas Borgström to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.