Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The generated rule overwrites any custom app_metadata causing data loss #271

Open
tomhoad opened this issue Jun 19, 2020 · 0 comments
Open

Comments

@tomhoad
Copy link

tomhoad commented Jun 19, 2020

Description

The generated rule overwrites any custom app_metadata causing data loss.

Reproduction

Set user app_metadata to:

{
  "authorization": {
    "testApp": {
      "roles": {
        "x": "admin",
        "y": "admin",
        "z": "admin"
      }
    },
  }
}

Install extension.

User app_metadata is replaced with:

{
  "authorization": {
    "permissions": []
  }
}
  • Version of this library used:

Latest

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant