Skip to content

Scope keyword in Security Context is overriden #8995

Open
@flomelki

Description

@flomelki

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

Metadata

Metadata

Assignees

Labels

cube cloudIssues related to Cube Cloud

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions