문제

I want to know once you create a user role and add some privileges as:

CREATE ROLE usern NOT IDENTIFIED ;
GRANT SELECT ANY DICTIONARY TO usern ;
GRANT SELECT ON t90022.temptable TO usern ;

Can you edit the user role and just state the privilege as follows?

GRANT SELECT ON 90888.temptable2 TO usern ;

Will the user role be updated or do you need to drop and create the user role again?

PS: I don't have privileges to try this out. So please help

도움이 되었습니까?

해결책

Granting privileges in Oracle is cumulative. You do not have to re-grant privileges already granted, and in fact must revoke them explicitly to remove them.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top