質問

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