You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by "xavier-GitHub76 (via GitHub)" <gi...@apache.org> on 2024/07/10 13:14:31 UTC
[I] A gamma does not see anything (even if a dataset is public) [superset]
xavier-GitHub76 opened a new issue, #29544:
URL: https://github.com/apache/superset/issues/29544
### Bug description
Hello,
Unlike an Alpha user, a gamma does not see datasets without permission.
If a dataset is public, a gamma should see it by default.
Currently, it is necessary to add "access on" permission while the dataset is public
### How to reproduce the bug
Create a public dataset
Login with a Gamma user
List the dataset --> Public dataset is not displayed
### Screenshots/recordings
_No response_
### Superset version
master / latest-dev
### Python version
3.9
### Node version
16
### Browser
Chrome
### Additional context
_No response_
### Checklist
- [ ] I have searched Superset docs and Slack and didn't find a solution to my problem.
- [ ] I have searched the GitHub issue tracker and didn't find a similar bug report.
- [ ] I have checked Superset's logs for errors and if I found a relevant Python stacktrace, I included it here as text in the "additional context" section.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [I] A gamma does not see dataset (even if is public) [superset]
Posted by "dosubot[bot] (via GitHub)" <gi...@apache.org>.
dosubot[bot] commented on issue #29544:
URL: https://github.com/apache/superset/issues/29544#issuecomment-2220488546
<!-- Answer -->
Gamma users cannot see public datasets by default because they only have access to data sources they have been explicitly granted access to through another complementary role. Unlike Alpha users, who have access to all data sources, Gamma users are designed to have limited access, primarily for consuming data from specific sources they have permissions for.
To resolve this, you need to explicitly grant Gamma users access to the public datasets. This can be done by creating a new role that includes the necessary permissions for the public datasets and assigning this role to the Gamma users.
Here’s how to provide Gamma users access to specific datasets:
1. Ensure the users have only the Gamma role assigned to them.
2. Create a new role:
- Navigate to `Menu -> Security -> List Roles`.
- Click the `+` sign to create a new role.
- Give the new role a name, attribute it to users, and select the tables in the **Permissions** dropdown.
- Use the typeahead to search for and select the public datasets you want to associate with this role.
3. Assign this new role to the Gamma users.
By following these steps, Gamma users will be able to see and access the public datasets you have granted them permissions for <sup>[[1]](https://github.com/apache/superset/blob/master/docs/docs/security/security.mdx)</sup><sup>[[2]](https://github.com/apache/superset/blob/master/RESOURCES/STANDARD_ROLES.md)</sup><sup>[[3]](https://github.com/apache/superset/blob/master/tests/integration_tests/dashboard_tests.py)</sup><sup>[[4]](https://github.com/apache/superset/blob/master/tests/integration_tests/security_tests.py)</sup>.
<!-- Dosu Comment Footer -->
*To continue talking to [Dosu](https://dosu.dev), mention @dosu.*
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [I] A gamma does not see dataset (even if is public) [superset]
Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas closed issue #29544: A gamma does not see dataset (even if is public)
URL: https://github.com/apache/superset/issues/29544
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [I] A gamma does not see dataset (even if is public) [superset]
Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas commented on issue #29544:
URL: https://github.com/apache/superset/issues/29544#issuecomment-2767383551
Closing this as stale/not planned, but if anyone is still facing this and/or open to submitting a PR, we can reopen it.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org