1
0

fix role generation for contact+person

This commit is contained in:
Michael Hoennig
2022-09-09 09:58:36 +02:00
parent 0fe1f85549
commit 35efa40ebb
4 changed files with 10 additions and 6 deletions

View File

@ -26,7 +26,7 @@ begin
return roleDescriptor('hs_admin_contact', contact.uuid, 'owner');
end; $$;
create or replace function hsAdminContactOwner(contact hs_admin_contact)
create or replace function hsAdminContactAdmin(contact hs_admin_contact)
returns RbacRoleDescriptor
language plpgsql
strict as $$

View File

@ -26,7 +26,7 @@ begin
return roleDescriptor('hs_admin_person', person.uuid, 'owner');
end; $$;
create or replace function hsAdminPersonOwner(person hs_admin_person)
create or replace function hsAdminPersonAdmin(person hs_admin_person)
returns RbacRoleDescriptor
language plpgsql
strict as $$