Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Any way to check VIEW privileges similar to table_privs_are? #196

Open
jamesmbourne opened this issue Feb 26, 2019 · 2 comments
Open

Any way to check VIEW privileges similar to table_privs_are? #196

jamesmbourne opened this issue Feb 26, 2019 · 2 comments

Comments

@jamesmbourne
Copy link

I am trying to test what privileges a user has on a view in the same way as has_table_privs, although from the docs I could not find a function that allows for this.

I tried using has_table_privs on the VIEW although this did not work:

Table example.view_here does not exist

Is this functionality that you would consider adding?

@theory
Copy link
Owner

theory commented Feb 26, 2019

Sure, makes sense. Care to submit a pull request?

@jamesmbourne
Copy link
Author

@theory Yeah I'll take a look at getting this implemented. I wasn't sure if I was just missing something in my usage of has_table_privs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants