Redshift group cannot be dropped because permission dependency is found

0

not able to drop the group in redshift database facing the error group "XXXX" cannot be dropped because permission dependency is found

질문됨 4달 전295회 조회
3개 답변
0

You can drop a group, after you revoke any permissions that the group has for objects to do this please follow the below steps.

  1. Download the v_generate_user_grant_revoke_ddl.sql from the AWS Labs GitHub repository.
  2. Find the permissions granted to the group using the below SQL.
 select ddl from admin.v_generate_user_grant_revoke_ddl where ddltype='revoke' and grantee= 'group <group-name>'; 
  1. Find all granted permissions by group that you want to drop. Then, re-apply those permissions as another group.
  2. Drop the group.
profile pictureAWS
전문가
답변함 4달 전
0

Yes, I have done this as well but select statement not returning anything.

Enter image description here
Enter image description here

답변함 4달 전
0

Enter image description here

답변함 4달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠