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

[Optimization ⚙️] Fix how roles are granted to users #26

Open
TanmoySG opened this issue Jan 13, 2023 · 1 comment
Open

[Optimization ⚙️] Fix how roles are granted to users #26

TanmoySG opened this issue Jan 13, 2023 · 1 comment
Assignees
Labels
backlogs 📦 enhancement New feature or request

Comments

@TanmoySG
Copy link
Owner

Currently when a role is granted it is stored in an Array as

{
  "permissions":[
    {
      "role":"roleTwo",
      "on":{
        "databases":"test-db-001"
      }
    },
    {
      "role":"roleOne",
      "on":{
        "databases":"*"
      }
    }
  ]
}

So without looping through all existing permissions, there is no way to check is if permissions are being duplicated.

[Add more details]

@TanmoySG TanmoySG added enhancement New feature or request backlogs 📦 labels Jan 13, 2023
@TanmoySG TanmoySG self-assigned this Feb 1, 2023
@TanmoySG
Copy link
Owner Author

TanmoySG commented Mar 8, 2023

Moving to Iteration 13 (starts march end). Will introduce as feature/enhancement.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backlogs 📦 enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant