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

ASSUMEROLE permission on IAM roles can't be listed by v_generate_user_grant_revoke_ddl #620

Open
saeedma8 opened this issue May 19, 2022 · 1 comment

Comments

@saeedma8
Copy link
Contributor

User owns ASSUMEROLE permission on IAM roles can't be listed by https://github.com/awslabs/amazon-redshift-utils/blob/master/src/AdminViews/v_generate_user_grant_revoke_ddl.sql

So, if admin doesn't know of assumerole permission to revoke it first, user can't be dropped and receiving this error:
"SQL Error [55006]: ERROR: user "" cannot be dropped because the user has a privilege on some object"

@tooptoop4
Copy link

did u solve @saeedma8 ?

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

No branches or pull requests

2 participants