From 1d42673776101fd35371b47fd6432e4fc1dc5993 Mon Sep 17 00:00:00 2001 From: dodger Date: Wed, 5 Jan 2022 13:13:27 +0100 Subject: [PATCH] grant on change_valid_until --- grants_to_grant.sql | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/grants_to_grant.sql b/grants_to_grant.sql index c676b8d..f3916b9 100644 --- a/grants_to_grant.sql +++ b/grants_to_grant.sql @@ -2,8 +2,10 @@ -- 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 the function change_my_password grant execute on function dba.change_my_password(text) to dodger; +-- grant execute on the function change_valid_until +grant execute on function dba.change_valid_until(text) to dodger; -- only insert is needed to allow audit trace GRANT INSERT ON TABLE dba.pwdhistory TO dodger;