Scope keyword in Security Context is overriden
- Dominant language
- Rust
- Stars
- 20.8k
- Forks
- 2.1k
- Avg merge
- 1d 2h
- Merged PRs (30d)
- 181
Description
**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
Contributor guide
Assessment
This issue has not been assessed yet.