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 · 3 comments
Open

Scope keyword in Security Context is overriden #8995

flomelki opened this issue Nov 26, 2024 · 3 comments
Assignees
Labels
bug Something isn't working cube cloud Issues related to Cube Cloud

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
@igorlukanin igorlukanin added the cube cloud Issues related to Cube Cloud label Dec 4, 2024
@igorlukanin
Copy link
Member

I was able to reproduce this as well:

Screenshot 2024-12-04 at 15 46 35

Checking with the team...

@flomelki
Copy link
Author

Hi @igorlukanin any way to know when this ticket could be taken ?
This is a blocking point on my side.
Thanks !

@igorlukanin igorlukanin added the bug Something isn't working label Dec 16, 2024
@igorlukanin
Copy link
Member

Hi @flomelki 👋 I can't share an ETA but we're actively looking into that!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working cube cloud Issues related to Cube Cloud
Projects
None yet
Development

No branches or pull requests

2 participants