On giving Edit and View access to application resources, and Execute to DS, but no access to environments, when we login with user with above roles, and click queries, user gets logged out
Steps To Reproduce
Create an application and generate a crud page, so that the app has a DS, a few queries, and a few pages.
Create a role with Edit and View access given to all the application resources of the above app
Give execute access to the datasource, but no environment access
Create a group, add a user to the group and assign this role to the group
Login with the above user.
Edit the application. Click on the Queries tab on the left pane.
Is there an existing issue for this?
Description
On giving Edit and View access to application resources, and Execute to DS, but no access to environments, when we login with user with above roles, and click queries, user gets logged out
Steps To Reproduce
User should not get logged out.
https://github.com/appsmithorg/appsmith/assets/101863839/737e7514-e7c9-497d-b787-ba5c6af06359
Public Sample App
No response
Environment
Production
Severity
High (Blocker to building)
Issue video log
No response
Version
Cloud