2022-01-05 10:06:33 +00:00
|
|
|
|
|
|
|
-- grant usage for schema dba
|
|
|
|
grant usage on schema dba to dodger ;
|
|
|
|
|
2022-01-05 12:13:27 +00:00
|
|
|
-- grant execute on the function change_my_password
|
2022-01-05 10:06:33 +00:00
|
|
|
grant execute on function dba.change_my_password(text) to dodger;
|
2022-01-05 12:13:27 +00:00
|
|
|
-- grant execute on the function change_valid_until
|
2022-05-06 15:52:04 +00:00
|
|
|
grant execute on function dba.change_valid_until(text, 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;
|
|
|
|
|
2022-05-06 15:52:04 +00:00
|
|
|
|
|
|
|
|
|
|
|
-- SET SESSION AUTORIZATION dodger ;
|
|
|
|
|