Changing role names in global security provider buggs every .json

Wappler Version : latest
Operating System : windows 11 pro x64
Server Model: node.js
Database Type: Postgres
Hosting Type: local

Expected behavior

What do you think should happen?

When replacing the role naming wappler should keep them empty on all .json’s permissions

Actual behavior

What actually happens?

Visual .json UI shows permission roles as not selected but code editor shows that the naming is old and not replaced and by this instead of being empty it leads to manual modifications of every .json to change the naming.

How to reproduce

  • Detail a step by step guide to reproduce the issue
  • A screenshot or short video indicating the problem
  • A copy of your code would help. Include: JS, HTML.
  • Test your steps on a clean page to see if you still have an issue
  1. Change DB role names;
  2. Change security provider role names;
  3. boom - every .json shows empty permission roles from the user UI but the code holds old role naming.

PLEASE DELETE THE BUG TEMPLATE DUMMY TEXT BEFORE POSTING THE TOPIC!