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

Problem with permissions #4609

Closed
Tri0L opened this issue Feb 5, 2020 · 3 comments
Closed

Problem with permissions #4609

Tri0L opened this issue Feb 5, 2020 · 3 comments

Comments

@Tri0L
Copy link

Tri0L commented Feb 5, 2020

Issue Summary

User with just view_query,list_dashboards permissions can execute query and see all data on dashboards.

Steps to Reproduce

  1. Redash Version: 8.0.0+b32245 (a16f551)
  2. Create group with permissions view_query,list_dashboards
  3. Open any dashboard

Expected

User without execute_query permission can't see any data.

@arikfr
Copy link
Member

arikfr commented Feb 5, 2020

It might be a case of confusing naming, but view_query means they can see query and its results. They can also refresh the queries they have access too.

If you want to limit their access, you can move them to a different group and assign relevant permissions to relevant data sources.

I'm closing this, but you're welcome to continue conversation.

@arikfr arikfr closed this as completed Feb 5, 2020
@Tri0L
Copy link
Author

Tri0L commented Feb 5, 2020

Which difference between execute_query and view_query?

@arikfr
Copy link
Member

arikfr commented Feb 9, 2020

Without execute_query you can't execute adhoc queries (only already saved ones).

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