Discard changes option blocked in edit mode if app is protected

Issue #114 wontfix
Scott Wiltshire created an issue

Describe the bug
If an app is protected then it is correct that save and delete options are blocked. However, the user should still be able to discard changes to reset copy of edit mode json attributes back to the published version. Currently discard is also blocked with the same error message as save “Please unlock the app to save or discard change.“ This is incorrect behaviour.

To Reproduce

  1. Protect app in View Management
  2. Navigate to screen in the app. Enter edit mode and make a change to ViewDef
  3. Click “Discard” button

Expected behavior
Discard function should not be blocked.

Component
Edit Mode.

Version
2.5.2

Comments (2)

  1. Log in to comment