appsmith
appsmith copied to clipboard
[Bug]: RBAC code leak on CE where an intermittent error is displayed for user not having permissions to modify page
Is there an existing issue for this?
- [X] I have searched the existing issues
Description
Intermittently RBAC code leak into CE cloud version where an error is displayed for user not having permission to create a page. Even though the page is created successfully, there's an error logged on toast and console.
App save state ends up in an error state at this point.
Steps To Reproduce
- Try to create a new page and on a rare occasion you'll see a toast with the following error

- API call details:

Public Sample App
No response
Issue video log
No response
Version
Cloud
@ramsaptami could you share the exact steps to reproduce this?
Unsure on repro steps cause I've seen it happen once and Raksha's seen it happen intermittently Conditions where I saw it happen:
- Used an existing app that's git connected (unsure if git connection is related)
- Tried to add a blank page from
+icon at pages
@RakshaKShetty - Are we able to reproduce this?
Closing this as it appears stale, please reopen if you can reproduce it.