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

Scope keyword in Security Context is overriden #8995

Open
flomelki opened this issue Nov 26, 2024 · 0 comments
Open

Scope keyword in Security Context is overriden #8995

flomelki opened this issue Nov 26, 2024 · 0 comments
Assignees

Comments

@flomelki
Copy link

Describe the bug
When I use the scope keyword with some valyes within the Security Context, it is overridden with the value ['sql-runner', 'sql-runner-permissions:select,with,explain,analyze,show,check,describe,get,help']

To Reproduce
Steps to reproduce the behavior:

  1. Go on the Playground
  2. open the Security Context and set { "scope": "test" }
  3. display the content of the Security Context through the code (for example with a raise Exception). You should get 'scope': ['sql-runner', 'sql-runner-permissions:select,with,explain,analyze,show,check,describe,get,help'] (with some other values)

Expected behavior
I should get 'scope': ['test'] or possibly 'scope': ['test', 'sql-runner', 'sql-runner-permissions:select,with,explain,analyze,show,check,describe,get,help'] if the other values are mandatory

@igorlukanin igorlukanin self-assigned this Nov 27, 2024
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

2 participants