You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by "mounikagancheeri (via GitHub)" <gi...@apache.org> on 2024/04/22 13:39:21 UTC
[I] I have embedded a superset dashboard in my system, but I don't want users to see the "edit chart", "view SQL" buttons. What should I do? What role permissions need to be modified? [superset]
mounikagancheeri opened a new issue, #28172:
URL: https://github.com/apache/superset/issues/28172
I have embedded a superset dashboard in my system, but I don't want users to see the "edit chart", "view SQL" buttons. What should I do? What role permissions need to be modified?
<img width="519" alt="image" src="https://github.com/apache/superset/assets/22795018/abdd7a40-376b-4107-b8b0-5567cd084dec">
_Originally posted by @aSingleDragon in https://github.com/apache/superset/discussions/25642_
--
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] I have embedded a superset dashboard in my system, but I don't want users to see the "edit chart", "view SQL" buttons. What should I do? What role permissions need to be modified? [superset]
Posted by "vikashrajgupta (via GitHub)" <gi...@apache.org>.
vikashrajgupta commented on issue #28172:
URL: https://github.com/apache/superset/issues/28172#issuecomment-2071436783
Thanks! @rusackas and @andy-clapson - It worked for me as well, earlier I was not added the `can grant guest token on security API` due to which I was not able to generate the final token with the public credentials.
But got the idea from the above shared permission and it worked for me as well. Once again Thanks!!
--
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] I have embedded a superset dashboard in my system, but I don't want users to see the "edit chart", "view SQL" buttons. What should I do? What role permissions need to be modified? [superset]
Posted by "andy-clapson (via GitHub)" <gi...@apache.org>.
andy-clapson commented on issue #28172:
URL: https://github.com/apache/superset/issues/28172#issuecomment-2070853474
FWIW, here's my own personal 'view-only' definition I was looking at:
```
- can csrf token on Superset
- can csv on Superset
- can dashboard on Superset
- can explore json on Superset
- can favstar on Superset
- can fetch datasource metadata on Superset
- can invalidate on CacheRestApi
- can log on Superset
- can read on Chart
- can read on CssTemplate
- can read on Dashboard
- can read on DashboardFilterStateRestApi
- can read on Database
- can read on Dataset
- can read on Query
- can read on SavedQuery
- can slice json on Superset
- can time range on Api
- can warm up cache on Superset
- can write on DashboardFilterStateRestApi
- can profile on Superset
```
--
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] I have embedded a superset dashboard in my system, but I don't want users to see the "edit chart", "view SQL" buttons. What should I do? What role permissions need to be modified? [superset]
Posted by "andy-clapson (via GitHub)" <gi...@apache.org>.
andy-clapson commented on issue #28172:
URL: https://github.com/apache/superset/issues/28172#issuecomment-2082778713
@rusackas - I think I had a Slack account that has been deactivated. `andy.clapson` - can you or someone on the Slack admin have a peek? thanks.
--
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] I have embedded a superset dashboard in my system, but I don't want users to see the "edit chart", "view SQL" buttons. What should I do? What role permissions need to be modified? [superset]
Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas commented on issue #28172:
URL: https://github.com/apache/superset/issues/28172#issuecomment-2070850514
Closing this, since that's indeed the correct answer. I do wonder if it's worth considering sometime in the future a new role tailored to this increasingly common use case, but that's a discussion to be had elsewhere (Town Hall, or the Apache dev list, or a SIP).
--
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] I have embedded a superset dashboard in my system, but I don't want users to see the "edit chart", "view SQL" buttons. What should I do? What role permissions need to be modified? [superset]
Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas commented on issue #28172:
URL: https://github.com/apache/superset/issues/28172#issuecomment-2083418653
@andy-clapson it should be restored now. Let me know if you have further trouble :)
--
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] I have embedded a superset dashboard in my system, but I don't want users to see the "edit chart", "view SQL" buttons. What should I do? What role permissions need to be modified? [superset]
Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas commented on issue #28172:
URL: https://github.com/apache/superset/issues/28172#issuecomment-2075149459
I'll also add that we _know_ the documentation needs work, and we're trying to engage people from the community (like you!) to help improve the situation. Hit me up on [slack](http://bit.ly/join-superset-slack) if you want to be part of that effort. It takes a village :)
--
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] I have embedded a superset dashboard in my system, but I don't want users to see the "edit chart", "view SQL" buttons. What should I do? What role permissions need to be modified? [superset]
Posted by "vikashrajgupta (via GitHub)" <gi...@apache.org>.
vikashrajgupta commented on issue #28172:
URL: https://github.com/apache/superset/issues/28172#issuecomment-2074084396
Agree with you @andy-clapson Thanks!!
--
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] I have embedded a superset dashboard in my system, but I don't want users to see the "edit chart", "view SQL" buttons. What should I do? What role permissions need to be modified? [superset]
Posted by "andy-clapson (via GitHub)" <gi...@apache.org>.
andy-clapson commented on issue #28172:
URL: https://github.com/apache/superset/issues/28172#issuecomment-2072550913
It would be a combination of the documentation, along with stack overflow and various blogs people have written. Sometimes you will have to check out the source code, too - the `config.py` file in particular is useful. This is part of the benefit of open-source, of course, that you can learn how things work.
--
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] I have embedded a superset dashboard in my system, but I don't want users to see the "edit chart", "view SQL" buttons. What should I do? What role permissions need to be modified? [superset]
Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas closed issue #28172: I have embedded a superset dashboard in my system, but I don't want users to see the "edit chart", "view SQL" buttons. What should I do? What role permissions need to be modified?
URL: https://github.com/apache/superset/issues/28172
--
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] I have embedded a superset dashboard in my system, but I don't want users to see the "edit chart", "view SQL" buttons. What should I do? What role permissions need to be modified? [superset]
Posted by "vikashrajgupta (via GitHub)" <gi...@apache.org>.
vikashrajgupta commented on issue #28172:
URL: https://github.com/apache/superset/issues/28172#issuecomment-2071440230
@rusackas @andy-clapson - Can you please tell me from where I can get a detailed idea about Superset's config and what custom things we can do via Superset? I thing documentation is not enough and I have to do a lot of things with Superset.
--
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] I have embedded a superset dashboard in my system, but I don't want users to see the "edit chart", "view SQL" buttons. What should I do? What role permissions need to be modified? [superset]
Posted by "andy-clapson (via GitHub)" <gi...@apache.org>.
andy-clapson commented on issue #28172:
URL: https://github.com/apache/superset/issues/28172#issuecomment-2070837328
you'll have to create a custom role, with a subset of permissions, that would make up a view-only profile (according to what you want)
Basically, take `Gamma` and remove things from 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
Re: [I] I have embedded a superset dashboard in my system, but I don't want users to see the "edit chart", "view SQL" buttons. What should I do? What role permissions need to be modified? [superset]
Posted by "andy-clapson (via GitHub)" <gi...@apache.org>.
andy-clapson commented on issue #28172:
URL: https://github.com/apache/superset/issues/28172#issuecomment-2075155089
> I'll also add that we _know_ the documentation needs work, and we're trying to engage people from the community (like you!) to help improve the situation. Hit me up on [slack](http://bit.ly/join-superset-slack) if you want to be part of that effort. It takes a village :)
I'd be happy to help. I'll join and shoot you a message
--
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