Granular Permissions for Tasks#8821
Open
marcoAntonioNina wants to merge 11 commits into
Open
Conversation
Updated UserObserver to include new permissions: overview-tab-task, summary-tab-task, completed-tab-task, form-tab-task, and files-tab-task.
Create migration to add permissions for Task Tabs
Validate permissions in the tabs (Requests)
Validate permissions in the tabs (Cases)
New users should have these values set to true by default.
…rs and corresponding tests This commit introduces a new migration that assigns specific tab task permissions to non-administrator users and includes a rollback method to remove these permissions. Additionally, it adds a test suite to verify the correct assignment and removal of permissions during migration operations.
Legacy users should have these permissions set to true (migration users)
agustinbusso
approved these changes
May 7, 2026
Contributor
|
QA server K8S was successfully deployed https://ci-4ce6ff00f6.engk8s.processmaker.net |
|
Contributor
|
QA server K8S was successfully deployed https://ci-4ce6ff00f6.engk8s.processmaker.net |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.





Issue & Reproduction Steps
The permissions that were added for the task tabs are:




'overview-tab-task', summary-tab-task', 'completed-tab-task', 'form-tab-task', 'files-tab-task'.
where you can enable or disable permissions for the tabs.
These permissions hide or show the Cases and Request tabs.
(Tabs enabled)
(Tabs hidden)
Cases
Request
Solution
How to Test
The administrator user can enable or disable user permissions to view the tabs section in Task and Request (Task section)
The user will only be able to view the tabs if they are granted permission.
Newly created users should have the tabs enabled by default.
Users who already exist after the migration should have permissions enabled by default.
Related Tickets & Packages
Code Review Checklist
ci:deploy