You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2022/06/27 20:24:31 UTC
[GitHub] [superset] mporracindie opened a new issue, #20511: SqlLab preview permissions error
mporracindie opened a new issue, #20511:
URL: https://github.com/apache/superset/issues/20511
Permissions error on sql lab preview even tho the user has schema access.
#### How to reproduce the bug
1. Create a rol X with schema access on Y
2. Give a user the following roles: X, Gamma and SqlLab
3. The user can now query the schema but the preview fails with:
```
You need access to the following tables: `%60___%60.%60___%60`,
`all_database_access` or `all_datasource_access` permission
```
#### Screenshots
<img width="1204" alt="Screen Shot 2022-06-27 at 17 16 13" src="https://user-images.githubusercontent.com/42622776/176028028-9a884895-8dfd-4218-8011-f91917f1188b.png">
<img width="571" alt="Screen Shot 2022-06-27 at 17 16 38" src="https://user-images.githubusercontent.com/42622776/176028071-ab66e887-d129-45c6-8f3e-8d07c0b018f4.png">
### Environment
(please complete the following information):
- browser type and version: Chrome Version 102.0.5005.115 (Official Build) (arm64)
- superset version: `1.4.1`
- python version: `3.8.12`
- any feature flags active: No
### Checklist
Make sure to follow these steps before submitting your issue - thank you!
- [ X ] I have checked the superset logs for python stacktraces and included it here as text if there are any.
- [ ] I have reproduced the issue with at least the latest released version of superset.
- [ ] I have checked the issue tracker for the same issue and I haven't found one similar.
--
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] SqlLab preview permissions error [superset]
Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas closed issue #20511: SqlLab preview permissions error
URL: https://github.com/apache/superset/issues/20511
--
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] SqlLab preview permissions error [superset]
Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas commented on issue #20511:
URL: https://github.com/apache/superset/issues/20511#issuecomment-1932982798
Since we're now on 3.1, on the verge of 4.0, we're not supporting 2.x or prior versions actively. If anyone is experiencing this issue in current versions, please file a new issue with updated context and repro steps. Thank you for understanding :)
--
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