User with appropriate permissions can not cancel workflow task. #11795
Labels
status:Unconfirmed
Issue, usually a bug, that has not yet been validated as a confirmed problem.
type:Bug
Issue Summary
User with appropriate permissions can not cancel workflow task.
In the method
user_can_cancel
ofWorkflowState
class there is a check if user is in appropriate group:But self.current_task_state.task is an instance of
Task
and notGroupApprovalTask
soget_actions
that is run looks like this:I propose to fix that issue by in
user_can_cancel
changeself.current_task_state.task.get_actions(...)
toself.current_task_state.task.specific.get_actions(...)
Steps to Reproduce
Technical details
Working on this
Anyone can contribute to this. View our contributing guidelines, add a comment to the issue once you’re ready to start.
The text was updated successfully, but these errors were encountered: