Revoking Privileges on all objects
SK21
Vertica Customer ✭
Is it possible to revoke all privileges of users on every object whether table, object or view in one single command. Something like revoke all for a particular user.
0
Answers
Yet another SQL-generating-SQL candidate:
I have no means to test it, as my databases don't have a lot of roles, users and grantees - but I think I can get the syntax right...
The report of this will be the script you'll have to run. Should work - at least after a few tweaks...
I've tried something similar to Marco idea for user Mike and it works:
You may want to add also the following because tables owners can still access their own tables: