GitHub user fabrue created a discussion: Granting permissions to datasets 
created in SQL Lab

Hi everyone!
Assuming we use Superset version `6.0.0` and have a user assigned the `Gamma` 
and `sql_lab` roles, this user also has a custom role named `DatasetCreator` 
with these permissions: `can list Dataset`, `can read Dataset`, `can write 
Dataset`, `can get or create dataset Dataset` .

This user should be able to create datasets in SQL Lab using the "Save Dataset" 
button. 

While the creation process works perfectly fine, the user cannot see the 
created datasets. When opening the "Datasets" tab in Superset, they do not 
appear. 

I know that Superset creates a permission for every created dataset and 
assigning the permission via the `DataCreator` role solves the problem. 

I have two questions:
(1) Is it really necessary to explicitly grant a user permission to its own 
datasets? 

(2) If it is required to grant the permissions explicitly, are there any best 
practices or recommendations on how to accomplish that?

Thanks in advance :-) 

GitHub link: https://github.com/apache/superset/discussions/38250

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: 
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to