Edgewall Software
Modify

Opened 13 years ago

Closed 3 years ago

#5425 closed enhancement (worksforme)

Make the state transition dependant on group membership in addition to the boiled down group permissions in workflows

Reported by: jim@… Owned by:
Priority: normal Milestone:
Component: ticket system Version: devel
Severity: normal Keywords: workflow permissions
Cc: Branch:
Release Notes:
API Changes:

Description

That would make it possible to only allow users that are members of the group user_group to perform the workflow action.

disapprove = solved -> reopened 
disapprove.name = Disapprove Solution 
disapprove.permissions = user_group  # instead of TICKET_APPEND 
disapprove.operations = del_owner 

Attachments (0)

Change History (7)

comment:1 by Jim Arnell <jim@…>, 13 years ago

Summary: Make the state transition dependant on group membership in addition to the boiled down group permissionsMake the state transition dependant on group membership in addition to the boiled down group permissions in workflows

comment:2 by cblin@…, 12 years ago

I vote for this issue

comment:3 by osimons, 12 years ago

Milestone: 0.11.10.12

This will anyway have to wait as improvements in the user system are needed on the API level. See #6703 comments and further links to tickets and discussions for more information.

in reply to:  3 comment:4 by Christian Boos, 10 years ago

Replying to osimons:

This will anyway have to wait as improvements in the user system are needed on the API level. See #6703 comments and further links to tickets and discussions for more information.

See #5648 now.

comment:5 by Ryan J Ollos, 5 years ago

Owner: Jonas Borgström removed

comment:6 by Ryan J Ollos, 3 years ago

#11839 allows groups and permissions to be specified in the set_owner attribute.

comment:7 by Ryan J Ollos, 3 years ago

Milestone: next-major-releases
Resolution: worksforme
Status: newclosed

After spending some time on this, I realized it's a case that should be handled by ExtraPermissionsProvider. Define a permission action, which for the example might be TICKET_DISAPPROVE. Assign that permission action to the groups that you'd like to perform the workflow action. See TracWorkflow@73.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The ticket will remain with no owner.
The resolution will be deleted. Next status will be 'reopened'.
to as closed The owner will be changed from (none) 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.