From ac1d9603495232981146814cd6ba6b4be127d20b Mon Sep 17 00:00:00 2001 From: Yanis MERABET <78480186+Yayabtw@users.noreply.github.com> Date: Tue, 26 May 2026 07:32:22 +0200 Subject: [PATCH] feat: add update permission for last connection date in user_security - Granted UPDATE permission on the date_derniere_connection column in the user_security table to app_umhma, enhancing user activity tracking capabilities. --- backend/scripts_SQL/umhma_script_grants_app_umhma_bootstrap.sql | 1 + 1 file changed, 1 insertion(+) diff --git a/backend/scripts_SQL/umhma_script_grants_app_umhma_bootstrap.sql b/backend/scripts_SQL/umhma_script_grants_app_umhma_bootstrap.sql index 19c089d..139070d 100644 --- a/backend/scripts_SQL/umhma_script_grants_app_umhma_bootstrap.sql +++ b/backend/scripts_SQL/umhma_script_grants_app_umhma_bootstrap.sql @@ -16,6 +16,7 @@ GRANT INSERT ON public.user_account TO app_umhma; GRANT SELECT (uuid_user, mdp_hash, mdp_sel, lockout) ON public.user_security TO app_umhma; GRANT INSERT ON public.user_security TO app_umhma; +GRANT UPDATE (date_derniere_connection) ON public.user_security TO app_umhma; GRANT INSERT ON public.patient, public.aidant TO app_umhma;