appsmith icon indicating copy to clipboard operation
appsmith copied to clipboard

[Bug]: RBAC code leak on CE where an intermittent error is displayed for user not having permissions to modify page

Open ramsaptami opened this issue 2 years ago • 2 comments

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

  1. Try to create a new page and on a rare occasion you'll see a toast with the following error image
  2. API call details: image image

Public Sample App

No response

Issue video log

No response

Version

Cloud

ramsaptami avatar Jan 04 '23 09:01 ramsaptami

@ramsaptami could you share the exact steps to reproduce this?

ankitakinger avatar Jan 04 '23 10:01 ankitakinger

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

ramsaptami avatar Jan 04 '23 10:01 ramsaptami

@RakshaKShetty - Are we able to reproduce this?

infinitetrooper avatar Jan 19 '23 09:01 infinitetrooper

Closing this as it appears stale, please reopen if you can reproduce it.

infinitetrooper avatar Jun 06 '23 15:06 infinitetrooper