-
Notifications
You must be signed in to change notification settings - Fork 243
FOUR-28840: Available self service tasks not displayed for non-admin users due to inefficient query for filtering #8690
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
Conversation
…users due to inefficient query for filtering
|
QA server K8S was successfully deployed https://ci-b9abdd8c8b.engk8s.processmaker.net |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cursor Bugbot has reviewed your changes and found 2 potential issues.
Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.
|
QA server K8S was successfully deployed https://ci-b9abdd8c8b.engk8s.processmaker.net |
|
julceslauhub
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved





Issue & Reproduction Steps
Available self service tasks not displayed for non-admin users due to inefficient query for filtering
Solution
How to Test
described in the related ticket
Related Tickets & Packages
Code Review Checklist
ci:deploy
Note
Improves performance and correctness of self-service task visibility while reducing payloads from the tasks API.
User::availableSelfServiceTasksQuery()(subquery) and refactors call sites to use it instead of plucked ID arrays (in PMQLStatus = Self Service,applyForCurrentUser, and related filters)fieldsparam toTaskController@index; ensuresidis always selected;RequestDetail.vuenow requests only required columnsFilterTestassertionsWritten by Cursor Bugbot for commit 0a556ce. This will update automatically on new commits. Configure here.