Privileges for SHOW GROUPS WITH USER '***@***'
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2024 03:27 AM
Hello Briksters,
i am looking for a giving a grand to developer being able execute with SHOW GROUPS WITH USER '***@***' without admin permission on UC.
Could you give any tips to do it?
UC Admin is able to see result query, but developer is not.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2024 07:48 AM
Thank you for your comprehensive answer.
I assume from what you have written that this cannot be done without admin permissions on the metastore.
So is there any other way to check who is in which group?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-07-2024 03:11 AM
We are also interested in a way of getting privileges of a group. I think the role Browse should make the privileges visible?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2024 03:39 PM
The permission model is designed such that you cannot see any Grants but that of yourself and/or of objects you own.
Scenario A: I am a "vanilla" user who is allowed to create a table in a schema. When I do SHOW GRANTS for my user ID, I'll see all the grants that "I" have (ie, objects I created + other grants I may have been given by other creators)
Scenario B: I'm a Schema Owner and execute SHOW GRANTS on SCHEMA "my-schema-name", I'll see all the grants "anyone" has on my Schema. (Similar for Catalog Owner).
This is why a Metastore Admin sees all GRANTS.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2024 06:10 PM
d

