2022-01-05 10:06:33 +00:00
|
|
|
|
|
|
|
-- grant usage for schema dba
|
|
|
|
grant usage on schema dba to dodger ;
|
|
|
|
|
|
|
|
-- grant execute on the function that change_my_password the pass but no on the one that change VALID UNTIL
|
|
|
|
grant execute on function dba.change_my_password(text) to dodger;
|
2022-01-04 17:46:37 +00:00
|
|
|
|
|
|
|
-- only insert is needed to allow audit trace
|
|
|
|
GRANT INSERT ON TABLE dba.pwdhistory TO dodger;
|
|
|
|
|