Revert "remove setting unused currentSubjectOrAssumedRolesUuids"

This reverts commit 281736c8e3.
This commit is contained in:
Michael Hoennig 2024-12-30 09:16:03 +01:00
parent 281736c8e3
commit 4457c5aa5a

View File

@ -108,6 +108,8 @@ begin
execute format('set local hsadminng.currentSubjectUuid to %L', coalesce(currentSubjectUuid::text, ''));
execute format('set local hsadminng.assumedRoles to %L', assumedRoles);
execute format('set local hsadminng.currentSubjectOrAssumedRolesUuids to %L', -- FIXME: can this be removed?
(select array_to_string(rbac.determinecurrentsubjectorassumedrolesuuids(currentSubjectUuid, assumedRoles), ';')));
raise notice 'Context defined as: %, %, %, [%]', currentTask, currentRequest, currentSubject, assumedRoles;
end; $$;