-
Notifications
You must be signed in to change notification settings - Fork 13.9k
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
Security: table permission #30906
Comments
@hardstuding Hello there! I'm here to assist you with any bugs, questions, or contributions you have for the project. Let's tackle this together! The issue you're experiencing might be related to the permissions set for the user role "test." In Apache Superset, when a user creates a virtual dataset, they need specific permissions to view it. Here are a few things to check:
If these steps don't resolve the issue, it might be a bug in the current version you're using, and further investigation or a workaround might be necessary. |
i think you can try add permission access for database of table you use. |
But I want the user can only get limit permission on some tables, not all database. |
I need to clarify a little. Can you tell me the permissions granted to user "test test" ? Because I see that the "test test" user can access other datasets as well. |
I just give user "test test" two databases permission, include "superset_upload" and "example". The other permission which about database is the first picture you can see. |
Bug description
User can get limit asccess on tables but when he(r) create datasets on it, himself(or herself) can't view the datesets
Use Admin User to set role "test", then set user "test test" the role "test".
The user "test test" do not have the access to the database or schema.
Give two permissions, you can see on the picture.
Then, user "test test" can access the the physical table on sql lab. I can use this method to authorize permission on tables, even it is not efficient.
But, when I use user "test test" using the table to create a virtual dataset "test_can_use_table", the user can't see it on datasets tab.
I think that user "test test" should see the dataset it created. And it need not the Admin authority again.
So I think it is a bug.
Screenshots/recordings
No response
Superset version
master / latest-dev
Python version
3.9
Node version
16
Browser
Chrome
Additional context
No response
Checklist
The text was updated successfully, but these errors were encountered: