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

Drop user with altered default privileges. #492

Open
gorros opened this issue Mar 26, 2020 · 3 comments
Open

Drop user with altered default privileges. #492

gorros opened this issue Mar 26, 2020 · 3 comments

Comments

@gorros
Copy link

gorros commented Mar 26, 2020

I am trying to user v_generate_user_grant_revoke_ddl to change user ownership and drop user. But I am having issues with default acl.
Suggested step does not handle that case
select regexp_replace(ddl,grantor,'<superuser>') from v_generate_user_grant_revoke_ddl where grantor='<username>' and ddltype='grant' and objtype <>'default acl' order by objseq,grantseq;

And get this error
owner of default privileges on new relations belonging to user

@gorros gorros changed the title Drop user with altered default priviledges. Drop user with altered default privileges. Mar 26, 2020
@adedotua
Copy link
Contributor

adedotua commented Jul 31, 2020

Are you still having this issue with the latest version of the view? Any chance you can provide a repro?

@mfrye-blue-owl
Copy link

I'm getting this too. I'm having trouble tracking down the edits to make to reverse default privileges that were set.

@f0o
Copy link

f0o commented Oct 6, 2020

👍 same

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

4 participants