FOUR-14018: Unauthorized Users Can View Screens, Data Connectors, and Decision Tables#6185
FOUR-14018: Unauthorized Users Can View Screens, Data Connectors, and Decision Tables#6185ryancooley merged 8 commits intonextfrom
Conversation
agustinbusso
left a comment
There was a problem hiding this comment.
The fix is correct, after click on the links in the breadcrumb for users without permissions, a unauthorized is showed. Users can view their own assets in a project
Screen.Recording.2024-02-08.at.11.25.33.mov
Screen.Recording.2024-02-08.at.11.31.20.mov
Another issue was discovered while reviewing. The ellipsis menu for the assets in a project does not show the edit and configure for a user without permissions applied like "Edit screen". After sync with @estebangallego this is going to be addressed in a separated ticket:
Screen.Recording.2024-02-08.at.11.34.51.mov
agustinbusso
left a comment
There was a problem hiding this comment.
Another issue detected is the icons in the left bar continue showing when the user does not have permissions. After sync with @estebangallego this issue is going to be addressed in another ticket.
Screen.Recording.2024-02-08.at.11.37.35.mov
|
Thank you @agustinbusso! A ticket FOUR-14092 has been created regarding this observation |
|

0.0% Coverage on New Code
0.0% Duplication on New Code
Issue & Reproduction Steps
Users without the appropriate permissions can see a list of screens, data connectors, and decision tables.
Steps to Reproduce:
At this moment, we're able to see a list of Screens, DataConnector and Decision Tables
Solution
Modify the $allowedEndpoints array to explicitly include the specific endpoint corresponding to the current user's own assets. This will grant the user permission to modify their assets while continuing to restrict access to the system's other assets.
How to Test
Please follow the 'Steps to Reproduce' and verify that in steps 7 and 8, the user encounters an 'unauthorized' page, confirming that access is correctly restricted.
Related Tickets & Packages
ci:next
Code Review Checklist