Skip to content

Allow admin users to reassign any user task#7428

Merged
ryancooley merged 1 commit intonextfrom
bugix/FOUR-19002
Sep 29, 2024
Merged

Allow admin users to reassign any user task#7428
ryancooley merged 1 commit intonextfrom
bugix/FOUR-19002

Conversation

@nolanpro
Copy link
Copy Markdown
Contributor

@nolanpro nolanpro commented Sep 27, 2024

Issue & Reproduction Steps

Admin users should always be allowed to reassign tasks

Solution

  • Move reassign permission check to policy

How to Test

Attempt to reassign a usertask using the API as an admin user

Related Tickets & Packages

ci:next
ci:deploy
.

Code Review Checklist

  • I have pulled this code locally and tested it on my instance, along with any associated packages.
  • This code adheres to ProcessMaker Coding Guidelines.
  • This code includes a unit test or an E2E test that tests its functionality, or is covered by an existing test.
  • This solution fixes the bug reported in the original ticket.
  • This solution does not alter the expected output of a component in a way that would break existing Processes.
  • This solution does not implement any breaking changes that would invalidate documentation or cause existing Processes to fail.
  • This solution has been tested with enterprise packages that rely on its functionality and does not introduce bugs in those packages.
  • This code does not duplicate functionality that already exists in the framework or in ProcessMaker.
  • This ticket conforms to the PRD associated with this part of ProcessMaker.

Copy link
Copy Markdown
Contributor

@agustinbusso agustinbusso left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The fix is correct:
Admin user

Screen.Recording.2024-09-27.at.09.47.58.mov

Not admin

Screen.Recording.2024-09-27.at.09.54.49.mov

@tokensPM
Copy link
Copy Markdown

QA server K8S was successfully deployed https://ci-520224b77e.engk8s.processmaker.net

@ryancooley ryancooley merged commit 7c1ff50 into next Sep 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants