hs.hsadmin.ng/src/test/resources/db/prod-only-office-schema-with-test-data.sql
Michael Hoennig ce7e3741bd feature/test-liquibase-migration-from-a-prod-dump (#152)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: #152
Reviewed-by: Marc Sandlus <marc.sandlus@hostsharing.net>
2025-01-28 12:27:54 +01:00

17156 lines
1.6 MiB

-- =================================================================================
-- Generated reference-SQL-dump (hopefully of latest prod-release).
-- See: net.hostsharing.hsadminng.hs.migration.LiquibaseCompatibilityIntegrationTest
-- ---------------------------------------------------------------------------------
--
-- Explicit pre-initialization because we cannot use `pg_dump --create ...`
-- because the database is already created by Testcontainers.
--
CREATE ROLE postgres;
CREATE ROLE admin;
GRANT ALL PRIVILEGES ON ALL TABLES IN SCHEMA public TO admin;
CREATE ROLE restricted;
GRANT ALL PRIVILEGES ON ALL TABLES IN SCHEMA public TO restricted;
--
-- PostgreSQL database dump
--
-- Dumped from database version 15.5 (Debian 15.5-1.pgdg120+1)
-- Dumped by pg_dump version 15.5 (Debian 15.5-1.pgdg120+1)
SET statement_timeout = 0;
SET lock_timeout = 0;
SET idle_in_transaction_session_timeout = 0;
SET client_encoding = 'UTF8';
SET standard_conforming_strings = on;
SELECT pg_catalog.set_config('search_path', '', false);
SET check_function_bodies = false;
SET xmloption = content;
SET client_min_messages = warning;
SET row_security = off;
--
-- Name: base; Type: SCHEMA; Schema: -; Owner: postgres
--
CREATE SCHEMA base;
ALTER SCHEMA base OWNER TO postgres;
--
-- Name: hs_integration; Type: SCHEMA; Schema: -; Owner: postgres
--
CREATE SCHEMA hs_integration;
ALTER SCHEMA hs_integration OWNER TO postgres;
--
-- Name: hs_office; Type: SCHEMA; Schema: -; Owner: postgres
--
CREATE SCHEMA hs_office;
ALTER SCHEMA hs_office OWNER TO postgres;
--
-- Name: rbac; Type: SCHEMA; Schema: -; Owner: postgres
--
CREATE SCHEMA rbac;
ALTER SCHEMA rbac OWNER TO postgres;
--
-- Name: rbactest; Type: SCHEMA; Schema: -; Owner: postgres
--
CREATE SCHEMA rbactest;
ALTER SCHEMA rbactest OWNER TO postgres;
--
-- Name: uuid-ossp; Type: EXTENSION; Schema: -; Owner: -
--
CREATE EXTENSION IF NOT EXISTS "uuid-ossp" WITH SCHEMA public;
--
-- Name: EXTENSION "uuid-ossp"; Type: COMMENT; Schema: -; Owner:
--
COMMENT ON EXTENSION "uuid-ossp" IS 'generate universally unique identifiers (UUIDs)';
--
-- Name: tx_operation; Type: TYPE; Schema: base; Owner: postgres
--
CREATE TYPE base.tx_operation AS ENUM (
'INSERT',
'UPDATE',
'DELETE',
'TRUNCATE'
);
ALTER TYPE base.tx_operation OWNER TO postgres;
--
-- Name: coopassetstransactiontype; Type: TYPE; Schema: hs_office; Owner: postgres
--
CREATE TYPE hs_office.coopassetstransactiontype AS ENUM (
'REVERSAL',
'DEPOSIT',
'DISBURSAL',
'TRANSFER',
'ADOPTION',
'CLEARING',
'LOSS',
'LIMITATION'
);
ALTER TYPE hs_office.coopassetstransactiontype OWNER TO postgres;
--
-- Name: coopsharestransactiontype; Type: TYPE; Schema: hs_office; Owner: postgres
--
CREATE TYPE hs_office.coopsharestransactiontype AS ENUM (
'REVERSAL',
'SUBSCRIPTION',
'CANCELLATION'
);
ALTER TYPE hs_office.coopsharestransactiontype OWNER TO postgres;
--
-- Name: hsofficemembershipstatus; Type: TYPE; Schema: hs_office; Owner: postgres
--
CREATE TYPE hs_office.hsofficemembershipstatus AS ENUM (
'INVALID',
'ACTIVE',
'CANCELLED',
'TRANSFERRED',
'DECEASED',
'LIQUIDATED',
'EXPULSED',
'UNKNOWN'
);
ALTER TYPE hs_office.hsofficemembershipstatus OWNER TO postgres;
--
-- Name: persontype; Type: TYPE; Schema: hs_office; Owner: postgres
--
CREATE TYPE hs_office.persontype AS ENUM (
'??',
'NP',
'LP',
'OU',
'IF',
'UF',
'PI'
);
ALTER TYPE hs_office.persontype OWNER TO postgres;
--
-- Name: relationtype; Type: TYPE; Schema: hs_office; Owner: postgres
--
CREATE TYPE hs_office.relationtype AS ENUM (
'UNKNOWN',
'PARTNER',
'EX_PARTNER',
'REPRESENTATIVE',
'DEBITOR',
'VIP_CONTACT',
'OPERATIONS',
'OPERATIONS_ALERT',
'SUBSCRIBER'
);
ALTER TYPE hs_office.relationtype OWNER TO postgres;
--
-- Name: rbacop; Type: DOMAIN; Schema: rbac; Owner: postgres
--
CREATE DOMAIN rbac.rbacop AS character varying(6)
CONSTRAINT rbacop_check CHECK ((((VALUE)::text = 'DELETE'::text) OR ((VALUE)::text = 'UPDATE'::text) OR ((VALUE)::text = 'SELECT'::text) OR ((VALUE)::text = 'INSERT'::text) OR ((VALUE)::text = 'ASSUME'::text)));
ALTER DOMAIN rbac.rbacop OWNER TO postgres;
--
-- Name: referencetype; Type: TYPE; Schema: rbac; Owner: postgres
--
CREATE TYPE rbac.referencetype AS ENUM (
'rbac.subject',
'rbac.role',
'rbac.permission'
);
ALTER TYPE rbac.referencetype OWNER TO postgres;
--
-- Name: roletype; Type: TYPE; Schema: rbac; Owner: postgres
--
CREATE TYPE rbac.roletype AS ENUM (
'OWNER',
'ADMIN',
'AGENT',
'TENANT',
'GUEST',
'REFERRER'
);
ALTER TYPE rbac.roletype OWNER TO postgres;
--
-- Name: roledescriptor; Type: TYPE; Schema: rbac; Owner: postgres
--
CREATE TYPE rbac.roledescriptor AS (
objecttable character varying(63),
objectuuid uuid,
roletype rbac.roletype,
assumed boolean
);
ALTER TYPE rbac.roledescriptor OWNER TO postgres;
--
-- Name: CAST (character varying AS hs_office.coopassetstransactiontype); Type: CAST; Schema: -; Owner: -
--
CREATE CAST (character varying AS hs_office.coopassetstransactiontype) WITH INOUT AS IMPLICIT;
--
-- Name: CAST (character varying AS hs_office.coopsharestransactiontype); Type: CAST; Schema: -; Owner: -
--
CREATE CAST (character varying AS hs_office.coopsharestransactiontype) WITH INOUT AS IMPLICIT;
--
-- Name: CAST (character varying AS hs_office.hsofficemembershipstatus); Type: CAST; Schema: -; Owner: -
--
CREATE CAST (character varying AS hs_office.hsofficemembershipstatus) WITH INOUT AS IMPLICIT;
--
-- Name: CAST (character varying AS hs_office.persontype); Type: CAST; Schema: -; Owner: -
--
CREATE CAST (character varying AS hs_office.persontype) WITH INOUT AS IMPLICIT;
--
-- Name: CAST (character varying AS hs_office.relationtype); Type: CAST; Schema: -; Owner: -
--
CREATE CAST (character varying AS hs_office.relationtype) WITH INOUT AS IMPLICIT;
--
-- Name: asserttrue(boolean, text); Type: FUNCTION; Schema: base; Owner: postgres
--
CREATE FUNCTION base.asserttrue(expectedtrue boolean, msg text) RETURNS boolean
LANGUAGE plpgsql
AS '
begin
assert expectedTrue, msg;
return expectedTrue;
end; ';
ALTER FUNCTION base.asserttrue(expectedtrue boolean, msg text) OWNER TO postgres;
--
-- Name: assumedroles(); Type: FUNCTION; Schema: base; Owner: postgres
--
CREATE FUNCTION base.assumedroles() RETURNS character varying[]
LANGUAGE plpgsql STABLE
AS '
begin
return string_to_array(current_setting(''hsadminng.assumedRoles'', true), '';'');
end; ';
ALTER FUNCTION base.assumedroles() OWNER TO postgres;
--
-- Name: biginthash(text); Type: FUNCTION; Schema: base; Owner: postgres
--
CREATE FUNCTION base.biginthash(text) RETURNS bigint
LANGUAGE sql
AS '
select (''x''||substr(md5($1),1,16))::bit(64)::bigint;
';
ALTER FUNCTION base.biginthash(text) OWNER TO postgres;
--
-- Name: cleanidentifier(character varying); Type: FUNCTION; Schema: base; Owner: postgres
--
CREATE FUNCTION base.cleanidentifier(rawidentifier character varying) RETURNS character varying
LANGUAGE plpgsql STRICT
AS '
declare
cleanIdentifier varchar;
begin
cleanIdentifier := regexp_replace(rawIdentifier, ''[^A-Za-z0-9\-._|]+'', '''', ''g'');
return cleanIdentifier;
end; ';
ALTER FUNCTION base.cleanidentifier(rawidentifier character varying) OWNER TO postgres;
--
-- Name: combine_table_schema_and_name(name, name); Type: FUNCTION; Schema: base; Owner: postgres
--
CREATE FUNCTION base.combine_table_schema_and_name(tableschema name, tablename name) RETURNS text
LANGUAGE plpgsql
AS '
begin
assert LEFT(tableSchema, 1) <> ''"'', ''tableSchema must not start with "'';
assert LEFT(tableName, 1) <> ''"'', ''tableName must not start with "'';
if tableSchema is null or tableSchema = ''public'' or tableSchema = '''' then
return tableName::text;
else
return tableSchema::text || ''.'' || tableName::text;
end if;
end; ';
ALTER FUNCTION base.combine_table_schema_and_name(tableschema name, tablename name) OWNER TO postgres;
--
-- Name: contextdefined(character varying, text, character varying, character varying); Type: PROCEDURE; Schema: base; Owner: postgres
--
CREATE PROCEDURE base.contextdefined(IN currenttask character varying, IN currentrequest text, IN currentsubject character varying, IN assumedroles character varying)
LANGUAGE plpgsql
AS '
declare
currentSubjectUuid uuid;
begin
execute format(''set local hsadminng.currentTask to %L'', currentTask);
execute format(''set local hsadminng.currentRequest to %L'', currentRequest);
execute format(''set local hsadminng.currentSubject to %L'', currentSubject);
select rbac.determineCurrentSubjectUuid(currentSubject) into currentSubjectUuid;
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'',
(select array_to_string(rbac.determineCurrentSubjectOrAssumedRolesUuids(currentSubjectUuid, assumedRoles), '';'')));
raise notice ''Context defined as: %, %, %, [%]'', currentTask, currentRequest, currentSubject, assumedRoles;
end; ';
ALTER PROCEDURE base.contextdefined(IN currenttask character varying, IN currentrequest text, IN currentsubject character varying, IN assumedroles character varying) OWNER TO postgres;
--
-- Name: create_journal(character varying); Type: PROCEDURE; Schema: base; Owner: postgres
--
CREATE PROCEDURE base.create_journal(IN targettable character varying)
LANGUAGE plpgsql
AS '
declare
createTriggerSQL varchar;
begin
targetTable := lower(targetTable);
createTriggerSQL = ''CREATE TRIGGER tx_0_journal_tg'' ||
'' AFTER INSERT OR UPDATE OR DELETE ON '' || targetTable ||
'' FOR EACH ROW EXECUTE PROCEDURE base.tx_journal_trigger()'';
execute createTriggerSQL;
end; ';
ALTER PROCEDURE base.create_journal(IN targettable character varying) OWNER TO postgres;
--
-- Name: currentrequest(); Type: FUNCTION; Schema: base; Owner: postgres
--
CREATE FUNCTION base.currentrequest() RETURNS text
LANGUAGE plpgsql STABLE
AS '
declare
currentRequest text;
begin
begin
currentRequest := current_setting(''hsadminng.currentRequest'');
exception
when others then
currentRequest := null;
end;
return currentRequest;
end; ';
ALTER FUNCTION base.currentrequest() OWNER TO postgres;
--
-- Name: currentsubject(); Type: FUNCTION; Schema: base; Owner: postgres
--
CREATE FUNCTION base.currentsubject() RETURNS character varying
LANGUAGE plpgsql STABLE
AS '
declare
currentSubject varchar(63);
begin
begin
currentSubject := current_setting(''hsadminng.currentSubject'');
exception
when others then
currentSubject := null;
end;
return currentSubject;
end; ';
ALTER FUNCTION base.currentsubject() OWNER TO postgres;
--
-- Name: currentsubjects(); Type: FUNCTION; Schema: base; Owner: postgres
--
CREATE FUNCTION base.currentsubjects() RETURNS character varying[]
LANGUAGE plpgsql STABLE
AS '
declare
assumedRoles varchar(1023)[];
begin
assumedRoles := base.assumedRoles();
if array_length(assumedRoles, 1) > 0 then
return assumedRoles;
else
return array [base.currentSubject()]::varchar(1023)[];
end if;
end; ';
ALTER FUNCTION base.currentsubjects() OWNER TO postgres;
--
-- Name: currenttask(); Type: FUNCTION; Schema: base; Owner: postgres
--
CREATE FUNCTION base.currenttask() RETURNS character varying
LANGUAGE plpgsql STABLE
AS '
declare
currentTask varchar(127);
begin
begin
currentTask := current_setting(''hsadminng.currentTask'');
exception
when others then
currentTask := null;
end;
if (currentTask is null or currentTask = '''') then
raise exception ''[401] currentTask must be defined, please call `base.defineContext(...)`'';
end if;
return currentTask;
end; ';
ALTER FUNCTION base.currenttask() OWNER TO postgres;
--
-- Name: definecontext(character varying, text, character varying, text); Type: PROCEDURE; Schema: base; Owner: postgres
--
CREATE PROCEDURE base.definecontext(IN currenttask character varying, IN currentrequest text DEFAULT NULL::text, IN currentsubject character varying DEFAULT NULL::character varying, IN assumedroles text DEFAULT NULL::text)
LANGUAGE plpgsql
AS '
begin
currentTask := coalesce(currentTask, '''');
assert length(currentTask) <= 127, FORMAT(''currentTask must not be longer than 127 characters: "%s"'', currentTask);
assert length(currentTask) >= 12, FORMAT(''currentTask must be at least 12 characters long: "%s""'', currentTask);
execute format(''set local hsadminng.currentTask to %L'', currentTask);
currentRequest := coalesce(currentRequest, '''');
execute format(''set local hsadminng.currentRequest to %L'', currentRequest);
currentSubject := coalesce(currentSubject, '''');
assert length(currentSubject) <= 63, FORMAT(''currentSubject must not be longer than 63 characters: "%s"'', currentSubject);
execute format(''set local hsadminng.currentSubject to %L'', currentSubject);
assumedRoles := coalesce(assumedRoles, '''');
assert length(assumedRoles) <= 4096, FORMAT(''assumedRoles must not be longer than 4096 characters: "%s"'', assumedRoles);
execute format(''set local hsadminng.assumedRoles to %L'', assumedRoles);
call base.contextDefined(currentTask, currentRequest, currentSubject, assumedRoles);
end; ';
ALTER PROCEDURE base.definecontext(IN currenttask character varying, IN currentrequest text, IN currentsubject character varying, IN assumedroles text) OWNER TO postgres;
--
-- Name: hasassumedrole(); Type: FUNCTION; Schema: base; Owner: postgres
--
CREATE FUNCTION base.hasassumedrole() RETURNS boolean
LANGUAGE plpgsql STABLE
AS '
begin
return array_length(base.assumedRoles(), 1) > 0;
end; ';
ALTER FUNCTION base.hasassumedrole() OWNER TO postgres;
--
-- Name: inttovarchar(integer, integer); Type: FUNCTION; Schema: base; Owner: postgres
--
CREATE FUNCTION base.inttovarchar(i integer, len integer) RETURNS character varying
LANGUAGE plpgsql
AS '
declare
partial varchar;
begin
select chr(ascii(''a'') + i % 26) into partial;
if len > 1 then
return base.intToVarChar(i / 26, len - 1) || partial;
else
return partial;
end if;
end; ';
ALTER FUNCTION base.inttovarchar(i integer, len integer) OWNER TO postgres;
--
-- Name: jsonb_changes_delta(jsonb, jsonb); Type: FUNCTION; Schema: base; Owner: postgres
--
CREATE FUNCTION base.jsonb_changes_delta(oldjson jsonb, newjson jsonb) RETURNS jsonb
LANGUAGE plpgsql
AS '
declare
diffJson jsonb;
oldJsonElement record;
begin
if oldJson is null or jsonb_typeof(oldJson) = ''null'' or
newJson is null or jsonb_typeof(newJson) = ''null'' then
return newJson;
end if;
diffJson = newJson;
for oldJsonElement in select * from jsonb_each(oldJson)
loop
if diffJson @> jsonb_build_object(oldJsonElement.key, oldJsonElement.value) then
diffJson = diffJson - oldJsonElement.key;
elsif diffJson ? oldJsonElement.key then
if jsonb_typeof(newJson -> (oldJsonElement.key)) = ''object'' then
diffJson = diffJson ||
jsonb_build_object(oldJsonElement.key,
base.jsonb_changes_delta(oldJsonElement.value, newJson -> (oldJsonElement.key)));
end if;
else
diffJson = diffJson || jsonb_build_object(oldJsonElement.key, null);
end if;
end loop;
return diffJson;
end; ';
ALTER FUNCTION base.jsonb_changes_delta(oldjson jsonb, newjson jsonb) OWNER TO postgres;
--
-- Name: lastrowcount(); Type: FUNCTION; Schema: base; Owner: postgres
--
CREATE FUNCTION base.lastrowcount() RETURNS bigint
LANGUAGE plpgsql
AS '
declare
lastRowCount bigint;
begin
get diagnostics lastRowCount = row_count;
return lastRowCount;
end; ';
ALTER FUNCTION base.lastrowcount() OWNER TO postgres;
--
-- Name: pureidentifier(character varying); Type: FUNCTION; Schema: base; Owner: postgres
--
CREATE FUNCTION base.pureidentifier(rawidentifier character varying) RETURNS character varying
LANGUAGE plpgsql STRICT
AS '
declare
cleanIdentifier varchar;
begin
cleanIdentifier := base.cleanIdentifier(rawIdentifier);
if cleanIdentifier != rawIdentifier then
raise exception ''identifier "%" contains invalid characters, maybe use "%"'', rawIdentifier, cleanIdentifier;
end if;
return cleanIdentifier;
end; ';
ALTER FUNCTION base.pureidentifier(rawidentifier character varying) OWNER TO postgres;
--
-- Name: raiseexception(text); Type: FUNCTION; Schema: base; Owner: postgres
--
CREATE FUNCTION base.raiseexception(msg text) RETURNS character varying
LANGUAGE plpgsql
AS '
begin
raise exception using message = msg;
end; ';
ALTER FUNCTION base.raiseexception(msg text) OWNER TO postgres;
--
-- Name: randominrange(integer, integer); Type: FUNCTION; Schema: base; Owner: postgres
--
CREATE FUNCTION base.randominrange(min integer, max integer) RETURNS integer
LANGUAGE plpgsql STRICT
AS '
begin
return floor(random() * (max - min + 1) + min);
end; ';
ALTER FUNCTION base.randominrange(min integer, max integer) OWNER TO postgres;
--
-- Name: tablecolumnnames(text); Type: FUNCTION; Schema: base; Owner: postgres
--
CREATE FUNCTION base.tablecolumnnames(oftablename text) RETURNS text
LANGUAGE plpgsql STABLE
AS '
declare
tableName text;
tableSchema text;
columns text[];
begin
tableSchema := CASE
WHEN position(''.'' in ofTableName) > 0 THEN split_part(ofTableName, ''.'', 1)
ELSE ''public''
END;
tableName := CASE
WHEN position(''.'' in ofTableName) > 0 THEN split_part(ofTableName, ''.'', 2)
ELSE ofTableName
END;
columns := (select array(select column_name::text
from information_schema.columns
where table_name = tableName
and table_schema = tableSchema));
assert cardinality(columns) > 0, ''cannot determine columns of table '' || ofTableName ||
''("'' || tableSchema || ''"."'' || tableName || ''")'';
return array_to_string(columns, '', '');
end; ';
ALTER FUNCTION base.tablecolumnnames(oftablename text) OWNER TO postgres;
--
-- Name: tx_create_historicization(character varying); Type: PROCEDURE; Schema: base; Owner: postgres
--
CREATE PROCEDURE base.tx_create_historicization(IN basetable character varying)
LANGUAGE plpgsql
AS '
declare
createHistTableSql varchar;
createTriggerSQL varchar;
viewName varchar;
exVersionsTable varchar;
createViewSQL varchar;
baseCols varchar;
begin
createHistTableSql = '''' ||
''CREATE TABLE '' || baseTable || ''_ex ('' ||
'' version_id serial PRIMARY KEY,'' ||
'' txid xid8 NOT NULL REFERENCES base.tx_context(txid),'' ||
'' trigger_op base.tx_operation NOT NULL,'' ||
'' alive boolean not null,'' ||
'' LIKE '' || baseTable ||
'' EXCLUDING CONSTRAINTS'' ||
'' EXCLUDING STATISTICS'' ||
'')'';
execute createHistTableSql;
viewName = baseTable || ''_hv'';
exVersionsTable = baseTable || ''_ex'';
baseCols = (select string_agg(quote_ident(column_name), '', '')
from information_schema.columns
where table_schema = ''public''
and table_name = baseTable);
createViewSQL = format(
''CREATE OR REPLACE VIEW %1$s AS'' ||
''('' ||
'' WITH txh AS (SELECT base.tx_history_txid() AS txid) '' ||
'' SELECT %2$s'' ||
'' FROM %3$s'' ||
'' WHERE alive = TRUE'' ||
'' AND version_id IN'' ||
'' ('' ||
'' SELECT max(ex.version_id) AS history_id'' ||
'' FROM %3$s AS ex'' ||
'' JOIN base.tx_context as txc ON ex.txid = txc.txid'' ||
'' WHERE txc.txid <= (SELECT txid FROM txh)'' ||
'' GROUP BY uuid'' ||
'' )'' ||
'')'',
viewName, baseCols, exVersionsTable
);
execute createViewSQL;
createTriggerSQL = ''CREATE TRIGGER tx_9_historicize_tg'' ||
'' AFTER INSERT OR DELETE OR UPDATE ON '' || baseTable ||
'' FOR EACH ROW EXECUTE PROCEDURE base.tx_historicize_tf()'';
execute createTriggerSQL;
end; ';
ALTER PROCEDURE base.tx_create_historicization(IN basetable character varying) OWNER TO postgres;
--
-- Name: tx_historicize_tf(); Type: FUNCTION; Schema: base; Owner: postgres
--
CREATE FUNCTION base.tx_historicize_tf() RETURNS trigger
LANGUAGE plpgsql STRICT
AS '
declare
currentSubject varchar(63);
currentTask varchar(127);
"row" record;
"alive" boolean;
"sql" varchar;
begin
begin
currentSubject := current_setting(''hsadminng.currentSubject'');
exception
when others then
currentSubject := null;
end;
if (currentSubject is null or currentSubject = '''') then
raise exception ''hsadminng.currentSubject must be defined, please use "SET LOCAL ...;"'';
end if;
currentTask = current_setting(''hsadminng.currentTask'');
assert currentTask is not null and length(currentTask) >= 12,
format(''hsadminng.currentTask (%s) must be defined and min 12 characters long, please use "SET LOCAL ...;"'',
currentTask);
assert length(currentTask) <= 127,
format(''hsadminng.currentTask (%s) must not be longer than 127 characters"'', currentTask);
if (TG_OP = ''INSERT'') or (TG_OP = ''UPDATE'') then
"row" := NEW;
"alive" := true;
else
"row" := OLD;
"alive" := false;
end if;
sql := format(''INSERT INTO %3$s_ex VALUES (DEFAULT, pg_current_xact_id(), %1$L, %2$L, $1.*)'',
TG_OP, alive, base.combine_table_schema_and_name(tg_table_schema, tg_table_name)::name);
execute sql using "row";
return "row";
end; ';
ALTER FUNCTION base.tx_historicize_tf() OWNER TO postgres;
--
-- Name: tx_history_txid(); Type: FUNCTION; Schema: base; Owner: postgres
--
CREATE FUNCTION base.tx_history_txid() RETURNS xid8
LANGUAGE plpgsql STABLE
AS '
declare
historicalTxIdSetting text;
historicalTimestampSetting text;
historicalTxId xid8;
historicalTimestamp timestamp;
begin
select coalesce(current_setting(''hsadminng.tx_history_txid'', true), '''') into historicalTxIdSetting;
select coalesce(current_setting(''hsadminng.tx_history_timestamp'', true), '''') into historicalTimestampSetting;
if historicalTxIdSetting > '''' and historicalTimestampSetting > '''' then
raise exception ''either hsadminng.tx_history_txid or hsadminng.tx_history_timestamp must be set, but both are set: (%, %)'',
historicalTxIdSetting, historicalTimestampSetting;
end if;
if historicalTxIdSetting = '''' and historicalTimestampSetting = '''' then
raise exception ''either hsadminng.tx_history_txid or hsadminng.tx_history_timestamp must be set, but both are unset or empty: (%, %)'',
historicalTxIdSetting, historicalTimestampSetting;
end if;
if historicalTxIdSetting is null or historicalTxIdSetting = '''' then
select historicalTimestampSetting::timestamp into historicalTimestamp;
select max(txc.txid) from base.tx_context txc where txc.txtimestamp <= historicalTimestamp into historicalTxId;
else
historicalTxId = historicalTxIdSetting::xid8;
end if;
return historicalTxId;
end; ';
ALTER FUNCTION base.tx_history_txid() OWNER TO postgres;
--
-- Name: tx_journal_trigger(); Type: FUNCTION; Schema: base; Owner: postgres
--
CREATE FUNCTION base.tx_journal_trigger() RETURNS trigger
LANGUAGE plpgsql
AS '
declare
curTask text;
curTxId xid8;
tableSchemaAndName text;
begin
curTask := base.currentTask();
curTxId := pg_current_xact_id();
tableSchemaAndName := base.combine_table_schema_and_name(tg_table_schema, tg_table_name);
insert
into base.tx_context (txId, txTimestamp, currentSubject, assumedRoles, currentTask, currentRequest)
values ( curTxId, now(),
base.currentSubject(), base.assumedRoles(), curTask, base.currentRequest())
on conflict do nothing;
case tg_op
when ''INSERT'' then insert
into base.tx_journal
values (curTxId, tableSchemaAndName,
new.uuid, tg_op::base.tx_operation,
to_jsonb(new));
when ''UPDATE'' then insert
into base.tx_journal
values (curTxId, tableSchemaAndName,
old.uuid, tg_op::base.tx_operation,
base.jsonb_changes_delta(to_jsonb(old), to_jsonb(new)));
when ''DELETE'' then insert
into base.tx_journal
values (curTxId,tableSchemaAndName,
old.uuid, ''DELETE''::base.tx_operation,
null::jsonb);
else raise exception ''Trigger op % not supported for %.'', tg_op, tableSchemaAndName;
end case;
return null;
end; ';
ALTER FUNCTION base.tx_journal_trigger() OWNER TO postgres;
SET default_tablespace = '';
SET default_table_access_method = heap;
--
-- Name: bankaccount; Type: TABLE; Schema: hs_office; Owner: postgres
--
CREATE TABLE hs_office.bankaccount (
uuid uuid,
version integer DEFAULT 0 NOT NULL,
holder character varying(64) NOT NULL,
iban character varying(34) NOT NULL,
bic character varying(11) NOT NULL
);
ALTER TABLE hs_office.bankaccount OWNER TO postgres;
--
-- Name: bankaccount_admin(hs_office.bankaccount, boolean); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.bankaccount_admin(entity hs_office.bankaccount, assumed boolean DEFAULT true) RETURNS rbac.roledescriptor
LANGUAGE plpgsql STRICT
AS '
begin
return rbac.roleDescriptorOf(''hs_office.bankaccount'', entity.uuid, ''ADMIN'', assumed);
end; ';
ALTER FUNCTION hs_office.bankaccount_admin(entity hs_office.bankaccount, assumed boolean) OWNER TO postgres;
--
-- Name: bankaccount_agent(hs_office.bankaccount, boolean); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.bankaccount_agent(entity hs_office.bankaccount, assumed boolean DEFAULT true) RETURNS rbac.roledescriptor
LANGUAGE plpgsql STRICT
AS '
begin
return rbac.roleDescriptorOf(''hs_office.bankaccount'', entity.uuid, ''AGENT'', assumed);
end; ';
ALTER FUNCTION hs_office.bankaccount_agent(entity hs_office.bankaccount, assumed boolean) OWNER TO postgres;
--
-- Name: bankaccount_build_rbac_system(hs_office.bankaccount); Type: PROCEDURE; Schema: hs_office; Owner: postgres
--
CREATE PROCEDURE hs_office.bankaccount_build_rbac_system(IN new hs_office.bankaccount)
LANGUAGE plpgsql
AS '
declare
begin
call rbac.enterTriggerForObjectUuid(NEW.uuid);
perform rbac.defineRoleWithGrants(
hs_office.bankaccount_OWNER(NEW),
permissions => array[''DELETE''],
incomingSuperRoles => array[rbac.global_ADMIN()],
subjectUuids => array[rbac.currentSubjectUuid()]
);
perform rbac.defineRoleWithGrants(
hs_office.bankaccount_ADMIN(NEW),
permissions => array[''UPDATE''],
incomingSuperRoles => array[hs_office.bankaccount_OWNER(NEW)]
);
perform rbac.defineRoleWithGrants(
hs_office.bankaccount_REFERRER(NEW),
permissions => array[''SELECT''],
incomingSuperRoles => array[hs_office.bankaccount_ADMIN(NEW)]
);
call rbac.leaveTriggerForObjectUuid(NEW.uuid);
end; ';
ALTER PROCEDURE hs_office.bankaccount_build_rbac_system(IN new hs_office.bankaccount) OWNER TO postgres;
--
-- Name: bankaccount_build_rbac_system_after_insert_tf(); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.bankaccount_build_rbac_system_after_insert_tf() RETURNS trigger
LANGUAGE plpgsql STRICT
AS '
begin
call hs_office.bankaccount_build_rbac_system(NEW);
return NEW;
end; ';
ALTER FUNCTION hs_office.bankaccount_build_rbac_system_after_insert_tf() OWNER TO postgres;
--
-- Name: bankaccount_create_test_data(character varying, character varying, character varying); Type: PROCEDURE; Schema: hs_office; Owner: postgres
--
CREATE PROCEDURE hs_office.bankaccount_create_test_data(IN givenholder character varying, IN giveniban character varying, IN givenbic character varying)
LANGUAGE plpgsql
AS '
declare
emailAddr varchar;
begin
emailAddr = ''bankaccount-admin@'' || TRIM(SUBSTRING(base.cleanIdentifier(givenHolder) FOR 32)) || ''.example.com'';
perform rbac.create_subject(emailAddr);
call base.defineContext(''creating bankaccount test-data'', null, emailAddr);
raise notice ''creating test bankaccount: %'', givenHolder;
insert
into hs_office.bankaccount(uuid, holder, iban, bic)
values (uuid_generate_v4(), givenHolder, givenIBAN, givenBIC);
end; ';
ALTER PROCEDURE hs_office.bankaccount_create_test_data(IN givenholder character varying, IN giveniban character varying, IN givenbic character varying) OWNER TO postgres;
--
-- Name: bankaccount_guest(hs_office.bankaccount, boolean); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.bankaccount_guest(entity hs_office.bankaccount, assumed boolean DEFAULT true) RETURNS rbac.roledescriptor
LANGUAGE plpgsql STRICT
AS '
begin
return rbac.roleDescriptorOf(''hs_office.bankaccount'', entity.uuid, ''GUEST'', assumed);
end; ';
ALTER FUNCTION hs_office.bankaccount_guest(entity hs_office.bankaccount, assumed boolean) OWNER TO postgres;
--
-- Name: bankaccount_id_name_by_uuid(uuid); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.bankaccount_id_name_by_uuid(givenuuid uuid) RETURNS character varying
LANGUAGE sql STRICT
AS '
select idName from hs_office.bankaccount_iv iv where iv.uuid = givenUuid;
';
ALTER FUNCTION hs_office.bankaccount_id_name_by_uuid(givenuuid uuid) OWNER TO postgres;
--
-- Name: bankaccount_instead_of_delete_tf(); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.bankaccount_instead_of_delete_tf() RETURNS trigger
LANGUAGE plpgsql
AS '
begin
if old.uuid in (select rbac.queryAccessibleObjectUuidsOfSubjectIds(''DELETE'', ''hs_office.bankaccount'', rbac.currentSubjectOrAssumedRolesUuids())) then
delete from hs_office.bankaccount p where p.uuid = old.uuid;
return old;
end if;
raise exception ''[403] Subject % is not allowed to delete hs_office.bankaccount uuid %'', rbac.currentSubjectOrAssumedRolesUuids(), old.uuid;
end; ';
ALTER FUNCTION hs_office.bankaccount_instead_of_delete_tf() OWNER TO postgres;
--
-- Name: bankaccount_instead_of_insert_tf(); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.bankaccount_instead_of_insert_tf() RETURNS trigger
LANGUAGE plpgsql
AS '
declare
newTargetRow hs_office.bankaccount;
begin
insert
into hs_office.bankaccount (uuid, version, holder, iban, bic)
values (new.uuid, new.version, new.holder, new.iban, new.bic)
returning * into newTargetRow;
return newTargetRow;
end; ';
ALTER FUNCTION hs_office.bankaccount_instead_of_insert_tf() OWNER TO postgres;
--
-- Name: bankaccount_instead_of_update_tf(); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.bankaccount_instead_of_update_tf() RETURNS trigger
LANGUAGE plpgsql
AS '
begin
if old.uuid in (select rbac.queryAccessibleObjectUuidsOfSubjectIds(''UPDATE'', ''hs_office.bankaccount'', rbac.currentSubjectOrAssumedRolesUuids())) then
update hs_office.bankaccount
set
holder = new.holder,
iban = new.iban,
bic = new.bic
where uuid = old.uuid;
return old;
end if;
raise exception ''[403] Subject % is not allowed to update hs_office.bankaccount uuid %'', rbac.currentSubjectOrAssumedRolesUuids(), old.uuid;
end; ';
ALTER FUNCTION hs_office.bankaccount_instead_of_update_tf() OWNER TO postgres;
--
-- Name: bankaccount_owner(hs_office.bankaccount, boolean); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.bankaccount_owner(entity hs_office.bankaccount, assumed boolean DEFAULT true) RETURNS rbac.roledescriptor
LANGUAGE plpgsql STRICT
AS '
begin
return rbac.roleDescriptorOf(''hs_office.bankaccount'', entity.uuid, ''OWNER'', assumed);
end; ';
ALTER FUNCTION hs_office.bankaccount_owner(entity hs_office.bankaccount, assumed boolean) OWNER TO postgres;
--
-- Name: bankaccount_rebuild_rbac_system(); Type: PROCEDURE; Schema: hs_office; Owner: postgres
--
CREATE PROCEDURE hs_office.bankaccount_rebuild_rbac_system()
LANGUAGE plpgsql
AS '
DECLARE
DECLARE
row hs_office.bankaccount;
grantsAfter numeric;
grantsBefore numeric;
BEGIN
SELECT count(*) INTO grantsBefore FROM rbac.grant;
FOR row IN SELECT * FROM hs_office.bankaccount LOOP
DELETE FROM rbac.grant g
WHERE g.grantedbytriggerof = row.uuid;
CALL hs_office.bankaccount_build_rbac_system(row);
END LOOP;
select count(*) into grantsAfter from rbac.grant;
raise notice ''total grant count before -> after: % -> %'', grantsBefore, grantsAfter;
END;
';
ALTER PROCEDURE hs_office.bankaccount_rebuild_rbac_system() OWNER TO postgres;
--
-- Name: bankaccount_referrer(hs_office.bankaccount); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.bankaccount_referrer(entity hs_office.bankaccount) RETURNS rbac.roledescriptor
LANGUAGE plpgsql STRICT
AS '
begin
return rbac.roleDescriptorOf(''hs_office.bankaccount'', entity.uuid, ''REFERRER'');
end; ';
ALTER FUNCTION hs_office.bankaccount_referrer(entity hs_office.bankaccount) OWNER TO postgres;
--
-- Name: bankaccount_tenant(hs_office.bankaccount, boolean); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.bankaccount_tenant(entity hs_office.bankaccount, assumed boolean DEFAULT true) RETURNS rbac.roledescriptor
LANGUAGE plpgsql STRICT
AS '
begin
return rbac.roleDescriptorOf(''hs_office.bankaccount'', entity.uuid, ''TENANT'', assumed);
end; ';
ALTER FUNCTION hs_office.bankaccount_tenant(entity hs_office.bankaccount, assumed boolean) OWNER TO postgres;
--
-- Name: bankaccount_uuid_by_id_name(character varying); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.bankaccount_uuid_by_id_name(givenidname character varying) RETURNS uuid
LANGUAGE plpgsql
AS '
declare
singleMatch uuid;
begin
select uuid into strict singleMatch from hs_office.bankaccount_iv iv where iv.idName = givenIdName;
return singleMatch;
end; ';
ALTER FUNCTION hs_office.bankaccount_uuid_by_id_name(givenidname character varying) OWNER TO postgres;
--
-- Name: contact; Type: TABLE; Schema: hs_office; Owner: postgres
--
CREATE TABLE hs_office.contact (
uuid uuid,
version integer DEFAULT 0 NOT NULL,
caption character varying(128) NOT NULL,
postaladdress jsonb NOT NULL,
emailaddresses jsonb NOT NULL,
phonenumbers jsonb NOT NULL
);
ALTER TABLE hs_office.contact OWNER TO postgres;
--
-- Name: contact_admin(hs_office.contact, boolean); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.contact_admin(entity hs_office.contact, assumed boolean DEFAULT true) RETURNS rbac.roledescriptor
LANGUAGE plpgsql STRICT
AS '
begin
return rbac.roleDescriptorOf(''hs_office.contact'', entity.uuid, ''ADMIN'', assumed);
end; ';
ALTER FUNCTION hs_office.contact_admin(entity hs_office.contact, assumed boolean) OWNER TO postgres;
--
-- Name: contact_agent(hs_office.contact, boolean); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.contact_agent(entity hs_office.contact, assumed boolean DEFAULT true) RETURNS rbac.roledescriptor
LANGUAGE plpgsql STRICT
AS '
begin
return rbac.roleDescriptorOf(''hs_office.contact'', entity.uuid, ''AGENT'', assumed);
end; ';
ALTER FUNCTION hs_office.contact_agent(entity hs_office.contact, assumed boolean) OWNER TO postgres;
--
-- Name: contact_build_rbac_system(hs_office.contact); Type: PROCEDURE; Schema: hs_office; Owner: postgres
--
CREATE PROCEDURE hs_office.contact_build_rbac_system(IN new hs_office.contact)
LANGUAGE plpgsql
AS '
declare
begin
call rbac.enterTriggerForObjectUuid(NEW.uuid);
perform rbac.defineRoleWithGrants(
hs_office.contact_OWNER(NEW),
permissions => array[''DELETE''],
incomingSuperRoles => array[rbac.global_ADMIN()],
subjectUuids => array[rbac.currentSubjectUuid()]
);
perform rbac.defineRoleWithGrants(
hs_office.contact_ADMIN(NEW),
permissions => array[''UPDATE''],
incomingSuperRoles => array[hs_office.contact_OWNER(NEW)]
);
perform rbac.defineRoleWithGrants(
hs_office.contact_REFERRER(NEW),
permissions => array[''SELECT''],
incomingSuperRoles => array[hs_office.contact_ADMIN(NEW)]
);
call rbac.leaveTriggerForObjectUuid(NEW.uuid);
end; ';
ALTER PROCEDURE hs_office.contact_build_rbac_system(IN new hs_office.contact) OWNER TO postgres;
--
-- Name: contact_build_rbac_system_after_insert_tf(); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.contact_build_rbac_system_after_insert_tf() RETURNS trigger
LANGUAGE plpgsql STRICT
AS '
begin
call hs_office.contact_build_rbac_system(NEW);
return NEW;
end; ';
ALTER FUNCTION hs_office.contact_build_rbac_system_after_insert_tf() OWNER TO postgres;
--
-- Name: contact_create_test_data(character varying); Type: PROCEDURE; Schema: hs_office; Owner: postgres
--
CREATE PROCEDURE hs_office.contact_create_test_data(IN contcaption character varying)
LANGUAGE plpgsql
AS '
declare
emailAddr varchar;
begin
emailAddr = ''contact-admin@'' || base.cleanIdentifier(contCaption) || ''.example.com'';
call base.defineContext(''creating contact test-data'');
perform rbac.create_subject(emailAddr);
call base.defineContext(''creating contact test-data'', null, emailAddr);
raise notice ''creating test contact: %'', contCaption;
insert
into hs_office.contact (caption, postaladdress, emailaddresses, phonenumbers)
values (
contCaption,
( ''{ '' ||
''"country": "Germany"'' ||
''}'')::jsonb,
(''{ "main": "'' || emailAddr || ''" }'')::jsonb,
(''{ "phone_office": "+49 123 1234567" }'')::jsonb
);
end; ';
ALTER PROCEDURE hs_office.contact_create_test_data(IN contcaption character varying) OWNER TO postgres;
--
-- Name: contact_create_test_data(integer, integer); Type: PROCEDURE; Schema: hs_office; Owner: postgres
--
CREATE PROCEDURE hs_office.contact_create_test_data(IN startcount integer, IN endcount integer)
LANGUAGE plpgsql
AS '
begin
for t in startCount..endCount
loop
call hs_office.contact_create_test_data(base.intToVarChar(t, 4) || ''#'' || t);
commit;
end loop;
end; ';
ALTER PROCEDURE hs_office.contact_create_test_data(IN startcount integer, IN endcount integer) OWNER TO postgres;
--
-- Name: contact_delete_legacy_id_mapping_tf(); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.contact_delete_legacy_id_mapping_tf() RETURNS trigger
LANGUAGE plpgsql STRICT
AS '
begin
if TG_OP <> ''DELETE'' then
raise exception ''invalid usage of trigger'';
end if;
DELETE FROM hs_office.contact_legacy_id
WHERE uuid = OLD.uuid;
return OLD;
end; ';
ALTER FUNCTION hs_office.contact_delete_legacy_id_mapping_tf() OWNER TO postgres;
--
-- Name: contact_guest(hs_office.contact, boolean); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.contact_guest(entity hs_office.contact, assumed boolean DEFAULT true) RETURNS rbac.roledescriptor
LANGUAGE plpgsql STRICT
AS '
begin
return rbac.roleDescriptorOf(''hs_office.contact'', entity.uuid, ''GUEST'', assumed);
end; ';
ALTER FUNCTION hs_office.contact_guest(entity hs_office.contact, assumed boolean) OWNER TO postgres;
--
-- Name: contact_id_name_by_uuid(uuid); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.contact_id_name_by_uuid(givenuuid uuid) RETURNS character varying
LANGUAGE sql STRICT
AS '
select idName from hs_office.contact_iv iv where iv.uuid = givenUuid;
';
ALTER FUNCTION hs_office.contact_id_name_by_uuid(givenuuid uuid) OWNER TO postgres;
--
-- Name: contact_insert_legacy_id_mapping_tf(); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.contact_insert_legacy_id_mapping_tf() RETURNS trigger
LANGUAGE plpgsql STRICT
AS '
begin
if TG_OP <> ''INSERT'' then
raise exception ''invalid usage of trigger'';
end if;
INSERT INTO hs_office.contact_legacy_id VALUES
(NEW.uuid, nextVal(''hs_office.contact_legacy_id_seq''));
return NEW;
end; ';
ALTER FUNCTION hs_office.contact_insert_legacy_id_mapping_tf() OWNER TO postgres;
--
-- Name: contact_instead_of_delete_tf(); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.contact_instead_of_delete_tf() RETURNS trigger
LANGUAGE plpgsql
AS '
begin
if old.uuid in (select rbac.queryAccessibleObjectUuidsOfSubjectIds(''DELETE'', ''hs_office.contact'', rbac.currentSubjectOrAssumedRolesUuids())) then
delete from hs_office.contact p where p.uuid = old.uuid;
return old;
end if;
raise exception ''[403] Subject % is not allowed to delete hs_office.contact uuid %'', rbac.currentSubjectOrAssumedRolesUuids(), old.uuid;
end; ';
ALTER FUNCTION hs_office.contact_instead_of_delete_tf() OWNER TO postgres;
--
-- Name: contact_instead_of_insert_tf(); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.contact_instead_of_insert_tf() RETURNS trigger
LANGUAGE plpgsql
AS '
declare
newTargetRow hs_office.contact;
begin
insert
into hs_office.contact (uuid, version, caption, postaladdress, emailaddresses, phonenumbers)
values (new.uuid, new.version, new.caption, new.postaladdress, new.emailaddresses, new.phonenumbers)
returning * into newTargetRow;
return newTargetRow;
end; ';
ALTER FUNCTION hs_office.contact_instead_of_insert_tf() OWNER TO postgres;
--
-- Name: contact_instead_of_update_tf(); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.contact_instead_of_update_tf() RETURNS trigger
LANGUAGE plpgsql
AS '
begin
if old.uuid in (select rbac.queryAccessibleObjectUuidsOfSubjectIds(''UPDATE'', ''hs_office.contact'', rbac.currentSubjectOrAssumedRolesUuids())) then
update hs_office.contact
set
caption = new.caption,
postalAddress = new.postalAddress,
emailAddresses = new.emailAddresses,
phoneNumbers = new.phoneNumbers
where uuid = old.uuid;
return old;
end if;
raise exception ''[403] Subject % is not allowed to update hs_office.contact uuid %'', rbac.currentSubjectOrAssumedRolesUuids(), old.uuid;
end; ';
ALTER FUNCTION hs_office.contact_instead_of_update_tf() OWNER TO postgres;
--
-- Name: contact_owner(hs_office.contact, boolean); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.contact_owner(entity hs_office.contact, assumed boolean DEFAULT true) RETURNS rbac.roledescriptor
LANGUAGE plpgsql STRICT
AS '
begin
return rbac.roleDescriptorOf(''hs_office.contact'', entity.uuid, ''OWNER'', assumed);
end; ';
ALTER FUNCTION hs_office.contact_owner(entity hs_office.contact, assumed boolean) OWNER TO postgres;
--
-- Name: contact_rebuild_rbac_system(); Type: PROCEDURE; Schema: hs_office; Owner: postgres
--
CREATE PROCEDURE hs_office.contact_rebuild_rbac_system()
LANGUAGE plpgsql
AS '
DECLARE
DECLARE
row hs_office.contact;
grantsAfter numeric;
grantsBefore numeric;
BEGIN
SELECT count(*) INTO grantsBefore FROM rbac.grant;
FOR row IN SELECT * FROM hs_office.contact LOOP
DELETE FROM rbac.grant g
WHERE g.grantedbytriggerof = row.uuid;
CALL hs_office.contact_build_rbac_system(row);
END LOOP;
select count(*) into grantsAfter from rbac.grant;
raise notice ''total grant count before -> after: % -> %'', grantsBefore, grantsAfter;
END;
';
ALTER PROCEDURE hs_office.contact_rebuild_rbac_system() OWNER TO postgres;
--
-- Name: contact_referrer(hs_office.contact); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.contact_referrer(entity hs_office.contact) RETURNS rbac.roledescriptor
LANGUAGE plpgsql STRICT
AS '
begin
return rbac.roleDescriptorOf(''hs_office.contact'', entity.uuid, ''REFERRER'');
end; ';
ALTER FUNCTION hs_office.contact_referrer(entity hs_office.contact) OWNER TO postgres;
--
-- Name: contact_tenant(hs_office.contact, boolean); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.contact_tenant(entity hs_office.contact, assumed boolean DEFAULT true) RETURNS rbac.roledescriptor
LANGUAGE plpgsql STRICT
AS '
begin
return rbac.roleDescriptorOf(''hs_office.contact'', entity.uuid, ''TENANT'', assumed);
end; ';
ALTER FUNCTION hs_office.contact_tenant(entity hs_office.contact, assumed boolean) OWNER TO postgres;
--
-- Name: contact_uuid_by_id_name(character varying); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.contact_uuid_by_id_name(givenidname character varying) RETURNS uuid
LANGUAGE plpgsql
AS '
declare
singleMatch uuid;
begin
select uuid into strict singleMatch from hs_office.contact_iv iv where iv.idName = givenIdName;
return singleMatch;
end; ';
ALTER FUNCTION hs_office.contact_uuid_by_id_name(givenidname character varying) OWNER TO postgres;
--
-- Name: coopassetstx_check_positive_total(uuid, numeric); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.coopassetstx_check_positive_total(formembershipuuid uuid, newassetvalue numeric) RETURNS boolean
LANGUAGE plpgsql
AS '
declare
currentAssetValue numeric(12,2);
totalAssetValue numeric(12,2);
begin
select sum(cat.assetValue)
from hs_office.coopassettx cat
where cat.membershipUuid = forMembershipUuid
into currentAssetValue;
totalAssetValue := currentAssetValue + newAssetValue;
if totalAssetValue::numeric < 0 then
raise exception ''[400] coop assets transaction would result in a negative balance of assets'';
end if;
return true;
end; ';
ALTER FUNCTION hs_office.coopassetstx_check_positive_total(formembershipuuid uuid, newassetvalue numeric) OWNER TO postgres;
--
-- Name: coopassettx; Type: TABLE; Schema: hs_office; Owner: postgres
--
CREATE TABLE hs_office.coopassettx (
uuid uuid,
version integer DEFAULT 0 NOT NULL,
membershipuuid uuid NOT NULL,
transactiontype hs_office.coopassetstransactiontype NOT NULL,
valuedate date NOT NULL,
assetvalue numeric(12,2) NOT NULL,
reference character varying(48) NOT NULL,
revertedassettxuuid uuid,
assetadoptiontxuuid uuid,
comment character varying(512),
CONSTRAINT check_positive_total CHECK (hs_office.coopassetstx_check_positive_total(membershipuuid, assetvalue))
);
ALTER TABLE hs_office.coopassettx OWNER TO postgres;
--
-- Name: coopassettx_admin(hs_office.coopassettx, boolean); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.coopassettx_admin(entity hs_office.coopassettx, assumed boolean DEFAULT true) RETURNS rbac.roledescriptor
LANGUAGE plpgsql STRICT
AS '
begin
return rbac.roleDescriptorOf(''hs_office.coopassettx'', entity.uuid, ''ADMIN'', assumed);
end; ';
ALTER FUNCTION hs_office.coopassettx_admin(entity hs_office.coopassettx, assumed boolean) OWNER TO postgres;
--
-- Name: coopassettx_agent(hs_office.coopassettx, boolean); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.coopassettx_agent(entity hs_office.coopassettx, assumed boolean DEFAULT true) RETURNS rbac.roledescriptor
LANGUAGE plpgsql STRICT
AS '
begin
return rbac.roleDescriptorOf(''hs_office.coopassettx'', entity.uuid, ''AGENT'', assumed);
end; ';
ALTER FUNCTION hs_office.coopassettx_agent(entity hs_office.coopassettx, assumed boolean) OWNER TO postgres;
--
-- Name: coopassettx_build_rbac_system(hs_office.coopassettx); Type: PROCEDURE; Schema: hs_office; Owner: postgres
--
CREATE PROCEDURE hs_office.coopassettx_build_rbac_system(IN new hs_office.coopassettx)
LANGUAGE plpgsql
AS '
declare
newMembership hs_office.membership;
begin
call rbac.enterTriggerForObjectUuid(NEW.uuid);
SELECT * FROM hs_office.membership WHERE uuid = NEW.membershipUuid INTO newMembership;
assert newMembership.uuid is not null, format(''newMembership must not be null for NEW.membershipUuid = %s of hs_office.coopassettx'', NEW.membershipUuid);
call rbac.grantPermissionToRole(rbac.createPermission(NEW.uuid, ''SELECT''), hs_office.membership_AGENT(newMembership));
call rbac.grantPermissionToRole(rbac.createPermission(NEW.uuid, ''UPDATE''), hs_office.membership_ADMIN(newMembership));
call rbac.leaveTriggerForObjectUuid(NEW.uuid);
end; ';
ALTER PROCEDURE hs_office.coopassettx_build_rbac_system(IN new hs_office.coopassettx) OWNER TO postgres;
--
-- Name: coopassettx_build_rbac_system_after_insert_tf(); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.coopassettx_build_rbac_system_after_insert_tf() RETURNS trigger
LANGUAGE plpgsql STRICT
AS '
begin
call hs_office.coopassettx_build_rbac_system(NEW);
return NEW;
end; ';
ALTER FUNCTION hs_office.coopassettx_build_rbac_system_after_insert_tf() OWNER TO postgres;
--
-- Name: coopassettx_create_test_data(numeric, character); Type: PROCEDURE; Schema: hs_office; Owner: postgres
--
CREATE PROCEDURE hs_office.coopassettx_create_test_data(IN givenpartnernumber numeric, IN givenmembernumbersuffix character)
LANGUAGE plpgsql
AS '
declare
membership hs_office.membership;
invalidLossTx uuid;
transferTx uuid;
adoptionTx uuid;
begin
select m.uuid
from hs_office.membership m
join hs_office.partner p on p.uuid = m.partneruuid
where p.partnerNumber = givenPartnerNumber
and m.memberNumberSuffix = givenMemberNumberSuffix
into membership;
raise notice ''creating test coopAssetsTransaction: %'', givenPartnerNumber || givenMemberNumberSuffix;
invalidLossTx := uuid_generate_v4();
transferTx := uuid_generate_v4();
adoptionTx := uuid_generate_v4();
insert
into hs_office.coopassettx(uuid, membershipuuid, transactiontype, valuedate, assetvalue, reference, comment, revertedAssetTxUuid, assetAdoptionTxUuid)
values
(uuid_generate_v4(), membership.uuid, ''DEPOSIT'', ''2010-03-15'', 320.00, ''ref ''||givenPartnerNumber || givenMemberNumberSuffix||''-1'', ''initial deposit'', null, null),
(uuid_generate_v4(), membership.uuid, ''DISBURSAL'', ''2021-09-01'', -128.00, ''ref ''||givenPartnerNumber || givenMemberNumberSuffix||''-2'', ''partial disbursal'', null, null),
(invalidLossTx, membership.uuid, ''DEPOSIT'', ''2022-10-20'', 128.00, ''ref ''||givenPartnerNumber || givenMemberNumberSuffix||''-3'', ''some loss'', null, null),
(uuid_generate_v4(), membership.uuid, ''REVERSAL'', ''2022-10-21'', -128.00, ''ref ''||givenPartnerNumber || givenMemberNumberSuffix||''-3'', ''some reversal'', invalidLossTx, null),
(transferTx, membership.uuid, ''TRANSFER'', ''2023-12-31'', -192.00, ''ref ''||givenPartnerNumber || givenMemberNumberSuffix||''-3'', ''some reversal'', null, adoptionTx),
(adoptionTx, membership.uuid, ''ADOPTION'', ''2023-12-31'', 192.00, ''ref ''||givenPartnerNumber || givenMemberNumberSuffix||''-3'', ''some reversal'', null, null);
end; ';
ALTER PROCEDURE hs_office.coopassettx_create_test_data(IN givenpartnernumber numeric, IN givenmembernumbersuffix character) OWNER TO postgres;
--
-- Name: coopassettx_delete_legacy_id_mapping_tf(); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.coopassettx_delete_legacy_id_mapping_tf() RETURNS trigger
LANGUAGE plpgsql STRICT
AS '
begin
if TG_OP <> ''DELETE'' then
raise exception ''invalid usage of trigger'';
end if;
DELETE FROM hs_office.coopassettx_legacy_id
WHERE uuid = OLD.uuid;
return OLD;
end; ';
ALTER FUNCTION hs_office.coopassettx_delete_legacy_id_mapping_tf() OWNER TO postgres;
--
-- Name: coopassettx_grants_insert_to_membership_tf(); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.coopassettx_grants_insert_to_membership_tf() RETURNS trigger
LANGUAGE plpgsql STRICT
AS '
begin
call rbac.grantPermissionToRole(
rbac.createPermission(NEW.uuid, ''INSERT'', ''hs_office.coopassettx''),
hs_office.membership_ADMIN(NEW));
return NEW;
end; ';
ALTER FUNCTION hs_office.coopassettx_grants_insert_to_membership_tf() OWNER TO postgres;
--
-- Name: coopassettx_guest(hs_office.coopassettx, boolean); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.coopassettx_guest(entity hs_office.coopassettx, assumed boolean DEFAULT true) RETURNS rbac.roledescriptor
LANGUAGE plpgsql STRICT
AS '
begin
return rbac.roleDescriptorOf(''hs_office.coopassettx'', entity.uuid, ''GUEST'', assumed);
end; ';
ALTER FUNCTION hs_office.coopassettx_guest(entity hs_office.coopassettx, assumed boolean) OWNER TO postgres;
--
-- Name: coopassettx_id_name_by_uuid(uuid); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.coopassettx_id_name_by_uuid(givenuuid uuid) RETURNS character varying
LANGUAGE sql STRICT
AS '
select idName from hs_office.coopassettx_iv iv where iv.uuid = givenUuid;
';
ALTER FUNCTION hs_office.coopassettx_id_name_by_uuid(givenuuid uuid) OWNER TO postgres;
--
-- Name: coopassettx_insert_legacy_id_mapping_tf(); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.coopassettx_insert_legacy_id_mapping_tf() RETURNS trigger
LANGUAGE plpgsql STRICT
AS '
begin
if TG_OP <> ''INSERT'' then
raise exception ''invalid usage of trigger'';
end if;
INSERT INTO hs_office.coopassettx_legacy_id VALUES
(NEW.uuid, nextVal(''hs_office.coopassettx_legacy_id_seq''));
return NEW;
end; ';
ALTER FUNCTION hs_office.coopassettx_insert_legacy_id_mapping_tf() OWNER TO postgres;
--
-- Name: coopassettx_insert_permission_check_tf(); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.coopassettx_insert_permission_check_tf() RETURNS trigger
LANGUAGE plpgsql
AS '
declare
superObjectUuid uuid;
begin
if rbac.hasInsertPermission(NEW.membershipUuid, ''hs_office.coopassettx'') then
return NEW;
end if;
raise exception ''[403] insert into hs_office.coopassettx values(%) not allowed for current subjects % (%)'',
NEW, base.currentSubjects(), rbac.currentSubjectOrAssumedRolesUuids();
end; ';
ALTER FUNCTION hs_office.coopassettx_insert_permission_check_tf() OWNER TO postgres;
--
-- Name: coopassettx_instead_of_delete_tf(); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.coopassettx_instead_of_delete_tf() RETURNS trigger
LANGUAGE plpgsql
AS '
begin
if old.uuid in (select rbac.queryAccessibleObjectUuidsOfSubjectIds(''DELETE'', ''hs_office.coopassettx'', rbac.currentSubjectOrAssumedRolesUuids())) then
delete from hs_office.coopassettx p where p.uuid = old.uuid;
return old;
end if;
raise exception ''[403] Subject % is not allowed to delete hs_office.coopassettx uuid %'', rbac.currentSubjectOrAssumedRolesUuids(), old.uuid;
end; ';
ALTER FUNCTION hs_office.coopassettx_instead_of_delete_tf() OWNER TO postgres;
--
-- Name: coopassettx_instead_of_insert_tf(); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.coopassettx_instead_of_insert_tf() RETURNS trigger
LANGUAGE plpgsql
AS '
declare
newTargetRow hs_office.coopassettx;
begin
insert
into hs_office.coopassettx (uuid, version, membershipuuid, transactiontype, valuedate, assetvalue, reference, revertedassettxuuid, assetadoptiontxuuid, comment)
values (new.uuid, new.version, new.membershipuuid, new.transactiontype, new.valuedate, new.assetvalue, new.reference, new.revertedassettxuuid, new.assetadoptiontxuuid, new.comment)
returning * into newTargetRow;
return newTargetRow;
end; ';
ALTER FUNCTION hs_office.coopassettx_instead_of_insert_tf() OWNER TO postgres;
--
-- Name: coopassettx_instead_of_update_tf(); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.coopassettx_instead_of_update_tf() RETURNS trigger
LANGUAGE plpgsql
AS '
begin
if old.uuid in (select rbac.queryAccessibleObjectUuidsOfSubjectIds(''UPDATE'', ''hs_office.coopassettx'', rbac.currentSubjectOrAssumedRolesUuids())) then
update hs_office.coopassettx
set
comment = new.comment
where uuid = old.uuid;
return old;
end if;
raise exception ''[403] Subject % is not allowed to update hs_office.coopassettx uuid %'', rbac.currentSubjectOrAssumedRolesUuids(), old.uuid;
end; ';
ALTER FUNCTION hs_office.coopassettx_instead_of_update_tf() OWNER TO postgres;
--
-- Name: coopassettx_owner(hs_office.coopassettx, boolean); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.coopassettx_owner(entity hs_office.coopassettx, assumed boolean DEFAULT true) RETURNS rbac.roledescriptor
LANGUAGE plpgsql STRICT
AS '
begin
return rbac.roleDescriptorOf(''hs_office.coopassettx'', entity.uuid, ''OWNER'', assumed);
end; ';
ALTER FUNCTION hs_office.coopassettx_owner(entity hs_office.coopassettx, assumed boolean) OWNER TO postgres;
--
-- Name: coopassettx_rebuild_rbac_system(); Type: PROCEDURE; Schema: hs_office; Owner: postgres
--
CREATE PROCEDURE hs_office.coopassettx_rebuild_rbac_system()
LANGUAGE plpgsql
AS '
DECLARE
DECLARE
row hs_office.coopassettx;
grantsAfter numeric;
grantsBefore numeric;
BEGIN
SELECT count(*) INTO grantsBefore FROM rbac.grant;
FOR row IN SELECT * FROM hs_office.coopassettx LOOP
DELETE FROM rbac.grant g
WHERE g.grantedbytriggerof = row.uuid;
CALL hs_office.coopassettx_build_rbac_system(row);
END LOOP;
select count(*) into grantsAfter from rbac.grant;
raise notice ''total grant count before -> after: % -> %'', grantsBefore, grantsAfter;
END;
';
ALTER PROCEDURE hs_office.coopassettx_rebuild_rbac_system() OWNER TO postgres;
--
-- Name: coopassettx_referrer(hs_office.coopassettx); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.coopassettx_referrer(entity hs_office.coopassettx) RETURNS rbac.roledescriptor
LANGUAGE plpgsql STRICT
AS '
begin
return rbac.roleDescriptorOf(''hs_office.coopassettx'', entity.uuid, ''REFERRER'');
end; ';
ALTER FUNCTION hs_office.coopassettx_referrer(entity hs_office.coopassettx) OWNER TO postgres;
--
-- Name: coopassettx_tenant(hs_office.coopassettx, boolean); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.coopassettx_tenant(entity hs_office.coopassettx, assumed boolean DEFAULT true) RETURNS rbac.roledescriptor
LANGUAGE plpgsql STRICT
AS '
begin
return rbac.roleDescriptorOf(''hs_office.coopassettx'', entity.uuid, ''TENANT'', assumed);
end; ';
ALTER FUNCTION hs_office.coopassettx_tenant(entity hs_office.coopassettx, assumed boolean) OWNER TO postgres;
--
-- Name: coopassettx_uuid_by_id_name(character varying); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.coopassettx_uuid_by_id_name(givenidname character varying) RETURNS uuid
LANGUAGE plpgsql
AS '
declare
singleMatch uuid;
begin
select uuid into strict singleMatch from hs_office.coopassettx_iv iv where iv.idName = givenIdName;
return singleMatch;
end; ';
ALTER FUNCTION hs_office.coopassettx_uuid_by_id_name(givenidname character varying) OWNER TO postgres;
--
-- Name: coopsharestx_check_positive_total(uuid, integer); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.coopsharestx_check_positive_total(formembershipuuid uuid, newsharecount integer) RETURNS boolean
LANGUAGE plpgsql
AS '
declare
currentShareCount integer;
totalShareCount integer;
begin
select sum(cst.shareCount)
from hs_office.coopsharetx cst
where cst.membershipUuid = forMembershipUuid
into currentShareCount;
totalShareCount := currentShareCount + newShareCount;
if totalShareCount < 0 then
raise exception ''[400] coop shares transaction would result in a negative number of shares'';
end if;
return true;
end; ';
ALTER FUNCTION hs_office.coopsharestx_check_positive_total(formembershipuuid uuid, newsharecount integer) OWNER TO postgres;
--
-- Name: coopsharetx; Type: TABLE; Schema: hs_office; Owner: postgres
--
CREATE TABLE hs_office.coopsharetx (
uuid uuid,
version integer DEFAULT 0 NOT NULL,
membershipuuid uuid NOT NULL,
transactiontype hs_office.coopsharestransactiontype NOT NULL,
valuedate date NOT NULL,
sharecount integer NOT NULL,
reference character varying(48) NOT NULL,
revertedsharetxuuid uuid,
comment character varying(512),
CONSTRAINT check_positive_total_shares_count CHECK (hs_office.coopsharestx_check_positive_total(membershipuuid, sharecount)),
CONSTRAINT reverse_entry_missing CHECK ((((transactiontype = 'REVERSAL'::hs_office.coopsharestransactiontype) AND (revertedsharetxuuid IS NOT NULL)) OR ((transactiontype <> 'REVERSAL'::hs_office.coopsharestransactiontype) AND (revertedsharetxuuid IS NULL))))
);
ALTER TABLE hs_office.coopsharetx OWNER TO postgres;
--
-- Name: coopsharetx_admin(hs_office.coopsharetx, boolean); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.coopsharetx_admin(entity hs_office.coopsharetx, assumed boolean DEFAULT true) RETURNS rbac.roledescriptor
LANGUAGE plpgsql STRICT
AS '
begin
return rbac.roleDescriptorOf(''hs_office.coopsharetx'', entity.uuid, ''ADMIN'', assumed);
end; ';
ALTER FUNCTION hs_office.coopsharetx_admin(entity hs_office.coopsharetx, assumed boolean) OWNER TO postgres;
--
-- Name: coopsharetx_agent(hs_office.coopsharetx, boolean); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.coopsharetx_agent(entity hs_office.coopsharetx, assumed boolean DEFAULT true) RETURNS rbac.roledescriptor
LANGUAGE plpgsql STRICT
AS '
begin
return rbac.roleDescriptorOf(''hs_office.coopsharetx'', entity.uuid, ''AGENT'', assumed);
end; ';
ALTER FUNCTION hs_office.coopsharetx_agent(entity hs_office.coopsharetx, assumed boolean) OWNER TO postgres;
--
-- Name: coopsharetx_build_rbac_system(hs_office.coopsharetx); Type: PROCEDURE; Schema: hs_office; Owner: postgres
--
CREATE PROCEDURE hs_office.coopsharetx_build_rbac_system(IN new hs_office.coopsharetx)
LANGUAGE plpgsql
AS '
declare
newMembership hs_office.membership;
begin
call rbac.enterTriggerForObjectUuid(NEW.uuid);
SELECT * FROM hs_office.membership WHERE uuid = NEW.membershipUuid INTO newMembership;
assert newMembership.uuid is not null, format(''newMembership must not be null for NEW.membershipUuid = %s of hs_office.coopsharetx'', NEW.membershipUuid);
call rbac.grantPermissionToRole(rbac.createPermission(NEW.uuid, ''SELECT''), hs_office.membership_AGENT(newMembership));
call rbac.grantPermissionToRole(rbac.createPermission(NEW.uuid, ''UPDATE''), hs_office.membership_ADMIN(newMembership));
call rbac.leaveTriggerForObjectUuid(NEW.uuid);
end; ';
ALTER PROCEDURE hs_office.coopsharetx_build_rbac_system(IN new hs_office.coopsharetx) OWNER TO postgres;
--
-- Name: coopsharetx_build_rbac_system_after_insert_tf(); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.coopsharetx_build_rbac_system_after_insert_tf() RETURNS trigger
LANGUAGE plpgsql STRICT
AS '
begin
call hs_office.coopsharetx_build_rbac_system(NEW);
return NEW;
end; ';
ALTER FUNCTION hs_office.coopsharetx_build_rbac_system_after_insert_tf() OWNER TO postgres;
--
-- Name: coopsharetx_create_test_data(numeric, character); Type: PROCEDURE; Schema: hs_office; Owner: postgres
--
CREATE PROCEDURE hs_office.coopsharetx_create_test_data(IN givenpartnernumber numeric, IN givenmembernumbersuffix character)
LANGUAGE plpgsql
AS '
declare
membership hs_office.membership;
subscriptionEntryUuid uuid;
begin
select m.uuid
from hs_office.membership m
join hs_office.partner p on p.uuid = m.partneruuid
where p.partnerNumber = givenPartnerNumber
and m.memberNumberSuffix = givenMemberNumberSuffix
into membership;
raise notice ''creating test coopSharesTransaction: %'', givenPartnerNumber::text || givenMemberNumberSuffix;
subscriptionEntryUuid := uuid_generate_v4();
insert
into hs_office.coopsharetx(uuid, membershipuuid, transactiontype, valuedate, sharecount, reference, comment, revertedShareTxUuid)
values
(uuid_generate_v4(), membership.uuid, ''SUBSCRIPTION'', ''2010-03-15'', 4, ''ref ''||givenPartnerNumber::text || givenMemberNumberSuffix||''-1'', ''initial subscription'', null),
(uuid_generate_v4(), membership.uuid, ''CANCELLATION'', ''2021-09-01'', -2, ''ref ''||givenPartnerNumber::text || givenMemberNumberSuffix||''-2'', ''cancelling some'', null),
(subscriptionEntryUuid, membership.uuid, ''SUBSCRIPTION'', ''2022-10-20'', 2, ''ref ''||givenPartnerNumber::text || givenMemberNumberSuffix||''-3'', ''some subscription'', null),
(uuid_generate_v4(), membership.uuid, ''REVERSAL'', ''2022-10-21'', -2, ''ref ''||givenPartnerNumber::text || givenMemberNumberSuffix||''-4'', ''some reversal'', subscriptionEntryUuid);
end; ';
ALTER PROCEDURE hs_office.coopsharetx_create_test_data(IN givenpartnernumber numeric, IN givenmembernumbersuffix character) OWNER TO postgres;
--
-- Name: coopsharetx_delete_legacy_id_mapping_tf(); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.coopsharetx_delete_legacy_id_mapping_tf() RETURNS trigger
LANGUAGE plpgsql STRICT
AS '
begin
if TG_OP <> ''DELETE'' then
raise exception ''invalid usage of trigger'';
end if;
DELETE FROM hs_office.coopsharetx_legacy_id
WHERE uuid = OLD.uuid;
return OLD;
end; ';
ALTER FUNCTION hs_office.coopsharetx_delete_legacy_id_mapping_tf() OWNER TO postgres;
--
-- Name: coopsharetx_grants_insert_to_membership_tf(); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.coopsharetx_grants_insert_to_membership_tf() RETURNS trigger
LANGUAGE plpgsql STRICT
AS '
begin
call rbac.grantPermissionToRole(
rbac.createPermission(NEW.uuid, ''INSERT'', ''hs_office.coopsharetx''),
hs_office.membership_ADMIN(NEW));
return NEW;
end; ';
ALTER FUNCTION hs_office.coopsharetx_grants_insert_to_membership_tf() OWNER TO postgres;
--
-- Name: coopsharetx_guest(hs_office.coopsharetx, boolean); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.coopsharetx_guest(entity hs_office.coopsharetx, assumed boolean DEFAULT true) RETURNS rbac.roledescriptor
LANGUAGE plpgsql STRICT
AS '
begin
return rbac.roleDescriptorOf(''hs_office.coopsharetx'', entity.uuid, ''GUEST'', assumed);
end; ';
ALTER FUNCTION hs_office.coopsharetx_guest(entity hs_office.coopsharetx, assumed boolean) OWNER TO postgres;
--
-- Name: coopsharetx_id_name_by_uuid(uuid); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.coopsharetx_id_name_by_uuid(givenuuid uuid) RETURNS character varying
LANGUAGE sql STRICT
AS '
select idName from hs_office.coopsharetx_iv iv where iv.uuid = givenUuid;
';
ALTER FUNCTION hs_office.coopsharetx_id_name_by_uuid(givenuuid uuid) OWNER TO postgres;
--
-- Name: coopsharetx_insert_legacy_id_mapping_tf(); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.coopsharetx_insert_legacy_id_mapping_tf() RETURNS trigger
LANGUAGE plpgsql STRICT
AS '
begin
if TG_OP <> ''INSERT'' then
raise exception ''invalid usage of trigger'';
end if;
INSERT INTO hs_office.coopsharetx_legacy_id VALUES
(NEW.uuid, nextVal(''hs_office.coopsharetx_legacy_id_seq''));
return NEW;
end; ';
ALTER FUNCTION hs_office.coopsharetx_insert_legacy_id_mapping_tf() OWNER TO postgres;
--
-- Name: coopsharetx_insert_permission_check_tf(); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.coopsharetx_insert_permission_check_tf() RETURNS trigger
LANGUAGE plpgsql
AS '
declare
superObjectUuid uuid;
begin
if rbac.hasInsertPermission(NEW.membershipUuid, ''hs_office.coopsharetx'') then
return NEW;
end if;
raise exception ''[403] insert into hs_office.coopsharetx values(%) not allowed for current subjects % (%)'',
NEW, base.currentSubjects(), rbac.currentSubjectOrAssumedRolesUuids();
end; ';
ALTER FUNCTION hs_office.coopsharetx_insert_permission_check_tf() OWNER TO postgres;
--
-- Name: coopsharetx_instead_of_delete_tf(); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.coopsharetx_instead_of_delete_tf() RETURNS trigger
LANGUAGE plpgsql
AS '
begin
if old.uuid in (select rbac.queryAccessibleObjectUuidsOfSubjectIds(''DELETE'', ''hs_office.coopsharetx'', rbac.currentSubjectOrAssumedRolesUuids())) then
delete from hs_office.coopsharetx p where p.uuid = old.uuid;
return old;
end if;
raise exception ''[403] Subject % is not allowed to delete hs_office.coopsharetx uuid %'', rbac.currentSubjectOrAssumedRolesUuids(), old.uuid;
end; ';
ALTER FUNCTION hs_office.coopsharetx_instead_of_delete_tf() OWNER TO postgres;
--
-- Name: coopsharetx_instead_of_insert_tf(); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.coopsharetx_instead_of_insert_tf() RETURNS trigger
LANGUAGE plpgsql
AS '
declare
newTargetRow hs_office.coopsharetx;
begin
insert
into hs_office.coopsharetx (uuid, version, membershipuuid, transactiontype, valuedate, sharecount, reference, revertedsharetxuuid, comment)
values (new.uuid, new.version, new.membershipuuid, new.transactiontype, new.valuedate, new.sharecount, new.reference, new.revertedsharetxuuid, new.comment)
returning * into newTargetRow;
return newTargetRow;
end; ';
ALTER FUNCTION hs_office.coopsharetx_instead_of_insert_tf() OWNER TO postgres;
--
-- Name: coopsharetx_instead_of_update_tf(); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.coopsharetx_instead_of_update_tf() RETURNS trigger
LANGUAGE plpgsql
AS '
begin
if old.uuid in (select rbac.queryAccessibleObjectUuidsOfSubjectIds(''UPDATE'', ''hs_office.coopsharetx'', rbac.currentSubjectOrAssumedRolesUuids())) then
update hs_office.coopsharetx
set
comment = new.comment
where uuid = old.uuid;
return old;
end if;
raise exception ''[403] Subject % is not allowed to update hs_office.coopsharetx uuid %'', rbac.currentSubjectOrAssumedRolesUuids(), old.uuid;
end; ';
ALTER FUNCTION hs_office.coopsharetx_instead_of_update_tf() OWNER TO postgres;
--
-- Name: coopsharetx_owner(hs_office.coopsharetx, boolean); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.coopsharetx_owner(entity hs_office.coopsharetx, assumed boolean DEFAULT true) RETURNS rbac.roledescriptor
LANGUAGE plpgsql STRICT
AS '
begin
return rbac.roleDescriptorOf(''hs_office.coopsharetx'', entity.uuid, ''OWNER'', assumed);
end; ';
ALTER FUNCTION hs_office.coopsharetx_owner(entity hs_office.coopsharetx, assumed boolean) OWNER TO postgres;
--
-- Name: coopsharetx_rebuild_rbac_system(); Type: PROCEDURE; Schema: hs_office; Owner: postgres
--
CREATE PROCEDURE hs_office.coopsharetx_rebuild_rbac_system()
LANGUAGE plpgsql
AS '
DECLARE
DECLARE
row hs_office.coopsharetx;
grantsAfter numeric;
grantsBefore numeric;
BEGIN
SELECT count(*) INTO grantsBefore FROM rbac.grant;
FOR row IN SELECT * FROM hs_office.coopsharetx LOOP
DELETE FROM rbac.grant g
WHERE g.grantedbytriggerof = row.uuid;
CALL hs_office.coopsharetx_build_rbac_system(row);
END LOOP;
select count(*) into grantsAfter from rbac.grant;
raise notice ''total grant count before -> after: % -> %'', grantsBefore, grantsAfter;
END;
';
ALTER PROCEDURE hs_office.coopsharetx_rebuild_rbac_system() OWNER TO postgres;
--
-- Name: coopsharetx_referrer(hs_office.coopsharetx); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.coopsharetx_referrer(entity hs_office.coopsharetx) RETURNS rbac.roledescriptor
LANGUAGE plpgsql STRICT
AS '
begin
return rbac.roleDescriptorOf(''hs_office.coopsharetx'', entity.uuid, ''REFERRER'');
end; ';
ALTER FUNCTION hs_office.coopsharetx_referrer(entity hs_office.coopsharetx) OWNER TO postgres;
--
-- Name: coopsharetx_tenant(hs_office.coopsharetx, boolean); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.coopsharetx_tenant(entity hs_office.coopsharetx, assumed boolean DEFAULT true) RETURNS rbac.roledescriptor
LANGUAGE plpgsql STRICT
AS '
begin
return rbac.roleDescriptorOf(''hs_office.coopsharetx'', entity.uuid, ''TENANT'', assumed);
end; ';
ALTER FUNCTION hs_office.coopsharetx_tenant(entity hs_office.coopsharetx, assumed boolean) OWNER TO postgres;
--
-- Name: coopsharetx_uuid_by_id_name(character varying); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.coopsharetx_uuid_by_id_name(givenidname character varying) RETURNS uuid
LANGUAGE plpgsql
AS '
declare
singleMatch uuid;
begin
select uuid into strict singleMatch from hs_office.coopsharetx_iv iv where iv.idName = givenIdName;
return singleMatch;
end; ';
ALTER FUNCTION hs_office.coopsharetx_uuid_by_id_name(givenidname character varying) OWNER TO postgres;
--
-- Name: debitor; Type: TABLE; Schema: hs_office; Owner: postgres
--
CREATE TABLE hs_office.debitor (
uuid uuid,
version integer DEFAULT 0 NOT NULL,
debitornumbersuffix character(2) NOT NULL,
debitorreluuid uuid NOT NULL,
billable boolean DEFAULT true NOT NULL,
vatid character varying(24),
vatcountrycode character varying(2),
vatbusiness boolean NOT NULL,
vatreversecharge boolean NOT NULL,
refundbankaccountuuid uuid,
defaultprefix character(3) NOT NULL,
CONSTRAINT check_default_prefix CHECK (((defaultprefix)::text ~ '^([a-z]{3}|al0|bh1|c4s|f3k|k8i|l3d|mh1|o13|p2m|s80|t4w)$'::text)),
CONSTRAINT debitor_debitornumbersuffix_check CHECK (((debitornumbersuffix)::text ~ '^[0-9][0-9]$'::text))
);
ALTER TABLE hs_office.debitor OWNER TO postgres;
--
-- Name: debitor_admin(hs_office.debitor, boolean); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.debitor_admin(entity hs_office.debitor, assumed boolean DEFAULT true) RETURNS rbac.roledescriptor
LANGUAGE plpgsql STRICT
AS '
begin
return rbac.roleDescriptorOf(''hs_office.debitor'', entity.uuid, ''ADMIN'', assumed);
end; ';
ALTER FUNCTION hs_office.debitor_admin(entity hs_office.debitor, assumed boolean) OWNER TO postgres;
--
-- Name: debitor_agent(hs_office.debitor, boolean); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.debitor_agent(entity hs_office.debitor, assumed boolean DEFAULT true) RETURNS rbac.roledescriptor
LANGUAGE plpgsql STRICT
AS '
begin
return rbac.roleDescriptorOf(''hs_office.debitor'', entity.uuid, ''AGENT'', assumed);
end; ';
ALTER FUNCTION hs_office.debitor_agent(entity hs_office.debitor, assumed boolean) OWNER TO postgres;
--
-- Name: debitor_build_rbac_system(hs_office.debitor); Type: PROCEDURE; Schema: hs_office; Owner: postgres
--
CREATE PROCEDURE hs_office.debitor_build_rbac_system(IN new hs_office.debitor)
LANGUAGE plpgsql
AS '
declare
newPartnerRel hs_office.relation;
newDebitorRel hs_office.relation;
newRefundBankAccount hs_office.bankaccount;
begin
call rbac.enterTriggerForObjectUuid(NEW.uuid);
SELECT partnerRel.*
FROM hs_office.relation AS partnerRel
JOIN hs_office.relation AS debitorRel
ON debitorRel.type = ''DEBITOR'' AND debitorRel.anchorUuid = partnerRel.holderUuid
WHERE partnerRel.type = ''PARTNER''
AND NEW.debitorRelUuid = debitorRel.uuid
INTO newPartnerRel;
assert newPartnerRel.uuid is not null, format(''newPartnerRel must not be null for NEW.debitorRelUuid = %s of hs_office.debitor'', NEW.debitorRelUuid);
SELECT * FROM hs_office.relation WHERE uuid = NEW.debitorRelUuid INTO newDebitorRel;
assert newDebitorRel.uuid is not null, format(''newDebitorRel must not be null for NEW.debitorRelUuid = %s of hs_office.debitor'', NEW.debitorRelUuid);
SELECT * FROM hs_office.bankaccount WHERE uuid = NEW.refundBankAccountUuid INTO newRefundBankAccount;
call rbac.grantRoleToRole(hs_office.bankaccount_REFERRER(newRefundBankAccount), hs_office.relation_AGENT(newDebitorRel));
call rbac.grantRoleToRole(hs_office.relation_ADMIN(newDebitorRel), hs_office.relation_ADMIN(newPartnerRel));
call rbac.grantRoleToRole(hs_office.relation_AGENT(newDebitorRel), hs_office.bankaccount_ADMIN(newRefundBankAccount));
call rbac.grantRoleToRole(hs_office.relation_AGENT(newDebitorRel), hs_office.relation_AGENT(newPartnerRel));
call rbac.grantRoleToRole(hs_office.relation_TENANT(newPartnerRel), hs_office.relation_AGENT(newDebitorRel));
call rbac.grantPermissionToRole(rbac.createPermission(NEW.uuid, ''DELETE''), hs_office.relation_OWNER(newDebitorRel));
call rbac.grantPermissionToRole(rbac.createPermission(NEW.uuid, ''SELECT''), hs_office.relation_TENANT(newDebitorRel));
call rbac.grantPermissionToRole(rbac.createPermission(NEW.uuid, ''UPDATE''), hs_office.relation_ADMIN(newDebitorRel));
call rbac.leaveTriggerForObjectUuid(NEW.uuid);
end; ';
ALTER PROCEDURE hs_office.debitor_build_rbac_system(IN new hs_office.debitor) OWNER TO postgres;
--
-- Name: debitor_build_rbac_system_after_insert_tf(); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.debitor_build_rbac_system_after_insert_tf() RETURNS trigger
LANGUAGE plpgsql STRICT
AS '
begin
call hs_office.debitor_build_rbac_system(NEW);
return NEW;
end; ';
ALTER FUNCTION hs_office.debitor_build_rbac_system_after_insert_tf() OWNER TO postgres;
--
-- Name: debitor_create_test_data(numeric, character varying, character varying, character varying); Type: PROCEDURE; Schema: hs_office; Owner: postgres
--
CREATE PROCEDURE hs_office.debitor_create_test_data(IN withdebitornumbersuffix numeric, IN forpartnerpersonname character varying, IN forbillingcontactcaption character varying, IN withdefaultprefix character varying)
LANGUAGE plpgsql
AS '
declare
idName varchar;
relatedDebitorRelUuid uuid;
relatedBankAccountUuid uuid;
begin
idName := base.cleanIdentifier( forPartnerPersonName|| ''-'' || forBillingContactCaption);
select debitorRel.uuid
into relatedDebitorRelUuid
from hs_office.relation debitorRel
join hs_office.person person on person.uuid = debitorRel.holderUuid
and (person.tradeName = forPartnerPersonName or person.familyName = forPartnerPersonName)
where debitorRel.type = ''DEBITOR'';
select b.uuid
into relatedBankAccountUuid
from hs_office.bankaccount b
where b.holder = forPartnerPersonName;
raise notice ''creating test debitor: % (#%)'', idName, withDebitorNumberSuffix;
insert
into hs_office.debitor (uuid, debitorRelUuid, debitornumbersuffix, billable, vatbusiness, vatreversecharge, refundbankaccountuuid, defaultprefix)
values (uuid_generate_v4(), relatedDebitorRelUuid, withDebitorNumberSuffix, true, true, false, relatedBankAccountUuid, withDefaultPrefix);
end; ';
ALTER PROCEDURE hs_office.debitor_create_test_data(IN withdebitornumbersuffix numeric, IN forpartnerpersonname character varying, IN forbillingcontactcaption character varying, IN withdefaultprefix character varying) OWNER TO postgres;
--
-- Name: debitor_delete_dependents_tf(); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.debitor_delete_dependents_tf() RETURNS trigger
LANGUAGE plpgsql
AS '
declare
counter integer;
begin
DELETE FROM hs_office.relation r WHERE r.uuid = OLD.debitorRelUuid;
GET DIAGNOSTICS counter = ROW_COUNT;
if counter = 0 then
raise exception ''debitor relation % could not be deleted'', OLD.debitorRelUuid;
end if;
RETURN OLD;
end; ';
ALTER FUNCTION hs_office.debitor_delete_dependents_tf() OWNER TO postgres;
--
-- Name: debitor_grants_insert_to_global_tf(); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.debitor_grants_insert_to_global_tf() RETURNS trigger
LANGUAGE plpgsql STRICT
AS '
begin
call rbac.grantPermissionToRole(
rbac.createPermission(NEW.uuid, ''INSERT'', ''hs_office.debitor''),
rbac.global_ADMIN());
return NEW;
end; ';
ALTER FUNCTION hs_office.debitor_grants_insert_to_global_tf() OWNER TO postgres;
--
-- Name: debitor_guest(hs_office.debitor, boolean); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.debitor_guest(entity hs_office.debitor, assumed boolean DEFAULT true) RETURNS rbac.roledescriptor
LANGUAGE plpgsql STRICT
AS '
begin
return rbac.roleDescriptorOf(''hs_office.debitor'', entity.uuid, ''GUEST'', assumed);
end; ';
ALTER FUNCTION hs_office.debitor_guest(entity hs_office.debitor, assumed boolean) OWNER TO postgres;
--
-- Name: debitor_id_name_by_uuid(uuid); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.debitor_id_name_by_uuid(givenuuid uuid) RETURNS character varying
LANGUAGE sql STRICT
AS '
select idName from hs_office.debitor_iv iv where iv.uuid = givenUuid;
';
ALTER FUNCTION hs_office.debitor_id_name_by_uuid(givenuuid uuid) OWNER TO postgres;
--
-- Name: debitor_insert_permission_check_tf(); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.debitor_insert_permission_check_tf() RETURNS trigger
LANGUAGE plpgsql
AS '
declare
superObjectUuid uuid;
begin
if rbac.isGlobalAdmin() then
return NEW;
end if;
raise exception ''[403] insert into hs_office.debitor values(%) not allowed for current subjects % (%)'',
NEW, base.currentSubjects(), rbac.currentSubjectOrAssumedRolesUuids();
end; ';
ALTER FUNCTION hs_office.debitor_insert_permission_check_tf() OWNER TO postgres;
--
-- Name: debitor_instead_of_delete_tf(); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.debitor_instead_of_delete_tf() RETURNS trigger
LANGUAGE plpgsql
AS '
begin
if old.uuid in (select rbac.queryAccessibleObjectUuidsOfSubjectIds(''DELETE'', ''hs_office.debitor'', rbac.currentSubjectOrAssumedRolesUuids())) then
delete from hs_office.debitor p where p.uuid = old.uuid;
return old;
end if;
raise exception ''[403] Subject % is not allowed to delete hs_office.debitor uuid %'', rbac.currentSubjectOrAssumedRolesUuids(), old.uuid;
end; ';
ALTER FUNCTION hs_office.debitor_instead_of_delete_tf() OWNER TO postgres;
--
-- Name: debitor_instead_of_insert_tf(); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.debitor_instead_of_insert_tf() RETURNS trigger
LANGUAGE plpgsql
AS '
declare
newTargetRow hs_office.debitor;
begin
insert
into hs_office.debitor (uuid, version, debitornumbersuffix, debitorreluuid, billable, vatid, vatcountrycode, vatbusiness, vatreversecharge, refundbankaccountuuid, defaultprefix)
values (new.uuid, new.version, new.debitornumbersuffix, new.debitorreluuid, new.billable, new.vatid, new.vatcountrycode, new.vatbusiness, new.vatreversecharge, new.refundbankaccountuuid, new.defaultprefix)
returning * into newTargetRow;
return newTargetRow;
end; ';
ALTER FUNCTION hs_office.debitor_instead_of_insert_tf() OWNER TO postgres;
--
-- Name: debitor_instead_of_update_tf(); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.debitor_instead_of_update_tf() RETURNS trigger
LANGUAGE plpgsql
AS '
begin
if old.uuid in (select rbac.queryAccessibleObjectUuidsOfSubjectIds(''UPDATE'', ''hs_office.debitor'', rbac.currentSubjectOrAssumedRolesUuids())) then
update hs_office.debitor
set
debitorRelUuid = new.debitorRelUuid,
billable = new.billable,
refundBankAccountUuid = new.refundBankAccountUuid,
vatId = new.vatId,
vatCountryCode = new.vatCountryCode,
vatBusiness = new.vatBusiness,
vatReverseCharge = new.vatReverseCharge,
defaultPrefix = new.defaultPrefix
where uuid = old.uuid;
return old;
end if;
raise exception ''[403] Subject % is not allowed to update hs_office.debitor uuid %'', rbac.currentSubjectOrAssumedRolesUuids(), old.uuid;
end; ';
ALTER FUNCTION hs_office.debitor_instead_of_update_tf() OWNER TO postgres;
--
-- Name: debitor_owner(hs_office.debitor, boolean); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.debitor_owner(entity hs_office.debitor, assumed boolean DEFAULT true) RETURNS rbac.roledescriptor
LANGUAGE plpgsql STRICT
AS '
begin
return rbac.roleDescriptorOf(''hs_office.debitor'', entity.uuid, ''OWNER'', assumed);
end; ';
ALTER FUNCTION hs_office.debitor_owner(entity hs_office.debitor, assumed boolean) OWNER TO postgres;
--
-- Name: debitor_rebuild_rbac_system(); Type: PROCEDURE; Schema: hs_office; Owner: postgres
--
CREATE PROCEDURE hs_office.debitor_rebuild_rbac_system()
LANGUAGE plpgsql
AS '
DECLARE
DECLARE
row hs_office.debitor;
grantsAfter numeric;
grantsBefore numeric;
BEGIN
SELECT count(*) INTO grantsBefore FROM rbac.grant;
FOR row IN SELECT * FROM hs_office.debitor LOOP
DELETE FROM rbac.grant g
WHERE g.grantedbytriggerof = row.uuid;
CALL hs_office.debitor_build_rbac_system(row);
END LOOP;
select count(*) into grantsAfter from rbac.grant;
raise notice ''total grant count before -> after: % -> %'', grantsBefore, grantsAfter;
END;
';
ALTER PROCEDURE hs_office.debitor_rebuild_rbac_system() OWNER TO postgres;
--
-- Name: debitor_referrer(hs_office.debitor); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.debitor_referrer(entity hs_office.debitor) RETURNS rbac.roledescriptor
LANGUAGE plpgsql STRICT
AS '
begin
return rbac.roleDescriptorOf(''hs_office.debitor'', entity.uuid, ''REFERRER'');
end; ';
ALTER FUNCTION hs_office.debitor_referrer(entity hs_office.debitor) OWNER TO postgres;
--
-- Name: debitor_tenant(hs_office.debitor, boolean); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.debitor_tenant(entity hs_office.debitor, assumed boolean DEFAULT true) RETURNS rbac.roledescriptor
LANGUAGE plpgsql STRICT
AS '
begin
return rbac.roleDescriptorOf(''hs_office.debitor'', entity.uuid, ''TENANT'', assumed);
end; ';
ALTER FUNCTION hs_office.debitor_tenant(entity hs_office.debitor, assumed boolean) OWNER TO postgres;
--
-- Name: debitor_update_rbac_system(hs_office.debitor, hs_office.debitor); Type: PROCEDURE; Schema: hs_office; Owner: postgres
--
CREATE PROCEDURE hs_office.debitor_update_rbac_system(IN old hs_office.debitor, IN new hs_office.debitor)
LANGUAGE plpgsql
AS '
begin
if NEW.debitorRelUuid is distinct from OLD.debitorRelUuid
or NEW.refundBankAccountUuid is distinct from OLD.refundBankAccountUuid then
delete from rbac.grant g where g.grantedbytriggerof = OLD.uuid;
call hs_office.debitor_build_rbac_system(NEW);
end if;
end; ';
ALTER PROCEDURE hs_office.debitor_update_rbac_system(IN old hs_office.debitor, IN new hs_office.debitor) OWNER TO postgres;
--
-- Name: debitor_update_rbac_system_after_update_tf(); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.debitor_update_rbac_system_after_update_tf() RETURNS trigger
LANGUAGE plpgsql STRICT
AS '
begin
call hs_office.debitor_update_rbac_system(OLD, NEW);
return NEW;
end; ';
ALTER FUNCTION hs_office.debitor_update_rbac_system_after_update_tf() OWNER TO postgres;
--
-- Name: debitor_uuid_by_id_name(character varying); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.debitor_uuid_by_id_name(givenidname character varying) RETURNS uuid
LANGUAGE plpgsql
AS '
declare
singleMatch uuid;
begin
select uuid into strict singleMatch from hs_office.debitor_iv iv where iv.idName = givenIdName;
return singleMatch;
end; ';
ALTER FUNCTION hs_office.debitor_uuid_by_id_name(givenidname character varying) OWNER TO postgres;
--
-- Name: membership; Type: TABLE; Schema: hs_office; Owner: postgres
--
CREATE TABLE hs_office.membership (
uuid uuid,
version integer DEFAULT 0 NOT NULL,
partneruuid uuid NOT NULL,
membernumbersuffix character(2) NOT NULL,
validity daterange NOT NULL,
status hs_office.hsofficemembershipstatus DEFAULT 'ACTIVE'::hs_office.hsofficemembershipstatus NOT NULL,
membershipfeebillable boolean DEFAULT true NOT NULL,
CONSTRAINT membership_membernumbersuffix_check CHECK (((membernumbersuffix)::text ~ '^[0-9][0-9]$'::text))
);
ALTER TABLE hs_office.membership OWNER TO postgres;
--
-- Name: membership_admin(hs_office.membership, boolean); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.membership_admin(entity hs_office.membership, assumed boolean DEFAULT true) RETURNS rbac.roledescriptor
LANGUAGE plpgsql STRICT
AS '
begin
return rbac.roleDescriptorOf(''hs_office.membership'', entity.uuid, ''ADMIN'', assumed);
end; ';
ALTER FUNCTION hs_office.membership_admin(entity hs_office.membership, assumed boolean) OWNER TO postgres;
--
-- Name: membership_agent(hs_office.membership, boolean); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.membership_agent(entity hs_office.membership, assumed boolean DEFAULT true) RETURNS rbac.roledescriptor
LANGUAGE plpgsql STRICT
AS '
begin
return rbac.roleDescriptorOf(''hs_office.membership'', entity.uuid, ''AGENT'', assumed);
end; ';
ALTER FUNCTION hs_office.membership_agent(entity hs_office.membership, assumed boolean) OWNER TO postgres;
--
-- Name: membership_build_rbac_system(hs_office.membership); Type: PROCEDURE; Schema: hs_office; Owner: postgres
--
CREATE PROCEDURE hs_office.membership_build_rbac_system(IN new hs_office.membership)
LANGUAGE plpgsql
AS '
declare
newPartnerRel hs_office.relation;
begin
call rbac.enterTriggerForObjectUuid(NEW.uuid);
SELECT partnerRel.*
FROM hs_office.partner AS partner
JOIN hs_office.relation AS partnerRel ON partnerRel.uuid = partner.partnerRelUuid
WHERE partner.uuid = NEW.partnerUuid
INTO newPartnerRel;
assert newPartnerRel.uuid is not null, format(''newPartnerRel must not be null for NEW.partnerUuid = %s of hs_office.membership'', NEW.partnerUuid);
perform rbac.defineRoleWithGrants(
hs_office.membership_OWNER(NEW),
subjectUuids => array[rbac.currentSubjectUuid()]
);
perform rbac.defineRoleWithGrants(
hs_office.membership_ADMIN(NEW),
permissions => array[''DELETE'', ''UPDATE''],
incomingSuperRoles => array[
hs_office.membership_OWNER(NEW),
hs_office.relation_ADMIN(newPartnerRel)]
);
perform rbac.defineRoleWithGrants(
hs_office.membership_AGENT(NEW),
permissions => array[''SELECT''],
incomingSuperRoles => array[
hs_office.membership_ADMIN(NEW),
hs_office.relation_AGENT(newPartnerRel)],
outgoingSubRoles => array[hs_office.relation_TENANT(newPartnerRel)]
);
call rbac.leaveTriggerForObjectUuid(NEW.uuid);
end; ';
ALTER PROCEDURE hs_office.membership_build_rbac_system(IN new hs_office.membership) OWNER TO postgres;
--
-- Name: membership_build_rbac_system_after_insert_tf(); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.membership_build_rbac_system_after_insert_tf() RETURNS trigger
LANGUAGE plpgsql STRICT
AS '
begin
call hs_office.membership_build_rbac_system(NEW);
return NEW;
end; ';
ALTER FUNCTION hs_office.membership_build_rbac_system_after_insert_tf() OWNER TO postgres;
--
-- Name: membership_create_test_data(numeric, character); Type: PROCEDURE; Schema: hs_office; Owner: postgres
--
CREATE PROCEDURE hs_office.membership_create_test_data(IN forpartnernumber numeric, IN newmembernumbersuffix character)
LANGUAGE plpgsql
AS '
declare
relatedPartner hs_office.partner;
begin
select partner.* from hs_office.partner partner
where partner.partnerNumber = forPartnerNumber into relatedPartner;
raise notice ''creating test Membership: M-% %'', forPartnerNumber, newMemberNumberSuffix;
raise notice ''- using partner (%): %'', relatedPartner.uuid, relatedPartner;
insert
into hs_office.membership (uuid, partneruuid, memberNumberSuffix, validity, status)
values (uuid_generate_v4(), relatedPartner.uuid, newMemberNumberSuffix, daterange(''20221001'' , null, ''[]''), ''ACTIVE'');
end; ';
ALTER PROCEDURE hs_office.membership_create_test_data(IN forpartnernumber numeric, IN newmembernumbersuffix character) OWNER TO postgres;
--
-- Name: membership_grants_insert_to_global_tf(); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.membership_grants_insert_to_global_tf() RETURNS trigger
LANGUAGE plpgsql STRICT
AS '
begin
call rbac.grantPermissionToRole(
rbac.createPermission(NEW.uuid, ''INSERT'', ''hs_office.membership''),
rbac.global_ADMIN());
return NEW;
end; ';
ALTER FUNCTION hs_office.membership_grants_insert_to_global_tf() OWNER TO postgres;
--
-- Name: membership_guest(hs_office.membership, boolean); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.membership_guest(entity hs_office.membership, assumed boolean DEFAULT true) RETURNS rbac.roledescriptor
LANGUAGE plpgsql STRICT
AS '
begin
return rbac.roleDescriptorOf(''hs_office.membership'', entity.uuid, ''GUEST'', assumed);
end; ';
ALTER FUNCTION hs_office.membership_guest(entity hs_office.membership, assumed boolean) OWNER TO postgres;
--
-- Name: membership_id_name_by_uuid(uuid); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.membership_id_name_by_uuid(givenuuid uuid) RETURNS character varying
LANGUAGE sql STRICT
AS '
select idName from hs_office.membership_iv iv where iv.uuid = givenUuid;
';
ALTER FUNCTION hs_office.membership_id_name_by_uuid(givenuuid uuid) OWNER TO postgres;
--
-- Name: membership_insert_permission_check_tf(); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.membership_insert_permission_check_tf() RETURNS trigger
LANGUAGE plpgsql
AS '
declare
superObjectUuid uuid;
begin
if rbac.isGlobalAdmin() then
return NEW;
end if;
raise exception ''[403] insert into hs_office.membership values(%) not allowed for current subjects % (%)'',
NEW, base.currentSubjects(), rbac.currentSubjectOrAssumedRolesUuids();
end; ';
ALTER FUNCTION hs_office.membership_insert_permission_check_tf() OWNER TO postgres;
--
-- Name: membership_instead_of_delete_tf(); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.membership_instead_of_delete_tf() RETURNS trigger
LANGUAGE plpgsql
AS '
begin
if old.uuid in (select rbac.queryAccessibleObjectUuidsOfSubjectIds(''DELETE'', ''hs_office.membership'', rbac.currentSubjectOrAssumedRolesUuids())) then
delete from hs_office.membership p where p.uuid = old.uuid;
return old;
end if;
raise exception ''[403] Subject % is not allowed to delete hs_office.membership uuid %'', rbac.currentSubjectOrAssumedRolesUuids(), old.uuid;
end; ';
ALTER FUNCTION hs_office.membership_instead_of_delete_tf() OWNER TO postgres;
--
-- Name: membership_instead_of_insert_tf(); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.membership_instead_of_insert_tf() RETURNS trigger
LANGUAGE plpgsql
AS '
declare
newTargetRow hs_office.membership;
begin
insert
into hs_office.membership (uuid, version, partneruuid, membernumbersuffix, validity, status, membershipfeebillable)
values (new.uuid, new.version, new.partneruuid, new.membernumbersuffix, new.validity, new.status, new.membershipfeebillable)
returning * into newTargetRow;
return newTargetRow;
end; ';
ALTER FUNCTION hs_office.membership_instead_of_insert_tf() OWNER TO postgres;
--
-- Name: membership_instead_of_update_tf(); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.membership_instead_of_update_tf() RETURNS trigger
LANGUAGE plpgsql
AS '
begin
if old.uuid in (select rbac.queryAccessibleObjectUuidsOfSubjectIds(''UPDATE'', ''hs_office.membership'', rbac.currentSubjectOrAssumedRolesUuids())) then
update hs_office.membership
set
validity = new.validity,
membershipFeeBillable = new.membershipFeeBillable,
status = new.status
where uuid = old.uuid;
return old;
end if;
raise exception ''[403] Subject % is not allowed to update hs_office.membership uuid %'', rbac.currentSubjectOrAssumedRolesUuids(), old.uuid;
end; ';
ALTER FUNCTION hs_office.membership_instead_of_update_tf() OWNER TO postgres;
--
-- Name: membership_owner(hs_office.membership, boolean); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.membership_owner(entity hs_office.membership, assumed boolean DEFAULT true) RETURNS rbac.roledescriptor
LANGUAGE plpgsql STRICT
AS '
begin
return rbac.roleDescriptorOf(''hs_office.membership'', entity.uuid, ''OWNER'', assumed);
end; ';
ALTER FUNCTION hs_office.membership_owner(entity hs_office.membership, assumed boolean) OWNER TO postgres;
--
-- Name: membership_rebuild_rbac_system(); Type: PROCEDURE; Schema: hs_office; Owner: postgres
--
CREATE PROCEDURE hs_office.membership_rebuild_rbac_system()
LANGUAGE plpgsql
AS '
DECLARE
DECLARE
row hs_office.membership;
grantsAfter numeric;
grantsBefore numeric;
BEGIN
SELECT count(*) INTO grantsBefore FROM rbac.grant;
FOR row IN SELECT * FROM hs_office.membership LOOP
DELETE FROM rbac.grant g
WHERE g.grantedbytriggerof = row.uuid;
CALL hs_office.membership_build_rbac_system(row);
END LOOP;
select count(*) into grantsAfter from rbac.grant;
raise notice ''total grant count before -> after: % -> %'', grantsBefore, grantsAfter;
END;
';
ALTER PROCEDURE hs_office.membership_rebuild_rbac_system() OWNER TO postgres;
--
-- Name: membership_referrer(hs_office.membership); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.membership_referrer(entity hs_office.membership) RETURNS rbac.roledescriptor
LANGUAGE plpgsql STRICT
AS '
begin
return rbac.roleDescriptorOf(''hs_office.membership'', entity.uuid, ''REFERRER'');
end; ';
ALTER FUNCTION hs_office.membership_referrer(entity hs_office.membership) OWNER TO postgres;
--
-- Name: membership_tenant(hs_office.membership, boolean); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.membership_tenant(entity hs_office.membership, assumed boolean DEFAULT true) RETURNS rbac.roledescriptor
LANGUAGE plpgsql STRICT
AS '
begin
return rbac.roleDescriptorOf(''hs_office.membership'', entity.uuid, ''TENANT'', assumed);
end; ';
ALTER FUNCTION hs_office.membership_tenant(entity hs_office.membership, assumed boolean) OWNER TO postgres;
--
-- Name: membership_uuid_by_id_name(character varying); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.membership_uuid_by_id_name(givenidname character varying) RETURNS uuid
LANGUAGE plpgsql
AS '
declare
singleMatch uuid;
begin
select uuid into strict singleMatch from hs_office.membership_iv iv where iv.idName = givenIdName;
return singleMatch;
end; ';
ALTER FUNCTION hs_office.membership_uuid_by_id_name(givenidname character varying) OWNER TO postgres;
--
-- Name: partner; Type: TABLE; Schema: hs_office; Owner: postgres
--
CREATE TABLE hs_office.partner (
uuid uuid,
version integer DEFAULT 0 NOT NULL,
partnernumber numeric(5,0) NOT NULL,
partnerreluuid uuid NOT NULL,
detailsuuid uuid NOT NULL
);
ALTER TABLE hs_office.partner OWNER TO postgres;
--
-- Name: partner_admin(hs_office.partner, boolean); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.partner_admin(entity hs_office.partner, assumed boolean DEFAULT true) RETURNS rbac.roledescriptor
LANGUAGE plpgsql STRICT
AS '
begin
return rbac.roleDescriptorOf(''hs_office.partner'', entity.uuid, ''ADMIN'', assumed);
end; ';
ALTER FUNCTION hs_office.partner_admin(entity hs_office.partner, assumed boolean) OWNER TO postgres;
--
-- Name: partner_agent(hs_office.partner, boolean); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.partner_agent(entity hs_office.partner, assumed boolean DEFAULT true) RETURNS rbac.roledescriptor
LANGUAGE plpgsql STRICT
AS '
begin
return rbac.roleDescriptorOf(''hs_office.partner'', entity.uuid, ''AGENT'', assumed);
end; ';
ALTER FUNCTION hs_office.partner_agent(entity hs_office.partner, assumed boolean) OWNER TO postgres;
--
-- Name: partner_build_rbac_system(hs_office.partner); Type: PROCEDURE; Schema: hs_office; Owner: postgres
--
CREATE PROCEDURE hs_office.partner_build_rbac_system(IN new hs_office.partner)
LANGUAGE plpgsql
AS '
declare
newPartnerRel hs_office.relation;
newPartnerDetails hs_office.partner_details;
begin
call rbac.enterTriggerForObjectUuid(NEW.uuid);
SELECT * FROM hs_office.relation WHERE uuid = NEW.partnerRelUuid INTO newPartnerRel;
assert newPartnerRel.uuid is not null, format(''newPartnerRel must not be null for NEW.partnerRelUuid = %s of hs_office.partner'', NEW.partnerRelUuid);
SELECT * FROM hs_office.partner_details WHERE uuid = NEW.detailsUuid INTO newPartnerDetails;
assert newPartnerDetails.uuid is not null, format(''newPartnerDetails must not be null for NEW.detailsUuid = %s of hs_office.partner'', NEW.detailsUuid);
call rbac.grantPermissionToRole(rbac.createPermission(NEW.uuid, ''DELETE''), hs_office.relation_OWNER(newPartnerRel));
call rbac.grantPermissionToRole(rbac.createPermission(NEW.uuid, ''SELECT''), hs_office.relation_TENANT(newPartnerRel));
call rbac.grantPermissionToRole(rbac.createPermission(NEW.uuid, ''UPDATE''), hs_office.relation_ADMIN(newPartnerRel));
call rbac.grantPermissionToRole(rbac.createPermission(newPartnerDetails.uuid, ''DELETE''), hs_office.relation_OWNER(newPartnerRel));
call rbac.grantPermissionToRole(rbac.createPermission(newPartnerDetails.uuid, ''SELECT''), hs_office.relation_AGENT(newPartnerRel));
call rbac.grantPermissionToRole(rbac.createPermission(newPartnerDetails.uuid, ''UPDATE''), hs_office.relation_AGENT(newPartnerRel));
call rbac.leaveTriggerForObjectUuid(NEW.uuid);
end; ';
ALTER PROCEDURE hs_office.partner_build_rbac_system(IN new hs_office.partner) OWNER TO postgres;
--
-- Name: partner_build_rbac_system_after_insert_tf(); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.partner_build_rbac_system_after_insert_tf() RETURNS trigger
LANGUAGE plpgsql STRICT
AS '
begin
call hs_office.partner_build_rbac_system(NEW);
return NEW;
end; ';
ALTER FUNCTION hs_office.partner_build_rbac_system_after_insert_tf() OWNER TO postgres;
--
-- Name: partner_create_test_data(character varying, numeric, character varying, character varying); Type: PROCEDURE; Schema: hs_office; Owner: postgres
--
CREATE PROCEDURE hs_office.partner_create_test_data(IN mandanttradename character varying, IN newpartnernumber numeric, IN partnerpersonname character varying, IN contactcaption character varying)
LANGUAGE plpgsql
AS '
declare
idName varchar;
mandantPerson hs_office.person;
partnerRel hs_office.relation;
relatedPerson hs_office.person;
relatedDetailsUuid uuid;
begin
idName := base.cleanIdentifier( partnerPersonName|| ''-'' || contactCaption);
select p.* from hs_office.person p
where p.tradeName = mandantTradeName
into mandantPerson;
if mandantPerson is null then
raise exception ''mandant "%" not found'', mandantTradeName;
end if;
select p.* from hs_office.person p
where p.tradeName = partnerPersonName or p.familyName = partnerPersonName
into relatedPerson;
select r.* from hs_office.relation r
where r.type = ''PARTNER''
and r.anchoruuid = mandantPerson.uuid and r.holderuuid = relatedPerson.uuid
into partnerRel;
if partnerRel is null then
raise exception ''partnerRel "%"-"%" not found'', mandantPerson.tradename, partnerPersonName;
end if;
raise notice ''creating test partner: %'', idName;
raise notice ''- using partnerRel (%): %'', partnerRel.uuid, partnerRel;
raise notice ''- using person (%): %'', relatedPerson.uuid, relatedPerson;
if relatedPerson.persontype = ''NP'' then
insert
into hs_office.partner_details (uuid, birthName, birthday, birthPlace)
values (uuid_generate_v4(), ''Meyer'', ''1987-10-31'', ''Hamburg'')
returning uuid into relatedDetailsUuid;
else
insert
into hs_office.partner_details (uuid, registrationOffice, registrationNumber)
values (uuid_generate_v4(), ''Hamburg'', ''RegNo123456789'')
returning uuid into relatedDetailsUuid;
end if;
insert
into hs_office.partner (uuid, partnerNumber, partnerRelUuid, detailsUuid)
values (uuid_generate_v4(), newPartnerNumber, partnerRel.uuid, relatedDetailsUuid);
end; ';
ALTER PROCEDURE hs_office.partner_create_test_data(IN mandanttradename character varying, IN newpartnernumber numeric, IN partnerpersonname character varying, IN contactcaption character varying) OWNER TO postgres;
--
-- Name: partner_delete_dependents_tf(); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.partner_delete_dependents_tf() RETURNS trigger
LANGUAGE plpgsql
AS '
declare
counter integer;
begin
DELETE FROM hs_office.partner_details d WHERE d.uuid = OLD.detailsUuid;
GET DIAGNOSTICS counter = ROW_COUNT;
if counter = 0 then
raise exception ''partner details % could not be deleted'', OLD.detailsUuid;
end if;
DELETE FROM hs_office.relation r WHERE r.uuid = OLD.partnerRelUuid;
GET DIAGNOSTICS counter = ROW_COUNT;
if counter = 0 then
raise exception ''partner relation % could not be deleted'', OLD.partnerRelUuid;
end if;
RETURN OLD;
end; ';
ALTER FUNCTION hs_office.partner_delete_dependents_tf() OWNER TO postgres;
--
-- Name: partner_delete_legacy_id_mapping_tf(); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.partner_delete_legacy_id_mapping_tf() RETURNS trigger
LANGUAGE plpgsql STRICT
AS '
begin
if TG_OP <> ''DELETE'' then
raise exception ''invalid usage of trigger'';
end if;
DELETE FROM hs_office.partner_legacy_id
WHERE uuid = OLD.uuid;
return OLD;
end; ';
ALTER FUNCTION hs_office.partner_delete_legacy_id_mapping_tf() OWNER TO postgres;
--
-- Name: partner_details; Type: TABLE; Schema: hs_office; Owner: postgres
--
CREATE TABLE hs_office.partner_details (
uuid uuid,
version integer DEFAULT 0 NOT NULL,
registrationoffice character varying(96),
registrationnumber character varying(96),
birthplace character varying(96),
birthname character varying(96),
birthday date,
dateofdeath date
);
ALTER TABLE hs_office.partner_details OWNER TO postgres;
--
-- Name: partner_details_admin(hs_office.partner_details, boolean); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.partner_details_admin(entity hs_office.partner_details, assumed boolean DEFAULT true) RETURNS rbac.roledescriptor
LANGUAGE plpgsql STRICT
AS '
begin
return rbac.roleDescriptorOf(''hs_office.partner_details'', entity.uuid, ''ADMIN'', assumed);
end; ';
ALTER FUNCTION hs_office.partner_details_admin(entity hs_office.partner_details, assumed boolean) OWNER TO postgres;
--
-- Name: partner_details_agent(hs_office.partner_details, boolean); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.partner_details_agent(entity hs_office.partner_details, assumed boolean DEFAULT true) RETURNS rbac.roledescriptor
LANGUAGE plpgsql STRICT
AS '
begin
return rbac.roleDescriptorOf(''hs_office.partner_details'', entity.uuid, ''AGENT'', assumed);
end; ';
ALTER FUNCTION hs_office.partner_details_agent(entity hs_office.partner_details, assumed boolean) OWNER TO postgres;
--
-- Name: partner_details_build_rbac_system(hs_office.partner_details); Type: PROCEDURE; Schema: hs_office; Owner: postgres
--
CREATE PROCEDURE hs_office.partner_details_build_rbac_system(IN new hs_office.partner_details)
LANGUAGE plpgsql
AS '
declare
begin
call rbac.enterTriggerForObjectUuid(NEW.uuid);
call rbac.leaveTriggerForObjectUuid(NEW.uuid);
end; ';
ALTER PROCEDURE hs_office.partner_details_build_rbac_system(IN new hs_office.partner_details) OWNER TO postgres;
--
-- Name: partner_details_build_rbac_system_after_insert_tf(); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.partner_details_build_rbac_system_after_insert_tf() RETURNS trigger
LANGUAGE plpgsql STRICT
AS '
begin
call hs_office.partner_details_build_rbac_system(NEW);
return NEW;
end; ';
ALTER FUNCTION hs_office.partner_details_build_rbac_system_after_insert_tf() OWNER TO postgres;
--
-- Name: partner_details_grants_insert_to_global_tf(); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.partner_details_grants_insert_to_global_tf() RETURNS trigger
LANGUAGE plpgsql STRICT
AS '
begin
call rbac.grantPermissionToRole(
rbac.createPermission(NEW.uuid, ''INSERT'', ''hs_office.partner_details''),
rbac.global_ADMIN());
return NEW;
end; ';
ALTER FUNCTION hs_office.partner_details_grants_insert_to_global_tf() OWNER TO postgres;
--
-- Name: partner_details_guest(hs_office.partner_details, boolean); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.partner_details_guest(entity hs_office.partner_details, assumed boolean DEFAULT true) RETURNS rbac.roledescriptor
LANGUAGE plpgsql STRICT
AS '
begin
return rbac.roleDescriptorOf(''hs_office.partner_details'', entity.uuid, ''GUEST'', assumed);
end; ';
ALTER FUNCTION hs_office.partner_details_guest(entity hs_office.partner_details, assumed boolean) OWNER TO postgres;
--
-- Name: partner_details_id_name_by_uuid(uuid); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.partner_details_id_name_by_uuid(givenuuid uuid) RETURNS character varying
LANGUAGE sql STRICT
AS '
select idName from hs_office.partner_details_iv iv where iv.uuid = givenUuid;
';
ALTER FUNCTION hs_office.partner_details_id_name_by_uuid(givenuuid uuid) OWNER TO postgres;
--
-- Name: partner_details_insert_permission_check_tf(); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.partner_details_insert_permission_check_tf() RETURNS trigger
LANGUAGE plpgsql
AS '
declare
superObjectUuid uuid;
begin
if rbac.isGlobalAdmin() then
return NEW;
end if;
raise exception ''[403] insert into hs_office.partner_details values(%) not allowed for current subjects % (%)'',
NEW, base.currentSubjects(), rbac.currentSubjectOrAssumedRolesUuids();
end; ';
ALTER FUNCTION hs_office.partner_details_insert_permission_check_tf() OWNER TO postgres;
--
-- Name: partner_details_instead_of_delete_tf(); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.partner_details_instead_of_delete_tf() RETURNS trigger
LANGUAGE plpgsql
AS '
begin
if old.uuid in (select rbac.queryAccessibleObjectUuidsOfSubjectIds(''DELETE'', ''hs_office.partner_details'', rbac.currentSubjectOrAssumedRolesUuids())) then
delete from hs_office.partner_details p where p.uuid = old.uuid;
return old;
end if;
raise exception ''[403] Subject % is not allowed to delete hs_office.partner_details uuid %'', rbac.currentSubjectOrAssumedRolesUuids(), old.uuid;
end; ';
ALTER FUNCTION hs_office.partner_details_instead_of_delete_tf() OWNER TO postgres;
--
-- Name: partner_details_instead_of_insert_tf(); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.partner_details_instead_of_insert_tf() RETURNS trigger
LANGUAGE plpgsql
AS '
declare
newTargetRow hs_office.partner_details;
begin
insert
into hs_office.partner_details (uuid, version, registrationoffice, registrationnumber, birthplace, birthname, birthday, dateofdeath)
values (new.uuid, new.version, new.registrationoffice, new.registrationnumber, new.birthplace, new.birthname, new.birthday, new.dateofdeath)
returning * into newTargetRow;
return newTargetRow;
end; ';
ALTER FUNCTION hs_office.partner_details_instead_of_insert_tf() OWNER TO postgres;
--
-- Name: partner_details_instead_of_update_tf(); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.partner_details_instead_of_update_tf() RETURNS trigger
LANGUAGE plpgsql
AS '
begin
if old.uuid in (select rbac.queryAccessibleObjectUuidsOfSubjectIds(''UPDATE'', ''hs_office.partner_details'', rbac.currentSubjectOrAssumedRolesUuids())) then
update hs_office.partner_details
set
registrationOffice = new.registrationOffice,
registrationNumber = new.registrationNumber,
birthPlace = new.birthPlace,
birthName = new.birthName,
birthday = new.birthday,
dateOfDeath = new.dateOfDeath
where uuid = old.uuid;
return old;
end if;
raise exception ''[403] Subject % is not allowed to update hs_office.partner_details uuid %'', rbac.currentSubjectOrAssumedRolesUuids(), old.uuid;
end; ';
ALTER FUNCTION hs_office.partner_details_instead_of_update_tf() OWNER TO postgres;
--
-- Name: partner_details_owner(hs_office.partner_details, boolean); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.partner_details_owner(entity hs_office.partner_details, assumed boolean DEFAULT true) RETURNS rbac.roledescriptor
LANGUAGE plpgsql STRICT
AS '
begin
return rbac.roleDescriptorOf(''hs_office.partner_details'', entity.uuid, ''OWNER'', assumed);
end; ';
ALTER FUNCTION hs_office.partner_details_owner(entity hs_office.partner_details, assumed boolean) OWNER TO postgres;
--
-- Name: partner_details_rebuild_rbac_system(); Type: PROCEDURE; Schema: hs_office; Owner: postgres
--
CREATE PROCEDURE hs_office.partner_details_rebuild_rbac_system()
LANGUAGE plpgsql
AS '
DECLARE
DECLARE
row hs_office.partner_details;
grantsAfter numeric;
grantsBefore numeric;
BEGIN
SELECT count(*) INTO grantsBefore FROM rbac.grant;
FOR row IN SELECT * FROM hs_office.partner_details LOOP
DELETE FROM rbac.grant g
WHERE g.grantedbytriggerof = row.uuid;
CALL hs_office.partner_details_build_rbac_system(row);
END LOOP;
select count(*) into grantsAfter from rbac.grant;
raise notice ''total grant count before -> after: % -> %'', grantsBefore, grantsAfter;
END;
';
ALTER PROCEDURE hs_office.partner_details_rebuild_rbac_system() OWNER TO postgres;
--
-- Name: partner_details_referrer(hs_office.partner_details); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.partner_details_referrer(entity hs_office.partner_details) RETURNS rbac.roledescriptor
LANGUAGE plpgsql STRICT
AS '
begin
return rbac.roleDescriptorOf(''hs_office.partner_details'', entity.uuid, ''REFERRER'');
end; ';
ALTER FUNCTION hs_office.partner_details_referrer(entity hs_office.partner_details) OWNER TO postgres;
--
-- Name: partner_details_tenant(hs_office.partner_details, boolean); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.partner_details_tenant(entity hs_office.partner_details, assumed boolean DEFAULT true) RETURNS rbac.roledescriptor
LANGUAGE plpgsql STRICT
AS '
begin
return rbac.roleDescriptorOf(''hs_office.partner_details'', entity.uuid, ''TENANT'', assumed);
end; ';
ALTER FUNCTION hs_office.partner_details_tenant(entity hs_office.partner_details, assumed boolean) OWNER TO postgres;
--
-- Name: partner_details_uuid_by_id_name(character varying); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.partner_details_uuid_by_id_name(givenidname character varying) RETURNS uuid
LANGUAGE plpgsql
AS '
declare
singleMatch uuid;
begin
select uuid into strict singleMatch from hs_office.partner_details_iv iv where iv.idName = givenIdName;
return singleMatch;
end; ';
ALTER FUNCTION hs_office.partner_details_uuid_by_id_name(givenidname character varying) OWNER TO postgres;
--
-- Name: partner_grants_insert_to_global_tf(); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.partner_grants_insert_to_global_tf() RETURNS trigger
LANGUAGE plpgsql STRICT
AS '
begin
call rbac.grantPermissionToRole(
rbac.createPermission(NEW.uuid, ''INSERT'', ''hs_office.partner''),
rbac.global_ADMIN());
return NEW;
end; ';
ALTER FUNCTION hs_office.partner_grants_insert_to_global_tf() OWNER TO postgres;
--
-- Name: partner_guest(hs_office.partner, boolean); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.partner_guest(entity hs_office.partner, assumed boolean DEFAULT true) RETURNS rbac.roledescriptor
LANGUAGE plpgsql STRICT
AS '
begin
return rbac.roleDescriptorOf(''hs_office.partner'', entity.uuid, ''GUEST'', assumed);
end; ';
ALTER FUNCTION hs_office.partner_guest(entity hs_office.partner, assumed boolean) OWNER TO postgres;
--
-- Name: partner_id_name_by_uuid(uuid); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.partner_id_name_by_uuid(givenuuid uuid) RETURNS character varying
LANGUAGE sql STRICT
AS '
select idName from hs_office.partner_iv iv where iv.uuid = givenUuid;
';
ALTER FUNCTION hs_office.partner_id_name_by_uuid(givenuuid uuid) OWNER TO postgres;
--
-- Name: partner_insert_legacy_id_mapping_tf(); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.partner_insert_legacy_id_mapping_tf() RETURNS trigger
LANGUAGE plpgsql STRICT
AS '
begin
if TG_OP <> ''INSERT'' then
raise exception ''invalid usage of trigger'';
end if;
INSERT INTO hs_office.partner_legacy_id VALUES
(NEW.uuid, nextVal(''hs_office.partner_legacy_id_seq''));
return NEW;
end; ';
ALTER FUNCTION hs_office.partner_insert_legacy_id_mapping_tf() OWNER TO postgres;
--
-- Name: partner_insert_permission_check_tf(); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.partner_insert_permission_check_tf() RETURNS trigger
LANGUAGE plpgsql
AS '
declare
superObjectUuid uuid;
begin
if rbac.isGlobalAdmin() then
return NEW;
end if;
raise exception ''[403] insert into hs_office.partner values(%) not allowed for current subjects % (%)'',
NEW, base.currentSubjects(), rbac.currentSubjectOrAssumedRolesUuids();
end; ';
ALTER FUNCTION hs_office.partner_insert_permission_check_tf() OWNER TO postgres;
--
-- Name: partner_instead_of_delete_tf(); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.partner_instead_of_delete_tf() RETURNS trigger
LANGUAGE plpgsql
AS '
begin
if old.uuid in (select rbac.queryAccessibleObjectUuidsOfSubjectIds(''DELETE'', ''hs_office.partner'', rbac.currentSubjectOrAssumedRolesUuids())) then
delete from hs_office.partner p where p.uuid = old.uuid;
return old;
end if;
raise exception ''[403] Subject % is not allowed to delete hs_office.partner uuid %'', rbac.currentSubjectOrAssumedRolesUuids(), old.uuid;
end; ';
ALTER FUNCTION hs_office.partner_instead_of_delete_tf() OWNER TO postgres;
--
-- Name: partner_instead_of_insert_tf(); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.partner_instead_of_insert_tf() RETURNS trigger
LANGUAGE plpgsql
AS '
declare
newTargetRow hs_office.partner;
begin
insert
into hs_office.partner (uuid, version, partnernumber, partnerreluuid, detailsuuid)
values (new.uuid, new.version, new.partnernumber, new.partnerreluuid, new.detailsuuid)
returning * into newTargetRow;
return newTargetRow;
end; ';
ALTER FUNCTION hs_office.partner_instead_of_insert_tf() OWNER TO postgres;
--
-- Name: partner_instead_of_update_tf(); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.partner_instead_of_update_tf() RETURNS trigger
LANGUAGE plpgsql
AS '
begin
if old.uuid in (select rbac.queryAccessibleObjectUuidsOfSubjectIds(''UPDATE'', ''hs_office.partner'', rbac.currentSubjectOrAssumedRolesUuids())) then
update hs_office.partner
set
partnerRelUuid = new.partnerRelUuid
where uuid = old.uuid;
return old;
end if;
raise exception ''[403] Subject % is not allowed to update hs_office.partner uuid %'', rbac.currentSubjectOrAssumedRolesUuids(), old.uuid;
end; ';
ALTER FUNCTION hs_office.partner_instead_of_update_tf() OWNER TO postgres;
--
-- Name: partner_owner(hs_office.partner, boolean); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.partner_owner(entity hs_office.partner, assumed boolean DEFAULT true) RETURNS rbac.roledescriptor
LANGUAGE plpgsql STRICT
AS '
begin
return rbac.roleDescriptorOf(''hs_office.partner'', entity.uuid, ''OWNER'', assumed);
end; ';
ALTER FUNCTION hs_office.partner_owner(entity hs_office.partner, assumed boolean) OWNER TO postgres;
--
-- Name: partner_rebuild_rbac_system(); Type: PROCEDURE; Schema: hs_office; Owner: postgres
--
CREATE PROCEDURE hs_office.partner_rebuild_rbac_system()
LANGUAGE plpgsql
AS '
DECLARE
DECLARE
row hs_office.partner;
grantsAfter numeric;
grantsBefore numeric;
BEGIN
SELECT count(*) INTO grantsBefore FROM rbac.grant;
FOR row IN SELECT * FROM hs_office.partner LOOP
DELETE FROM rbac.grant g
WHERE g.grantedbytriggerof = row.uuid;
CALL hs_office.partner_build_rbac_system(row);
END LOOP;
select count(*) into grantsAfter from rbac.grant;
raise notice ''total grant count before -> after: % -> %'', grantsBefore, grantsAfter;
END;
';
ALTER PROCEDURE hs_office.partner_rebuild_rbac_system() OWNER TO postgres;
--
-- Name: partner_referrer(hs_office.partner); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.partner_referrer(entity hs_office.partner) RETURNS rbac.roledescriptor
LANGUAGE plpgsql STRICT
AS '
begin
return rbac.roleDescriptorOf(''hs_office.partner'', entity.uuid, ''REFERRER'');
end; ';
ALTER FUNCTION hs_office.partner_referrer(entity hs_office.partner) OWNER TO postgres;
--
-- Name: partner_tenant(hs_office.partner, boolean); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.partner_tenant(entity hs_office.partner, assumed boolean DEFAULT true) RETURNS rbac.roledescriptor
LANGUAGE plpgsql STRICT
AS '
begin
return rbac.roleDescriptorOf(''hs_office.partner'', entity.uuid, ''TENANT'', assumed);
end; ';
ALTER FUNCTION hs_office.partner_tenant(entity hs_office.partner, assumed boolean) OWNER TO postgres;
--
-- Name: partner_update_rbac_system(hs_office.partner, hs_office.partner); Type: PROCEDURE; Schema: hs_office; Owner: postgres
--
CREATE PROCEDURE hs_office.partner_update_rbac_system(IN old hs_office.partner, IN new hs_office.partner)
LANGUAGE plpgsql
AS '
declare
oldPartnerRel hs_office.relation;
newPartnerRel hs_office.relation;
oldPartnerDetails hs_office.partner_details;
newPartnerDetails hs_office.partner_details;
begin
call rbac.enterTriggerForObjectUuid(NEW.uuid);
SELECT * FROM hs_office.relation WHERE uuid = OLD.partnerRelUuid INTO oldPartnerRel;
assert oldPartnerRel.uuid is not null, format(''oldPartnerRel must not be null for OLD.partnerRelUuid = %s of hs_office.partner'', OLD.partnerRelUuid);
SELECT * FROM hs_office.relation WHERE uuid = NEW.partnerRelUuid INTO newPartnerRel;
assert newPartnerRel.uuid is not null, format(''newPartnerRel must not be null for NEW.partnerRelUuid = %s of hs_office.partner'', NEW.partnerRelUuid);
SELECT * FROM hs_office.partner_details WHERE uuid = OLD.detailsUuid INTO oldPartnerDetails;
assert oldPartnerDetails.uuid is not null, format(''oldPartnerDetails must not be null for OLD.detailsUuid = %s of hs_office.partner'', OLD.detailsUuid);
SELECT * FROM hs_office.partner_details WHERE uuid = NEW.detailsUuid INTO newPartnerDetails;
assert newPartnerDetails.uuid is not null, format(''newPartnerDetails must not be null for NEW.detailsUuid = %s of hs_office.partner'', NEW.detailsUuid);
if NEW.partnerRelUuid <> OLD.partnerRelUuid then
call rbac.revokePermissionFromRole(rbac.getPermissionId(OLD.uuid, ''DELETE''), hs_office.relation_OWNER(oldPartnerRel));
call rbac.grantPermissionToRole(rbac.createPermission(NEW.uuid, ''DELETE''), hs_office.relation_OWNER(newPartnerRel));
call rbac.revokePermissionFromRole(rbac.getPermissionId(OLD.uuid, ''UPDATE''), hs_office.relation_ADMIN(oldPartnerRel));
call rbac.grantPermissionToRole(rbac.createPermission(NEW.uuid, ''UPDATE''), hs_office.relation_ADMIN(newPartnerRel));
call rbac.revokePermissionFromRole(rbac.getPermissionId(OLD.uuid, ''SELECT''), hs_office.relation_TENANT(oldPartnerRel));
call rbac.grantPermissionToRole(rbac.createPermission(NEW.uuid, ''SELECT''), hs_office.relation_TENANT(newPartnerRel));
call rbac.revokePermissionFromRole(rbac.getPermissionId(oldPartnerDetails.uuid, ''DELETE''), hs_office.relation_OWNER(oldPartnerRel));
call rbac.grantPermissionToRole(rbac.createPermission(newPartnerDetails.uuid, ''DELETE''), hs_office.relation_OWNER(newPartnerRel));
call rbac.revokePermissionFromRole(rbac.getPermissionId(oldPartnerDetails.uuid, ''UPDATE''), hs_office.relation_AGENT(oldPartnerRel));
call rbac.grantPermissionToRole(rbac.createPermission(newPartnerDetails.uuid, ''UPDATE''), hs_office.relation_AGENT(newPartnerRel));
call rbac.revokePermissionFromRole(rbac.getPermissionId(oldPartnerDetails.uuid, ''SELECT''), hs_office.relation_AGENT(oldPartnerRel));
call rbac.grantPermissionToRole(rbac.createPermission(newPartnerDetails.uuid, ''SELECT''), hs_office.relation_AGENT(newPartnerRel));
end if;
call rbac.leaveTriggerForObjectUuid(NEW.uuid);
end; ';
ALTER PROCEDURE hs_office.partner_update_rbac_system(IN old hs_office.partner, IN new hs_office.partner) OWNER TO postgres;
--
-- Name: partner_update_rbac_system_after_update_tf(); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.partner_update_rbac_system_after_update_tf() RETURNS trigger
LANGUAGE plpgsql STRICT
AS '
begin
call hs_office.partner_update_rbac_system(OLD, NEW);
return NEW;
end; ';
ALTER FUNCTION hs_office.partner_update_rbac_system_after_update_tf() OWNER TO postgres;
--
-- Name: partner_uuid_by_id_name(character varying); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.partner_uuid_by_id_name(givenidname character varying) RETURNS uuid
LANGUAGE plpgsql
AS '
declare
singleMatch uuid;
begin
select uuid into strict singleMatch from hs_office.partner_iv iv where iv.idName = givenIdName;
return singleMatch;
end; ';
ALTER FUNCTION hs_office.partner_uuid_by_id_name(givenidname character varying) OWNER TO postgres;
--
-- Name: person; Type: TABLE; Schema: hs_office; Owner: postgres
--
CREATE TABLE hs_office.person (
uuid uuid,
version integer DEFAULT 0 NOT NULL,
persontype hs_office.persontype NOT NULL,
tradename character varying(96),
salutation character varying(30),
title character varying(20),
givenname character varying(48),
familyname character varying(48)
);
ALTER TABLE hs_office.person OWNER TO postgres;
--
-- Name: person_admin(hs_office.person, boolean); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.person_admin(entity hs_office.person, assumed boolean DEFAULT true) RETURNS rbac.roledescriptor
LANGUAGE plpgsql STRICT
AS '
begin
return rbac.roleDescriptorOf(''hs_office.person'', entity.uuid, ''ADMIN'', assumed);
end; ';
ALTER FUNCTION hs_office.person_admin(entity hs_office.person, assumed boolean) OWNER TO postgres;
--
-- Name: person_agent(hs_office.person, boolean); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.person_agent(entity hs_office.person, assumed boolean DEFAULT true) RETURNS rbac.roledescriptor
LANGUAGE plpgsql STRICT
AS '
begin
return rbac.roleDescriptorOf(''hs_office.person'', entity.uuid, ''AGENT'', assumed);
end; ';
ALTER FUNCTION hs_office.person_agent(entity hs_office.person, assumed boolean) OWNER TO postgres;
--
-- Name: person_build_rbac_system(hs_office.person); Type: PROCEDURE; Schema: hs_office; Owner: postgres
--
CREATE PROCEDURE hs_office.person_build_rbac_system(IN new hs_office.person)
LANGUAGE plpgsql
AS '
declare
begin
call rbac.enterTriggerForObjectUuid(NEW.uuid);
perform rbac.defineRoleWithGrants(
hs_office.person_OWNER(NEW),
permissions => array[''DELETE''],
incomingSuperRoles => array[rbac.global_ADMIN()],
subjectUuids => array[rbac.currentSubjectUuid()]
);
perform rbac.defineRoleWithGrants(
hs_office.person_ADMIN(NEW),
permissions => array[''UPDATE''],
incomingSuperRoles => array[hs_office.person_OWNER(NEW)]
);
perform rbac.defineRoleWithGrants(
hs_office.person_REFERRER(NEW),
permissions => array[''SELECT''],
incomingSuperRoles => array[hs_office.person_ADMIN(NEW)]
);
call rbac.leaveTriggerForObjectUuid(NEW.uuid);
end; ';
ALTER PROCEDURE hs_office.person_build_rbac_system(IN new hs_office.person) OWNER TO postgres;
--
-- Name: person_build_rbac_system_after_insert_tf(); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.person_build_rbac_system_after_insert_tf() RETURNS trigger
LANGUAGE plpgsql STRICT
AS '
begin
call hs_office.person_build_rbac_system(NEW);
return NEW;
end; ';
ALTER FUNCTION hs_office.person_build_rbac_system_after_insert_tf() OWNER TO postgres;
--
-- Name: person_create_test_data(hs_office.persontype, character varying, character varying, character varying); Type: PROCEDURE; Schema: hs_office; Owner: postgres
--
CREATE PROCEDURE hs_office.person_create_test_data(IN newpersontype hs_office.persontype, IN newtradename character varying, IN newfamilyname character varying DEFAULT NULL::character varying, IN newgivenname character varying DEFAULT NULL::character varying)
LANGUAGE plpgsql
AS '
declare
fullName varchar;
emailAddr varchar;
begin
fullName := concat_ws('', '', newTradeName, newFamilyName, newGivenName);
emailAddr = ''person-'' || left(base.cleanIdentifier(fullName), 32) || ''@example.com'';
call base.defineContext(''creating person test-data'');
perform rbac.create_subject(emailAddr);
call base.defineContext(''creating person test-data'', null, emailAddr);
raise notice ''creating test person: % by %'', fullName, emailAddr;
insert
into hs_office.person (persontype, tradename, givenname, familyname)
values (newPersonType, newTradeName, newGivenName, newFamilyName);
end; ';
ALTER PROCEDURE hs_office.person_create_test_data(IN newpersontype hs_office.persontype, IN newtradename character varying, IN newfamilyname character varying, IN newgivenname character varying) OWNER TO postgres;
--
-- Name: person_guest(hs_office.person, boolean); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.person_guest(entity hs_office.person, assumed boolean DEFAULT true) RETURNS rbac.roledescriptor
LANGUAGE plpgsql STRICT
AS '
begin
return rbac.roleDescriptorOf(''hs_office.person'', entity.uuid, ''GUEST'', assumed);
end; ';
ALTER FUNCTION hs_office.person_guest(entity hs_office.person, assumed boolean) OWNER TO postgres;
--
-- Name: person_id_name_by_uuid(uuid); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.person_id_name_by_uuid(givenuuid uuid) RETURNS character varying
LANGUAGE sql STRICT
AS '
select idName from hs_office.person_iv iv where iv.uuid = givenUuid;
';
ALTER FUNCTION hs_office.person_id_name_by_uuid(givenuuid uuid) OWNER TO postgres;
--
-- Name: person_instead_of_delete_tf(); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.person_instead_of_delete_tf() RETURNS trigger
LANGUAGE plpgsql
AS '
begin
if old.uuid in (select rbac.queryAccessibleObjectUuidsOfSubjectIds(''DELETE'', ''hs_office.person'', rbac.currentSubjectOrAssumedRolesUuids())) then
delete from hs_office.person p where p.uuid = old.uuid;
return old;
end if;
raise exception ''[403] Subject % is not allowed to delete hs_office.person uuid %'', rbac.currentSubjectOrAssumedRolesUuids(), old.uuid;
end; ';
ALTER FUNCTION hs_office.person_instead_of_delete_tf() OWNER TO postgres;
--
-- Name: person_instead_of_insert_tf(); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.person_instead_of_insert_tf() RETURNS trigger
LANGUAGE plpgsql
AS '
declare
newTargetRow hs_office.person;
begin
insert
into hs_office.person (uuid, version, persontype, tradename, salutation, title, givenname, familyname)
values (new.uuid, new.version, new.persontype, new.tradename, new.salutation, new.title, new.givenname, new.familyname)
returning * into newTargetRow;
return newTargetRow;
end; ';
ALTER FUNCTION hs_office.person_instead_of_insert_tf() OWNER TO postgres;
--
-- Name: person_instead_of_update_tf(); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.person_instead_of_update_tf() RETURNS trigger
LANGUAGE plpgsql
AS '
begin
if old.uuid in (select rbac.queryAccessibleObjectUuidsOfSubjectIds(''UPDATE'', ''hs_office.person'', rbac.currentSubjectOrAssumedRolesUuids())) then
update hs_office.person
set
personType = new.personType,
title = new.title,
salutation = new.salutation,
tradeName = new.tradeName,
givenName = new.givenName,
familyName = new.familyName
where uuid = old.uuid;
return old;
end if;
raise exception ''[403] Subject % is not allowed to update hs_office.person uuid %'', rbac.currentSubjectOrAssumedRolesUuids(), old.uuid;
end; ';
ALTER FUNCTION hs_office.person_instead_of_update_tf() OWNER TO postgres;
--
-- Name: person_owner(hs_office.person, boolean); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.person_owner(entity hs_office.person, assumed boolean DEFAULT true) RETURNS rbac.roledescriptor
LANGUAGE plpgsql STRICT
AS '
begin
return rbac.roleDescriptorOf(''hs_office.person'', entity.uuid, ''OWNER'', assumed);
end; ';
ALTER FUNCTION hs_office.person_owner(entity hs_office.person, assumed boolean) OWNER TO postgres;
--
-- Name: person_rebuild_rbac_system(); Type: PROCEDURE; Schema: hs_office; Owner: postgres
--
CREATE PROCEDURE hs_office.person_rebuild_rbac_system()
LANGUAGE plpgsql
AS '
DECLARE
DECLARE
row hs_office.person;
grantsAfter numeric;
grantsBefore numeric;
BEGIN
SELECT count(*) INTO grantsBefore FROM rbac.grant;
FOR row IN SELECT * FROM hs_office.person LOOP
DELETE FROM rbac.grant g
WHERE g.grantedbytriggerof = row.uuid;
CALL hs_office.person_build_rbac_system(row);
END LOOP;
select count(*) into grantsAfter from rbac.grant;
raise notice ''total grant count before -> after: % -> %'', grantsBefore, grantsAfter;
END;
';
ALTER PROCEDURE hs_office.person_rebuild_rbac_system() OWNER TO postgres;
--
-- Name: person_referrer(hs_office.person); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.person_referrer(entity hs_office.person) RETURNS rbac.roledescriptor
LANGUAGE plpgsql STRICT
AS '
begin
return rbac.roleDescriptorOf(''hs_office.person'', entity.uuid, ''REFERRER'');
end; ';
ALTER FUNCTION hs_office.person_referrer(entity hs_office.person) OWNER TO postgres;
--
-- Name: person_tenant(hs_office.person, boolean); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.person_tenant(entity hs_office.person, assumed boolean DEFAULT true) RETURNS rbac.roledescriptor
LANGUAGE plpgsql STRICT
AS '
begin
return rbac.roleDescriptorOf(''hs_office.person'', entity.uuid, ''TENANT'', assumed);
end; ';
ALTER FUNCTION hs_office.person_tenant(entity hs_office.person, assumed boolean) OWNER TO postgres;
--
-- Name: person_uuid_by_id_name(character varying); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.person_uuid_by_id_name(givenidname character varying) RETURNS uuid
LANGUAGE plpgsql
AS '
declare
singleMatch uuid;
begin
select uuid into strict singleMatch from hs_office.person_iv iv where iv.idName = givenIdName;
return singleMatch;
end; ';
ALTER FUNCTION hs_office.person_uuid_by_id_name(givenidname character varying) OWNER TO postgres;
--
-- Name: relation; Type: TABLE; Schema: hs_office; Owner: postgres
--
CREATE TABLE hs_office.relation (
uuid uuid,
version integer DEFAULT 0 NOT NULL,
anchoruuid uuid NOT NULL,
holderuuid uuid NOT NULL,
contactuuid uuid,
type hs_office.relationtype NOT NULL,
mark character varying(24)
);
ALTER TABLE hs_office.relation OWNER TO postgres;
--
-- Name: relation_admin(hs_office.relation, boolean); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.relation_admin(entity hs_office.relation, assumed boolean DEFAULT true) RETURNS rbac.roledescriptor
LANGUAGE plpgsql STRICT
AS '
begin
return rbac.roleDescriptorOf(''hs_office.relation'', entity.uuid, ''ADMIN'', assumed);
end; ';
ALTER FUNCTION hs_office.relation_admin(entity hs_office.relation, assumed boolean) OWNER TO postgres;
--
-- Name: relation_agent(hs_office.relation, boolean); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.relation_agent(entity hs_office.relation, assumed boolean DEFAULT true) RETURNS rbac.roledescriptor
LANGUAGE plpgsql STRICT
AS '
begin
return rbac.roleDescriptorOf(''hs_office.relation'', entity.uuid, ''AGENT'', assumed);
end; ';
ALTER FUNCTION hs_office.relation_agent(entity hs_office.relation, assumed boolean) OWNER TO postgres;
--
-- Name: relation_build_rbac_system(hs_office.relation); Type: PROCEDURE; Schema: hs_office; Owner: postgres
--
CREATE PROCEDURE hs_office.relation_build_rbac_system(IN new hs_office.relation)
LANGUAGE plpgsql
AS '
declare
newHolderPerson hs_office.person;
newAnchorPerson hs_office.person;
newContact hs_office.contact;
begin
call rbac.enterTriggerForObjectUuid(NEW.uuid);
SELECT * FROM hs_office.person WHERE uuid = NEW.holderUuid INTO newHolderPerson;
assert newHolderPerson.uuid is not null, format(''newHolderPerson must not be null for NEW.holderUuid = %s of hs_office.relation'', NEW.holderUuid);
SELECT * FROM hs_office.person WHERE uuid = NEW.anchorUuid INTO newAnchorPerson;
assert newAnchorPerson.uuid is not null, format(''newAnchorPerson must not be null for NEW.anchorUuid = %s of hs_office.relation'', NEW.anchorUuid);
SELECT * FROM hs_office.contact WHERE uuid = NEW.contactUuid INTO newContact;
assert newContact.uuid is not null, format(''newContact must not be null for NEW.contactUuid = %s of hs_office.relation'', NEW.contactUuid);
perform rbac.defineRoleWithGrants(
hs_office.relation_OWNER(NEW),
permissions => array[''DELETE''],
incomingSuperRoles => array[rbac.global_ADMIN()],
subjectUuids => array[rbac.currentSubjectUuid()]
);
perform rbac.defineRoleWithGrants(
hs_office.relation_ADMIN(NEW),
permissions => array[''UPDATE''],
incomingSuperRoles => array[hs_office.relation_OWNER(NEW)]
);
perform rbac.defineRoleWithGrants(
hs_office.relation_AGENT(NEW),
incomingSuperRoles => array[hs_office.relation_ADMIN(NEW)]
);
perform rbac.defineRoleWithGrants(
hs_office.relation_TENANT(NEW),
permissions => array[''SELECT''],
incomingSuperRoles => array[
hs_office.contact_ADMIN(newContact),
hs_office.relation_AGENT(NEW)],
outgoingSubRoles => array[
hs_office.contact_REFERRER(newContact),
hs_office.person_REFERRER(newAnchorPerson),
hs_office.person_REFERRER(newHolderPerson)]
);
IF NEW.type = ''REPRESENTATIVE'' THEN
call rbac.grantRoleToRole(hs_office.person_OWNER(newAnchorPerson), hs_office.relation_ADMIN(NEW));
call rbac.grantRoleToRole(hs_office.relation_AGENT(NEW), hs_office.person_ADMIN(newAnchorPerson));
call rbac.grantRoleToRole(hs_office.relation_OWNER(NEW), hs_office.person_ADMIN(newHolderPerson));
ELSE
call rbac.grantRoleToRole(hs_office.relation_AGENT(NEW), hs_office.person_ADMIN(newHolderPerson));
call rbac.grantRoleToRole(hs_office.relation_OWNER(NEW), hs_office.person_ADMIN(newAnchorPerson));
END IF;
call rbac.leaveTriggerForObjectUuid(NEW.uuid);
end; ';
ALTER PROCEDURE hs_office.relation_build_rbac_system(IN new hs_office.relation) OWNER TO postgres;
--
-- Name: relation_build_rbac_system_after_insert_tf(); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.relation_build_rbac_system_after_insert_tf() RETURNS trigger
LANGUAGE plpgsql STRICT
AS '
begin
call hs_office.relation_build_rbac_system(NEW);
return NEW;
end; ';
ALTER FUNCTION hs_office.relation_build_rbac_system_after_insert_tf() OWNER TO postgres;
--
-- Name: relation_create_test_data(integer, integer); Type: PROCEDURE; Schema: hs_office; Owner: postgres
--
CREATE PROCEDURE hs_office.relation_create_test_data(IN startcount integer, IN endcount integer)
LANGUAGE plpgsql
AS '
declare
person hs_office.person;
contact hs_office.contact;
begin
for t in startCount..endCount
loop
select p.* from hs_office.person p where tradeName = base.intToVarChar(t, 4) into person;
select c.* from hs_office.contact c where c.caption = base.intToVarChar(t, 4) || ''#'' || t into contact;
call hs_office.relation_create_test_data(person.uuid, contact.uuid, ''REPRESENTATIVE'');
commit;
end loop;
end; ';
ALTER PROCEDURE hs_office.relation_create_test_data(IN startcount integer, IN endcount integer) OWNER TO postgres;
--
-- Name: relation_create_test_data(character varying, hs_office.relationtype, character varying, character varying, character varying); Type: PROCEDURE; Schema: hs_office; Owner: postgres
--
CREATE PROCEDURE hs_office.relation_create_test_data(IN holderpersonname character varying, IN relationtype hs_office.relationtype, IN anchorpersonname character varying, IN contactcaption character varying, IN mark character varying DEFAULT NULL::character varying)
LANGUAGE plpgsql
AS '
declare
idName varchar;
anchorPerson hs_office.person;
holderPerson hs_office.person;
contact hs_office.contact;
begin
idName := base.cleanIdentifier( anchorPersonName || ''-'' || holderPersonName);
select p.*
into anchorPerson
from hs_office.person p
where p.tradeName = anchorPersonName or p.familyName = anchorPersonName;
if anchorPerson is null then
raise exception ''anchorPerson "%" not found'', anchorPersonName;
end if;
select p.*
into holderPerson
from hs_office.person p
where p.tradeName = holderPersonName or p.familyName = holderPersonName;
if holderPerson is null then
raise exception ''holderPerson "%" not found'', holderPersonName;
end if;
select c.* into contact from hs_office.contact c where c.caption = contactCaption;
if contact is null then
raise exception ''contact "%" not found'', contactCaption;
end if;
raise notice ''creating test relation: %'', idName;
raise notice ''- using anchor person (%): %'', anchorPerson.uuid, anchorPerson;
raise notice ''- using holder person (%): %'', holderPerson.uuid, holderPerson;
raise notice ''- using contact (%): %'', contact.uuid, contact;
insert
into hs_office.relation (uuid, anchoruuid, holderuuid, type, mark, contactUuid)
values (uuid_generate_v4(), anchorPerson.uuid, holderPerson.uuid, relationType, mark, contact.uuid);
end; ';
ALTER PROCEDURE hs_office.relation_create_test_data(IN holderpersonname character varying, IN relationtype hs_office.relationtype, IN anchorpersonname character varying, IN contactcaption character varying, IN mark character varying) OWNER TO postgres;
--
-- Name: relation_grants_insert_to_person_tf(); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.relation_grants_insert_to_person_tf() RETURNS trigger
LANGUAGE plpgsql STRICT
AS '
begin
call rbac.grantPermissionToRole(
rbac.createPermission(NEW.uuid, ''INSERT'', ''hs_office.relation''),
hs_office.person_ADMIN(NEW));
return NEW;
end; ';
ALTER FUNCTION hs_office.relation_grants_insert_to_person_tf() OWNER TO postgres;
--
-- Name: relation_guest(hs_office.relation, boolean); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.relation_guest(entity hs_office.relation, assumed boolean DEFAULT true) RETURNS rbac.roledescriptor
LANGUAGE plpgsql STRICT
AS '
begin
return rbac.roleDescriptorOf(''hs_office.relation'', entity.uuid, ''GUEST'', assumed);
end; ';
ALTER FUNCTION hs_office.relation_guest(entity hs_office.relation, assumed boolean) OWNER TO postgres;
--
-- Name: relation_id_name_by_uuid(uuid); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.relation_id_name_by_uuid(givenuuid uuid) RETURNS character varying
LANGUAGE sql STRICT
AS '
select idName from hs_office.relation_iv iv where iv.uuid = givenUuid;
';
ALTER FUNCTION hs_office.relation_id_name_by_uuid(givenuuid uuid) OWNER TO postgres;
--
-- Name: relation_insert_permission_check_tf(); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.relation_insert_permission_check_tf() RETURNS trigger
LANGUAGE plpgsql
AS '
declare
superObjectUuid uuid;
begin
if rbac.hasInsertPermission(NEW.anchorUuid, ''hs_office.relation'') then
return NEW;
end if;
raise exception ''[403] insert into hs_office.relation values(%) not allowed for current subjects % (%)'',
NEW, base.currentSubjects(), rbac.currentSubjectOrAssumedRolesUuids();
end; ';
ALTER FUNCTION hs_office.relation_insert_permission_check_tf() OWNER TO postgres;
--
-- Name: relation_instead_of_delete_tf(); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.relation_instead_of_delete_tf() RETURNS trigger
LANGUAGE plpgsql
AS '
begin
if old.uuid in (select rbac.queryAccessibleObjectUuidsOfSubjectIds(''DELETE'', ''hs_office.relation'', rbac.currentSubjectOrAssumedRolesUuids())) then
delete from hs_office.relation p where p.uuid = old.uuid;
return old;
end if;
raise exception ''[403] Subject % is not allowed to delete hs_office.relation uuid %'', rbac.currentSubjectOrAssumedRolesUuids(), old.uuid;
end; ';
ALTER FUNCTION hs_office.relation_instead_of_delete_tf() OWNER TO postgres;
--
-- Name: relation_instead_of_insert_tf(); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.relation_instead_of_insert_tf() RETURNS trigger
LANGUAGE plpgsql
AS '
declare
newTargetRow hs_office.relation;
begin
insert
into hs_office.relation (uuid, version, anchoruuid, holderuuid, contactuuid, type, mark)
values (new.uuid, new.version, new.anchoruuid, new.holderuuid, new.contactuuid, new.type, new.mark)
returning * into newTargetRow;
return newTargetRow;
end; ';
ALTER FUNCTION hs_office.relation_instead_of_insert_tf() OWNER TO postgres;
--
-- Name: relation_instead_of_update_tf(); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.relation_instead_of_update_tf() RETURNS trigger
LANGUAGE plpgsql
AS '
begin
if old.uuid in (select rbac.queryAccessibleObjectUuidsOfSubjectIds(''UPDATE'', ''hs_office.relation'', rbac.currentSubjectOrAssumedRolesUuids())) then
update hs_office.relation
set
contactUuid = new.contactUuid
where uuid = old.uuid;
return old;
end if;
raise exception ''[403] Subject % is not allowed to update hs_office.relation uuid %'', rbac.currentSubjectOrAssumedRolesUuids(), old.uuid;
end; ';
ALTER FUNCTION hs_office.relation_instead_of_update_tf() OWNER TO postgres;
--
-- Name: relation_owner(hs_office.relation, boolean); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.relation_owner(entity hs_office.relation, assumed boolean DEFAULT true) RETURNS rbac.roledescriptor
LANGUAGE plpgsql STRICT
AS '
begin
return rbac.roleDescriptorOf(''hs_office.relation'', entity.uuid, ''OWNER'', assumed);
end; ';
ALTER FUNCTION hs_office.relation_owner(entity hs_office.relation, assumed boolean) OWNER TO postgres;
--
-- Name: relation_rebuild_rbac_system(); Type: PROCEDURE; Schema: hs_office; Owner: postgres
--
CREATE PROCEDURE hs_office.relation_rebuild_rbac_system()
LANGUAGE plpgsql
AS '
DECLARE
DECLARE
row hs_office.relation;
grantsAfter numeric;
grantsBefore numeric;
BEGIN
SELECT count(*) INTO grantsBefore FROM rbac.grant;
FOR row IN SELECT * FROM hs_office.relation LOOP
DELETE FROM rbac.grant g
WHERE g.grantedbytriggerof = row.uuid;
CALL hs_office.relation_build_rbac_system(row);
END LOOP;
select count(*) into grantsAfter from rbac.grant;
raise notice ''total grant count before -> after: % -> %'', grantsBefore, grantsAfter;
END;
';
ALTER PROCEDURE hs_office.relation_rebuild_rbac_system() OWNER TO postgres;
--
-- Name: relation_referrer(hs_office.relation); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.relation_referrer(entity hs_office.relation) RETURNS rbac.roledescriptor
LANGUAGE plpgsql STRICT
AS '
begin
return rbac.roleDescriptorOf(''hs_office.relation'', entity.uuid, ''REFERRER'');
end; ';
ALTER FUNCTION hs_office.relation_referrer(entity hs_office.relation) OWNER TO postgres;
--
-- Name: relation_tenant(hs_office.relation, boolean); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.relation_tenant(entity hs_office.relation, assumed boolean DEFAULT true) RETURNS rbac.roledescriptor
LANGUAGE plpgsql STRICT
AS '
begin
return rbac.roleDescriptorOf(''hs_office.relation'', entity.uuid, ''TENANT'', assumed);
end; ';
ALTER FUNCTION hs_office.relation_tenant(entity hs_office.relation, assumed boolean) OWNER TO postgres;
--
-- Name: relation_update_rbac_system(hs_office.relation, hs_office.relation); Type: PROCEDURE; Schema: hs_office; Owner: postgres
--
CREATE PROCEDURE hs_office.relation_update_rbac_system(IN old hs_office.relation, IN new hs_office.relation)
LANGUAGE plpgsql
AS '
begin
if NEW.contactUuid is distinct from OLD.contactUuid then
delete from rbac.grant g where g.grantedbytriggerof = OLD.uuid;
call hs_office.relation_build_rbac_system(NEW);
end if;
end; ';
ALTER PROCEDURE hs_office.relation_update_rbac_system(IN old hs_office.relation, IN new hs_office.relation) OWNER TO postgres;
--
-- Name: relation_update_rbac_system_after_update_tf(); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.relation_update_rbac_system_after_update_tf() RETURNS trigger
LANGUAGE plpgsql STRICT
AS '
begin
call hs_office.relation_update_rbac_system(OLD, NEW);
return NEW;
end; ';
ALTER FUNCTION hs_office.relation_update_rbac_system_after_update_tf() OWNER TO postgres;
--
-- Name: relation_uuid_by_id_name(character varying); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.relation_uuid_by_id_name(givenidname character varying) RETURNS uuid
LANGUAGE plpgsql
AS '
declare
singleMatch uuid;
begin
select uuid into strict singleMatch from hs_office.relation_iv iv where iv.idName = givenIdName;
return singleMatch;
end; ';
ALTER FUNCTION hs_office.relation_uuid_by_id_name(givenidname character varying) OWNER TO postgres;
--
-- Name: sepamandate; Type: TABLE; Schema: hs_office; Owner: postgres
--
CREATE TABLE hs_office.sepamandate (
uuid uuid,
version integer DEFAULT 0 NOT NULL,
debitoruuid uuid NOT NULL,
bankaccountuuid uuid NOT NULL,
reference character varying(96) NOT NULL,
agreement date NOT NULL,
validity daterange NOT NULL
);
ALTER TABLE hs_office.sepamandate OWNER TO postgres;
--
-- Name: sepamandate_admin(hs_office.sepamandate, boolean); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.sepamandate_admin(entity hs_office.sepamandate, assumed boolean DEFAULT true) RETURNS rbac.roledescriptor
LANGUAGE plpgsql STRICT
AS '
begin
return rbac.roleDescriptorOf(''hs_office.sepamandate'', entity.uuid, ''ADMIN'', assumed);
end; ';
ALTER FUNCTION hs_office.sepamandate_admin(entity hs_office.sepamandate, assumed boolean) OWNER TO postgres;
--
-- Name: sepamandate_agent(hs_office.sepamandate, boolean); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.sepamandate_agent(entity hs_office.sepamandate, assumed boolean DEFAULT true) RETURNS rbac.roledescriptor
LANGUAGE plpgsql STRICT
AS '
begin
return rbac.roleDescriptorOf(''hs_office.sepamandate'', entity.uuid, ''AGENT'', assumed);
end; ';
ALTER FUNCTION hs_office.sepamandate_agent(entity hs_office.sepamandate, assumed boolean) OWNER TO postgres;
--
-- Name: sepamandate_build_rbac_system(hs_office.sepamandate); Type: PROCEDURE; Schema: hs_office; Owner: postgres
--
CREATE PROCEDURE hs_office.sepamandate_build_rbac_system(IN new hs_office.sepamandate)
LANGUAGE plpgsql
AS '
declare
newBankAccount hs_office.bankaccount;
newDebitorRel hs_office.relation;
begin
call rbac.enterTriggerForObjectUuid(NEW.uuid);
SELECT * FROM hs_office.bankaccount WHERE uuid = NEW.bankAccountUuid INTO newBankAccount;
assert newBankAccount.uuid is not null, format(''newBankAccount must not be null for NEW.bankAccountUuid = %s of hs_office.sepamandate'', NEW.bankAccountUuid);
SELECT debitorRel.*
FROM hs_office.relation debitorRel
JOIN hs_office.debitor debitor ON debitor.debitorRelUuid = debitorRel.uuid
WHERE debitor.uuid = NEW.debitorUuid
INTO newDebitorRel;
assert newDebitorRel.uuid is not null, format(''newDebitorRel must not be null for NEW.debitorUuid = %s of hs_office.sepamandate'', NEW.debitorUuid);
perform rbac.defineRoleWithGrants(
hs_office.sepamandate_OWNER(NEW),
permissions => array[''DELETE''],
incomingSuperRoles => array[rbac.global_ADMIN()],
subjectUuids => array[rbac.currentSubjectUuid()]
);
perform rbac.defineRoleWithGrants(
hs_office.sepamandate_ADMIN(NEW),
permissions => array[''UPDATE''],
incomingSuperRoles => array[hs_office.sepamandate_OWNER(NEW)]
);
perform rbac.defineRoleWithGrants(
hs_office.sepamandate_AGENT(NEW),
incomingSuperRoles => array[hs_office.sepamandate_ADMIN(NEW)],
outgoingSubRoles => array[
hs_office.bankaccount_REFERRER(newBankAccount),
hs_office.relation_AGENT(newDebitorRel)]
);
perform rbac.defineRoleWithGrants(
hs_office.sepamandate_REFERRER(NEW),
permissions => array[''SELECT''],
incomingSuperRoles => array[
hs_office.bankaccount_ADMIN(newBankAccount),
hs_office.relation_AGENT(newDebitorRel),
hs_office.sepamandate_AGENT(NEW)],
outgoingSubRoles => array[hs_office.relation_TENANT(newDebitorRel)]
);
call rbac.leaveTriggerForObjectUuid(NEW.uuid);
end; ';
ALTER PROCEDURE hs_office.sepamandate_build_rbac_system(IN new hs_office.sepamandate) OWNER TO postgres;
--
-- Name: sepamandate_build_rbac_system_after_insert_tf(); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.sepamandate_build_rbac_system_after_insert_tf() RETURNS trigger
LANGUAGE plpgsql STRICT
AS '
begin
call hs_office.sepamandate_build_rbac_system(NEW);
return NEW;
end; ';
ALTER FUNCTION hs_office.sepamandate_build_rbac_system_after_insert_tf() OWNER TO postgres;
--
-- Name: sepamandate_create_test_data(numeric, character, character varying, character varying); Type: PROCEDURE; Schema: hs_office; Owner: postgres
--
CREATE PROCEDURE hs_office.sepamandate_create_test_data(IN forpartnernumber numeric, IN fordebitorsuffix character, IN foriban character varying, IN withreference character varying)
LANGUAGE plpgsql
AS '
declare
relatedDebitor hs_office.debitor;
relatedBankAccount hs_office.bankAccount;
begin
select debitor.* into relatedDebitor
from hs_office.debitor debitor
join hs_office.relation debitorRel on debitorRel.uuid = debitor.debitorRelUuid
join hs_office.relation partnerRel on partnerRel.holderUuid = debitorRel.anchorUuid
join hs_office.partner partner on partner.partnerRelUuid = partnerRel.uuid
where partner.partnerNumber = forPartnerNumber and debitor.debitorNumberSuffix = forDebitorSuffix;
select b.* into relatedBankAccount
from hs_office.bankAccount b where b.iban = forIban;
raise notice ''creating test SEPA-mandate: %'', forPartnerNumber::text || forDebitorSuffix::text;
raise notice ''- using debitor (%): %'', relatedDebitor.uuid, relatedDebitor;
raise notice ''- using bankAccount (%): %'', relatedBankAccount.uuid, relatedBankAccount;
insert
into hs_office.sepamandate (uuid, debitoruuid, bankAccountuuid, reference, agreement, validity)
values (uuid_generate_v4(), relatedDebitor.uuid, relatedBankAccount.uuid, withReference, ''20220930'', daterange(''20221001'' , ''20261231'', ''[]''));
end; ';
ALTER PROCEDURE hs_office.sepamandate_create_test_data(IN forpartnernumber numeric, IN fordebitorsuffix character, IN foriban character varying, IN withreference character varying) OWNER TO postgres;
--
-- Name: sepamandate_delete_legacy_id_mapping_tf(); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.sepamandate_delete_legacy_id_mapping_tf() RETURNS trigger
LANGUAGE plpgsql STRICT
AS '
begin
if TG_OP <> ''DELETE'' then
raise exception ''invalid usage of trigger'';
end if;
DELETE FROM hs_office.sepamandate_legacy_id
WHERE uuid = OLD.uuid;
return OLD;
end; ';
ALTER FUNCTION hs_office.sepamandate_delete_legacy_id_mapping_tf() OWNER TO postgres;
--
-- Name: sepamandate_grants_insert_to_relation_tf(); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.sepamandate_grants_insert_to_relation_tf() RETURNS trigger
LANGUAGE plpgsql STRICT
AS '
begin
if NEW.type = ''DEBITOR'' then
call rbac.grantPermissionToRole(
rbac.createPermission(NEW.uuid, ''INSERT'', ''hs_office.sepamandate''),
hs_office.relation_ADMIN(NEW));
end if;
return NEW;
end; ';
ALTER FUNCTION hs_office.sepamandate_grants_insert_to_relation_tf() OWNER TO postgres;
--
-- Name: sepamandate_guest(hs_office.sepamandate, boolean); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.sepamandate_guest(entity hs_office.sepamandate, assumed boolean DEFAULT true) RETURNS rbac.roledescriptor
LANGUAGE plpgsql STRICT
AS '
begin
return rbac.roleDescriptorOf(''hs_office.sepamandate'', entity.uuid, ''GUEST'', assumed);
end; ';
ALTER FUNCTION hs_office.sepamandate_guest(entity hs_office.sepamandate, assumed boolean) OWNER TO postgres;
--
-- Name: sepamandate_id_name_by_uuid(uuid); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.sepamandate_id_name_by_uuid(givenuuid uuid) RETURNS character varying
LANGUAGE sql STRICT
AS '
select idName from hs_office.sepamandate_iv iv where iv.uuid = givenUuid;
';
ALTER FUNCTION hs_office.sepamandate_id_name_by_uuid(givenuuid uuid) OWNER TO postgres;
--
-- Name: sepamandate_insert_legacy_id_mapping_tf(); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.sepamandate_insert_legacy_id_mapping_tf() RETURNS trigger
LANGUAGE plpgsql STRICT
AS '
begin
if TG_OP <> ''INSERT'' then
raise exception ''invalid usage of trigger'';
end if;
INSERT INTO hs_office.sepamandate_legacy_id VALUES
(NEW.uuid, nextVal(''hs_office.sepamandate_legacy_id_seq''));
return NEW;
end; ';
ALTER FUNCTION hs_office.sepamandate_insert_legacy_id_mapping_tf() OWNER TO postgres;
--
-- Name: sepamandate_insert_permission_check_tf(); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.sepamandate_insert_permission_check_tf() RETURNS trigger
LANGUAGE plpgsql
AS '
declare
superObjectUuid uuid;
begin
superObjectUuid := (SELECT debitorRel.uuid
FROM hs_office.relation debitorRel
JOIN hs_office.debitor debitor ON debitor.debitorRelUuid = debitorRel.uuid
WHERE debitor.uuid = NEW.debitorUuid
);
assert superObjectUuid is not null, ''object uuid fetched depending on hs_office.sepamandate.debitorUuid must not be null, also check fetchSql in RBAC DSL'';
if rbac.hasInsertPermission(superObjectUuid, ''hs_office.sepamandate'') then
return NEW;
end if;
raise exception ''[403] insert into hs_office.sepamandate values(%) not allowed for current subjects % (%)'',
NEW, base.currentSubjects(), rbac.currentSubjectOrAssumedRolesUuids();
end; ';
ALTER FUNCTION hs_office.sepamandate_insert_permission_check_tf() OWNER TO postgres;
--
-- Name: sepamandate_instead_of_delete_tf(); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.sepamandate_instead_of_delete_tf() RETURNS trigger
LANGUAGE plpgsql
AS '
begin
if old.uuid in (select rbac.queryAccessibleObjectUuidsOfSubjectIds(''DELETE'', ''hs_office.sepamandate'', rbac.currentSubjectOrAssumedRolesUuids())) then
delete from hs_office.sepamandate p where p.uuid = old.uuid;
return old;
end if;
raise exception ''[403] Subject % is not allowed to delete hs_office.sepamandate uuid %'', rbac.currentSubjectOrAssumedRolesUuids(), old.uuid;
end; ';
ALTER FUNCTION hs_office.sepamandate_instead_of_delete_tf() OWNER TO postgres;
--
-- Name: sepamandate_instead_of_insert_tf(); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.sepamandate_instead_of_insert_tf() RETURNS trigger
LANGUAGE plpgsql
AS '
declare
newTargetRow hs_office.sepamandate;
begin
insert
into hs_office.sepamandate (uuid, version, debitoruuid, bankaccountuuid, reference, agreement, validity)
values (new.uuid, new.version, new.debitoruuid, new.bankaccountuuid, new.reference, new.agreement, new.validity)
returning * into newTargetRow;
return newTargetRow;
end; ';
ALTER FUNCTION hs_office.sepamandate_instead_of_insert_tf() OWNER TO postgres;
--
-- Name: sepamandate_instead_of_update_tf(); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.sepamandate_instead_of_update_tf() RETURNS trigger
LANGUAGE plpgsql
AS '
begin
if old.uuid in (select rbac.queryAccessibleObjectUuidsOfSubjectIds(''UPDATE'', ''hs_office.sepamandate'', rbac.currentSubjectOrAssumedRolesUuids())) then
update hs_office.sepamandate
set
reference = new.reference,
agreement = new.agreement,
validity = new.validity
where uuid = old.uuid;
return old;
end if;
raise exception ''[403] Subject % is not allowed to update hs_office.sepamandate uuid %'', rbac.currentSubjectOrAssumedRolesUuids(), old.uuid;
end; ';
ALTER FUNCTION hs_office.sepamandate_instead_of_update_tf() OWNER TO postgres;
--
-- Name: sepamandate_owner(hs_office.sepamandate, boolean); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.sepamandate_owner(entity hs_office.sepamandate, assumed boolean DEFAULT true) RETURNS rbac.roledescriptor
LANGUAGE plpgsql STRICT
AS '
begin
return rbac.roleDescriptorOf(''hs_office.sepamandate'', entity.uuid, ''OWNER'', assumed);
end; ';
ALTER FUNCTION hs_office.sepamandate_owner(entity hs_office.sepamandate, assumed boolean) OWNER TO postgres;
--
-- Name: sepamandate_rebuild_rbac_system(); Type: PROCEDURE; Schema: hs_office; Owner: postgres
--
CREATE PROCEDURE hs_office.sepamandate_rebuild_rbac_system()
LANGUAGE plpgsql
AS '
DECLARE
DECLARE
row hs_office.sepamandate;
grantsAfter numeric;
grantsBefore numeric;
BEGIN
SELECT count(*) INTO grantsBefore FROM rbac.grant;
FOR row IN SELECT * FROM hs_office.sepamandate LOOP
DELETE FROM rbac.grant g
WHERE g.grantedbytriggerof = row.uuid;
CALL hs_office.sepamandate_build_rbac_system(row);
END LOOP;
select count(*) into grantsAfter from rbac.grant;
raise notice ''total grant count before -> after: % -> %'', grantsBefore, grantsAfter;
END;
';
ALTER PROCEDURE hs_office.sepamandate_rebuild_rbac_system() OWNER TO postgres;
--
-- Name: sepamandate_referrer(hs_office.sepamandate); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.sepamandate_referrer(entity hs_office.sepamandate) RETURNS rbac.roledescriptor
LANGUAGE plpgsql STRICT
AS '
begin
return rbac.roleDescriptorOf(''hs_office.sepamandate'', entity.uuid, ''REFERRER'');
end; ';
ALTER FUNCTION hs_office.sepamandate_referrer(entity hs_office.sepamandate) OWNER TO postgres;
--
-- Name: sepamandate_tenant(hs_office.sepamandate, boolean); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.sepamandate_tenant(entity hs_office.sepamandate, assumed boolean DEFAULT true) RETURNS rbac.roledescriptor
LANGUAGE plpgsql STRICT
AS '
begin
return rbac.roleDescriptorOf(''hs_office.sepamandate'', entity.uuid, ''TENANT'', assumed);
end; ';
ALTER FUNCTION hs_office.sepamandate_tenant(entity hs_office.sepamandate, assumed boolean) OWNER TO postgres;
--
-- Name: sepamandate_uuid_by_id_name(character varying); Type: FUNCTION; Schema: hs_office; Owner: postgres
--
CREATE FUNCTION hs_office.sepamandate_uuid_by_id_name(givenidname character varying) RETURNS uuid
LANGUAGE plpgsql
AS '
declare
singleMatch uuid;
begin
select uuid into strict singleMatch from hs_office.sepamandate_iv iv where iv.idName = givenIdName;
return singleMatch;
end; ';
ALTER FUNCTION hs_office.sepamandate_uuid_by_id_name(givenidname character varying) OWNER TO postgres;
--
-- Name: validate_transaction_type(); Type: FUNCTION; Schema: public; Owner: postgres
--
CREATE FUNCTION public.validate_transaction_type() RETURNS trigger
LANGUAGE plpgsql
AS '
BEGIN
IF NEW.transactionType = ''REVERSAL'' AND NEW.revertedAssetTxUuid IS NULL THEN
RAISE EXCEPTION ''REVERSAL transactions must have revertedAssetTxUuid'';
END IF;
IF NEW.transactionType != ''REVERSAL'' AND NEW.revertedAssetTxUuid IS NOT NULL THEN
RAISE EXCEPTION ''Non-REVERSAL transactions must not have revertedAssetTxUuid'';
END IF;
IF NEW.transactionType = ''TRANSFER'' AND NEW.assetAdoptionTxUuid IS NULL THEN
RAISE EXCEPTION ''TRANSFER transactions must have assetAdoptionTxUuid'';
END IF;
IF NEW.transactionType != ''TRANSFER'' AND NEW.assetAdoptionTxUuid IS NOT NULL THEN
RAISE EXCEPTION ''Non-TRANSFER transactions must not have assetAdoptionTxUuid'';
END IF;
RETURN NEW;
END;
';
ALTER FUNCTION public.validate_transaction_type() OWNER TO postgres;
--
-- Name: assertreferencetype(character varying, uuid, rbac.referencetype); Type: FUNCTION; Schema: rbac; Owner: postgres
--
CREATE FUNCTION rbac.assertreferencetype(argument character varying, referenceid uuid, expectedtype rbac.referencetype) RETURNS rbac.referencetype
LANGUAGE plpgsql
AS '
declare
actualType rbac.ReferenceType;
begin
if referenceId is null then
raise exception ''% must be a % and not null'', argument, expectedType;
end if;
actualType = (select type from rbac.reference where uuid = referenceId);
if (actualType <> expectedType) then
raise exception ''% must reference a %, but got a %'', argument, expectedType, actualType;
end if;
return expectedType;
end; ';
ALTER FUNCTION rbac.assertreferencetype(argument character varying, referenceid uuid, expectedtype rbac.referencetype) OWNER TO postgres;
--
-- Name: assumed(); Type: FUNCTION; Schema: rbac; Owner: postgres
--
CREATE FUNCTION rbac.assumed() RETURNS boolean
LANGUAGE sql STABLE
AS '
select true;
';
ALTER FUNCTION rbac.assumed() OWNER TO postgres;
--
-- Name: assumedroleuuid(); Type: FUNCTION; Schema: rbac; Owner: postgres
--
CREATE FUNCTION rbac.assumedroleuuid() RETURNS uuid
LANGUAGE plpgsql STABLE
AS '
declare
currentSubjectOrAssumedRolesUuids uuid[];
begin
if cardinality(base.assumedRoles()) <> 1 then
raise exception ''[400] Granting roles to user is only possible if exactly one role is assumed, given: %'', base.assumedRoles();
end if;
currentSubjectOrAssumedRolesUuids := rbac.currentSubjectOrAssumedRolesUuids();
return currentSubjectOrAssumedRolesUuids[1];
end; ';
ALTER FUNCTION rbac.assumedroleuuid() OWNER TO postgres;
--
-- Name: checkrevokerolefromsubjectpreconditions(uuid, uuid, uuid); Type: PROCEDURE; Schema: rbac; Owner: postgres
--
CREATE PROCEDURE rbac.checkrevokerolefromsubjectpreconditions(IN grantedbyroleuuid uuid, IN grantedroleuuid uuid, IN subjectuuid uuid)
LANGUAGE plpgsql
AS '
begin
perform rbac.assertReferenceType(''grantedByRoleUuid'', grantedByRoleUuid, ''rbac.role'');
perform rbac.assertReferenceType(''grantedRoleUuid (descendant)'', grantedRoleUuid, ''rbac.role'');
perform rbac.assertReferenceType(''subjectUuid (ascendant)'', subjectUuid, ''rbac.subject'');
if NOT rbac.isGranted(rbac.currentSubjectOrAssumedRolesUuids(), grantedByRoleUuid) then
raise exception ''[403] Revoking role created by % is forbidden for %.'', grantedByRoleUuid, base.currentSubjects();
end if;
if NOT rbac.isGranted(grantedByRoleUuid, grantedRoleUuid) then
raise exception ''[403] Revoking role % is forbidden for %.'', grantedRoleUuid, base.currentSubjects();
end if;
if NOT rbac.isGranted(rbac.currentSubjectOrAssumedRolesUuids(), grantedByRoleUuid) then
raise exception ''[403] Revoking role granted by % is forbidden for %.'', grantedByRoleUuid, base.currentSubjects();
end if;
if NOT rbac.isGranted(subjectUuid, grantedRoleUuid) then
raise exception ''[404] No such grant found granted by % for subject % to role %.'', grantedByRoleUuid, subjectUuid, grantedRoleUuid;
end if;
end; ';
ALTER PROCEDURE rbac.checkrevokerolefromsubjectpreconditions(IN grantedbyroleuuid uuid, IN grantedroleuuid uuid, IN subjectuuid uuid) OWNER TO postgres;
--
-- Name: create_subject(character varying); Type: FUNCTION; Schema: rbac; Owner: postgres
--
CREATE FUNCTION rbac.create_subject(subjectname character varying) RETURNS uuid
LANGUAGE plpgsql STRICT
AS '
declare
objectId uuid;
begin
insert
into rbac.reference (type)
values (''rbac.subject'')
returning uuid into objectId;
insert
into rbac.subject (uuid, name)
values (objectid, subjectName);
return objectId;
end;
';
ALTER FUNCTION rbac.create_subject(subjectname character varying) OWNER TO postgres;
--
-- Name: create_subject(uuid, character varying); Type: FUNCTION; Schema: rbac; Owner: postgres
--
CREATE FUNCTION rbac.create_subject(refuuid uuid, subjectname character varying) RETURNS uuid
LANGUAGE plpgsql
AS '
begin
insert
into rbac.reference as r (uuid, type)
values (coalesce(refUuid, uuid_generate_v4()), ''rbac.subject'')
returning r.uuid into refUuid;
insert
into rbac.subject (uuid, name)
values (refUuid, subjectName);
return refUuid;
end;
';
ALTER FUNCTION rbac.create_subject(refuuid uuid, subjectname character varying) OWNER TO postgres;
--
-- Name: createpermission(uuid, rbac.rbacop, text); Type: FUNCTION; Schema: rbac; Owner: postgres
--
CREATE FUNCTION rbac.createpermission(forobjectuuid uuid, forop rbac.rbacop, foroptablename text DEFAULT NULL::text) RETURNS uuid
LANGUAGE plpgsql
AS '
declare
permissionUuid uuid;
begin
if (forObjectUuid is null) then
raise exception ''forObjectUuid must not be null'';
end if;
if (forOp = ''INSERT'' and forOpTableName is null) then
raise exception ''INSERT permissions needs forOpTableName'';
end if;
if (forOp <> ''INSERT'' and forOpTableName is not null) then
raise exception ''forOpTableName must only be specified for ops: [INSERT]'';
end if;
permissionUuid := (
select uuid from rbac.permission
where objectUuid = forObjectUuid
and op = forOp and opTableName is not distinct from forOpTableName);
if (permissionUuid is null) then
insert into rbac.reference ("type")
values (''rbac.permission'')
returning uuid into permissionUuid;
begin
insert into rbac.permission (uuid, objectUuid, op, opTableName)
values (permissionUuid, forObjectUuid, forOp, forOpTableName);
exception
when others then
raise exception ''insert into rbac.permission (uuid, objectUuid, op, opTableName)
values (%, %, %, %);'', permissionUuid, forObjectUuid, forOp, forOpTableName;
end;
end if;
return permissionUuid;
end; ';
ALTER FUNCTION rbac.createpermission(forobjectuuid uuid, forop rbac.rbacop, foroptablename text) OWNER TO postgres;
--
-- Name: createrole(rbac.roledescriptor); Type: FUNCTION; Schema: rbac; Owner: postgres
--
CREATE FUNCTION rbac.createrole(roledescriptor rbac.roledescriptor) RETURNS uuid
LANGUAGE plpgsql STRICT
AS '
declare
referenceId uuid;
begin
insert
into rbac.reference (type)
values (''rbac.role'')
returning uuid into referenceId;
insert
into rbac.role (uuid, objectUuid, roleType)
values (referenceId, roleDescriptor.objectUuid, roleDescriptor.roleType);
return referenceId;
end;
';
ALTER FUNCTION rbac.createrole(roledescriptor rbac.roledescriptor) OWNER TO postgres;
--
-- Name: currentsubjectorassumedrolesuuids(); Type: FUNCTION; Schema: rbac; Owner: postgres
--
CREATE FUNCTION rbac.currentsubjectorassumedrolesuuids() RETURNS uuid[]
LANGUAGE plpgsql STABLE
AS '
declare
currentSubjectOrAssumedRolesUuids text;
currentSubjectName text;
begin
begin
currentSubjectOrAssumedRolesUuids := current_setting(''hsadminng.currentSubjectOrAssumedRolesUuids'');
exception
when others then
currentSubjectOrAssumedRolesUuids := null;
end;
if (currentSubjectOrAssumedRolesUuids is null or length(currentSubjectOrAssumedRolesUuids) = 0 ) then
currentSubjectName := base.currentSubject();
if (length(currentSubjectName) > 0) then
raise exception ''[401] currentSubjectOrAssumedRolesUuids (%) cannot be determined, unknown subject name "%"'', currentSubjectOrAssumedRolesUuids, currentSubjectName;
else
raise exception ''[401] currentSubjectOrAssumedRolesUuids cannot be determined, please call `base.defineContext(...)` with a valid subject;"'';
end if;
end if;
return string_to_array(currentSubjectOrAssumedRolesUuids, '';'');
end; ';
ALTER FUNCTION rbac.currentsubjectorassumedrolesuuids() OWNER TO postgres;
--
-- Name: currentsubjectuuid(); Type: FUNCTION; Schema: rbac; Owner: postgres
--
CREATE FUNCTION rbac.currentsubjectuuid() RETURNS uuid
LANGUAGE plpgsql STABLE
AS '
declare
currentSubjectUuid text;
currentSubjectName text;
begin
begin
currentSubjectUuid := current_setting(''hsadminng.currentSubjectUuid'');
exception
when others then
currentSubjectUuid := null;
end;
if (currentSubjectUuid is null or currentSubjectUuid = '''') then
currentSubjectName := base.currentSubject();
if (length(currentSubjectName) > 0) then
raise exception ''[401] currentSubjectUuid cannot be determined, unknown subject name "%"'', currentSubjectName;
else
raise exception ''[401] currentSubjectUuid cannot be determined, please call `base.defineContext(...)` first;"'';
end if;
end if;
return currentSubjectUuid::uuid;
end; ';
ALTER FUNCTION rbac.currentsubjectuuid() OWNER TO postgres;
--
-- Name: currenttriggerobjectuuid(); Type: FUNCTION; Schema: rbac; Owner: postgres
--
CREATE FUNCTION rbac.currenttriggerobjectuuid() RETURNS uuid
LANGUAGE plpgsql STABLE
AS '
declare
currentObjectUuid uuid;
begin
begin
currentObjectUuid = current_setting(''hsadminng.currentObjectUuid'')::uuid;
return currentObjectUuid;
exception
when others then
return null::uuid;
end;
end; ';
ALTER FUNCTION rbac.currenttriggerobjectuuid() OWNER TO postgres;
--
-- Name: definerolewithgrants(rbac.roledescriptor, rbac.rbacop[], rbac.roledescriptor[], rbac.roledescriptor[], uuid[], rbac.roledescriptor); Type: FUNCTION; Schema: rbac; Owner: postgres
--
CREATE FUNCTION rbac.definerolewithgrants(roledescriptor rbac.roledescriptor, permissions rbac.rbacop[] DEFAULT ARRAY[]::rbac.rbacop[], incomingsuperroles rbac.roledescriptor[] DEFAULT ARRAY[]::rbac.roledescriptor[], outgoingsubroles rbac.roledescriptor[] DEFAULT ARRAY[]::rbac.roledescriptor[], subjectuuids uuid[] DEFAULT ARRAY[]::uuid[], grantedbyrole rbac.roledescriptor DEFAULT NULL::rbac.roledescriptor) RETURNS uuid
LANGUAGE plpgsql
AS '
declare
roleUuid uuid;
permission rbac.RbacOp;
permissionUuid uuid;
subRoleDesc rbac.RoleDescriptor;
superRoleDesc rbac.RoleDescriptor;
subRoleUuid uuid;
superRoleUuid uuid;
subjectUuid uuid;
userGrantsByRoleUuid uuid;
begin
roleUuid := coalesce(rbac.findRoleId(roleDescriptor), rbac.createRole(roleDescriptor));
foreach permission in array permissions
loop
permissionUuid := rbac.createPermission(roleDescriptor.objectuuid, permission);
call rbac.grantPermissionToRole(permissionUuid, roleUuid);
end loop;
foreach superRoleDesc in array array_remove(incomingSuperRoles, null)
loop
superRoleUuid := rbac.getRoleId(superRoleDesc);
call rbac.grantRoleToRole(roleUuid, superRoleUuid, superRoleDesc.assumed);
end loop;
foreach subRoleDesc in array array_remove(outgoingSubRoles, null)
loop
subRoleUuid := rbac.getRoleId(subRoleDesc);
call rbac.grantRoleToRole(subRoleUuid, roleUuid, subRoleDesc.assumed);
end loop;
if cardinality(subjectUuids) > 0 then
if grantedByRole is null then
userGrantsByRoleUuid := roleUuid;
else
userGrantsByRoleUuid := rbac.getRoleId(grantedByRole);
end if;
foreach subjectUuid in array subjectUuids
loop
call rbac.grantRoleToSubjectUnchecked(userGrantsByRoleUuid, roleUuid, subjectUuid);
end loop;
end if;
return roleUuid;
end; ';
ALTER FUNCTION rbac.definerolewithgrants(roledescriptor rbac.roledescriptor, permissions rbac.rbacop[], incomingsuperroles rbac.roledescriptor[], outgoingsubroles rbac.roledescriptor[], subjectuuids uuid[], grantedbyrole rbac.roledescriptor) OWNER TO postgres;
--
-- Name: delete_grant_tf(); Type: FUNCTION; Schema: rbac; Owner: postgres
--
CREATE FUNCTION rbac.delete_grant_tf() RETURNS trigger
LANGUAGE plpgsql
AS '
begin
call rbac.revokeRoleFromSubject(old.grantedByRoleUuid, old.grantedRoleUuid, old.subjectUuid);
return old;
end; ';
ALTER FUNCTION rbac.delete_grant_tf() OWNER TO postgres;
--
-- Name: delete_grants_of_role_tf(); Type: FUNCTION; Schema: rbac; Owner: postgres
--
CREATE FUNCTION rbac.delete_grants_of_role_tf() RETURNS trigger
LANGUAGE plpgsql STRICT
AS '
begin
if TG_OP = ''DELETE'' then
delete from rbac.grant g where old.uuid in (g.grantedbyroleuuid, g.ascendantuuid, g.descendantuuid);
else
raise exception ''invalid usage of TRIGGER BEFORE DELETE'';
end if;
return old;
end; ';
ALTER FUNCTION rbac.delete_grants_of_role_tf() OWNER TO postgres;
--
-- Name: delete_related_rbac_rules_tf(); Type: FUNCTION; Schema: rbac; Owner: postgres
--
CREATE FUNCTION rbac.delete_related_rbac_rules_tf() RETURNS trigger
LANGUAGE plpgsql STRICT
AS '
begin
if TG_OP = ''DELETE'' then
delete from rbac.object where rbac.object.uuid = old.uuid;
else
raise exception ''invalid usage of TRIGGER BEFORE DELETE'';
end if;
return old;
end; ';
ALTER FUNCTION rbac.delete_related_rbac_rules_tf() OWNER TO postgres;
--
-- Name: delete_roles_of_object_tf(); Type: FUNCTION; Schema: rbac; Owner: postgres
--
CREATE FUNCTION rbac.delete_roles_of_object_tf() RETURNS trigger
LANGUAGE plpgsql STRICT
AS '
begin
if TG_OP = ''DELETE'' then
delete from rbac.permission p where p.objectuuid = old.uuid;
delete from rbac.role r where r.objectUuid = old.uuid;
else
raise exception ''invalid usage of TRIGGER BEFORE DELETE'';
end if;
return old;
end; ';
ALTER FUNCTION rbac.delete_roles_of_object_tf() OWNER TO postgres;
--
-- Name: delete_subject_tf(); Type: FUNCTION; Schema: rbac; Owner: postgres
--
CREATE FUNCTION rbac.delete_subject_tf() RETURNS trigger
LANGUAGE plpgsql
AS '
begin
if rbac.currentSubjectUuid() = old.uuid or rbac.hasGlobalRoleGranted(rbac.currentSubjectUuid()) then
delete from rbac.subject where uuid = old.uuid;
return old;
end if;
raise exception ''[403] User % not allowed to delete user uuid %'', base.currentSubject(), old.uuid;
end; ';
ALTER FUNCTION rbac.delete_subject_tf() OWNER TO postgres;
--
-- Name: deleterole(uuid); Type: PROCEDURE; Schema: rbac; Owner: postgres
--
CREATE PROCEDURE rbac.deleterole(IN roleuuid uuid)
LANGUAGE plpgsql
AS '
begin
delete from rbac.role where uuid = roleUUid;
end;
';
ALTER PROCEDURE rbac.deleterole(IN roleuuid uuid) OWNER TO postgres;
--
-- Name: determinecurrentsubjectorassumedrolesuuids(uuid, text); Type: FUNCTION; Schema: rbac; Owner: postgres
--
CREATE FUNCTION rbac.determinecurrentsubjectorassumedrolesuuids(currentsubjectorassumedrolesuuids uuid, assumedroles text) RETURNS uuid[]
LANGUAGE plpgsql STABLE
AS '
declare
roleName text;
roleNameParts text;
objectTableToAssume varchar(63);
objectNameToAssume varchar(1024);
objectUuidToAssume uuid;
roleTypeToAssume rbac.RoleType;
roleIdsToAssume uuid[];
roleUuidToAssume uuid;
begin
if currentSubjectOrAssumedRolesUuids is null then
if length(coalesce(assumedRoles, '''')) > 0 then
raise exception ''[403] undefined has no permission to assume role %'', assumedRoles;
else
return array[]::uuid[];
end if;
end if;
if length(coalesce(assumedRoles, '''')) = 0 then
return array [currentSubjectOrAssumedRolesUuids];
end if;
foreach roleName in array string_to_array(assumedRoles, '';'')
loop
roleNameParts = overlay(roleName placing ''#'' from length(roleName) + 1 - strpos(reverse(roleName), '':''));
objectTableToAssume = split_part(roleNameParts, ''#'', 1);
objectNameToAssume = split_part(roleNameParts, ''#'', 2);
roleTypeToAssume = split_part(roleNameParts, ''#'', 3);
begin
objectUuidToAssume = objectNameToAssume::uuid;
exception when invalid_text_representation then
objectUuidToAssume = rbac.findObjectUuidByIdName(objectTableToAssume, objectNameToAssume);
end;
if objectUuidToAssume is null then
raise exception ''[401] object % cannot be found in table % (from roleNameParts=%)'', objectNameToAssume, objectTableToAssume, roleNameParts;
end if;
select uuid
from rbac.role r
where r.objectUuid = objectUuidToAssume
and r.roleType = roleTypeToAssume
into roleUuidToAssume;
if roleUuidToAssume is null then
raise exception ''[403] role % does not exist or is not accessible for subject %'', roleName, base.currentSubject();
end if;
if not rbac.isGranted(currentSubjectOrAssumedRolesUuids, roleUuidToAssume) then
raise exception ''[403] subject % has no permission to assume role %'', base.currentSubject(), roleName;
end if;
roleIdsToAssume := roleIdsToAssume || roleUuidToAssume;
end loop;
return roleIdsToAssume;
end; ';
ALTER FUNCTION rbac.determinecurrentsubjectorassumedrolesuuids(currentsubjectorassumedrolesuuids uuid, assumedroles text) OWNER TO postgres;
--
-- Name: determinecurrentsubjectuuid(character varying); Type: FUNCTION; Schema: rbac; Owner: postgres
--
CREATE FUNCTION rbac.determinecurrentsubjectuuid(currentsubject character varying) RETURNS uuid
LANGUAGE plpgsql STABLE
AS '
declare
currentSubjectUuid uuid;
begin
if currentSubject = '''' then
return null;
end if;
select uuid from rbac.subject where name = currentSubject into currentSubjectUuid;
if currentSubjectUuid is null then
raise exception ''[401] subject % given in `base.defineContext(...)` does not exist'', currentSubject;
end if;
return currentSubjectUuid;
end; ';
ALTER FUNCTION rbac.determinecurrentsubjectuuid(currentsubject character varying) OWNER TO postgres;
--
-- Name: entertriggerforobjectuuid(uuid); Type: PROCEDURE; Schema: rbac; Owner: postgres
--
CREATE PROCEDURE rbac.entertriggerforobjectuuid(IN currentobjectuuid uuid)
LANGUAGE plpgsql
AS '
declare
existingObjectUuid text;
begin
existingObjectUuid = current_setting(''hsadminng.currentObjectUuid'', true);
if (existingObjectUuid > '''' ) then
raise exception ''[500] currentObjectUuid already defined, already in trigger of "%"'', existingObjectUuid;
end if;
execute format(''set local hsadminng.currentObjectUuid to %L'', currentObjectUuid);
end; ';
ALTER PROCEDURE rbac.entertriggerforobjectuuid(IN currentobjectuuid uuid) OWNER TO postgres;
--
-- Name: find_subject_id(character varying); Type: FUNCTION; Schema: rbac; Owner: postgres
--
CREATE FUNCTION rbac.find_subject_id(subjectname character varying) RETURNS uuid
LANGUAGE sql STRICT
AS '
select uuid from rbac.subject where name = subjectName
';
ALTER FUNCTION rbac.find_subject_id(subjectname character varying) OWNER TO postgres;
--
-- Name: findeffectivepermissionid(uuid, rbac.rbacop, text); Type: FUNCTION; Schema: rbac; Owner: postgres
--
CREATE FUNCTION rbac.findeffectivepermissionid(forobjectuuid uuid, forop rbac.rbacop, foroptablename text DEFAULT NULL::text) RETURNS uuid
LANGUAGE sql STABLE STRICT
AS '
select uuid
from rbac.permission p
where p.objectUuid = forObjectUuid
and (forOp = ''SELECT'' or p.op = forOp)
and p.opTableName = forOpTableName
';
ALTER FUNCTION rbac.findeffectivepermissionid(forobjectuuid uuid, forop rbac.rbacop, foroptablename text) OWNER TO postgres;
--
-- Name: reference; Type: TABLE; Schema: rbac; Owner: postgres
--
CREATE TABLE rbac.reference (
uuid uuid DEFAULT public.uuid_generate_v4(),
type rbac.referencetype NOT NULL
);
ALTER TABLE rbac.reference OWNER TO postgres;
--
-- Name: findgrantees(uuid); Type: FUNCTION; Schema: rbac; Owner: postgres
--
CREATE FUNCTION rbac.findgrantees(grantedid uuid) RETURNS SETOF rbac.reference
LANGUAGE sql STRICT
AS '
with recursive grants as (
select descendantUuid, ascendantUuid
from rbac.grant
where descendantUuid = grantedId
union all
select g.descendantUuid, g.ascendantUuid
from rbac.grant g
inner join grants on grants.ascendantUuid = g.descendantUuid
)
select ref.*
from grants
join rbac.reference ref on ref.uuid = grants.ascendantUuid;
';
ALTER FUNCTION rbac.findgrantees(grantedid uuid) OWNER TO postgres;
--
-- Name: findidnamebyobjectuuid(character varying, uuid); Type: FUNCTION; Schema: rbac; Owner: postgres
--
CREATE FUNCTION rbac.findidnamebyobjectuuid(objecttable character varying, objectuuid uuid) RETURNS character varying
LANGUAGE plpgsql STRICT
AS '
declare
sql varchar;
idName varchar;
begin
objectTable := base.pureIdentifier(objectTable);
sql := format(''select * from %s_id_name_by_uuid(%L::uuid);'', objectTable, objectUuid);
begin
execute sql into idName;
exception
when others then
raise exception ''function %_id_name_by_uuid(''''%'''') failed: %, SQLSTATE: %. If the function itself could not be found, add identity view support to %'',
objectTable, objectUuid, SQLERRM, SQLSTATE, objectTable;
end;
return idName;
end ; ';
ALTER FUNCTION rbac.findidnamebyobjectuuid(objecttable character varying, objectuuid uuid) OWNER TO postgres;
--
-- Name: findobjectuuidbyidname(character varying, character varying); Type: FUNCTION; Schema: rbac; Owner: postgres
--
CREATE FUNCTION rbac.findobjectuuidbyidname(objecttable character varying, objectidname character varying) RETURNS uuid
LANGUAGE plpgsql STRICT
AS '
declare
sql varchar;
uuid uuid;
begin
objectTable := base.pureIdentifier(objectTable);
objectIdName := base.pureIdentifier(objectIdName);
sql := format(''select * from %s_uuid_by_id_name(%L);'', objectTable, objectIdName);
begin
execute sql into uuid;
exception
when others then
raise exception ''function %_uuid_by_id_name(''''%'''') failed: %, SQLSTATE: %. If the function itself could not be found, add identity view support to %\nSQL:%'',
objectTable, objectIdName, SQLERRM, SQLSTATE, objectTable, sql;
end;
if uuid is null then
raise exception ''SQL returned null: %'', sql;
else
return uuid;
end if;
end ; ';
ALTER FUNCTION rbac.findobjectuuidbyidname(objecttable character varying, objectidname character varying) OWNER TO postgres;
--
-- Name: findpermissionid(uuid, rbac.rbacop, text); Type: FUNCTION; Schema: rbac; Owner: postgres
--
CREATE FUNCTION rbac.findpermissionid(forobjectuuid uuid, forop rbac.rbacop, foroptablename text DEFAULT NULL::text) RETURNS uuid
LANGUAGE sql STABLE STRICT
AS '
select uuid
from rbac.permission p
where p.objectUuid = forObjectUuid
and p.op = forOp
and p.opTableName = forOpTableName
';
ALTER FUNCTION rbac.findpermissionid(forobjectuuid uuid, forop rbac.rbacop, foroptablename text) OWNER TO postgres;
--
-- Name: findroleid(character varying); Type: FUNCTION; Schema: rbac; Owner: postgres
--
CREATE FUNCTION rbac.findroleid(roleidname character varying) RETURNS uuid
LANGUAGE plpgsql STRICT
AS '
declare
roleParts text;
roleTypeFromRoleIdName rbac.RoleType;
objectNameFromRoleIdName text;
objectTableFromRoleIdName text;
objectUuidOfRole uuid;
roleUuid uuid;
begin
roleParts = overlay(roleIdName placing ''#'' from length(roleIdName) + 1 - strpos(reverse(roleIdName), '':''));
objectTableFromRoleIdName = split_part(roleParts, ''#'', 1);
objectNameFromRoleIdName = split_part(roleParts, ''#'', 2);
roleTypeFromRoleIdName = split_part(roleParts, ''#'', 3);
objectUuidOfRole = rbac.findObjectUuidByIdName(objectTableFromRoleIdName, objectNameFromRoleIdName);
select uuid
from rbac.role
where objectUuid = objectUuidOfRole
and roleType = roleTypeFromRoleIdName
into roleUuid;
return roleUuid;
end; ';
ALTER FUNCTION rbac.findroleid(roleidname character varying) OWNER TO postgres;
--
-- Name: findroleid(rbac.roledescriptor); Type: FUNCTION; Schema: rbac; Owner: postgres
--
CREATE FUNCTION rbac.findroleid(roledescriptor rbac.roledescriptor) RETURNS uuid
LANGUAGE sql STRICT
AS '
select uuid from rbac.role where objectUuid = roleDescriptor.objectUuid and roleType = roleDescriptor.roleType;
';
ALTER FUNCTION rbac.findroleid(roledescriptor rbac.roledescriptor) OWNER TO postgres;
--
-- Name: generaterbacidentityviewfromprojection(text, text); Type: PROCEDURE; Schema: rbac; Owner: postgres
--
CREATE PROCEDURE rbac.generaterbacidentityviewfromprojection(IN targettable text, IN sqlprojection text)
LANGUAGE plpgsql
AS '
declare
sqlQuery text;
begin
targettable := lower(targettable);
sqlQuery = format($sql$
select target.uuid, base.cleanIdentifier(%2$s) as idName
from %1$s as target;
$sql$, targetTable, sqlProjection);
call rbac.generateRbacIdentityViewFromQuery(targetTable, sqlQuery);
end; ';
ALTER PROCEDURE rbac.generaterbacidentityviewfromprojection(IN targettable text, IN sqlprojection text) OWNER TO postgres;
--
-- Name: generaterbacidentityviewfromquery(text, text); Type: PROCEDURE; Schema: rbac; Owner: postgres
--
CREATE PROCEDURE rbac.generaterbacidentityviewfromquery(IN targettable text, IN sqlquery text)
LANGUAGE plpgsql
AS '
declare
sql text;
begin
targettable := lower(targettable);
sql = format($sql$
create or replace view %1$s_iv as %2$s;
grant all privileges on %1$s_iv to restricted;
$sql$, targetTable, sqlQuery);
execute sql;
sql = format($sql$
create or replace function %1$s_uuid_by_id_name(givenIdName varchar)
returns uuid
language plpgsql as $f$
declare
singleMatch uuid;
begin
select uuid into strict singleMatch from %1$s_iv iv where iv.idName = givenIdName;
return singleMatch;
end; $f$;
$sql$, targetTable);
execute sql;
sql = format($sql$
create or replace function %1$s_id_name_by_uuid(givenUuid uuid)
returns varchar
language sql
strict as $f$
select idName from %1$s_iv iv where iv.uuid = givenUuid;
$f$;
$sql$, targetTable);
execute sql;
end; ';
ALTER PROCEDURE rbac.generaterbacidentityviewfromquery(IN targettable text, IN sqlquery text) OWNER TO postgres;
--
-- Name: generaterbacrestrictedview(text, text, text, text); Type: PROCEDURE; Schema: rbac; Owner: postgres
--
CREATE PROCEDURE rbac.generaterbacrestrictedview(IN targettable text, IN orderby text, IN columnupdates text DEFAULT NULL::text, IN columnnames text DEFAULT '*'::text)
LANGUAGE plpgsql
AS '
declare
sql text;
newColumns text;
begin
targetTable := lower(targetTable);
if columnNames = ''*'' then
columnNames := base.tableColumnNames(targetTable);
end if;
sql := format($sql$
create or replace view %1$s_rv as
with accessible_uuids as (
with recursive
recursive_grants as
(select distinct rbac.grant.descendantuuid,
rbac.grant.ascendantuuid,
1 as level,
true
from rbac.grant
where rbac.grant.assumed
and (rbac.grant.ascendantuuid = any (rbac.currentSubjectOrAssumedRolesUuids()))
union all
select distinct g.descendantuuid,
g.ascendantuuid,
grants.level + 1 as level,
base.assertTrue(grants.level < 22, ''too many grant-levels: '' || grants.level)
from rbac.grant g
join recursive_grants grants on grants.descendantuuid = g.ascendantuuid
where g.assumed),
grant_count AS (
SELECT COUNT(*) AS grant_count FROM recursive_grants
),
count_check as (select base.assertTrue((select count(*) as grant_count from recursive_grants) < 400000,
''too many grants for current subjects: '' || (select count(*) as grant_count from recursive_grants))
as valid)
select distinct perm.objectuuid
from recursive_grants
join rbac.permission perm on recursive_grants.descendantuuid = perm.uuid
join rbac.object obj on obj.uuid = perm.objectuuid
join count_check cc on cc.valid
where obj.objectTable = ''%1$s''
)
select target.*
from %1$s as target
where rbac.hasGlobalAdminRole() or target.uuid in (select * from accessible_uuids)
order by %2$s;
grant all privileges on %1$s_rv to restricted;
$sql$, targetTable, orderBy);
execute sql;
newColumns := ''new.'' || replace(columnNames, '', '', '', new.'');
sql := format($sql$
create function %1$s_instead_of_insert_tf()
returns trigger
language plpgsql as $f$
declare
newTargetRow %1$s;
begin
insert
into %1$s (%2$s)
values (%3$s)
returning * into newTargetRow;
return newTargetRow;
end; $f$;
$sql$, targetTable, columnNames, newColumns);
execute sql;
sql := format($sql$
create trigger instead_of_insert_tg
instead of insert
on %1$s_rv
for each row
execute function %1$s_instead_of_insert_tf();
$sql$, targetTable);
execute sql;
sql := format($sql$
create function %1$s_instead_of_delete_tf()
returns trigger
language plpgsql as $f$
begin
if old.uuid in (select rbac.queryAccessibleObjectUuidsOfSubjectIds(''DELETE'', ''%1$s'', rbac.currentSubjectOrAssumedRolesUuids())) then
delete from %1$s p where p.uuid = old.uuid;
return old;
end if;
raise exception ''[403] Subject %% is not allowed to delete %1$s uuid %%'', rbac.currentSubjectOrAssumedRolesUuids(), old.uuid;
end; $f$;
$sql$, targetTable);
execute sql;
sql := format($sql$
create trigger instead_of_delete_tg
instead of delete
on %1$s_rv
for each row
execute function %1$s_instead_of_delete_tf();
$sql$, targetTable);
execute sql;
if columnUpdates is not null then
sql := format($sql$
create function %1$s_instead_of_update_tf()
returns trigger
language plpgsql as $f$
begin
if old.uuid in (select rbac.queryAccessibleObjectUuidsOfSubjectIds(''UPDATE'', ''%1$s'', rbac.currentSubjectOrAssumedRolesUuids())) then
update %1$s
set %2$s
where uuid = old.uuid;
return old;
end if;
raise exception ''[403] Subject %% is not allowed to update %1$s uuid %%'', rbac.currentSubjectOrAssumedRolesUuids(), old.uuid;
end; $f$;
$sql$, targetTable, columnUpdates);
execute sql;
sql = format($sql$
create trigger instead_of_update_tg
instead of update
on %1$s_rv
for each row
execute function %1$s_instead_of_update_tf();
$sql$, targetTable);
execute sql;
end if;
end; ';
ALTER PROCEDURE rbac.generaterbacrestrictedview(IN targettable text, IN orderby text, IN columnupdates text, IN columnnames text) OWNER TO postgres;
--
-- Name: generaterbacroledescriptors(text); Type: PROCEDURE; Schema: rbac; Owner: postgres
--
CREATE PROCEDURE rbac.generaterbacroledescriptors(IN targettable text)
LANGUAGE plpgsql
AS '
declare
sql text;
begin
sql = format($sql$
create or replace function %1$s_OWNER(entity %1$s, assumed boolean = true)
returns rbac.RoleDescriptor
language plpgsql
strict as $f$
begin
return rbac.roleDescriptorOf(''%1$s'', entity.uuid, ''OWNER'', assumed);
end; $f$;
create or replace function %1$s_ADMIN(entity %1$s, assumed boolean = true)
returns rbac.RoleDescriptor
language plpgsql
strict as $f$
begin
return rbac.roleDescriptorOf(''%1$s'', entity.uuid, ''ADMIN'', assumed);
end; $f$;
create or replace function %1$s_AGENT(entity %1$s, assumed boolean = true)
returns rbac.RoleDescriptor
language plpgsql
strict as $f$
begin
return rbac.roleDescriptorOf(''%1$s'', entity.uuid, ''AGENT'', assumed);
end; $f$;
create or replace function %1$s_TENANT(entity %1$s, assumed boolean = true)
returns rbac.RoleDescriptor
language plpgsql
strict as $f$
begin
return rbac.roleDescriptorOf(''%1$s'', entity.uuid, ''TENANT'', assumed);
end; $f$;
create or replace function %1$s_GUEST(entity %1$s, assumed boolean = true)
returns rbac.RoleDescriptor
language plpgsql
strict as $f$
begin
return rbac.roleDescriptorOf(''%1$s'', entity.uuid, ''GUEST'', assumed);
end; $f$;
create or replace function %1$s_REFERRER(entity %1$s)
returns rbac.RoleDescriptor
language plpgsql
strict as $f$
begin
return rbac.roleDescriptorOf(''%1$s'', entity.uuid, ''REFERRER'');
end; $f$;
$sql$, targetTable);
execute sql;
end; ';
ALTER PROCEDURE rbac.generaterbacroledescriptors(IN targettable text) OWNER TO postgres;
--
-- Name: generaterelatedrbacobject(character varying); Type: PROCEDURE; Schema: rbac; Owner: postgres
--
CREATE PROCEDURE rbac.generaterelatedrbacobject(IN targettable character varying)
LANGUAGE plpgsql
AS '
declare
targetTableName text;
targetSchemaPrefix text;
createInsertTriggerSQL text;
createDeleteTriggerSQL text;
begin
if POSITION(''.'' IN targetTable) > 0 then
targetSchemaPrefix := SPLIT_PART(targetTable, ''.'', 1) || ''.'';
targetTableName := SPLIT_PART(targetTable, ''.'', 2);
else
targetSchemaPrefix := '''';
targetTableName := targetTable;
end if;
if targetSchemaPrefix = '''' and targetTableName = ''customer'' then
raise exception ''missing targetShemaPrefix: %'', targetTable;
end if;
createInsertTriggerSQL = format($sql$
create trigger createRbacObjectFor_%s_insert_tg_1058_25
before insert on %s%s
for each row
execute procedure rbac.insert_related_object();
$sql$, targetTableName, targetSchemaPrefix, targetTableName);
execute createInsertTriggerSQL;
createDeleteTriggerSQL = format($sql$
create trigger createRbacObjectFor_%s_delete_tg_1058_35
after delete on %s%s
for each row
execute procedure rbac.delete_related_rbac_rules_tf();
$sql$, targetTableName, targetSchemaPrefix, targetTableName);
execute createDeleteTriggerSQL;
end;
';
ALTER PROCEDURE rbac.generaterelatedrbacobject(IN targettable character varying) OWNER TO postgres;
--
-- Name: getpermissionid(uuid, rbac.rbacop, text); Type: FUNCTION; Schema: rbac; Owner: postgres
--
CREATE FUNCTION rbac.getpermissionid(forobjectuuid uuid, forop rbac.rbacop, foroptablename text DEFAULT NULL::text) RETURNS uuid
LANGUAGE plpgsql STABLE
AS '
declare
permissionUuid uuid;
begin
select uuid into permissionUuid
from rbac.permission p
where p.objectUuid = forObjectUuid
and p.op = forOp
and forOpTableName is null or p.opTableName = forOpTableName;
assert permissionUuid is not null,
format(''permission %s %s for object UUID %s cannot be found'', forOp, forOpTableName, forObjectUuid);
return permissionUuid;
end; ';
ALTER FUNCTION rbac.getpermissionid(forobjectuuid uuid, forop rbac.rbacop, foroptablename text) OWNER TO postgres;
--
-- Name: getroleid(rbac.roledescriptor); Type: FUNCTION; Schema: rbac; Owner: postgres
--
CREATE FUNCTION rbac.getroleid(roledescriptor rbac.roledescriptor) RETURNS uuid
LANGUAGE plpgsql
AS '
declare
roleUuid uuid;
begin
assert roleDescriptor is not null, ''roleDescriptor must not be null'';
roleUuid := rbac.findRoleId(roleDescriptor);
if (roleUuid is null) then
raise exception ''rbac.role "%#%.%" not found'', roleDescriptor.objectTable, roleDescriptor.objectUuid, roleDescriptor.roleType;
end if;
return roleUuid;
end;
';
ALTER FUNCTION rbac.getroleid(roledescriptor rbac.roledescriptor) OWNER TO postgres;
--
-- Name: global_admin(boolean); Type: FUNCTION; Schema: rbac; Owner: postgres
--
CREATE FUNCTION rbac.global_admin(assumed boolean DEFAULT true) RETURNS rbac.roledescriptor
LANGUAGE sql STABLE STRICT
AS '
select ''rbac.global'', (select uuid from rbac.object where objectTable = ''rbac.global''), ''ADMIN''::rbac.RoleType, assumed;
';
ALTER FUNCTION rbac.global_admin(assumed boolean) OWNER TO postgres;
--
-- Name: global_id_name_by_uuid(uuid); Type: FUNCTION; Schema: rbac; Owner: postgres
--
CREATE FUNCTION rbac.global_id_name_by_uuid(uuid uuid) RETURNS character varying
LANGUAGE sql STRICT
AS '
select idName from rbac.global_iv iv where iv.uuid = global_id_name_by_uuid.uuid;
';
ALTER FUNCTION rbac.global_id_name_by_uuid(uuid uuid) OWNER TO postgres;
--
-- Name: global_uuid_by_id_name(character varying); Type: FUNCTION; Schema: rbac; Owner: postgres
--
CREATE FUNCTION rbac.global_uuid_by_id_name(idname character varying) RETURNS uuid
LANGUAGE sql STRICT
AS '
select uuid from rbac.global_iv iv where iv.idName = global_uuid_by_id_name.idName;
';
ALTER FUNCTION rbac.global_uuid_by_id_name(idname character varying) OWNER TO postgres;
--
-- Name: globalglobalguest(boolean); Type: FUNCTION; Schema: rbac; Owner: postgres
--
CREATE FUNCTION rbac.globalglobalguest(assumed boolean DEFAULT true) RETURNS rbac.roledescriptor
LANGUAGE sql STABLE STRICT
AS '
select ''rbac.global'', (select uuid from rbac.object where objectTable = ''rbac.global''), ''GUEST''::rbac.RoleType, assumed;
';
ALTER FUNCTION rbac.globalglobalguest(assumed boolean) OWNER TO postgres;
--
-- Name: grantedpermissions(uuid); Type: FUNCTION; Schema: rbac; Owner: postgres
--
CREATE FUNCTION rbac.grantedpermissions(targetsubjectuuid uuid) RETURNS TABLE(roleuuid uuid, rolename text, permissionuuid uuid, op rbac.rbacop, optablename character varying, objecttable character varying, objectidname character varying, objectuuid uuid)
LANGUAGE sql STRICT
AS '
select * from rbac.grantedPermissionsRaw(targetSubjectUuid)
union all
select roleUuid, roleName, permissionUuid, ''SELECT''::rbac.RbacOp, opTableName, objectTable, objectIdName, objectUuid
from rbac.grantedPermissionsRaw(targetSubjectUuid)
where op <> ''SELECT''::rbac.RbacOp;
';
ALTER FUNCTION rbac.grantedpermissions(targetsubjectuuid uuid) OWNER TO postgres;
--
-- Name: grantedpermissionsraw(uuid); Type: FUNCTION; Schema: rbac; Owner: postgres
--
CREATE FUNCTION rbac.grantedpermissionsraw(targetsubjectuuid uuid) RETURNS TABLE(roleuuid uuid, rolename text, permissionuuid uuid, op rbac.rbacop, optablename character varying, objecttable character varying, objectidname character varying, objectuuid uuid)
LANGUAGE plpgsql STRICT
AS '
declare
currentSubjectUuid uuid;
begin
currentSubjectUuid := rbac.currentSubjectUuid();
if rbac.hasGlobalRoleGranted(targetSubjectUuid) and not rbac.hasGlobalRoleGranted(currentSubjectUuid) then
raise exception ''[403] permissions of user "%" are not accessible to user "%"'', targetSubjectUuid, base.currentSubject();
end if;
return query select
xp.roleUuid,
(xp.roleObjectTable || ''#'' || xp.roleObjectIdName || '':'' || xp.roleType) as roleName,
xp.permissionUuid, xp.op, xp.opTableName,
xp.permissionObjectTable, xp.permissionObjectIdName, xp.permissionObjectUuid
from (select
r.uuid as roleUuid, r.roletype, ro.objectTable as roleObjectTable,
rbac.findIdNameByObjectUuid(ro.objectTable, ro.uuid) as roleObjectIdName,
p.uuid as permissionUuid, p.op, p.opTableName,
po.objecttable as permissionObjectTable,
rbac.findIdNameByObjectUuid(po.objectTable, po.uuid) as permissionObjectIdName,
po.uuid as permissionObjectUuid
from rbac.queryPermissionsGrantedToSubjectId( targetSubjectUuid) as p
join rbac.grant as g on g.descendantUuid = p.uuid
join rbac.object as po on po.uuid = p.objectUuid
join rbac.role_rv as r on r.uuid = g.ascendantUuid
join rbac.object as ro on ro.uuid = r.objectUuid
where rbac.isGranted(targetSubjectUuid, r.uuid)
) xp;
end; ';
ALTER FUNCTION rbac.grantedpermissionsraw(targetsubjectuuid uuid) OWNER TO postgres;
--
-- Name: grantpermissiontorole(uuid, uuid); Type: PROCEDURE; Schema: rbac; Owner: postgres
--
CREATE PROCEDURE rbac.grantpermissiontorole(IN permissionuuid uuid, IN roleuuid uuid)
LANGUAGE plpgsql
AS '
begin
perform rbac.assertReferenceType(''roleId (ascendant)'', roleUuid, ''rbac.role'');
perform rbac.assertReferenceType(''permissionId (descendant)'', permissionUuid, ''rbac.permission'');
insert
into rbac.grant (grantedByTriggerOf, ascendantUuid, descendantUuid, assumed)
values (rbac.currentTriggerObjectUuid(), roleUuid, permissionUuid, true)
on conflict do nothing;
end;
';
ALTER PROCEDURE rbac.grantpermissiontorole(IN permissionuuid uuid, IN roleuuid uuid) OWNER TO postgres;
--
-- Name: grantpermissiontorole(uuid, rbac.roledescriptor); Type: PROCEDURE; Schema: rbac; Owner: postgres
--
CREATE PROCEDURE rbac.grantpermissiontorole(IN permissionuuid uuid, IN roledesc rbac.roledescriptor)
LANGUAGE plpgsql
AS '
begin
call rbac.grantPermissionToRole(permissionUuid, rbac.findRoleId(roleDesc));
end;
';
ALTER PROCEDURE rbac.grantpermissiontorole(IN permissionuuid uuid, IN roledesc rbac.roledescriptor) OWNER TO postgres;
--
-- Name: grantroletorole(uuid, uuid, boolean); Type: PROCEDURE; Schema: rbac; Owner: postgres
--
CREATE PROCEDURE rbac.grantroletorole(IN subroleid uuid, IN superroleid uuid, IN doassume boolean DEFAULT true)
LANGUAGE plpgsql
AS '
begin
perform rbac.assertReferenceType(''superRoleId (ascendant)'', superRoleId, ''rbac.role'');
perform rbac.assertReferenceType(''subRoleId (descendant)'', subRoleId, ''rbac.role'');
if rbac.isGranted(subRoleId, superRoleId) then
call rbac.raiseDuplicateRoleGrantException(subRoleId, superRoleId);
end if;
insert
into rbac.grant (grantedByTriggerOf, ascendantuuid, descendantUuid, assumed)
values (rbac.currentTriggerObjectUuid(), superRoleId, subRoleId, doAssume)
on conflict do nothing;
end; ';
ALTER PROCEDURE rbac.grantroletorole(IN subroleid uuid, IN superroleid uuid, IN doassume boolean) OWNER TO postgres;
--
-- Name: grantroletorole(rbac.roledescriptor, rbac.roledescriptor, boolean); Type: PROCEDURE; Schema: rbac; Owner: postgres
--
CREATE PROCEDURE rbac.grantroletorole(IN subrole rbac.roledescriptor, IN superrole rbac.roledescriptor, IN doassume boolean DEFAULT true)
LANGUAGE plpgsql
AS '
declare
superRoleId uuid;
subRoleId uuid;
begin
if superRole.objectUuid is null or subRole.objectuuid is null then
return;
end if;
superRoleId := rbac.findRoleId(superRole);
subRoleId := rbac.findRoleId(subRole);
perform rbac.assertReferenceType(''superRoleId (ascendant)'', superRoleId, ''rbac.role'');
perform rbac.assertReferenceType(''subRoleId (descendant)'', subRoleId, ''rbac.role'');
if rbac.isGranted(subRoleId, superRoleId) then
call rbac.raiseDuplicateRoleGrantException(subRoleId, superRoleId);
end if;
insert
into rbac.grant (grantedByTriggerOf, ascendantuuid, descendantUuid, assumed)
values (rbac.currentTriggerObjectUuid(), superRoleId, subRoleId, doAssume)
on conflict do nothing;
end; ';
ALTER PROCEDURE rbac.grantroletorole(IN subrole rbac.roledescriptor, IN superrole rbac.roledescriptor, IN doassume boolean) OWNER TO postgres;
--
-- Name: grantroletosubject(uuid, uuid, uuid, boolean); Type: PROCEDURE; Schema: rbac; Owner: postgres
--
CREATE PROCEDURE rbac.grantroletosubject(IN grantedbyroleuuid uuid, IN grantedroleuuid uuid, IN subjectuuid uuid, IN doassume boolean DEFAULT true)
LANGUAGE plpgsql
AS '
declare
grantedByRoleIdName text;
grantedRoleIdName text;
begin
perform rbac.assertReferenceType(''grantingRoleUuid'', grantedByRoleUuid, ''rbac.role'');
perform rbac.assertReferenceType(''grantedRoleUuid (descendant)'', grantedRoleUuid, ''rbac.role'');
perform rbac.assertReferenceType(''subjectUuid (ascendant)'', subjectUuid, ''rbac.subject'');
assert grantedByRoleUuid is not null, ''grantedByRoleUuid must not be null'';
assert grantedRoleUuid is not null, ''grantedRoleUuid must not be null'';
assert subjectUuid is not null, ''subjectUuid must not be null'';
if NOT rbac.isGranted(rbac.currentSubjectOrAssumedRolesUuids(), grantedByRoleUuid) then
select roleIdName from rbac.role_ev where uuid=grantedByRoleUuid into grantedByRoleIdName;
raise exception ''[403] Access to granted-by-role % (%) forbidden for % (%)'',
grantedByRoleIdName, grantedByRoleUuid, base.currentSubjects(), rbac.currentSubjectOrAssumedRolesUuids();
end if;
if NOT rbac.isGranted(grantedByRoleUuid, grantedRoleUuid) then
select roleIdName from rbac.role_ev where uuid=grantedByRoleUuid into grantedByRoleIdName;
select roleIdName from rbac.role_ev where uuid=grantedRoleUuid into grantedRoleIdName;
raise exception ''[403] Access to granted role % (%) forbidden for % (%)'',
grantedRoleIdName, grantedRoleUuid, grantedByRoleIdName, grantedByRoleUuid;
end if;
insert
into rbac.grant (grantedByRoleUuid, ascendantUuid, descendantUuid, assumed)
values (grantedByRoleUuid, subjectUuid, grantedRoleUuid, doAssume);
end; ';
ALTER PROCEDURE rbac.grantroletosubject(IN grantedbyroleuuid uuid, IN grantedroleuuid uuid, IN subjectuuid uuid, IN doassume boolean) OWNER TO postgres;
--
-- Name: grantroletosubjectunchecked(uuid, uuid, uuid, boolean); Type: PROCEDURE; Schema: rbac; Owner: postgres
--
CREATE PROCEDURE rbac.grantroletosubjectunchecked(IN grantedbyroleuuid uuid, IN grantedroleuuid uuid, IN subjectuuid uuid, IN doassume boolean DEFAULT true)
LANGUAGE plpgsql
AS '
begin
perform rbac.assertReferenceType(''grantingRoleUuid'', grantedByRoleUuid, ''rbac.role'');
perform rbac.assertReferenceType(''roleId (descendant)'', grantedRoleUuid, ''rbac.role'');
perform rbac.assertReferenceType(''subjectUuid (ascendant)'', subjectUuid, ''rbac.subject'');
insert
into rbac.grant (grantedByRoleUuid, ascendantUuid, descendantUuid, assumed)
values (grantedByRoleUuid, subjectUuid, grantedRoleUuid, doAssume)
on conflict do nothing;
end; ';
ALTER PROCEDURE rbac.grantroletosubjectunchecked(IN grantedbyroleuuid uuid, IN grantedroleuuid uuid, IN subjectuuid uuid, IN doassume boolean) OWNER TO postgres;
--
-- Name: hasglobaladminrole(); Type: FUNCTION; Schema: rbac; Owner: postgres
--
CREATE FUNCTION rbac.hasglobaladminrole() RETURNS boolean
LANGUAGE plpgsql STABLE
AS '
declare
assumedRoles text;
begin
begin
assumedRoles := current_setting(''hsadminng.assumedRoles'');
exception
when others then
assumedRoles := null;
end;
return TRIM(COALESCE(assumedRoles, '''')) = '''' and rbac.isGlobalAdmin();
end; ';
ALTER FUNCTION rbac.hasglobaladminrole() OWNER TO postgres;
--
-- Name: hasglobalpermission(rbac.rbacop); Type: FUNCTION; Schema: rbac; Owner: postgres
--
CREATE FUNCTION rbac.hasglobalpermission(op rbac.rbacop) RETURNS boolean
LANGUAGE sql
AS '
select (select uuid from rbac.global) in
(select rbac.queryAccessibleObjectUuidsOfSubjectIds(op, ''rbac.global'', rbac.currentSubjectOrAssumedRolesUuids()));
';
ALTER FUNCTION rbac.hasglobalpermission(op rbac.rbacop) OWNER TO postgres;
--
-- Name: hasglobalrolegranted(uuid); Type: FUNCTION; Schema: rbac; Owner: postgres
--
CREATE FUNCTION rbac.hasglobalrolegranted(forascendantuuid uuid) RETURNS boolean
LANGUAGE sql STABLE
AS '
select exists(
select r.uuid
from rbac.grant as g
join rbac.role as r on r.uuid = g.descendantuuid
join rbac.object as o on o.uuid = r.objectuuid
where g.ascendantuuid = forAscendantUuid
and o.objecttable = ''rbac.global''
);
';
ALTER FUNCTION rbac.hasglobalrolegranted(forascendantuuid uuid) OWNER TO postgres;
--
-- Name: hasinsertpermission(uuid, text); Type: FUNCTION; Schema: rbac; Owner: postgres
--
CREATE FUNCTION rbac.hasinsertpermission(objectuuid uuid, tablename text) RETURNS boolean
LANGUAGE plpgsql STABLE
AS '
declare
permissionUuid uuid;
begin
permissionUuid = rbac.findPermissionId(objectUuid, ''INSERT''::rbac.RbacOp, tableName);
return permissionUuid is not null;
end;
';
ALTER FUNCTION rbac.hasinsertpermission(objectuuid uuid, tablename text) OWNER TO postgres;
--
-- Name: insert_grant_tf(); Type: FUNCTION; Schema: rbac; Owner: postgres
--
CREATE FUNCTION rbac.insert_grant_tf() RETURNS trigger
LANGUAGE plpgsql
AS '
declare
newGrant rbac.grant_rv;
begin
call rbac.grantRoleToSubject(rbac.assumedRoleUuid(), new.grantedRoleUuid, new.subjectUuid, new.assumed);
select grv.*
from rbac.grant_rv grv
where grv.subjectUuid=new.subjectUuid and grv.grantedRoleUuid=new.grantedRoleUuid
into newGrant;
return newGrant;
end; ';
ALTER FUNCTION rbac.insert_grant_tf() OWNER TO postgres;
--
-- Name: insert_related_object(); Type: FUNCTION; Schema: rbac; Owner: postgres
--
CREATE FUNCTION rbac.insert_related_object() RETURNS trigger
LANGUAGE plpgsql STRICT
AS '
declare
objectUuid uuid;
tableSchemaAndName text;
begin
tableSchemaAndName := base.combine_table_schema_and_name(TG_TABLE_SCHEMA, TG_TABLE_NAME);
if TG_OP = ''INSERT'' then
if NEW.uuid is null then
insert
into rbac.object (objectTable)
values (tableSchemaAndName)
returning uuid into objectUuid;
NEW.uuid = objectUuid;
else
insert
into rbac.object (uuid, objectTable)
values (NEW.uuid, tableSchemaAndName)
returning uuid into objectUuid;
end if;
return NEW;
else
raise exception ''invalid usage of TRIGGER AFTER INSERT'';
end if;
end; ';
ALTER FUNCTION rbac.insert_related_object() OWNER TO postgres;
--
-- Name: insert_subject_tf(); Type: FUNCTION; Schema: rbac; Owner: postgres
--
CREATE FUNCTION rbac.insert_subject_tf() RETURNS trigger
LANGUAGE plpgsql
AS '
declare
refUuid uuid;
newUser rbac.subject;
begin
insert
into rbac.reference as r (uuid, type)
values( new.uuid, ''rbac.subject'')
returning r.uuid into refUuid;
insert
into rbac.subject (uuid, name)
values (refUuid, new.name)
returning * into newUser;
return newUser;
end;
';
ALTER FUNCTION rbac.insert_subject_tf() OWNER TO postgres;
--
-- Name: isglobaladmin(); Type: FUNCTION; Schema: rbac; Owner: postgres
--
CREATE FUNCTION rbac.isglobaladmin() RETURNS boolean
LANGUAGE plpgsql
AS '
begin
return rbac.isGranted(rbac.currentSubjectOrAssumedRolesUuids(), rbac.findRoleId(rbac.global_ADMIN()));
end; ';
ALTER FUNCTION rbac.isglobaladmin() OWNER TO postgres;
--
-- Name: isgranted(uuid[], uuid); Type: FUNCTION; Schema: rbac; Owner: postgres
--
CREATE FUNCTION rbac.isgranted(granteeids uuid[], grantedid uuid) RETURNS boolean
LANGUAGE sql STRICT
AS '
with recursive grants as (
select descendantUuid, ascendantUuid
from rbac.grant
where descendantUuid = grantedId
union all
select "grant".descendantUuid, "grant".ascendantUuid
from rbac.grant "grant"
inner join grants recur on recur.ascendantUuid = "grant".descendantUuid
)
select exists (
select true
from grants
where ascendantUuid = any(granteeIds)
) or grantedId = any(granteeIds);
';
ALTER FUNCTION rbac.isgranted(granteeids uuid[], grantedid uuid) OWNER TO postgres;
--
-- Name: isgranted(uuid, uuid); Type: FUNCTION; Schema: rbac; Owner: postgres
--
CREATE FUNCTION rbac.isgranted(granteeid uuid, grantedid uuid) RETURNS boolean
LANGUAGE sql STRICT
AS '
select * from rbac.isGranted(array[granteeId], grantedId);
';
ALTER FUNCTION rbac.isgranted(granteeid uuid, grantedid uuid) OWNER TO postgres;
--
-- Name: ispermissiongrantedtosubject(uuid, uuid); Type: FUNCTION; Schema: rbac; Owner: postgres
--
CREATE FUNCTION rbac.ispermissiongrantedtosubject(permissionid uuid, subjectid uuid) RETURNS boolean
LANGUAGE sql STABLE
AS '
with recursive grants as (
select descendantUuid, ascendantUuid
from rbac.grant
where descendantUuid = permissionId
union all
select g.descendantUuid, g.ascendantUuid
from rbac.grant g
inner join grants on grants.ascendantUuid = g.descendantUuid
)
select exists(
select true
from grants
where ascendantUuid = subjectId
);
';
ALTER FUNCTION rbac.ispermissiongrantedtosubject(permissionid uuid, subjectid uuid) OWNER TO postgres;
--
-- Name: leavetriggerforobjectuuid(uuid); Type: PROCEDURE; Schema: rbac; Owner: postgres
--
CREATE PROCEDURE rbac.leavetriggerforobjectuuid(IN currentobjectuuid uuid)
LANGUAGE plpgsql
AS '
declare
existingObjectUuid uuid;
begin
existingObjectUuid = current_setting(''hsadminng.currentObjectUuid'', true);
if ( existingObjectUuid <> currentObjectUuid ) then
raise exception ''[500] currentObjectUuid does not match: "%"'', existingObjectUuid;
end if;
execute format(''reset hsadminng.currentObjectUuid'');
end; ';
ALTER PROCEDURE rbac.leavetriggerforobjectuuid(IN currentobjectuuid uuid) OWNER TO postgres;
--
-- Name: queryaccessibleobjectuuidsofsubjectids(rbac.rbacop, character varying, uuid[], integer); Type: FUNCTION; Schema: rbac; Owner: postgres
--
CREATE FUNCTION rbac.queryaccessibleobjectuuidsofsubjectids(requiredop rbac.rbacop, forobjecttable character varying, subjectids uuid[], maxobjects integer DEFAULT 8000) RETURNS SETOF uuid
LANGUAGE plpgsql STRICT
AS '
declare
foundRows bigint;
begin
return query
WITH RECURSIVE grants AS (
SELECT descendantUuid, ascendantUuid, 1 AS level
FROM rbac.grant
WHERE assumed
AND ascendantUuid = any(subjectIds)
UNION ALL
SELECT g.descendantUuid, g.ascendantUuid, grants.level + 1 AS level
FROM rbac.grant g
INNER JOIN grants ON grants.descendantUuid = g.ascendantUuid
WHERE g.assumed
),
granted AS (
SELECT DISTINCT descendantUuid
FROM grants
)
SELECT DISTINCT perm.objectUuid
FROM granted
JOIN rbac.permission perm ON granted.descendantUuid = perm.uuid
JOIN rbac.object obj ON obj.uuid = perm.objectUuid
WHERE (requiredOp = ''SELECT'' OR perm.op = requiredOp)
AND obj.objectTable = forObjectTable
LIMIT maxObjects+1;
foundRows = base.lastRowCount();
if foundRows > maxObjects then
raise exception ''[400] Too many accessible objects, limit is %, found %.'', maxObjects, foundRows
using
errcode = ''P0003'',
hint = ''Please assume a sub-role and try again.'';
end if;
end;
';
ALTER FUNCTION rbac.queryaccessibleobjectuuidsofsubjectids(requiredop rbac.rbacop, forobjecttable character varying, subjectids uuid[], maxobjects integer) OWNER TO postgres;
--
-- Name: subject; Type: TABLE; Schema: rbac; Owner: postgres
--
CREATE TABLE rbac.subject (
uuid uuid NOT NULL,
name character varying(63) NOT NULL
);
ALTER TABLE rbac.subject OWNER TO postgres;
--
-- Name: queryallrbacsubjectswithpermissionsfor(uuid); Type: FUNCTION; Schema: rbac; Owner: postgres
--
CREATE FUNCTION rbac.queryallrbacsubjectswithpermissionsfor(objectid uuid) RETURNS SETOF rbac.subject
LANGUAGE sql STRICT
AS '
select *
from rbac.subject
where uuid in (
with recursive grants as (
select descendantUuid, ascendantUuid
from rbac.grant
where descendantUuid = objectId
union all
select "grant".descendantUuid, "grant".ascendantUuid
from rbac.grant "grant"
inner join grants recur on recur.ascendantUuid = "grant".descendantUuid
)
select ascendantUuid
from grants);
';
ALTER FUNCTION rbac.queryallrbacsubjectswithpermissionsfor(objectid uuid) OWNER TO postgres;
--
-- Name: permission; Type: TABLE; Schema: rbac; Owner: postgres
--
CREATE TABLE rbac.permission (
uuid uuid NOT NULL,
objectuuid uuid NOT NULL,
op rbac.rbacop NOT NULL,
optablename character varying(60)
);
ALTER TABLE rbac.permission OWNER TO postgres;
--
-- Name: querypermissionsgrantedtosubjectid(uuid); Type: FUNCTION; Schema: rbac; Owner: postgres
--
CREATE FUNCTION rbac.querypermissionsgrantedtosubjectid(subjectid uuid) RETURNS SETOF rbac.permission
LANGUAGE sql STRICT
AS '
with recursive grants as (
select descendantUuid, ascendantUuid
from rbac.grant
where ascendantUuid = subjectId
union all
select g.descendantUuid, g.ascendantUuid
from rbac.grant g
inner join grants on grants.descendantUuid = g.ascendantUuid
)
select perm.*
from rbac.permission perm
where perm.uuid in (
select descendantUuid
from grants
);
';
ALTER FUNCTION rbac.querypermissionsgrantedtosubjectid(subjectid uuid) OWNER TO postgres;
--
-- Name: raiseduplicaterolegrantexception(uuid, uuid); Type: PROCEDURE; Schema: rbac; Owner: postgres
--
CREATE PROCEDURE rbac.raiseduplicaterolegrantexception(IN subroleid uuid, IN superroleid uuid)
LANGUAGE plpgsql
AS '
declare
subRoleIdName text;
superRoleIdName text;
begin
select roleIdName from rbac.role_ev where uuid=subRoleId into subRoleIdName;
select roleIdName from rbac.role_ev where uuid=superRoleId into superRoleIdName;
raise exception ''[400] Duplicate role grant detected: role % (%) already granted to % (%)'', subRoleId, subRoleIdName, superRoleId, superRoleIdName;
end;
';
ALTER PROCEDURE rbac.raiseduplicaterolegrantexception(IN subroleid uuid, IN superroleid uuid) OWNER TO postgres;
--
-- Name: revokepermissionfromrole(uuid, uuid); Type: PROCEDURE; Schema: rbac; Owner: postgres
--
CREATE PROCEDURE rbac.revokepermissionfromrole(IN permissionuuid uuid, IN superroleuuid uuid)
LANGUAGE plpgsql
AS '
begin
raise INFO ''delete from rbac.grant where ascendantUuid = % and descendantUuid = %'', superRoleUuid, permissionUuid;
delete from rbac.grant as g
where g.ascendantUuid = superRoleUuid and g.descendantUuid = permissionUuid;
end; ';
ALTER PROCEDURE rbac.revokepermissionfromrole(IN permissionuuid uuid, IN superroleuuid uuid) OWNER TO postgres;
--
-- Name: revokepermissionfromrole(uuid, rbac.roledescriptor); Type: PROCEDURE; Schema: rbac; Owner: postgres
--
CREATE PROCEDURE rbac.revokepermissionfromrole(IN permissionid uuid, IN superrole rbac.roledescriptor)
LANGUAGE plpgsql
AS '
declare
superRoleId uuid;
permissionOp text;
objectTable text;
objectUuid uuid;
begin
superRoleId := rbac.findRoleId(superRole);
perform rbac.assertReferenceType(''superRoleId (ascendant)'', superRoleId, ''rbac.role'');
perform rbac.assertReferenceType(''permission (descendant)'', permissionId, ''rbac.permission'');
if (rbac.isGranted(superRoleId, permissionId)) then
delete from rbac.grant where ascendantUuid = superRoleId and descendantUuid = permissionId;
else
select p.op, o.objectTable, o.uuid
from rbac.grant g
join rbac.permission p on p.uuid=g.descendantUuid
join rbac.object o on o.uuid=p.objectUuid
where g.uuid=permissionId
into permissionOp, objectTable, objectUuid;
raise exception ''cannot revoke permission % (% on %#% (%) from % (%)) because it is not granted'',
permissionId, permissionOp, objectTable, objectUuid, permissionId, superRole, superRoleId;
end if;
end; ';
ALTER PROCEDURE rbac.revokepermissionfromrole(IN permissionid uuid, IN superrole rbac.roledescriptor) OWNER TO postgres;
--
-- Name: revokerolefromrole(rbac.roledescriptor, rbac.roledescriptor); Type: PROCEDURE; Schema: rbac; Owner: postgres
--
CREATE PROCEDURE rbac.revokerolefromrole(IN subrole rbac.roledescriptor, IN superrole rbac.roledescriptor)
LANGUAGE plpgsql
AS '
declare
superRoleId uuid;
subRoleId uuid;
begin
superRoleId := rbac.findRoleId(superRole);
subRoleId := rbac.findRoleId(subRole);
perform rbac.assertReferenceType(''superRoleId (ascendant)'', superRoleId, ''rbac.role'');
perform rbac.assertReferenceType(''subRoleId (descendant)'', subRoleId, ''rbac.role'');
if (rbac.isGranted(superRoleId, subRoleId)) then
delete from rbac.grant where ascendantUuid = superRoleId and descendantUuid = subRoleId;
else
raise exception ''cannot revoke role % (%) from % (%) because it is not granted'',
subRole, subRoleId, superRole, superRoleId;
end if;
end; ';
ALTER PROCEDURE rbac.revokerolefromrole(IN subrole rbac.roledescriptor, IN superrole rbac.roledescriptor) OWNER TO postgres;
--
-- Name: revokerolefromsubject(uuid, uuid, uuid); Type: PROCEDURE; Schema: rbac; Owner: postgres
--
CREATE PROCEDURE rbac.revokerolefromsubject(IN grantedbyroleuuid uuid, IN grantedroleuuid uuid, IN subjectuuid uuid)
LANGUAGE plpgsql
AS '
begin
call rbac.checkRevokeRoleFromSubjectPreconditions(grantedByRoleUuid, grantedRoleUuid, subjectUuid);
raise INFO ''delete from rbac.grant where ascendantUuid = % and descendantUuid = %'', subjectUuid, grantedRoleUuid;
delete from rbac.grant as g
where g.ascendantUuid = subjectUuid and g.descendantUuid = grantedRoleUuid
and g.grantedByRoleUuid = revokeRoleFromSubject.grantedByRoleUuid;
end; ';
ALTER PROCEDURE rbac.revokerolefromsubject(IN grantedbyroleuuid uuid, IN grantedroleuuid uuid, IN subjectuuid uuid) OWNER TO postgres;
--
-- Name: roledescriptorof(character varying, uuid, rbac.roletype, boolean); Type: FUNCTION; Schema: rbac; Owner: postgres
--
CREATE FUNCTION rbac.roledescriptorof(objecttable character varying, objectuuid uuid, roletype rbac.roletype, assumed boolean DEFAULT true) RETURNS rbac.roledescriptor
LANGUAGE sql STABLE STRICT
AS '
select objectTable, objectUuid, roleType::rbac.RoleType, assumed;
';
ALTER FUNCTION rbac.roledescriptorof(objecttable character varying, objectuuid uuid, roletype rbac.roletype, assumed boolean) OWNER TO postgres;
--
-- Name: unassumed(); Type: FUNCTION; Schema: rbac; Owner: postgres
--
CREATE FUNCTION rbac.unassumed() RETURNS boolean
LANGUAGE sql STABLE
AS '
select false;
';
ALTER FUNCTION rbac.unassumed() OWNER TO postgres;
--
-- Name: customer; Type: TABLE; Schema: rbactest; Owner: postgres
--
CREATE TABLE rbactest.customer (
uuid uuid,
version integer DEFAULT 0 NOT NULL,
reference integer NOT NULL,
prefix character(3),
adminusername character varying(63),
CONSTRAINT customer_reference_check CHECK (((reference >= 10000) AND (reference <= 99999)))
);
ALTER TABLE rbactest.customer OWNER TO postgres;
--
-- Name: customer_admin(rbactest.customer, boolean); Type: FUNCTION; Schema: rbactest; Owner: postgres
--
CREATE FUNCTION rbactest.customer_admin(entity rbactest.customer, assumed boolean DEFAULT true) RETURNS rbac.roledescriptor
LANGUAGE plpgsql STRICT
AS '
begin
return rbac.roleDescriptorOf(''rbactest.customer'', entity.uuid, ''ADMIN'', assumed);
end; ';
ALTER FUNCTION rbactest.customer_admin(entity rbactest.customer, assumed boolean) OWNER TO postgres;
--
-- Name: customer_agent(rbactest.customer, boolean); Type: FUNCTION; Schema: rbactest; Owner: postgres
--
CREATE FUNCTION rbactest.customer_agent(entity rbactest.customer, assumed boolean DEFAULT true) RETURNS rbac.roledescriptor
LANGUAGE plpgsql STRICT
AS '
begin
return rbac.roleDescriptorOf(''rbactest.customer'', entity.uuid, ''AGENT'', assumed);
end; ';
ALTER FUNCTION rbactest.customer_agent(entity rbactest.customer, assumed boolean) OWNER TO postgres;
--
-- Name: customer_build_rbac_system(rbactest.customer); Type: PROCEDURE; Schema: rbactest; Owner: postgres
--
CREATE PROCEDURE rbactest.customer_build_rbac_system(IN new rbactest.customer)
LANGUAGE plpgsql
AS '
declare
begin
call rbac.enterTriggerForObjectUuid(NEW.uuid);
perform rbac.defineRoleWithGrants(
rbactest.customer_OWNER(NEW),
permissions => array[''DELETE''],
incomingSuperRoles => array[rbac.global_ADMIN(rbac.unassumed())],
subjectUuids => array[rbac.currentSubjectUuid()]
);
perform rbac.defineRoleWithGrants(
rbactest.customer_ADMIN(NEW),
permissions => array[''UPDATE''],
incomingSuperRoles => array[rbactest.customer_OWNER(NEW)]
);
perform rbac.defineRoleWithGrants(
rbactest.customer_TENANT(NEW),
permissions => array[''SELECT''],
incomingSuperRoles => array[rbactest.customer_ADMIN(NEW)]
);
call rbac.leaveTriggerForObjectUuid(NEW.uuid);
end; ';
ALTER PROCEDURE rbactest.customer_build_rbac_system(IN new rbactest.customer) OWNER TO postgres;
--
-- Name: customer_build_rbac_system_after_insert_tf(); Type: FUNCTION; Schema: rbactest; Owner: postgres
--
CREATE FUNCTION rbactest.customer_build_rbac_system_after_insert_tf() RETURNS trigger
LANGUAGE plpgsql STRICT
AS '
begin
call rbactest.customer_build_rbac_system(NEW);
return NEW;
end; ';
ALTER FUNCTION rbactest.customer_build_rbac_system_after_insert_tf() OWNER TO postgres;
--
-- Name: customer_create_test_data(integer); Type: FUNCTION; Schema: rbactest; Owner: postgres
--
CREATE FUNCTION rbactest.customer_create_test_data(customercount integer) RETURNS integer
LANGUAGE plpgsql STRICT
AS '
begin
return 10000 + customerCount;
end; ';
ALTER FUNCTION rbactest.customer_create_test_data(customercount integer) OWNER TO postgres;
--
-- Name: customer_create_test_data(integer, integer); Type: PROCEDURE; Schema: rbactest; Owner: postgres
--
CREATE PROCEDURE rbactest.customer_create_test_data(IN startcount integer, IN endcount integer)
LANGUAGE plpgsql
AS '
begin
for t in startCount..endCount
loop
call rbactest.customer_create_test_data(rbactest.testCustomerReference(t), base.intToVarChar(t, 3));
commit;
end loop;
end; ';
ALTER PROCEDURE rbactest.customer_create_test_data(IN startcount integer, IN endcount integer) OWNER TO postgres;
--
-- Name: customer_create_test_data(integer, character varying); Type: PROCEDURE; Schema: rbactest; Owner: postgres
--
CREATE PROCEDURE rbactest.customer_create_test_data(IN custreference integer, IN custprefix character varying)
LANGUAGE plpgsql
AS '
declare
custRowId uuid;
custAdminName varchar;
custAdminUuid uuid;
newCust rbactest.customer;
begin
custRowId = uuid_generate_v4();
custAdminName = ''customer-admin@'' || custPrefix || ''.example.com'';
custAdminUuid = rbac.create_subject(custAdminName);
insert
into rbactest.customer (reference, prefix, adminUserName)
values (custReference, custPrefix, custAdminName);
select * into newCust
from rbactest.customer where reference=custReference;
call rbac.grantRoleToSubject(
rbac.getRoleId(rbactest.customer_OWNER(newCust)),
rbac.getRoleId(rbactest.customer_ADMIN(newCust)),
custAdminUuid,
true);
end; ';
ALTER PROCEDURE rbactest.customer_create_test_data(IN custreference integer, IN custprefix character varying) OWNER TO postgres;
--
-- Name: customer_grants_insert_to_global_tf(); Type: FUNCTION; Schema: rbactest; Owner: postgres
--
CREATE FUNCTION rbactest.customer_grants_insert_to_global_tf() RETURNS trigger
LANGUAGE plpgsql STRICT
AS '
begin
call rbac.grantPermissionToRole(
rbac.createPermission(NEW.uuid, ''INSERT'', ''rbactest.customer''),
rbac.global_ADMIN());
return NEW;
end; ';
ALTER FUNCTION rbactest.customer_grants_insert_to_global_tf() OWNER TO postgres;
--
-- Name: customer_guest(rbactest.customer, boolean); Type: FUNCTION; Schema: rbactest; Owner: postgres
--
CREATE FUNCTION rbactest.customer_guest(entity rbactest.customer, assumed boolean DEFAULT true) RETURNS rbac.roledescriptor
LANGUAGE plpgsql STRICT
AS '
begin
return rbac.roleDescriptorOf(''rbactest.customer'', entity.uuid, ''GUEST'', assumed);
end; ';
ALTER FUNCTION rbactest.customer_guest(entity rbactest.customer, assumed boolean) OWNER TO postgres;
--
-- Name: customer_id_name_by_uuid(uuid); Type: FUNCTION; Schema: rbactest; Owner: postgres
--
CREATE FUNCTION rbactest.customer_id_name_by_uuid(givenuuid uuid) RETURNS character varying
LANGUAGE sql STRICT
AS '
select idName from rbactest.customer_iv iv where iv.uuid = givenUuid;
';
ALTER FUNCTION rbactest.customer_id_name_by_uuid(givenuuid uuid) OWNER TO postgres;
--
-- Name: customer_insert_permission_check_tf(); Type: FUNCTION; Schema: rbactest; Owner: postgres
--
CREATE FUNCTION rbactest.customer_insert_permission_check_tf() RETURNS trigger
LANGUAGE plpgsql
AS '
declare
superObjectUuid uuid;
begin
if rbac.isGlobalAdmin() then
return NEW;
end if;
raise exception ''[403] insert into rbactest.customer values(%) not allowed for current subjects % (%)'',
NEW, base.currentSubjects(), rbac.currentSubjectOrAssumedRolesUuids();
end; ';
ALTER FUNCTION rbactest.customer_insert_permission_check_tf() OWNER TO postgres;
--
-- Name: customer_instead_of_delete_tf(); Type: FUNCTION; Schema: rbactest; Owner: postgres
--
CREATE FUNCTION rbactest.customer_instead_of_delete_tf() RETURNS trigger
LANGUAGE plpgsql
AS '
begin
if old.uuid in (select rbac.queryAccessibleObjectUuidsOfSubjectIds(''DELETE'', ''rbactest.customer'', rbac.currentSubjectOrAssumedRolesUuids())) then
delete from rbactest.customer p where p.uuid = old.uuid;
return old;
end if;
raise exception ''[403] Subject % is not allowed to delete rbactest.customer uuid %'', rbac.currentSubjectOrAssumedRolesUuids(), old.uuid;
end; ';
ALTER FUNCTION rbactest.customer_instead_of_delete_tf() OWNER TO postgres;
--
-- Name: customer_instead_of_insert_tf(); Type: FUNCTION; Schema: rbactest; Owner: postgres
--
CREATE FUNCTION rbactest.customer_instead_of_insert_tf() RETURNS trigger
LANGUAGE plpgsql
AS '
declare
newTargetRow rbactest.customer;
begin
insert
into rbactest.customer (uuid, version, reference, prefix, adminusername)
values (new.uuid, new.version, new.reference, new.prefix, new.adminusername)
returning * into newTargetRow;
return newTargetRow;
end; ';
ALTER FUNCTION rbactest.customer_instead_of_insert_tf() OWNER TO postgres;
--
-- Name: customer_instead_of_update_tf(); Type: FUNCTION; Schema: rbactest; Owner: postgres
--
CREATE FUNCTION rbactest.customer_instead_of_update_tf() RETURNS trigger
LANGUAGE plpgsql
AS '
begin
if old.uuid in (select rbac.queryAccessibleObjectUuidsOfSubjectIds(''UPDATE'', ''rbactest.customer'', rbac.currentSubjectOrAssumedRolesUuids())) then
update rbactest.customer
set
reference = new.reference,
prefix = new.prefix,
adminUserName = new.adminUserName
where uuid = old.uuid;
return old;
end if;
raise exception ''[403] Subject % is not allowed to update rbactest.customer uuid %'', rbac.currentSubjectOrAssumedRolesUuids(), old.uuid;
end; ';
ALTER FUNCTION rbactest.customer_instead_of_update_tf() OWNER TO postgres;
--
-- Name: customer_owner(rbactest.customer, boolean); Type: FUNCTION; Schema: rbactest; Owner: postgres
--
CREATE FUNCTION rbactest.customer_owner(entity rbactest.customer, assumed boolean DEFAULT true) RETURNS rbac.roledescriptor
LANGUAGE plpgsql STRICT
AS '
begin
return rbac.roleDescriptorOf(''rbactest.customer'', entity.uuid, ''OWNER'', assumed);
end; ';
ALTER FUNCTION rbactest.customer_owner(entity rbactest.customer, assumed boolean) OWNER TO postgres;
--
-- Name: customer_rebuild_rbac_system(); Type: PROCEDURE; Schema: rbactest; Owner: postgres
--
CREATE PROCEDURE rbactest.customer_rebuild_rbac_system()
LANGUAGE plpgsql
AS '
DECLARE
DECLARE
row rbactest.customer;
grantsAfter numeric;
grantsBefore numeric;
BEGIN
SELECT count(*) INTO grantsBefore FROM rbac.grant;
FOR row IN SELECT * FROM rbactest.customer LOOP
DELETE FROM rbac.grant g
WHERE g.grantedbytriggerof = row.uuid;
CALL rbactest.customer_build_rbac_system(row);
END LOOP;
select count(*) into grantsAfter from rbac.grant;
raise notice ''total grant count before -> after: % -> %'', grantsBefore, grantsAfter;
END;
';
ALTER PROCEDURE rbactest.customer_rebuild_rbac_system() OWNER TO postgres;
--
-- Name: customer_referrer(rbactest.customer); Type: FUNCTION; Schema: rbactest; Owner: postgres
--
CREATE FUNCTION rbactest.customer_referrer(entity rbactest.customer) RETURNS rbac.roledescriptor
LANGUAGE plpgsql STRICT
AS '
begin
return rbac.roleDescriptorOf(''rbactest.customer'', entity.uuid, ''REFERRER'');
end; ';
ALTER FUNCTION rbactest.customer_referrer(entity rbactest.customer) OWNER TO postgres;
--
-- Name: customer_tenant(rbactest.customer, boolean); Type: FUNCTION; Schema: rbactest; Owner: postgres
--
CREATE FUNCTION rbactest.customer_tenant(entity rbactest.customer, assumed boolean DEFAULT true) RETURNS rbac.roledescriptor
LANGUAGE plpgsql STRICT
AS '
begin
return rbac.roleDescriptorOf(''rbactest.customer'', entity.uuid, ''TENANT'', assumed);
end; ';
ALTER FUNCTION rbactest.customer_tenant(entity rbactest.customer, assumed boolean) OWNER TO postgres;
--
-- Name: customer_uuid_by_id_name(character varying); Type: FUNCTION; Schema: rbactest; Owner: postgres
--
CREATE FUNCTION rbactest.customer_uuid_by_id_name(givenidname character varying) RETURNS uuid
LANGUAGE plpgsql
AS '
declare
singleMatch uuid;
begin
select uuid into strict singleMatch from rbactest.customer_iv iv where iv.idName = givenIdName;
return singleMatch;
end; ';
ALTER FUNCTION rbactest.customer_uuid_by_id_name(givenidname character varying) OWNER TO postgres;
--
-- Name: domain; Type: TABLE; Schema: rbactest; Owner: postgres
--
CREATE TABLE rbactest.domain (
uuid uuid,
packageuuid uuid,
name character varying(253),
description character varying(96)
);
ALTER TABLE rbactest.domain OWNER TO postgres;
--
-- Name: domain_admin(rbactest.domain, boolean); Type: FUNCTION; Schema: rbactest; Owner: postgres
--
CREATE FUNCTION rbactest.domain_admin(entity rbactest.domain, assumed boolean DEFAULT true) RETURNS rbac.roledescriptor
LANGUAGE plpgsql STRICT
AS '
begin
return rbac.roleDescriptorOf(''rbactest.domain'', entity.uuid, ''ADMIN'', assumed);
end; ';
ALTER FUNCTION rbactest.domain_admin(entity rbactest.domain, assumed boolean) OWNER TO postgres;
--
-- Name: domain_agent(rbactest.domain, boolean); Type: FUNCTION; Schema: rbactest; Owner: postgres
--
CREATE FUNCTION rbactest.domain_agent(entity rbactest.domain, assumed boolean DEFAULT true) RETURNS rbac.roledescriptor
LANGUAGE plpgsql STRICT
AS '
begin
return rbac.roleDescriptorOf(''rbactest.domain'', entity.uuid, ''AGENT'', assumed);
end; ';
ALTER FUNCTION rbactest.domain_agent(entity rbactest.domain, assumed boolean) OWNER TO postgres;
--
-- Name: domain_build_rbac_system(rbactest.domain); Type: PROCEDURE; Schema: rbactest; Owner: postgres
--
CREATE PROCEDURE rbactest.domain_build_rbac_system(IN new rbactest.domain)
LANGUAGE plpgsql
AS '
declare
newPackage rbactest.package;
begin
call rbac.enterTriggerForObjectUuid(NEW.uuid);
SELECT * FROM rbactest.package WHERE uuid = NEW.packageUuid INTO newPackage;
assert newPackage.uuid is not null, format(''newPackage must not be null for NEW.packageUuid = %s of rbactest.domain'', NEW.packageUuid);
perform rbac.defineRoleWithGrants(
rbactest.domain_OWNER(NEW),
permissions => array[''DELETE'', ''UPDATE''],
incomingSuperRoles => array[rbactest.package_ADMIN(newPackage)],
outgoingSubRoles => array[rbactest.package_TENANT(newPackage)]
);
perform rbac.defineRoleWithGrants(
rbactest.domain_ADMIN(NEW),
permissions => array[''SELECT''],
incomingSuperRoles => array[rbactest.domain_OWNER(NEW)],
outgoingSubRoles => array[rbactest.package_TENANT(newPackage)]
);
call rbac.leaveTriggerForObjectUuid(NEW.uuid);
end; ';
ALTER PROCEDURE rbactest.domain_build_rbac_system(IN new rbactest.domain) OWNER TO postgres;
--
-- Name: domain_build_rbac_system_after_insert_tf(); Type: FUNCTION; Schema: rbactest; Owner: postgres
--
CREATE FUNCTION rbactest.domain_build_rbac_system_after_insert_tf() RETURNS trigger
LANGUAGE plpgsql STRICT
AS '
begin
call rbactest.domain_build_rbac_system(NEW);
return NEW;
end; ';
ALTER FUNCTION rbactest.domain_build_rbac_system_after_insert_tf() OWNER TO postgres;
--
-- Name: domain_create_test_data(integer); Type: PROCEDURE; Schema: rbactest; Owner: postgres
--
CREATE PROCEDURE rbactest.domain_create_test_data(IN domainperpackage integer)
LANGUAGE plpgsql
AS '
declare
pac record;
begin
for pac in
(select p.uuid, p.name
from rbactest.package p
join rbactest.customer c on p.customeruuid = c.uuid
where c.reference < 90000)
loop
call rbactest.domain_create_test_data(pac.name, 2);
commit;
end loop;
end; ';
ALTER PROCEDURE rbactest.domain_create_test_data(IN domainperpackage integer) OWNER TO postgres;
--
-- Name: domain_create_test_data(character varying, integer); Type: PROCEDURE; Schema: rbactest; Owner: postgres
--
CREATE PROCEDURE rbactest.domain_create_test_data(IN packagename character varying, IN domaincount integer)
LANGUAGE plpgsql
AS '
declare
pac record;
pacAdmin varchar;
begin
select p.uuid, p.name, c.prefix as custPrefix
from rbactest.package p
join rbactest.customer c on p.customeruuid = c.uuid
where p.name = packageName
into pac;
for t in 0..(domainCount-1)
loop
pacAdmin = ''pac-admin-'' || pac.name || ''@'' || pac.custPrefix || ''.example.com'';
call base.defineContext(''creating RBAC test domain'', null, pacAdmin, null);
insert
into rbactest.domain (name, packageUuid)
values (pac.name || ''-'' || base.intToVarChar(t, 4), pac.uuid);
end loop;
end; ';
ALTER PROCEDURE rbactest.domain_create_test_data(IN packagename character varying, IN domaincount integer) OWNER TO postgres;
--
-- Name: domain_grants_insert_to_package_tf(); Type: FUNCTION; Schema: rbactest; Owner: postgres
--
CREATE FUNCTION rbactest.domain_grants_insert_to_package_tf() RETURNS trigger
LANGUAGE plpgsql STRICT
AS '
begin
call rbac.grantPermissionToRole(
rbac.createPermission(NEW.uuid, ''INSERT'', ''rbactest.domain''),
rbactest.package_ADMIN(NEW));
return NEW;
end; ';
ALTER FUNCTION rbactest.domain_grants_insert_to_package_tf() OWNER TO postgres;
--
-- Name: domain_guest(rbactest.domain, boolean); Type: FUNCTION; Schema: rbactest; Owner: postgres
--
CREATE FUNCTION rbactest.domain_guest(entity rbactest.domain, assumed boolean DEFAULT true) RETURNS rbac.roledescriptor
LANGUAGE plpgsql STRICT
AS '
begin
return rbac.roleDescriptorOf(''rbactest.domain'', entity.uuid, ''GUEST'', assumed);
end; ';
ALTER FUNCTION rbactest.domain_guest(entity rbactest.domain, assumed boolean) OWNER TO postgres;
--
-- Name: domain_id_name_by_uuid(uuid); Type: FUNCTION; Schema: rbactest; Owner: postgres
--
CREATE FUNCTION rbactest.domain_id_name_by_uuid(givenuuid uuid) RETURNS character varying
LANGUAGE sql STRICT
AS '
select idName from rbactest.domain_iv iv where iv.uuid = givenUuid;
';
ALTER FUNCTION rbactest.domain_id_name_by_uuid(givenuuid uuid) OWNER TO postgres;
--
-- Name: domain_insert_permission_check_tf(); Type: FUNCTION; Schema: rbactest; Owner: postgres
--
CREATE FUNCTION rbactest.domain_insert_permission_check_tf() RETURNS trigger
LANGUAGE plpgsql
AS '
declare
superObjectUuid uuid;
begin
if rbac.hasInsertPermission(NEW.packageUuid, ''rbactest.domain'') then
return NEW;
end if;
raise exception ''[403] insert into rbactest.domain values(%) not allowed for current subjects % (%)'',
NEW, base.currentSubjects(), rbac.currentSubjectOrAssumedRolesUuids();
end; ';
ALTER FUNCTION rbactest.domain_insert_permission_check_tf() OWNER TO postgres;
--
-- Name: domain_instead_of_delete_tf(); Type: FUNCTION; Schema: rbactest; Owner: postgres
--
CREATE FUNCTION rbactest.domain_instead_of_delete_tf() RETURNS trigger
LANGUAGE plpgsql
AS '
begin
if old.uuid in (select rbac.queryAccessibleObjectUuidsOfSubjectIds(''DELETE'', ''rbactest.domain'', rbac.currentSubjectOrAssumedRolesUuids())) then
delete from rbactest.domain p where p.uuid = old.uuid;
return old;
end if;
raise exception ''[403] Subject % is not allowed to delete rbactest.domain uuid %'', rbac.currentSubjectOrAssumedRolesUuids(), old.uuid;
end; ';
ALTER FUNCTION rbactest.domain_instead_of_delete_tf() OWNER TO postgres;
--
-- Name: domain_instead_of_insert_tf(); Type: FUNCTION; Schema: rbactest; Owner: postgres
--
CREATE FUNCTION rbactest.domain_instead_of_insert_tf() RETURNS trigger
LANGUAGE plpgsql
AS '
declare
newTargetRow rbactest.domain;
begin
insert
into rbactest.domain (uuid, packageuuid, name, description)
values (new.uuid, new.packageuuid, new.name, new.description)
returning * into newTargetRow;
return newTargetRow;
end; ';
ALTER FUNCTION rbactest.domain_instead_of_insert_tf() OWNER TO postgres;
--
-- Name: domain_instead_of_update_tf(); Type: FUNCTION; Schema: rbactest; Owner: postgres
--
CREATE FUNCTION rbactest.domain_instead_of_update_tf() RETURNS trigger
LANGUAGE plpgsql
AS '
begin
if old.uuid in (select rbac.queryAccessibleObjectUuidsOfSubjectIds(''UPDATE'', ''rbactest.domain'', rbac.currentSubjectOrAssumedRolesUuids())) then
update rbactest.domain
set
version = new.version,
packageUuid = new.packageUuid,
description = new.description
where uuid = old.uuid;
return old;
end if;
raise exception ''[403] Subject % is not allowed to update rbactest.domain uuid %'', rbac.currentSubjectOrAssumedRolesUuids(), old.uuid;
end; ';
ALTER FUNCTION rbactest.domain_instead_of_update_tf() OWNER TO postgres;
--
-- Name: domain_owner(rbactest.domain, boolean); Type: FUNCTION; Schema: rbactest; Owner: postgres
--
CREATE FUNCTION rbactest.domain_owner(entity rbactest.domain, assumed boolean DEFAULT true) RETURNS rbac.roledescriptor
LANGUAGE plpgsql STRICT
AS '
begin
return rbac.roleDescriptorOf(''rbactest.domain'', entity.uuid, ''OWNER'', assumed);
end; ';
ALTER FUNCTION rbactest.domain_owner(entity rbactest.domain, assumed boolean) OWNER TO postgres;
--
-- Name: domain_rebuild_rbac_system(); Type: PROCEDURE; Schema: rbactest; Owner: postgres
--
CREATE PROCEDURE rbactest.domain_rebuild_rbac_system()
LANGUAGE plpgsql
AS '
DECLARE
DECLARE
row rbactest.domain;
grantsAfter numeric;
grantsBefore numeric;
BEGIN
SELECT count(*) INTO grantsBefore FROM rbac.grant;
FOR row IN SELECT * FROM rbactest.domain LOOP
DELETE FROM rbac.grant g
WHERE g.grantedbytriggerof = row.uuid;
CALL rbactest.domain_build_rbac_system(row);
END LOOP;
select count(*) into grantsAfter from rbac.grant;
raise notice ''total grant count before -> after: % -> %'', grantsBefore, grantsAfter;
END;
';
ALTER PROCEDURE rbactest.domain_rebuild_rbac_system() OWNER TO postgres;
--
-- Name: domain_referrer(rbactest.domain); Type: FUNCTION; Schema: rbactest; Owner: postgres
--
CREATE FUNCTION rbactest.domain_referrer(entity rbactest.domain) RETURNS rbac.roledescriptor
LANGUAGE plpgsql STRICT
AS '
begin
return rbac.roleDescriptorOf(''rbactest.domain'', entity.uuid, ''REFERRER'');
end; ';
ALTER FUNCTION rbactest.domain_referrer(entity rbactest.domain) OWNER TO postgres;
--
-- Name: domain_tenant(rbactest.domain, boolean); Type: FUNCTION; Schema: rbactest; Owner: postgres
--
CREATE FUNCTION rbactest.domain_tenant(entity rbactest.domain, assumed boolean DEFAULT true) RETURNS rbac.roledescriptor
LANGUAGE plpgsql STRICT
AS '
begin
return rbac.roleDescriptorOf(''rbactest.domain'', entity.uuid, ''TENANT'', assumed);
end; ';
ALTER FUNCTION rbactest.domain_tenant(entity rbactest.domain, assumed boolean) OWNER TO postgres;
--
-- Name: domain_update_rbac_system(rbactest.domain, rbactest.domain); Type: PROCEDURE; Schema: rbactest; Owner: postgres
--
CREATE PROCEDURE rbactest.domain_update_rbac_system(IN old rbactest.domain, IN new rbactest.domain)
LANGUAGE plpgsql
AS '
declare
oldPackage rbactest.package;
newPackage rbactest.package;
begin
call rbac.enterTriggerForObjectUuid(NEW.uuid);
SELECT * FROM rbactest.package WHERE uuid = OLD.packageUuid INTO oldPackage;
assert oldPackage.uuid is not null, format(''oldPackage must not be null for OLD.packageUuid = %s of rbactest.domain'', OLD.packageUuid);
SELECT * FROM rbactest.package WHERE uuid = NEW.packageUuid INTO newPackage;
assert newPackage.uuid is not null, format(''newPackage must not be null for NEW.packageUuid = %s of rbactest.domain'', NEW.packageUuid);
if NEW.packageUuid <> OLD.packageUuid then
call rbac.revokeRoleFromRole(rbactest.domain_OWNER(OLD), rbactest.package_ADMIN(oldPackage));
call rbac.grantRoleToRole(rbactest.domain_OWNER(NEW), rbactest.package_ADMIN(newPackage));
call rbac.revokeRoleFromRole(rbactest.package_TENANT(oldPackage), rbactest.domain_OWNER(OLD));
call rbac.grantRoleToRole(rbactest.package_TENANT(newPackage), rbactest.domain_OWNER(NEW));
call rbac.revokeRoleFromRole(rbactest.package_TENANT(oldPackage), rbactest.domain_ADMIN(OLD));
call rbac.grantRoleToRole(rbactest.package_TENANT(newPackage), rbactest.domain_ADMIN(NEW));
end if;
call rbac.leaveTriggerForObjectUuid(NEW.uuid);
end; ';
ALTER PROCEDURE rbactest.domain_update_rbac_system(IN old rbactest.domain, IN new rbactest.domain) OWNER TO postgres;
--
-- Name: domain_update_rbac_system_after_update_tf(); Type: FUNCTION; Schema: rbactest; Owner: postgres
--
CREATE FUNCTION rbactest.domain_update_rbac_system_after_update_tf() RETURNS trigger
LANGUAGE plpgsql STRICT
AS '
begin
call rbactest.domain_update_rbac_system(OLD, NEW);
return NEW;
end; ';
ALTER FUNCTION rbactest.domain_update_rbac_system_after_update_tf() OWNER TO postgres;
--
-- Name: domain_uuid_by_id_name(character varying); Type: FUNCTION; Schema: rbactest; Owner: postgres
--
CREATE FUNCTION rbactest.domain_uuid_by_id_name(givenidname character varying) RETURNS uuid
LANGUAGE plpgsql
AS '
declare
singleMatch uuid;
begin
select uuid into strict singleMatch from rbactest.domain_iv iv where iv.idName = givenIdName;
return singleMatch;
end; ';
ALTER FUNCTION rbactest.domain_uuid_by_id_name(givenidname character varying) OWNER TO postgres;
--
-- Name: package; Type: TABLE; Schema: rbactest; Owner: postgres
--
CREATE TABLE rbactest.package (
uuid uuid,
version integer DEFAULT 0 NOT NULL,
customeruuid uuid,
name character varying(5),
description character varying(96)
);
ALTER TABLE rbactest.package OWNER TO postgres;
--
-- Name: package_admin(rbactest.package, boolean); Type: FUNCTION; Schema: rbactest; Owner: postgres
--
CREATE FUNCTION rbactest.package_admin(entity rbactest.package, assumed boolean DEFAULT true) RETURNS rbac.roledescriptor
LANGUAGE plpgsql STRICT
AS '
begin
return rbac.roleDescriptorOf(''rbactest.package'', entity.uuid, ''ADMIN'', assumed);
end; ';
ALTER FUNCTION rbactest.package_admin(entity rbactest.package, assumed boolean) OWNER TO postgres;
--
-- Name: package_agent(rbactest.package, boolean); Type: FUNCTION; Schema: rbactest; Owner: postgres
--
CREATE FUNCTION rbactest.package_agent(entity rbactest.package, assumed boolean DEFAULT true) RETURNS rbac.roledescriptor
LANGUAGE plpgsql STRICT
AS '
begin
return rbac.roleDescriptorOf(''rbactest.package'', entity.uuid, ''AGENT'', assumed);
end; ';
ALTER FUNCTION rbactest.package_agent(entity rbactest.package, assumed boolean) OWNER TO postgres;
--
-- Name: package_build_rbac_system(rbactest.package); Type: PROCEDURE; Schema: rbactest; Owner: postgres
--
CREATE PROCEDURE rbactest.package_build_rbac_system(IN new rbactest.package)
LANGUAGE plpgsql
AS '
declare
newCustomer rbactest.customer;
begin
call rbac.enterTriggerForObjectUuid(NEW.uuid);
SELECT * FROM rbactest.customer WHERE uuid = NEW.customerUuid INTO newCustomer;
assert newCustomer.uuid is not null, format(''newCustomer must not be null for NEW.customerUuid = %s of rbactest.package'', NEW.customerUuid);
perform rbac.defineRoleWithGrants(
rbactest.package_OWNER(NEW),
permissions => array[''DELETE'', ''UPDATE''],
incomingSuperRoles => array[rbactest.customer_ADMIN(newCustomer)]
);
perform rbac.defineRoleWithGrants(
rbactest.package_ADMIN(NEW),
incomingSuperRoles => array[rbactest.package_OWNER(NEW)]
);
perform rbac.defineRoleWithGrants(
rbactest.package_TENANT(NEW),
permissions => array[''SELECT''],
incomingSuperRoles => array[rbactest.package_ADMIN(NEW)],
outgoingSubRoles => array[rbactest.customer_TENANT(newCustomer)]
);
call rbac.leaveTriggerForObjectUuid(NEW.uuid);
end; ';
ALTER PROCEDURE rbactest.package_build_rbac_system(IN new rbactest.package) OWNER TO postgres;
--
-- Name: package_build_rbac_system_after_insert_tf(); Type: FUNCTION; Schema: rbactest; Owner: postgres
--
CREATE FUNCTION rbactest.package_build_rbac_system_after_insert_tf() RETURNS trigger
LANGUAGE plpgsql STRICT
AS '
begin
call rbactest.package_build_rbac_system(NEW);
return NEW;
end; ';
ALTER FUNCTION rbactest.package_build_rbac_system_after_insert_tf() OWNER TO postgres;
--
-- Name: package_create_test_data(); Type: PROCEDURE; Schema: rbactest; Owner: postgres
--
CREATE PROCEDURE rbactest.package_create_test_data()
LANGUAGE plpgsql
AS '
declare
cust rbactest.customer;
begin
for cust in (select * from rbactest.customer)
loop
continue when cust.reference >= 90000;
call rbactest.package_create_test_data(cust.prefix, 3);
end loop;
commit;
end ;
';
ALTER PROCEDURE rbactest.package_create_test_data() OWNER TO postgres;
--
-- Name: package_create_test_data(character varying, integer); Type: PROCEDURE; Schema: rbactest; Owner: postgres
--
CREATE PROCEDURE rbactest.package_create_test_data(IN customerprefix character varying, IN paccount integer)
LANGUAGE plpgsql
AS '
declare
cust rbactest.customer;
custAdminUser varchar;
custAdminRole varchar;
pacName varchar;
pac rbactest.package;
begin
select * from rbactest.customer where rbactest.customer.prefix = customerPrefix into cust;
for t in 0..(pacCount-1)
loop
pacName = cust.prefix || to_char(t, ''fm00'');
custAdminUser = ''customer-admin@'' || cust.prefix || ''.example.com'';
custAdminRole = ''rbactest.customer#'' || cust.prefix || '':ADMIN'';
call base.defineContext(''creating RBAC test package'', null, ''superuser-fran@hostsharing.net'', custAdminRole);
insert
into rbactest.package (customerUuid, name, description)
values (cust.uuid, pacName, ''Here you can add your own description of package '' || pacName || ''.'')
returning * into pac;
call rbac.grantRoleToSubject(
rbac.getRoleId(rbactest.customer_ADMIN(cust)),
rbac.findRoleId(rbactest.package_ADMIN(pac)),
rbac.create_subject(''pac-admin-'' || pacName || ''@'' || cust.prefix || ''.example.com''),
true);
end loop;
end; ';
ALTER PROCEDURE rbactest.package_create_test_data(IN customerprefix character varying, IN paccount integer) OWNER TO postgres;
--
-- Name: package_grants_insert_to_customer_tf(); Type: FUNCTION; Schema: rbactest; Owner: postgres
--
CREATE FUNCTION rbactest.package_grants_insert_to_customer_tf() RETURNS trigger
LANGUAGE plpgsql STRICT
AS '
begin
call rbac.grantPermissionToRole(
rbac.createPermission(NEW.uuid, ''INSERT'', ''rbactest.package''),
rbactest.customer_ADMIN(NEW));
return NEW;
end; ';
ALTER FUNCTION rbactest.package_grants_insert_to_customer_tf() OWNER TO postgres;
--
-- Name: package_guest(rbactest.package, boolean); Type: FUNCTION; Schema: rbactest; Owner: postgres
--
CREATE FUNCTION rbactest.package_guest(entity rbactest.package, assumed boolean DEFAULT true) RETURNS rbac.roledescriptor
LANGUAGE plpgsql STRICT
AS '
begin
return rbac.roleDescriptorOf(''rbactest.package'', entity.uuid, ''GUEST'', assumed);
end; ';
ALTER FUNCTION rbactest.package_guest(entity rbactest.package, assumed boolean) OWNER TO postgres;
--
-- Name: package_id_name_by_uuid(uuid); Type: FUNCTION; Schema: rbactest; Owner: postgres
--
CREATE FUNCTION rbactest.package_id_name_by_uuid(givenuuid uuid) RETURNS character varying
LANGUAGE sql STRICT
AS '
select idName from rbactest.package_iv iv where iv.uuid = givenUuid;
';
ALTER FUNCTION rbactest.package_id_name_by_uuid(givenuuid uuid) OWNER TO postgres;
--
-- Name: package_insert_permission_check_tf(); Type: FUNCTION; Schema: rbactest; Owner: postgres
--
CREATE FUNCTION rbactest.package_insert_permission_check_tf() RETURNS trigger
LANGUAGE plpgsql
AS '
declare
superObjectUuid uuid;
begin
if rbac.hasInsertPermission(NEW.customerUuid, ''rbactest.package'') then
return NEW;
end if;
raise exception ''[403] insert into rbactest.package values(%) not allowed for current subjects % (%)'',
NEW, base.currentSubjects(), rbac.currentSubjectOrAssumedRolesUuids();
end; ';
ALTER FUNCTION rbactest.package_insert_permission_check_tf() OWNER TO postgres;
--
-- Name: package_instead_of_delete_tf(); Type: FUNCTION; Schema: rbactest; Owner: postgres
--
CREATE FUNCTION rbactest.package_instead_of_delete_tf() RETURNS trigger
LANGUAGE plpgsql
AS '
begin
if old.uuid in (select rbac.queryAccessibleObjectUuidsOfSubjectIds(''DELETE'', ''rbactest.package'', rbac.currentSubjectOrAssumedRolesUuids())) then
delete from rbactest.package p where p.uuid = old.uuid;
return old;
end if;
raise exception ''[403] Subject % is not allowed to delete rbactest.package uuid %'', rbac.currentSubjectOrAssumedRolesUuids(), old.uuid;
end; ';
ALTER FUNCTION rbactest.package_instead_of_delete_tf() OWNER TO postgres;
--
-- Name: package_instead_of_insert_tf(); Type: FUNCTION; Schema: rbactest; Owner: postgres
--
CREATE FUNCTION rbactest.package_instead_of_insert_tf() RETURNS trigger
LANGUAGE plpgsql
AS '
declare
newTargetRow rbactest.package;
begin
insert
into rbactest.package (uuid, version, customeruuid, name, description)
values (new.uuid, new.version, new.customeruuid, new.name, new.description)
returning * into newTargetRow;
return newTargetRow;
end; ';
ALTER FUNCTION rbactest.package_instead_of_insert_tf() OWNER TO postgres;
--
-- Name: package_instead_of_update_tf(); Type: FUNCTION; Schema: rbactest; Owner: postgres
--
CREATE FUNCTION rbactest.package_instead_of_update_tf() RETURNS trigger
LANGUAGE plpgsql
AS '
begin
if old.uuid in (select rbac.queryAccessibleObjectUuidsOfSubjectIds(''UPDATE'', ''rbactest.package'', rbac.currentSubjectOrAssumedRolesUuids())) then
update rbactest.package
set
version = new.version,
customerUuid = new.customerUuid,
description = new.description
where uuid = old.uuid;
return old;
end if;
raise exception ''[403] Subject % is not allowed to update rbactest.package uuid %'', rbac.currentSubjectOrAssumedRolesUuids(), old.uuid;
end; ';
ALTER FUNCTION rbactest.package_instead_of_update_tf() OWNER TO postgres;
--
-- Name: package_owner(rbactest.package, boolean); Type: FUNCTION; Schema: rbactest; Owner: postgres
--
CREATE FUNCTION rbactest.package_owner(entity rbactest.package, assumed boolean DEFAULT true) RETURNS rbac.roledescriptor
LANGUAGE plpgsql STRICT
AS '
begin
return rbac.roleDescriptorOf(''rbactest.package'', entity.uuid, ''OWNER'', assumed);
end; ';
ALTER FUNCTION rbactest.package_owner(entity rbactest.package, assumed boolean) OWNER TO postgres;
--
-- Name: package_rebuild_rbac_system(); Type: PROCEDURE; Schema: rbactest; Owner: postgres
--
CREATE PROCEDURE rbactest.package_rebuild_rbac_system()
LANGUAGE plpgsql
AS '
DECLARE
DECLARE
row rbactest.package;
grantsAfter numeric;
grantsBefore numeric;
BEGIN
SELECT count(*) INTO grantsBefore FROM rbac.grant;
FOR row IN SELECT * FROM rbactest.package LOOP
DELETE FROM rbac.grant g
WHERE g.grantedbytriggerof = row.uuid;
CALL rbactest.package_build_rbac_system(row);
END LOOP;
select count(*) into grantsAfter from rbac.grant;
raise notice ''total grant count before -> after: % -> %'', grantsBefore, grantsAfter;
END;
';
ALTER PROCEDURE rbactest.package_rebuild_rbac_system() OWNER TO postgres;
--
-- Name: package_referrer(rbactest.package); Type: FUNCTION; Schema: rbactest; Owner: postgres
--
CREATE FUNCTION rbactest.package_referrer(entity rbactest.package) RETURNS rbac.roledescriptor
LANGUAGE plpgsql STRICT
AS '
begin
return rbac.roleDescriptorOf(''rbactest.package'', entity.uuid, ''REFERRER'');
end; ';
ALTER FUNCTION rbactest.package_referrer(entity rbactest.package) OWNER TO postgres;
--
-- Name: package_tenant(rbactest.package, boolean); Type: FUNCTION; Schema: rbactest; Owner: postgres
--
CREATE FUNCTION rbactest.package_tenant(entity rbactest.package, assumed boolean DEFAULT true) RETURNS rbac.roledescriptor
LANGUAGE plpgsql STRICT
AS '
begin
return rbac.roleDescriptorOf(''rbactest.package'', entity.uuid, ''TENANT'', assumed);
end; ';
ALTER FUNCTION rbactest.package_tenant(entity rbactest.package, assumed boolean) OWNER TO postgres;
--
-- Name: package_update_rbac_system(rbactest.package, rbactest.package); Type: PROCEDURE; Schema: rbactest; Owner: postgres
--
CREATE PROCEDURE rbactest.package_update_rbac_system(IN old rbactest.package, IN new rbactest.package)
LANGUAGE plpgsql
AS '
declare
oldCustomer rbactest.customer;
newCustomer rbactest.customer;
begin
call rbac.enterTriggerForObjectUuid(NEW.uuid);
SELECT * FROM rbactest.customer WHERE uuid = OLD.customerUuid INTO oldCustomer;
assert oldCustomer.uuid is not null, format(''oldCustomer must not be null for OLD.customerUuid = %s of rbactest.package'', OLD.customerUuid);
SELECT * FROM rbactest.customer WHERE uuid = NEW.customerUuid INTO newCustomer;
assert newCustomer.uuid is not null, format(''newCustomer must not be null for NEW.customerUuid = %s of rbactest.package'', NEW.customerUuid);
if NEW.customerUuid <> OLD.customerUuid then
call rbac.revokeRoleFromRole(rbactest.package_OWNER(OLD), rbactest.customer_ADMIN(oldCustomer));
call rbac.grantRoleToRole(rbactest.package_OWNER(NEW), rbactest.customer_ADMIN(newCustomer));
call rbac.revokeRoleFromRole(rbactest.customer_TENANT(oldCustomer), rbactest.package_TENANT(OLD));
call rbac.grantRoleToRole(rbactest.customer_TENANT(newCustomer), rbactest.package_TENANT(NEW));
end if;
call rbac.leaveTriggerForObjectUuid(NEW.uuid);
end; ';
ALTER PROCEDURE rbactest.package_update_rbac_system(IN old rbactest.package, IN new rbactest.package) OWNER TO postgres;
--
-- Name: package_update_rbac_system_after_update_tf(); Type: FUNCTION; Schema: rbactest; Owner: postgres
--
CREATE FUNCTION rbactest.package_update_rbac_system_after_update_tf() RETURNS trigger
LANGUAGE plpgsql STRICT
AS '
begin
call rbactest.package_update_rbac_system(OLD, NEW);
return NEW;
end; ';
ALTER FUNCTION rbactest.package_update_rbac_system_after_update_tf() OWNER TO postgres;
--
-- Name: package_uuid_by_id_name(character varying); Type: FUNCTION; Schema: rbactest; Owner: postgres
--
CREATE FUNCTION rbactest.package_uuid_by_id_name(givenidname character varying) RETURNS uuid
LANGUAGE plpgsql
AS '
declare
singleMatch uuid;
begin
select uuid into strict singleMatch from rbactest.package_iv iv where iv.idName = givenIdName;
return singleMatch;
end; ';
ALTER FUNCTION rbactest.package_uuid_by_id_name(givenidname character varying) OWNER TO postgres;
--
-- Name: tx_context; Type: TABLE; Schema: base; Owner: postgres
--
CREATE TABLE base.tx_context (
txid xid8 NOT NULL,
txtimestamp timestamp without time zone NOT NULL,
currentsubject character varying(63) NOT NULL,
assumedroles character varying(1023) NOT NULL,
currenttask character varying(127) NOT NULL,
currentrequest text NOT NULL
);
ALTER TABLE base.tx_context OWNER TO postgres;
--
-- Name: tx_journal; Type: TABLE; Schema: base; Owner: postgres
--
CREATE TABLE base.tx_journal (
txid xid8 NOT NULL,
targettable text NOT NULL,
targetuuid uuid NOT NULL,
targetop base.tx_operation NOT NULL,
targetdelta jsonb
);
ALTER TABLE base.tx_journal OWNER TO postgres;
--
-- Name: tx_journal_v; Type: VIEW; Schema: base; Owner: postgres
--
CREATE VIEW base.tx_journal_v AS
SELECT txc.txid,
txc.txtimestamp,
txc.currentsubject,
txc.assumedroles,
txc.currenttask,
txc.currentrequest,
txj.targettable,
txj.targetop,
txj.targetuuid,
txj.targetdelta
FROM (base.tx_journal txj
LEFT JOIN base.tx_context txc USING (txid))
ORDER BY txc.txtimestamp;
ALTER TABLE base.tx_journal_v OWNER TO postgres;
--
-- Name: partner_legacy_id; Type: TABLE; Schema: hs_office; Owner: postgres
--
CREATE TABLE hs_office.partner_legacy_id (
uuid uuid NOT NULL,
bp_id integer NOT NULL
);
ALTER TABLE hs_office.partner_legacy_id OWNER TO postgres;
--
-- Name: contact; Type: VIEW; Schema: hs_integration; Owner: postgres
--
CREATE VIEW hs_integration.contact AS
SELECT DISTINCT ON (c.uuid) partner.partnernumber,
debitor.defaultprefix,
partner.uuid AS partner_uuid,
c.uuid AS contact_uuid,
CASE
WHEN ((per.salutation)::text <> ''::text) THEN per.salutation
ELSE NULL::character varying
END AS salutation,
CASE
WHEN ((per.givenname)::text <> ''::text) THEN per.givenname
ELSE NULL::character varying
END AS givenname,
CASE
WHEN ((per.familyname)::text <> ''::text) THEN per.familyname
ELSE NULL::character varying
END AS familyname,
CASE
WHEN ((per.title)::text <> ''::text) THEN per.title
ELSE NULL::character varying
END AS title,
CASE
WHEN ((per.tradename)::text <> ''::text) THEN per.tradename
ELSE NULL::character varying
END AS tradename,
CASE
WHEN ((c.postaladdress ->> 'co'::text) <> ''::text) THEN (c.postaladdress ->> 'co'::text)
ELSE NULL::text
END AS co,
(c.postaladdress ->> 'street'::text) AS street,
(c.postaladdress ->> 'zipcode'::text) AS zipcode,
(c.postaladdress ->> 'city'::text) AS city,
(c.postaladdress ->> 'country'::text) AS country,
(c.phonenumbers ->> 'phone_private'::text) AS phone_private,
(c.phonenumbers ->> 'phone_office'::text) AS phone_office,
(c.phonenumbers ->> 'phone_mobile'::text) AS phone_mobile,
(c.phonenumbers ->> 'fax'::text) AS fax,
(c.emailaddresses ->> 'main'::text) AS email
FROM ((((((hs_office.partner partner
JOIN hs_office.partner_legacy_id partner_lid ON ((partner_lid.uuid = partner.uuid)))
JOIN hs_office.relation prel ON (((prel.type = 'PARTNER'::hs_office.relationtype) AND (prel.uuid = partner.partnerreluuid))))
JOIN hs_office.relation drel ON (((drel.type = 'DEBITOR'::hs_office.relationtype) AND (drel.anchoruuid = prel.holderuuid))))
JOIN hs_office.debitor debitor ON (((debitor.debitorreluuid = drel.uuid) AND (debitor.debitornumbersuffix = '00'::bpchar))))
JOIN hs_office.contact c ON ((c.uuid = prel.contactuuid)))
JOIN hs_office.person per ON ((per.uuid = prel.holderuuid)))
UNION
SELECT DISTINCT ON (c.uuid) partner.partnernumber,
debitor.defaultprefix,
partner.uuid AS partner_uuid,
c.uuid AS contact_uuid,
CASE
WHEN ((per.salutation)::text <> ''::text) THEN per.salutation
ELSE NULL::character varying
END AS salutation,
CASE
WHEN ((per.givenname)::text <> ''::text) THEN per.givenname
ELSE NULL::character varying
END AS givenname,
CASE
WHEN ((per.familyname)::text <> ''::text) THEN per.familyname
ELSE NULL::character varying
END AS familyname,
CASE
WHEN ((per.title)::text <> ''::text) THEN per.title
ELSE NULL::character varying
END AS title,
CASE
WHEN ((per.tradename)::text <> ''::text) THEN per.tradename
ELSE NULL::character varying
END AS tradename,
CASE
WHEN ((c.postaladdress ->> 'co'::text) <> ''::text) THEN (c.postaladdress ->> 'co'::text)
ELSE NULL::text
END AS co,
(c.postaladdress ->> 'street'::text) AS street,
(c.postaladdress ->> 'zipcode'::text) AS zipcode,
(c.postaladdress ->> 'city'::text) AS city,
(c.postaladdress ->> 'country'::text) AS country,
(c.phonenumbers ->> 'phone_private'::text) AS phone_private,
(c.phonenumbers ->> 'phone_office'::text) AS phone_office,
(c.phonenumbers ->> 'phone_mobile'::text) AS phone_mobile,
(c.phonenumbers ->> 'fax'::text) AS fax,
(c.emailaddresses ->> 'main'::text) AS email
FROM (((((((hs_office.partner partner
JOIN hs_office.relation prel ON (((prel.type = 'PARTNER'::hs_office.relationtype) AND (prel.uuid = partner.partnerreluuid))))
JOIN hs_office.relation drel ON (((drel.type = 'DEBITOR'::hs_office.relationtype) AND (drel.anchoruuid = prel.holderuuid))))
JOIN hs_office.debitor debitor ON (((debitor.debitorreluuid = drel.uuid) AND (debitor.debitornumbersuffix = '00'::bpchar))))
JOIN hs_office.relation rs1 ON (((rs1.uuid = partner.partnerreluuid) AND (rs1.type = 'PARTNER'::hs_office.relationtype))))
JOIN hs_office.relation relation ON ((relation.anchoruuid = rs1.holderuuid)))
JOIN hs_office.contact c ON ((c.uuid = relation.contactuuid)))
JOIN hs_office.person per ON ((per.uuid = relation.holderuuid)));
ALTER TABLE hs_integration.contact OWNER TO postgres;
--
-- Name: subscription; Type: VIEW; Schema: hs_integration; Owner: postgres
--
CREATE VIEW hs_integration.subscription AS
SELECT DISTINCT relation.mark AS subscription,
(contact.emailaddresses ->> 'main'::text) AS email
FROM (hs_office.contact contact
JOIN hs_office.relation relation ON (((relation.contactuuid = contact.uuid) AND (relation.type = 'SUBSCRIBER'::hs_office.relationtype))))
ORDER BY relation.mark, (contact.emailaddresses ->> 'main'::text);
ALTER TABLE hs_integration.subscription OWNER TO postgres;
--
-- Name: ticket_customer_company; Type: VIEW; Schema: hs_integration; Owner: postgres
--
CREATE VIEW hs_integration.ticket_customer_company AS
SELECT (partner.partnernumber)::text AS number,
debitor.defaultprefix AS code,
concat_ws('/'::text, to_char((lower(membership.validity))::timestamp with time zone, 'YYYY-MM-DD'::text), to_char((upper(membership.validity) - '1 day'::interval), 'YYYY-MM-DD'::text)) AS comment,
1 AS valid
FROM ((((hs_office.partner partner
JOIN hs_office.relation prel ON (((prel.type = 'PARTNER'::hs_office.relationtype) AND (prel.uuid = partner.partnerreluuid))))
JOIN hs_office.relation drel ON (((drel.type = 'DEBITOR'::hs_office.relationtype) AND (drel.anchoruuid = prel.holderuuid))))
JOIN hs_office.debitor debitor ON (((debitor.debitorreluuid = drel.uuid) AND (debitor.debitornumbersuffix = '00'::bpchar))))
LEFT JOIN hs_office.membership membership ON ((membership.partneruuid = partner.uuid)))
ORDER BY (partner.partnernumber)::text;
ALTER TABLE hs_integration.ticket_customer_company OWNER TO postgres;
--
-- Name: ticket_customer_user; Type: VIEW; Schema: hs_integration; Owner: postgres
--
CREATE VIEW hs_integration.ticket_customer_user AS
SELECT c.contact_uuid,
(max(c.partnernumber))::text AS number,
max(c.defaultprefix) AS code,
max(c.email) AS login,
max((c.salutation)::text) AS salut,
max((c.givenname)::text) AS firstname,
max((c.familyname)::text) AS lastname,
max((c.title)::text) AS title,
max((c.tradename)::text) AS firma,
max(c.co) AS co,
max(c.street) AS street,
max(c.zipcode) AS zipcode,
max(c.city) AS city,
max(c.country) AS country,
max(concat_ws(', '::text, c.phone_office, c.phone_private)) AS phone,
max(c.phone_private) AS phone_private,
max(c.phone_office) AS phone_office,
max(c.phone_mobile) AS mobile,
max(c.fax) AS fax,
max(c.email) AS email,
string_agg(
CASE
WHEN (relation.mark IS NULL) THEN (relation.type)::text
ELSE concat((relation.type)::text, ':', (relation.mark)::text)
END, '/'::text) AS comment,
1 AS valid
FROM (hs_integration.contact c
JOIN hs_office.relation relation ON ((c.contact_uuid = relation.contactuuid)))
WHERE ((c.defaultprefix <> 'hsh'::bpchar) OR ((c.partnernumber = (10000)::numeric) AND (c.email = 'hostmaster@hostsharing.net'::text)))
GROUP BY c.contact_uuid;
ALTER TABLE hs_integration.ticket_customer_user OWNER TO postgres;
--
-- Name: time_customer; Type: VIEW; Schema: hs_integration; Owner: postgres
--
CREATE VIEW hs_integration.time_customer AS
SELECT p.partnernumber,
debitor.defaultprefix
FROM (((hs_office.partner p
JOIN hs_office.relation prel ON (((prel.type = 'PARTNER'::hs_office.relationtype) AND (prel.uuid = p.partnerreluuid))))
JOIN hs_office.relation drel ON (((drel.type = 'DEBITOR'::hs_office.relationtype) AND (drel.anchoruuid = prel.holderuuid))))
JOIN hs_office.debitor debitor ON (((debitor.debitorreluuid = drel.uuid) AND (debitor.debitornumbersuffix = '00'::bpchar))));
ALTER TABLE hs_integration.time_customer OWNER TO postgres;
--
-- Name: bankaccount_iv; Type: VIEW; Schema: hs_office; Owner: postgres
--
CREATE VIEW hs_office.bankaccount_iv AS
SELECT target.uuid,
base.cleanidentifier(target.iban) AS idname
FROM hs_office.bankaccount target;
ALTER TABLE hs_office.bankaccount_iv OWNER TO postgres;
--
-- Name: grant; Type: TABLE; Schema: rbac; Owner: postgres
--
CREATE TABLE rbac."grant" (
uuid uuid DEFAULT public.uuid_generate_v4() NOT NULL,
grantedbytriggerof uuid,
grantedbyroleuuid uuid,
ascendantuuid uuid,
descendantuuid uuid,
assumed boolean DEFAULT true NOT NULL,
CONSTRAINT rbacgrant_createdby CHECK (((grantedbyroleuuid IS NULL) OR (grantedbytriggerof IS NULL)))
);
ALTER TABLE rbac."grant" OWNER TO postgres;
--
-- Name: object; Type: TABLE; Schema: rbac; Owner: postgres
--
CREATE TABLE rbac.object (
uuid uuid DEFAULT public.uuid_generate_v4() NOT NULL,
serialid integer NOT NULL,
objecttable character varying(64) NOT NULL
);
ALTER TABLE rbac.object OWNER TO postgres;
--
-- Name: bankaccount_rv; Type: VIEW; Schema: hs_office; Owner: postgres
--
CREATE VIEW hs_office.bankaccount_rv AS
WITH accessible_uuids AS (
WITH RECURSIVE recursive_grants AS (
SELECT DISTINCT "grant".descendantuuid,
"grant".ascendantuuid,
1 AS level,
true AS "?column?"
FROM rbac."grant"
WHERE ("grant".assumed AND ("grant".ascendantuuid = ANY (rbac.currentsubjectorassumedrolesuuids())))
UNION ALL
SELECT DISTINCT g.descendantuuid,
g.ascendantuuid,
(grants.level + 1) AS level,
base.asserttrue((grants.level < 22), ('too many grant-levels: '::text || grants.level)) AS asserttrue
FROM (rbac."grant" g
JOIN recursive_grants grants ON ((grants.descendantuuid = g.ascendantuuid)))
WHERE g.assumed
), grant_count AS (
SELECT count(*) AS grant_count
FROM recursive_grants recursive_grants_1
), count_check AS (
SELECT base.asserttrue((( SELECT count(*) AS grant_count
FROM recursive_grants recursive_grants_1) < 400000), ('too many grants for current subjects: '::text || ( SELECT count(*) AS grant_count
FROM recursive_grants recursive_grants_1))) AS valid
)
SELECT DISTINCT perm.objectuuid
FROM (((recursive_grants
JOIN rbac.permission perm ON ((recursive_grants.descendantuuid = perm.uuid)))
JOIN rbac.object obj ON ((obj.uuid = perm.objectuuid)))
JOIN count_check cc ON (cc.valid))
WHERE ((obj.objecttable)::text = 'hs_office.bankaccount'::text)
)
SELECT target.uuid,
target.version,
target.holder,
target.iban,
target.bic
FROM hs_office.bankaccount target
WHERE (rbac.hasglobaladminrole() OR (target.uuid IN ( SELECT accessible_uuids.objectuuid
FROM accessible_uuids)))
ORDER BY target.iban;
ALTER TABLE hs_office.bankaccount_rv OWNER TO postgres;
--
-- Name: contact_iv; Type: VIEW; Schema: hs_office; Owner: postgres
--
CREATE VIEW hs_office.contact_iv AS
SELECT target.uuid,
base.cleanidentifier(target.caption) AS idname
FROM hs_office.contact target;
ALTER TABLE hs_office.contact_iv OWNER TO postgres;
--
-- Name: contact_legacy_id; Type: TABLE; Schema: hs_office; Owner: postgres
--
CREATE TABLE hs_office.contact_legacy_id (
uuid uuid NOT NULL,
contact_id integer NOT NULL
);
ALTER TABLE hs_office.contact_legacy_id OWNER TO postgres;
--
-- Name: contact_legacy_id_seq; Type: SEQUENCE; Schema: hs_office; Owner: postgres
--
CREATE SEQUENCE hs_office.contact_legacy_id_seq
AS integer
START WITH 1000000000
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
ALTER TABLE hs_office.contact_legacy_id_seq OWNER TO postgres;
--
-- Name: contact_legacy_id_seq; Type: SEQUENCE OWNED BY; Schema: hs_office; Owner: postgres
--
ALTER SEQUENCE hs_office.contact_legacy_id_seq OWNED BY hs_office.contact_legacy_id.contact_id;
--
-- Name: contact_rv; Type: VIEW; Schema: hs_office; Owner: postgres
--
CREATE VIEW hs_office.contact_rv AS
WITH accessible_uuids AS (
WITH RECURSIVE recursive_grants AS (
SELECT DISTINCT "grant".descendantuuid,
"grant".ascendantuuid,
1 AS level,
true AS "?column?"
FROM rbac."grant"
WHERE ("grant".assumed AND ("grant".ascendantuuid = ANY (rbac.currentsubjectorassumedrolesuuids())))
UNION ALL
SELECT DISTINCT g.descendantuuid,
g.ascendantuuid,
(grants.level + 1) AS level,
base.asserttrue((grants.level < 22), ('too many grant-levels: '::text || grants.level)) AS asserttrue
FROM (rbac."grant" g
JOIN recursive_grants grants ON ((grants.descendantuuid = g.ascendantuuid)))
WHERE g.assumed
), grant_count AS (
SELECT count(*) AS grant_count
FROM recursive_grants recursive_grants_1
), count_check AS (
SELECT base.asserttrue((( SELECT count(*) AS grant_count
FROM recursive_grants recursive_grants_1) < 400000), ('too many grants for current subjects: '::text || ( SELECT count(*) AS grant_count
FROM recursive_grants recursive_grants_1))) AS valid
)
SELECT DISTINCT perm.objectuuid
FROM (((recursive_grants
JOIN rbac.permission perm ON ((recursive_grants.descendantuuid = perm.uuid)))
JOIN rbac.object obj ON ((obj.uuid = perm.objectuuid)))
JOIN count_check cc ON (cc.valid))
WHERE ((obj.objecttable)::text = 'hs_office.contact'::text)
)
SELECT target.uuid,
target.version,
target.caption,
target.postaladdress,
target.emailaddresses,
target.phonenumbers
FROM hs_office.contact target
WHERE (rbac.hasglobaladminrole() OR (target.uuid IN ( SELECT accessible_uuids.objectuuid
FROM accessible_uuids)))
ORDER BY target.caption;
ALTER TABLE hs_office.contact_rv OWNER TO postgres;
--
-- Name: coopassettx_iv; Type: VIEW; Schema: hs_office; Owner: postgres
--
CREATE VIEW hs_office.coopassettx_iv AS
SELECT target.uuid,
base.cleanidentifier(target.reference) AS idname
FROM hs_office.coopassettx target;
ALTER TABLE hs_office.coopassettx_iv OWNER TO postgres;
--
-- Name: coopassettx_legacy_id; Type: TABLE; Schema: hs_office; Owner: postgres
--
CREATE TABLE hs_office.coopassettx_legacy_id (
uuid uuid NOT NULL,
member_asset_id integer NOT NULL
);
ALTER TABLE hs_office.coopassettx_legacy_id OWNER TO postgres;
--
-- Name: coopassettx_legacy_id_seq; Type: SEQUENCE; Schema: hs_office; Owner: postgres
--
CREATE SEQUENCE hs_office.coopassettx_legacy_id_seq
AS integer
START WITH 1000000000
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
ALTER TABLE hs_office.coopassettx_legacy_id_seq OWNER TO postgres;
--
-- Name: coopassettx_legacy_id_seq; Type: SEQUENCE OWNED BY; Schema: hs_office; Owner: postgres
--
ALTER SEQUENCE hs_office.coopassettx_legacy_id_seq OWNED BY hs_office.coopassettx_legacy_id.member_asset_id;
--
-- Name: coopassettx_rv; Type: VIEW; Schema: hs_office; Owner: postgres
--
CREATE VIEW hs_office.coopassettx_rv AS
WITH accessible_uuids AS (
WITH RECURSIVE recursive_grants AS (
SELECT DISTINCT "grant".descendantuuid,
"grant".ascendantuuid,
1 AS level,
true AS "?column?"
FROM rbac."grant"
WHERE ("grant".assumed AND ("grant".ascendantuuid = ANY (rbac.currentsubjectorassumedrolesuuids())))
UNION ALL
SELECT DISTINCT g.descendantuuid,
g.ascendantuuid,
(grants.level + 1) AS level,
base.asserttrue((grants.level < 22), ('too many grant-levels: '::text || grants.level)) AS asserttrue
FROM (rbac."grant" g
JOIN recursive_grants grants ON ((grants.descendantuuid = g.ascendantuuid)))
WHERE g.assumed
), grant_count AS (
SELECT count(*) AS grant_count
FROM recursive_grants recursive_grants_1
), count_check AS (
SELECT base.asserttrue((( SELECT count(*) AS grant_count
FROM recursive_grants recursive_grants_1) < 400000), ('too many grants for current subjects: '::text || ( SELECT count(*) AS grant_count
FROM recursive_grants recursive_grants_1))) AS valid
)
SELECT DISTINCT perm.objectuuid
FROM (((recursive_grants
JOIN rbac.permission perm ON ((recursive_grants.descendantuuid = perm.uuid)))
JOIN rbac.object obj ON ((obj.uuid = perm.objectuuid)))
JOIN count_check cc ON (cc.valid))
WHERE ((obj.objecttable)::text = 'hs_office.coopassettx'::text)
)
SELECT target.uuid,
target.version,
target.membershipuuid,
target.transactiontype,
target.valuedate,
target.assetvalue,
target.reference,
target.revertedassettxuuid,
target.assetadoptiontxuuid,
target.comment
FROM hs_office.coopassettx target
WHERE (rbac.hasglobaladminrole() OR (target.uuid IN ( SELECT accessible_uuids.objectuuid
FROM accessible_uuids)))
ORDER BY target.reference;
ALTER TABLE hs_office.coopassettx_rv OWNER TO postgres;
--
-- Name: coopsharetx_iv; Type: VIEW; Schema: hs_office; Owner: postgres
--
CREATE VIEW hs_office.coopsharetx_iv AS
SELECT target.uuid,
base.cleanidentifier(target.reference) AS idname
FROM hs_office.coopsharetx target;
ALTER TABLE hs_office.coopsharetx_iv OWNER TO postgres;
--
-- Name: coopsharetx_legacy_id; Type: TABLE; Schema: hs_office; Owner: postgres
--
CREATE TABLE hs_office.coopsharetx_legacy_id (
uuid uuid NOT NULL,
member_share_id integer NOT NULL
);
ALTER TABLE hs_office.coopsharetx_legacy_id OWNER TO postgres;
--
-- Name: coopsharetx_legacy_id_seq; Type: SEQUENCE; Schema: hs_office; Owner: postgres
--
CREATE SEQUENCE hs_office.coopsharetx_legacy_id_seq
AS integer
START WITH 1000000000
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
ALTER TABLE hs_office.coopsharetx_legacy_id_seq OWNER TO postgres;
--
-- Name: coopsharetx_legacy_id_seq; Type: SEQUENCE OWNED BY; Schema: hs_office; Owner: postgres
--
ALTER SEQUENCE hs_office.coopsharetx_legacy_id_seq OWNED BY hs_office.coopsharetx_legacy_id.member_share_id;
--
-- Name: coopsharetx_rv; Type: VIEW; Schema: hs_office; Owner: postgres
--
CREATE VIEW hs_office.coopsharetx_rv AS
WITH accessible_uuids AS (
WITH RECURSIVE recursive_grants AS (
SELECT DISTINCT "grant".descendantuuid,
"grant".ascendantuuid,
1 AS level,
true AS "?column?"
FROM rbac."grant"
WHERE ("grant".assumed AND ("grant".ascendantuuid = ANY (rbac.currentsubjectorassumedrolesuuids())))
UNION ALL
SELECT DISTINCT g.descendantuuid,
g.ascendantuuid,
(grants.level + 1) AS level,
base.asserttrue((grants.level < 22), ('too many grant-levels: '::text || grants.level)) AS asserttrue
FROM (rbac."grant" g
JOIN recursive_grants grants ON ((grants.descendantuuid = g.ascendantuuid)))
WHERE g.assumed
), grant_count AS (
SELECT count(*) AS grant_count
FROM recursive_grants recursive_grants_1
), count_check AS (
SELECT base.asserttrue((( SELECT count(*) AS grant_count
FROM recursive_grants recursive_grants_1) < 400000), ('too many grants for current subjects: '::text || ( SELECT count(*) AS grant_count
FROM recursive_grants recursive_grants_1))) AS valid
)
SELECT DISTINCT perm.objectuuid
FROM (((recursive_grants
JOIN rbac.permission perm ON ((recursive_grants.descendantuuid = perm.uuid)))
JOIN rbac.object obj ON ((obj.uuid = perm.objectuuid)))
JOIN count_check cc ON (cc.valid))
WHERE ((obj.objecttable)::text = 'hs_office.coopsharetx'::text)
)
SELECT target.uuid,
target.version,
target.membershipuuid,
target.transactiontype,
target.valuedate,
target.sharecount,
target.reference,
target.revertedsharetxuuid,
target.comment
FROM hs_office.coopsharetx target
WHERE (rbac.hasglobaladminrole() OR (target.uuid IN ( SELECT accessible_uuids.objectuuid
FROM accessible_uuids)))
ORDER BY target.reference;
ALTER TABLE hs_office.coopsharetx_rv OWNER TO postgres;
--
-- Name: debitor_iv; Type: VIEW; Schema: hs_office; Owner: postgres
--
CREATE VIEW hs_office.debitor_iv AS
SELECT debitor.uuid,
(('D-'::text || ( SELECT partner.partnernumber
FROM ((hs_office.partner partner
JOIN hs_office.relation partnerrel ON (((partnerrel.uuid = partner.partnerreluuid) AND (partnerrel.type = 'PARTNER'::hs_office.relationtype))))
JOIN hs_office.relation debitorrel ON (((debitorrel.anchoruuid = partnerrel.holderuuid) AND (debitorrel.type = 'DEBITOR'::hs_office.relationtype))))
WHERE (debitorrel.uuid = debitor.debitorreluuid))) || (debitor.debitornumbersuffix)::text) AS idname
FROM hs_office.debitor debitor;
ALTER TABLE hs_office.debitor_iv OWNER TO postgres;
--
-- Name: debitor_rv; Type: VIEW; Schema: hs_office; Owner: postgres
--
CREATE VIEW hs_office.debitor_rv AS
WITH accessible_uuids AS (
WITH RECURSIVE recursive_grants AS (
SELECT DISTINCT "grant".descendantuuid,
"grant".ascendantuuid,
1 AS level,
true AS "?column?"
FROM rbac."grant"
WHERE ("grant".assumed AND ("grant".ascendantuuid = ANY (rbac.currentsubjectorassumedrolesuuids())))
UNION ALL
SELECT DISTINCT g.descendantuuid,
g.ascendantuuid,
(grants.level + 1) AS level,
base.asserttrue((grants.level < 22), ('too many grant-levels: '::text || grants.level)) AS asserttrue
FROM (rbac."grant" g
JOIN recursive_grants grants ON ((grants.descendantuuid = g.ascendantuuid)))
WHERE g.assumed
), grant_count AS (
SELECT count(*) AS grant_count
FROM recursive_grants recursive_grants_1
), count_check AS (
SELECT base.asserttrue((( SELECT count(*) AS grant_count
FROM recursive_grants recursive_grants_1) < 400000), ('too many grants for current subjects: '::text || ( SELECT count(*) AS grant_count
FROM recursive_grants recursive_grants_1))) AS valid
)
SELECT DISTINCT perm.objectuuid
FROM (((recursive_grants
JOIN rbac.permission perm ON ((recursive_grants.descendantuuid = perm.uuid)))
JOIN rbac.object obj ON ((obj.uuid = perm.objectuuid)))
JOIN count_check cc ON (cc.valid))
WHERE ((obj.objecttable)::text = 'hs_office.debitor'::text)
)
SELECT target.uuid,
target.version,
target.debitornumbersuffix,
target.debitorreluuid,
target.billable,
target.vatid,
target.vatcountrycode,
target.vatbusiness,
target.vatreversecharge,
target.refundbankaccountuuid,
target.defaultprefix
FROM hs_office.debitor target
WHERE (rbac.hasglobaladminrole() OR (target.uuid IN ( SELECT accessible_uuids.objectuuid
FROM accessible_uuids)))
ORDER BY target.defaultprefix;
ALTER TABLE hs_office.debitor_rv OWNER TO postgres;
--
-- Name: membership_iv; Type: VIEW; Schema: hs_office; Owner: postgres
--
CREATE VIEW hs_office.membership_iv AS
SELECT m.uuid,
(('M-'::text || p.partnernumber) || (m.membernumbersuffix)::text) AS idname
FROM (hs_office.membership m
JOIN hs_office.partner p ON ((p.uuid = m.partneruuid)));
ALTER TABLE hs_office.membership_iv OWNER TO postgres;
--
-- Name: membership_rv; Type: VIEW; Schema: hs_office; Owner: postgres
--
CREATE VIEW hs_office.membership_rv AS
WITH accessible_uuids AS (
WITH RECURSIVE recursive_grants AS (
SELECT DISTINCT "grant".descendantuuid,
"grant".ascendantuuid,
1 AS level,
true AS "?column?"
FROM rbac."grant"
WHERE ("grant".assumed AND ("grant".ascendantuuid = ANY (rbac.currentsubjectorassumedrolesuuids())))
UNION ALL
SELECT DISTINCT g.descendantuuid,
g.ascendantuuid,
(grants.level + 1) AS level,
base.asserttrue((grants.level < 22), ('too many grant-levels: '::text || grants.level)) AS asserttrue
FROM (rbac."grant" g
JOIN recursive_grants grants ON ((grants.descendantuuid = g.ascendantuuid)))
WHERE g.assumed
), grant_count AS (
SELECT count(*) AS grant_count
FROM recursive_grants recursive_grants_1
), count_check AS (
SELECT base.asserttrue((( SELECT count(*) AS grant_count
FROM recursive_grants recursive_grants_1) < 400000), ('too many grants for current subjects: '::text || ( SELECT count(*) AS grant_count
FROM recursive_grants recursive_grants_1))) AS valid
)
SELECT DISTINCT perm.objectuuid
FROM (((recursive_grants
JOIN rbac.permission perm ON ((recursive_grants.descendantuuid = perm.uuid)))
JOIN rbac.object obj ON ((obj.uuid = perm.objectuuid)))
JOIN count_check cc ON (cc.valid))
WHERE ((obj.objecttable)::text = 'hs_office.membership'::text)
)
SELECT target.uuid,
target.version,
target.partneruuid,
target.membernumbersuffix,
target.validity,
target.status,
target.membershipfeebillable
FROM hs_office.membership target
WHERE (rbac.hasglobaladminrole() OR (target.uuid IN ( SELECT accessible_uuids.objectuuid
FROM accessible_uuids)))
ORDER BY target.validity;
ALTER TABLE hs_office.membership_rv OWNER TO postgres;
--
-- Name: partner_iv; Type: VIEW; Schema: hs_office; Owner: postgres
--
CREATE VIEW hs_office.partner_iv AS
SELECT target.uuid,
base.cleanidentifier((('P-'::text || target.partnernumber))::character varying) AS idname
FROM hs_office.partner target;
ALTER TABLE hs_office.partner_iv OWNER TO postgres;
--
-- Name: partner_details_iv; Type: VIEW; Schema: hs_office; Owner: postgres
--
CREATE VIEW hs_office.partner_details_iv AS
SELECT partnerdetails.uuid,
partner_iv.idname
FROM ((hs_office.partner_details partnerdetails
JOIN hs_office.partner partner ON ((partner.detailsuuid = partnerdetails.uuid)))
JOIN hs_office.partner_iv partner_iv ON ((partner_iv.uuid = partner.uuid)));
ALTER TABLE hs_office.partner_details_iv OWNER TO postgres;
--
-- Name: partner_details_rv; Type: VIEW; Schema: hs_office; Owner: postgres
--
CREATE VIEW hs_office.partner_details_rv AS
WITH accessible_uuids AS (
WITH RECURSIVE recursive_grants AS (
SELECT DISTINCT "grant".descendantuuid,
"grant".ascendantuuid,
1 AS level,
true AS "?column?"
FROM rbac."grant"
WHERE ("grant".assumed AND ("grant".ascendantuuid = ANY (rbac.currentsubjectorassumedrolesuuids())))
UNION ALL
SELECT DISTINCT g.descendantuuid,
g.ascendantuuid,
(grants.level + 1) AS level,
base.asserttrue((grants.level < 22), ('too many grant-levels: '::text || grants.level)) AS asserttrue
FROM (rbac."grant" g
JOIN recursive_grants grants ON ((grants.descendantuuid = g.ascendantuuid)))
WHERE g.assumed
), grant_count AS (
SELECT count(*) AS grant_count
FROM recursive_grants recursive_grants_1
), count_check AS (
SELECT base.asserttrue((( SELECT count(*) AS grant_count
FROM recursive_grants recursive_grants_1) < 400000), ('too many grants for current subjects: '::text || ( SELECT count(*) AS grant_count
FROM recursive_grants recursive_grants_1))) AS valid
)
SELECT DISTINCT perm.objectuuid
FROM (((recursive_grants
JOIN rbac.permission perm ON ((recursive_grants.descendantuuid = perm.uuid)))
JOIN rbac.object obj ON ((obj.uuid = perm.objectuuid)))
JOIN count_check cc ON (cc.valid))
WHERE ((obj.objecttable)::text = 'hs_office.partner_details'::text)
)
SELECT target.uuid,
target.version,
target.registrationoffice,
target.registrationnumber,
target.birthplace,
target.birthname,
target.birthday,
target.dateofdeath
FROM hs_office.partner_details target
WHERE (rbac.hasglobaladminrole() OR (target.uuid IN ( SELECT accessible_uuids.objectuuid
FROM accessible_uuids)))
ORDER BY target.uuid;
ALTER TABLE hs_office.partner_details_rv OWNER TO postgres;
--
-- Name: partner_legacy_id_seq; Type: SEQUENCE; Schema: hs_office; Owner: postgres
--
CREATE SEQUENCE hs_office.partner_legacy_id_seq
AS integer
START WITH 1000000000
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
ALTER TABLE hs_office.partner_legacy_id_seq OWNER TO postgres;
--
-- Name: partner_legacy_id_seq; Type: SEQUENCE OWNED BY; Schema: hs_office; Owner: postgres
--
ALTER SEQUENCE hs_office.partner_legacy_id_seq OWNED BY hs_office.partner_legacy_id.bp_id;
--
-- Name: partner_rv; Type: VIEW; Schema: hs_office; Owner: postgres
--
CREATE VIEW hs_office.partner_rv AS
WITH accessible_uuids AS (
WITH RECURSIVE recursive_grants AS (
SELECT DISTINCT "grant".descendantuuid,
"grant".ascendantuuid,
1 AS level,
true AS "?column?"
FROM rbac."grant"
WHERE ("grant".assumed AND ("grant".ascendantuuid = ANY (rbac.currentsubjectorassumedrolesuuids())))
UNION ALL
SELECT DISTINCT g.descendantuuid,
g.ascendantuuid,
(grants.level + 1) AS level,
base.asserttrue((grants.level < 22), ('too many grant-levels: '::text || grants.level)) AS asserttrue
FROM (rbac."grant" g
JOIN recursive_grants grants ON ((grants.descendantuuid = g.ascendantuuid)))
WHERE g.assumed
), grant_count AS (
SELECT count(*) AS grant_count
FROM recursive_grants recursive_grants_1
), count_check AS (
SELECT base.asserttrue((( SELECT count(*) AS grant_count
FROM recursive_grants recursive_grants_1) < 400000), ('too many grants for current subjects: '::text || ( SELECT count(*) AS grant_count
FROM recursive_grants recursive_grants_1))) AS valid
)
SELECT DISTINCT perm.objectuuid
FROM (((recursive_grants
JOIN rbac.permission perm ON ((recursive_grants.descendantuuid = perm.uuid)))
JOIN rbac.object obj ON ((obj.uuid = perm.objectuuid)))
JOIN count_check cc ON (cc.valid))
WHERE ((obj.objecttable)::text = 'hs_office.partner'::text)
)
SELECT target.uuid,
target.version,
target.partnernumber,
target.partnerreluuid,
target.detailsuuid
FROM hs_office.partner target
WHERE (rbac.hasglobaladminrole() OR (target.uuid IN ( SELECT accessible_uuids.objectuuid
FROM accessible_uuids)))
ORDER BY ('P-'::text || target.partnernumber);
ALTER TABLE hs_office.partner_rv OWNER TO postgres;
--
-- Name: person_iv; Type: VIEW; Schema: hs_office; Owner: postgres
--
CREATE VIEW hs_office.person_iv AS
SELECT target.uuid,
base.cleanidentifier((concat(target.tradename, target.familyname, target.givenname))::character varying) AS idname
FROM hs_office.person target;
ALTER TABLE hs_office.person_iv OWNER TO postgres;
--
-- Name: person_rv; Type: VIEW; Schema: hs_office; Owner: postgres
--
CREATE VIEW hs_office.person_rv AS
WITH accessible_uuids AS (
WITH RECURSIVE recursive_grants AS (
SELECT DISTINCT "grant".descendantuuid,
"grant".ascendantuuid,
1 AS level,
true AS "?column?"
FROM rbac."grant"
WHERE ("grant".assumed AND ("grant".ascendantuuid = ANY (rbac.currentsubjectorassumedrolesuuids())))
UNION ALL
SELECT DISTINCT g.descendantuuid,
g.ascendantuuid,
(grants.level + 1) AS level,
base.asserttrue((grants.level < 22), ('too many grant-levels: '::text || grants.level)) AS asserttrue
FROM (rbac."grant" g
JOIN recursive_grants grants ON ((grants.descendantuuid = g.ascendantuuid)))
WHERE g.assumed
), grant_count AS (
SELECT count(*) AS grant_count
FROM recursive_grants recursive_grants_1
), count_check AS (
SELECT base.asserttrue((( SELECT count(*) AS grant_count
FROM recursive_grants recursive_grants_1) < 400000), ('too many grants for current subjects: '::text || ( SELECT count(*) AS grant_count
FROM recursive_grants recursive_grants_1))) AS valid
)
SELECT DISTINCT perm.objectuuid
FROM (((recursive_grants
JOIN rbac.permission perm ON ((recursive_grants.descendantuuid = perm.uuid)))
JOIN rbac.object obj ON ((obj.uuid = perm.objectuuid)))
JOIN count_check cc ON (cc.valid))
WHERE ((obj.objecttable)::text = 'hs_office.person'::text)
)
SELECT target.uuid,
target.version,
target.persontype,
target.tradename,
target.salutation,
target.title,
target.givenname,
target.familyname
FROM hs_office.person target
WHERE (rbac.hasglobaladminrole() OR (target.uuid IN ( SELECT accessible_uuids.objectuuid
FROM accessible_uuids)))
ORDER BY (concat(target.tradename, target.familyname, target.givenname));
ALTER TABLE hs_office.person_rv OWNER TO postgres;
--
-- Name: relation_iv; Type: VIEW; Schema: hs_office; Owner: postgres
--
CREATE VIEW hs_office.relation_iv AS
SELECT target.uuid,
base.cleanidentifier(((((((( SELECT p.idname
FROM hs_office.person_iv p
WHERE (p.uuid = target.anchoruuid)))::text || '-with-'::text) || target.type) || '-'::text) || (( SELECT p.idname
FROM hs_office.person_iv p
WHERE (p.uuid = target.holderuuid)))::text))::character varying) AS idname
FROM hs_office.relation target;
ALTER TABLE hs_office.relation_iv OWNER TO postgres;
--
-- Name: relation_rv; Type: VIEW; Schema: hs_office; Owner: postgres
--
CREATE VIEW hs_office.relation_rv AS
WITH accessible_uuids AS (
WITH RECURSIVE recursive_grants AS (
SELECT DISTINCT "grant".descendantuuid,
"grant".ascendantuuid,
1 AS level,
true AS "?column?"
FROM rbac."grant"
WHERE ("grant".assumed AND ("grant".ascendantuuid = ANY (rbac.currentsubjectorassumedrolesuuids())))
UNION ALL
SELECT DISTINCT g.descendantuuid,
g.ascendantuuid,
(grants.level + 1) AS level,
base.asserttrue((grants.level < 22), ('too many grant-levels: '::text || grants.level)) AS asserttrue
FROM (rbac."grant" g
JOIN recursive_grants grants ON ((grants.descendantuuid = g.ascendantuuid)))
WHERE g.assumed
), grant_count AS (
SELECT count(*) AS grant_count
FROM recursive_grants recursive_grants_1
), count_check AS (
SELECT base.asserttrue((( SELECT count(*) AS grant_count
FROM recursive_grants recursive_grants_1) < 400000), ('too many grants for current subjects: '::text || ( SELECT count(*) AS grant_count
FROM recursive_grants recursive_grants_1))) AS valid
)
SELECT DISTINCT perm.objectuuid
FROM (((recursive_grants
JOIN rbac.permission perm ON ((recursive_grants.descendantuuid = perm.uuid)))
JOIN rbac.object obj ON ((obj.uuid = perm.objectuuid)))
JOIN count_check cc ON (cc.valid))
WHERE ((obj.objecttable)::text = 'hs_office.relation'::text)
)
SELECT target.uuid,
target.version,
target.anchoruuid,
target.holderuuid,
target.contactuuid,
target.type,
target.mark
FROM hs_office.relation target
WHERE (rbac.hasglobaladminrole() OR (target.uuid IN ( SELECT accessible_uuids.objectuuid
FROM accessible_uuids)))
ORDER BY ( SELECT p.idname
FROM hs_office.person_iv p
WHERE (p.uuid = target.holderuuid));
ALTER TABLE hs_office.relation_rv OWNER TO postgres;
--
-- Name: sepamandate_iv; Type: VIEW; Schema: hs_office; Owner: postgres
--
CREATE VIEW hs_office.sepamandate_iv AS
SELECT sm.uuid,
(((ba.iban)::text || '-'::text) || sm.validity) AS idname
FROM (hs_office.sepamandate sm
JOIN hs_office.bankaccount ba ON ((ba.uuid = sm.bankaccountuuid)));
ALTER TABLE hs_office.sepamandate_iv OWNER TO postgres;
--
-- Name: sepamandate_legacy_id; Type: TABLE; Schema: hs_office; Owner: postgres
--
CREATE TABLE hs_office.sepamandate_legacy_id (
uuid uuid NOT NULL,
sepa_mandate_id integer NOT NULL
);
ALTER TABLE hs_office.sepamandate_legacy_id OWNER TO postgres;
--
-- Name: sepamandate_legacy_id_seq; Type: SEQUENCE; Schema: hs_office; Owner: postgres
--
CREATE SEQUENCE hs_office.sepamandate_legacy_id_seq
AS integer
START WITH 1000000000
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
ALTER TABLE hs_office.sepamandate_legacy_id_seq OWNER TO postgres;
--
-- Name: sepamandate_legacy_id_seq; Type: SEQUENCE OWNED BY; Schema: hs_office; Owner: postgres
--
ALTER SEQUENCE hs_office.sepamandate_legacy_id_seq OWNED BY hs_office.sepamandate_legacy_id.sepa_mandate_id;
--
-- Name: sepamandate_rv; Type: VIEW; Schema: hs_office; Owner: postgres
--
CREATE VIEW hs_office.sepamandate_rv AS
WITH accessible_uuids AS (
WITH RECURSIVE recursive_grants AS (
SELECT DISTINCT "grant".descendantuuid,
"grant".ascendantuuid,
1 AS level,
true AS "?column?"
FROM rbac."grant"
WHERE ("grant".assumed AND ("grant".ascendantuuid = ANY (rbac.currentsubjectorassumedrolesuuids())))
UNION ALL
SELECT DISTINCT g.descendantuuid,
g.ascendantuuid,
(grants.level + 1) AS level,
base.asserttrue((grants.level < 22), ('too many grant-levels: '::text || grants.level)) AS asserttrue
FROM (rbac."grant" g
JOIN recursive_grants grants ON ((grants.descendantuuid = g.ascendantuuid)))
WHERE g.assumed
), grant_count AS (
SELECT count(*) AS grant_count
FROM recursive_grants recursive_grants_1
), count_check AS (
SELECT base.asserttrue((( SELECT count(*) AS grant_count
FROM recursive_grants recursive_grants_1) < 400000), ('too many grants for current subjects: '::text || ( SELECT count(*) AS grant_count
FROM recursive_grants recursive_grants_1))) AS valid
)
SELECT DISTINCT perm.objectuuid
FROM (((recursive_grants
JOIN rbac.permission perm ON ((recursive_grants.descendantuuid = perm.uuid)))
JOIN rbac.object obj ON ((obj.uuid = perm.objectuuid)))
JOIN count_check cc ON (cc.valid))
WHERE ((obj.objecttable)::text = 'hs_office.sepamandate'::text)
)
SELECT target.uuid,
target.version,
target.debitoruuid,
target.bankaccountuuid,
target.reference,
target.agreement,
target.validity
FROM hs_office.sepamandate target
WHERE (rbac.hasglobaladminrole() OR (target.uuid IN ( SELECT accessible_uuids.objectuuid
FROM accessible_uuids)))
ORDER BY target.validity;
ALTER TABLE hs_office.sepamandate_rv OWNER TO postgres;
--
-- Name: databasechangelog; Type: TABLE; Schema: public; Owner: postgres
--
CREATE TABLE public.databasechangelog (
id character varying(255) NOT NULL,
author character varying(255) NOT NULL,
filename character varying(255) NOT NULL,
dateexecuted timestamp without time zone NOT NULL,
orderexecuted integer NOT NULL,
exectype character varying(10) NOT NULL,
md5sum character varying(35),
description character varying(255),
comments character varying(255),
tag character varying(255),
liquibase character varying(20),
contexts character varying(255),
labels character varying(255),
deployment_id character varying(10)
);
ALTER TABLE public.databasechangelog OWNER TO postgres;
--
-- Name: databasechangeloglock; Type: TABLE; Schema: public; Owner: postgres
--
CREATE TABLE public.databasechangeloglock (
id integer NOT NULL,
locked boolean NOT NULL,
lockgranted timestamp without time zone,
lockedby character varying(255)
);
ALTER TABLE public.databasechangeloglock OWNER TO postgres;
--
-- Name: global; Type: TABLE; Schema: rbac; Owner: postgres
--
CREATE TABLE rbac.global (
uuid uuid NOT NULL,
name character varying(63)
);
ALTER TABLE rbac.global OWNER TO postgres;
--
-- Name: global_iv; Type: VIEW; Schema: rbac; Owner: postgres
--
CREATE VIEW rbac.global_iv AS
SELECT target.uuid,
target.name AS idname
FROM rbac.global target;
ALTER TABLE rbac.global_iv OWNER TO postgres;
--
-- Name: role; Type: TABLE; Schema: rbac; Owner: postgres
--
CREATE TABLE rbac.role (
uuid uuid NOT NULL,
objectuuid uuid NOT NULL,
roletype rbac.roletype NOT NULL
);
ALTER TABLE rbac.role OWNER TO postgres;
--
-- Name: grant_ev; Type: VIEW; Schema: rbac; Owner: postgres
--
CREATE VIEW rbac.grant_ev AS
SELECT x.grantuuid AS uuid,
x.grantedbytriggerof,
(((((go.objecttable)::text || '#'::text) || (rbac.findidnamebyobjectuuid(go.objecttable, go.uuid))::text) || ':'::text) || r.roletype) AS grantedbyroleidname,
x.ascendingidname AS ascendantidname,
x.descendingidname AS descendantidname,
x.grantedbyroleuuid,
x.ascendantuuid,
x.descendantuuid,
x.op AS permop,
x.optablename AS permoptablename,
x.assumed
FROM (((( SELECT g.uuid AS grantuuid,
g.grantedbytriggerof,
g.grantedbyroleuuid,
g.ascendantuuid,
g.descendantuuid,
g.assumed,
COALESCE(('user:'::text || (au.name)::text), ((((('role:'::text || (aro.objecttable)::text) || '#'::text) || (rbac.findidnamebyobjectuuid(aro.objecttable, aro.uuid))::text) || ':'::text) || ar.roletype)) AS ascendingidname,
aro.objecttable,
aro.uuid,
CASE
WHEN (dro.* IS NOT NULL) THEN ((((('role:'::text || (dro.objecttable)::text) || '#'::text) || (rbac.findidnamebyobjectuuid(dro.objecttable, dro.uuid))::text) || ':'::text) || dr.roletype)
WHEN ((dp.op)::text = 'INSERT'::text) THEN ((((((('perm:'::text || (dpo.objecttable)::text) || '#'::text) || (rbac.findidnamebyobjectuuid(dpo.objecttable, dpo.uuid))::text) || ':'::text) || (dp.op)::text) || '>'::text) || (dp.optablename)::text)
ELSE ((((('perm:'::text || (dpo.objecttable)::text) || '#'::text) || (rbac.findidnamebyobjectuuid(dpo.objecttable, dpo.uuid))::text) || ':'::text) || (dp.op)::text)
END AS descendingidname,
dro.objecttable,
dro.uuid,
dp.op,
dp.optablename
FROM (((((((rbac."grant" g
LEFT JOIN rbac.role ar ON ((ar.uuid = g.ascendantuuid)))
LEFT JOIN rbac.object aro ON ((aro.uuid = ar.objectuuid)))
LEFT JOIN rbac.subject au ON ((au.uuid = g.ascendantuuid)))
LEFT JOIN rbac.role dr ON ((dr.uuid = g.descendantuuid)))
LEFT JOIN rbac.object dro ON ((dro.uuid = dr.objectuuid)))
LEFT JOIN rbac.permission dp ON ((dp.uuid = g.descendantuuid)))
LEFT JOIN rbac.object dpo ON ((dpo.uuid = dp.objectuuid)))) x(grantuuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed, ascendingidname, objecttable, uuid, descendingidname, objecttable_1, uuid_1, op, optablename)
LEFT JOIN rbac.role r ON ((r.uuid = x.grantedbyroleuuid)))
LEFT JOIN rbac.subject u ON ((u.uuid = x.ascendantuuid)))
LEFT JOIN rbac.object go ON ((go.uuid = r.objectuuid)))
ORDER BY x.ascendingidname, x.descendingidname;
ALTER TABLE rbac.grant_ev OWNER TO postgres;
--
-- Name: grant_rv; Type: VIEW; Schema: rbac; Owner: postgres
--
CREATE VIEW rbac.grant_rv AS
SELECT (((((o.objecttable)::text || '#'::text) || (rbac.findidnamebyobjectuuid(o.objecttable, o.uuid))::text) || ':'::text) || r.roletype) AS grantedbyroleidname,
(((((g.objecttable)::text || '#'::text) || (g.objectidname)::text) || ':'::text) || g.roletype) AS grantedroleidname,
g.username,
g.assumed,
g.grantedbyroleuuid,
g.descendantuuid AS grantedroleuuid,
g.ascendantuuid AS subjectuuid,
g.objecttable,
g.objectuuid,
g.objectidname,
g.roletype AS grantedroletype
FROM ((( SELECT g_1.grantedbyroleuuid,
g_1.ascendantuuid,
g_1.descendantuuid,
g_1.assumed,
u.name AS username,
o_1.objecttable,
r_1.objectuuid,
r_1.roletype,
rbac.findidnamebyobjectuuid(o_1.objecttable, o_1.uuid) AS objectidname
FROM (((rbac."grant" g_1
JOIN rbac.role r_1 ON ((r_1.uuid = g_1.descendantuuid)))
JOIN rbac.object o_1 ON ((o_1.uuid = r_1.objectuuid)))
LEFT JOIN rbac.subject u ON ((u.uuid = g_1.ascendantuuid)))
WHERE rbac.isgranted(rbac.currentsubjectorassumedrolesuuids(), r_1.uuid)) g
JOIN rbac.role r ON ((r.uuid = g.grantedbyroleuuid)))
JOIN rbac.object o ON ((o.uuid = r.objectuuid)))
ORDER BY (((((g.objecttable)::text || '#'::text) || (g.objectidname)::text) || ':'::text) || g.roletype);
ALTER TABLE rbac.grant_rv OWNER TO postgres;
--
-- Name: object_serialid_seq; Type: SEQUENCE; Schema: rbac; Owner: postgres
--
CREATE SEQUENCE rbac.object_serialid_seq
AS integer
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
ALTER TABLE rbac.object_serialid_seq OWNER TO postgres;
--
-- Name: object_serialid_seq; Type: SEQUENCE OWNED BY; Schema: rbac; Owner: postgres
--
ALTER SEQUENCE rbac.object_serialid_seq OWNED BY rbac.object.serialid;
--
-- Name: role_rv; Type: VIEW; Schema: rbac; Owner: postgres
--
CREATE VIEW rbac.role_rv AS
SELECT unordered.uuid,
unordered.objectuuid,
unordered.roletype,
unordered.objecttable,
unordered.objectidname
FROM ( SELECT r.uuid,
r.objectuuid,
r.roletype,
o.objecttable,
rbac.findidnamebyobjectuuid(o.objecttable, o.uuid) AS objectidname
FROM (rbac.role r
JOIN rbac.object o ON ((o.uuid = r.objectuuid)))
WHERE rbac.isgranted(rbac.currentsubjectorassumedrolesuuids(), r.uuid)) unordered
ORDER BY (((((unordered.objecttable)::text || '#'::text) || (unordered.objectidname)::text) || ':'::text) || unordered.roletype);
ALTER TABLE rbac.role_rv OWNER TO postgres;
--
-- Name: own_granted_permissions_rv; Type: VIEW; Schema: rbac; Owner: postgres
--
CREATE VIEW rbac.own_granted_permissions_rv AS
SELECT r.uuid AS roleuuid,
p.uuid AS permissionuuid,
(((((r.objecttable)::text || ':'::text) || (r.objectidname)::text) || ':'::text) || r.roletype) AS rolename,
p.op,
o.objecttable,
r.objectidname,
o.uuid AS objectuuid
FROM (((rbac.role_rv r
JOIN rbac."grant" g ON ((g.ascendantuuid = r.uuid)))
JOIN rbac.permission p ON ((p.uuid = g.descendantuuid)))
JOIN rbac.object o ON ((o.uuid = p.objectuuid)));
ALTER TABLE rbac.own_granted_permissions_rv OWNER TO postgres;
--
-- Name: role_ev; Type: VIEW; Schema: rbac; Owner: postgres
--
CREATE VIEW rbac.role_ev AS
SELECT (((((unordered.objecttable)::text || '#'::text) || (unordered.objectidname)::text) || ':'::text) || unordered.roletype) AS roleidname,
unordered.uuid,
unordered.objectuuid,
unordered.roletype,
unordered.objecttable,
unordered.objectidname
FROM ( SELECT r.uuid,
r.objectuuid,
r.roletype,
o.objecttable,
rbac.findidnamebyobjectuuid(o.objecttable, o.uuid) AS objectidname
FROM (rbac.role r
JOIN rbac.object o ON ((o.uuid = r.objectuuid)))) unordered
ORDER BY (((((unordered.objecttable)::text || '#'::text) || (unordered.objectidname)::text) || ':'::text) || unordered.roletype);
ALTER TABLE rbac.role_ev OWNER TO postgres;
--
-- Name: statistics_v; Type: VIEW; Schema: rbac; Owner: postgres
--
CREATE VIEW rbac.statistics_v AS
SELECT totals.no,
to_char(totals.count, '9 999 999 999'::text) AS count,
totals."table"
FROM ( SELECT 1 AS no,
count(*) AS count,
'login users'::text AS "table"
FROM rbac.subject
UNION
SELECT 2 AS no,
count(*) AS count,
'roles'::text AS "table"
FROM rbac.role
UNION
SELECT 3 AS no,
count(*) AS count,
'permissions'::text AS "table"
FROM rbac.permission
UNION
SELECT 4 AS no,
count(*) AS count,
'references'::text AS "table"
FROM rbac.reference
UNION
SELECT 5 AS no,
count(*) AS count,
'grants'::text AS "table"
FROM rbac."grant"
UNION
SELECT 6 AS no,
count(*) AS count,
'objects'::text AS "table"
FROM rbac.object) totals
ORDER BY totals.no;
ALTER TABLE rbac.statistics_v OWNER TO postgres;
--
-- Name: subject_ev; Type: VIEW; Schema: rbac; Owner: postgres
--
CREATE VIEW rbac.subject_ev AS
SELECT DISTINCT unordered.uuid,
unordered.name
FROM ( SELECT usersinrolesofcurrentsubject.uuid,
usersinrolesofcurrentsubject.name
FROM ((rbac.subject usersinrolesofcurrentsubject
JOIN rbac."grant" g ON ((g.ascendantuuid = usersinrolesofcurrentsubject.uuid)))
JOIN rbac.role_ev r ON ((r.uuid = g.descendantuuid)))
UNION
SELECT users.uuid,
users.name
FROM rbac.subject users) unordered
ORDER BY unordered.name;
ALTER TABLE rbac.subject_ev OWNER TO postgres;
--
-- Name: subject_rv; Type: VIEW; Schema: rbac; Owner: postgres
--
CREATE VIEW rbac.subject_rv AS
SELECT DISTINCT unordered.uuid,
unordered.name
FROM ( SELECT usersinrolesofcurrentsubject.uuid,
usersinrolesofcurrentsubject.name
FROM ((rbac.subject usersinrolesofcurrentsubject
JOIN rbac."grant" g ON ((g.ascendantuuid = usersinrolesofcurrentsubject.uuid)))
JOIN rbac.role_rv r ON ((r.uuid = g.descendantuuid)))
UNION
SELECT users.uuid,
users.name
FROM rbac.subject users
WHERE ((cardinality(base.assumedroles()) = 0) AND ((rbac.currentsubjectuuid() = users.uuid) OR rbac.hasglobalrolegranted(rbac.currentsubjectuuid())))) unordered
ORDER BY unordered.name;
ALTER TABLE rbac.subject_rv OWNER TO postgres;
--
-- Name: customer_iv; Type: VIEW; Schema: rbactest; Owner: postgres
--
CREATE VIEW rbactest.customer_iv AS
SELECT target.uuid,
base.cleanidentifier((target.prefix)::character varying) AS idname
FROM rbactest.customer target;
ALTER TABLE rbactest.customer_iv OWNER TO postgres;
--
-- Name: customer_rv; Type: VIEW; Schema: rbactest; Owner: postgres
--
CREATE VIEW rbactest.customer_rv AS
WITH accessible_uuids AS (
WITH RECURSIVE recursive_grants AS (
SELECT DISTINCT "grant".descendantuuid,
"grant".ascendantuuid,
1 AS level,
true AS "?column?"
FROM rbac."grant"
WHERE ("grant".assumed AND ("grant".ascendantuuid = ANY (rbac.currentsubjectorassumedrolesuuids())))
UNION ALL
SELECT DISTINCT g.descendantuuid,
g.ascendantuuid,
(grants.level + 1) AS level,
base.asserttrue((grants.level < 22), ('too many grant-levels: '::text || grants.level)) AS asserttrue
FROM (rbac."grant" g
JOIN recursive_grants grants ON ((grants.descendantuuid = g.ascendantuuid)))
WHERE g.assumed
), grant_count AS (
SELECT count(*) AS grant_count
FROM recursive_grants recursive_grants_1
), count_check AS (
SELECT base.asserttrue((( SELECT count(*) AS grant_count
FROM recursive_grants recursive_grants_1) < 400000), ('too many grants for current subjects: '::text || ( SELECT count(*) AS grant_count
FROM recursive_grants recursive_grants_1))) AS valid
)
SELECT DISTINCT perm.objectuuid
FROM (((recursive_grants
JOIN rbac.permission perm ON ((recursive_grants.descendantuuid = perm.uuid)))
JOIN rbac.object obj ON ((obj.uuid = perm.objectuuid)))
JOIN count_check cc ON (cc.valid))
WHERE ((obj.objecttable)::text = 'rbactest.customer'::text)
)
SELECT target.uuid,
target.version,
target.reference,
target.prefix,
target.adminusername
FROM rbactest.customer target
WHERE (rbac.hasglobaladminrole() OR (target.uuid IN ( SELECT accessible_uuids.objectuuid
FROM accessible_uuids)))
ORDER BY target.reference;
ALTER TABLE rbactest.customer_rv OWNER TO postgres;
--
-- Name: domain_iv; Type: VIEW; Schema: rbactest; Owner: postgres
--
CREATE VIEW rbactest.domain_iv AS
SELECT target.uuid,
base.cleanidentifier(target.name) AS idname
FROM rbactest.domain target;
ALTER TABLE rbactest.domain_iv OWNER TO postgres;
--
-- Name: domain_rv; Type: VIEW; Schema: rbactest; Owner: postgres
--
CREATE VIEW rbactest.domain_rv AS
WITH accessible_uuids AS (
WITH RECURSIVE recursive_grants AS (
SELECT DISTINCT "grant".descendantuuid,
"grant".ascendantuuid,
1 AS level,
true AS "?column?"
FROM rbac."grant"
WHERE ("grant".assumed AND ("grant".ascendantuuid = ANY (rbac.currentsubjectorassumedrolesuuids())))
UNION ALL
SELECT DISTINCT g.descendantuuid,
g.ascendantuuid,
(grants.level + 1) AS level,
base.asserttrue((grants.level < 22), ('too many grant-levels: '::text || grants.level)) AS asserttrue
FROM (rbac."grant" g
JOIN recursive_grants grants ON ((grants.descendantuuid = g.ascendantuuid)))
WHERE g.assumed
), grant_count AS (
SELECT count(*) AS grant_count
FROM recursive_grants recursive_grants_1
), count_check AS (
SELECT base.asserttrue((( SELECT count(*) AS grant_count
FROM recursive_grants recursive_grants_1) < 400000), ('too many grants for current subjects: '::text || ( SELECT count(*) AS grant_count
FROM recursive_grants recursive_grants_1))) AS valid
)
SELECT DISTINCT perm.objectuuid
FROM (((recursive_grants
JOIN rbac.permission perm ON ((recursive_grants.descendantuuid = perm.uuid)))
JOIN rbac.object obj ON ((obj.uuid = perm.objectuuid)))
JOIN count_check cc ON (cc.valid))
WHERE ((obj.objecttable)::text = 'rbactest.domain'::text)
)
SELECT target.uuid,
target.packageuuid,
target.name,
target.description
FROM rbactest.domain target
WHERE (rbac.hasglobaladminrole() OR (target.uuid IN ( SELECT accessible_uuids.objectuuid
FROM accessible_uuids)))
ORDER BY target.name;
ALTER TABLE rbactest.domain_rv OWNER TO postgres;
--
-- Name: package_iv; Type: VIEW; Schema: rbactest; Owner: postgres
--
CREATE VIEW rbactest.package_iv AS
SELECT target.uuid,
base.cleanidentifier(target.name) AS idname
FROM rbactest.package target;
ALTER TABLE rbactest.package_iv OWNER TO postgres;
--
-- Name: package_rv; Type: VIEW; Schema: rbactest; Owner: postgres
--
CREATE VIEW rbactest.package_rv AS
WITH accessible_uuids AS (
WITH RECURSIVE recursive_grants AS (
SELECT DISTINCT "grant".descendantuuid,
"grant".ascendantuuid,
1 AS level,
true AS "?column?"
FROM rbac."grant"
WHERE ("grant".assumed AND ("grant".ascendantuuid = ANY (rbac.currentsubjectorassumedrolesuuids())))
UNION ALL
SELECT DISTINCT g.descendantuuid,
g.ascendantuuid,
(grants.level + 1) AS level,
base.asserttrue((grants.level < 22), ('too many grant-levels: '::text || grants.level)) AS asserttrue
FROM (rbac."grant" g
JOIN recursive_grants grants ON ((grants.descendantuuid = g.ascendantuuid)))
WHERE g.assumed
), grant_count AS (
SELECT count(*) AS grant_count
FROM recursive_grants recursive_grants_1
), count_check AS (
SELECT base.asserttrue((( SELECT count(*) AS grant_count
FROM recursive_grants recursive_grants_1) < 400000), ('too many grants for current subjects: '::text || ( SELECT count(*) AS grant_count
FROM recursive_grants recursive_grants_1))) AS valid
)
SELECT DISTINCT perm.objectuuid
FROM (((recursive_grants
JOIN rbac.permission perm ON ((recursive_grants.descendantuuid = perm.uuid)))
JOIN rbac.object obj ON ((obj.uuid = perm.objectuuid)))
JOIN count_check cc ON (cc.valid))
WHERE ((obj.objecttable)::text = 'rbactest.package'::text)
)
SELECT target.uuid,
target.version,
target.customeruuid,
target.name,
target.description
FROM rbactest.package target
WHERE (rbac.hasglobaladminrole() OR (target.uuid IN ( SELECT accessible_uuids.objectuuid
FROM accessible_uuids)))
ORDER BY target.name;
ALTER TABLE rbactest.package_rv OWNER TO postgres;
--
-- Name: contact_legacy_id contact_id; Type: DEFAULT; Schema: hs_office; Owner: postgres
--
ALTER TABLE ONLY hs_office.contact_legacy_id ALTER COLUMN contact_id SET DEFAULT nextval('hs_office.contact_legacy_id_seq'::regclass);
--
-- Name: coopassettx_legacy_id member_asset_id; Type: DEFAULT; Schema: hs_office; Owner: postgres
--
ALTER TABLE ONLY hs_office.coopassettx_legacy_id ALTER COLUMN member_asset_id SET DEFAULT nextval('hs_office.coopassettx_legacy_id_seq'::regclass);
--
-- Name: coopsharetx_legacy_id member_share_id; Type: DEFAULT; Schema: hs_office; Owner: postgres
--
ALTER TABLE ONLY hs_office.coopsharetx_legacy_id ALTER COLUMN member_share_id SET DEFAULT nextval('hs_office.coopsharetx_legacy_id_seq'::regclass);
--
-- Name: partner_legacy_id bp_id; Type: DEFAULT; Schema: hs_office; Owner: postgres
--
ALTER TABLE ONLY hs_office.partner_legacy_id ALTER COLUMN bp_id SET DEFAULT nextval('hs_office.partner_legacy_id_seq'::regclass);
--
-- Name: sepamandate_legacy_id sepa_mandate_id; Type: DEFAULT; Schema: hs_office; Owner: postgres
--
ALTER TABLE ONLY hs_office.sepamandate_legacy_id ALTER COLUMN sepa_mandate_id SET DEFAULT nextval('hs_office.sepamandate_legacy_id_seq'::regclass);
--
-- Name: object serialid; Type: DEFAULT; Schema: rbac; Owner: postgres
--
ALTER TABLE ONLY rbac.object ALTER COLUMN serialid SET DEFAULT nextval('rbac.object_serialid_seq'::regclass);
--
-- Data for Name: tx_context; Type: TABLE DATA; Schema: base; Owner: postgres
--
INSERT INTO base.tx_context (txid, txtimestamp, currentsubject, assumedroles, currenttask, currentrequest) VALUES ('893', '2025-01-27 15:34:16.493475', '', '{}', 'initializing table "rbac.global"', '');
INSERT INTO base.tx_context (txid, txtimestamp, currentsubject, assumedroles, currenttask, currentrequest) VALUES ('895', '2025-01-27 15:34:16.51038', '', '{}', 'creating role:rbac.global#global:ADMIN', '');
INSERT INTO base.tx_context (txid, txtimestamp, currentsubject, assumedroles, currenttask, currentrequest) VALUES ('897', '2025-01-27 15:34:16.52367', '', '{}', 'creating role:rbac.global#global:guest', '');
INSERT INTO base.tx_context (txid, txtimestamp, currentsubject, assumedroles, currenttask, currentrequest) VALUES ('899', '2025-01-27 15:34:16.535071', '', '{}', 'creating fake test-realm admin users', '');
INSERT INTO base.tx_context (txid, txtimestamp, currentsubject, assumedroles, currenttask, currentrequest) VALUES ('912', '2025-01-27 15:34:16.640067', '', '{}', 'create INSERT INTO rbactest.customer permissions for pre-exising rbac.global rows', '');
INSERT INTO base.tx_context (txid, txtimestamp, currentsubject, assumedroles, currenttask, currentrequest) VALUES ('925', '2025-01-27 15:34:16.741443', 'superuser-alex@hostsharing.net', '{rbac.global#global:ADMIN}', 'creating RBAC test customer', '');
INSERT INTO base.tx_context (txid, txtimestamp, currentsubject, assumedroles, currenttask, currentrequest) VALUES ('946', '2025-01-27 15:34:16.878576', '', '{}', 'create INSERT INTO rbactest.package permissions for pre-exising rbactest.customer rows', '');
INSERT INTO base.tx_context (txid, txtimestamp, currentsubject, assumedroles, currenttask, currentrequest) VALUES ('961', '2025-01-27 15:34:16.96811', 'superuser-fran@hostsharing.net', '{rbactest.customer#xxx:ADMIN}', 'creating RBAC test package', '');
INSERT INTO base.tx_context (txid, txtimestamp, currentsubject, assumedroles, currenttask, currentrequest) VALUES ('1000', '2025-01-27 15:34:17.109844', '', '{}', 'create INSERT INTO rbactest.domain permissions for pre-exising rbactest.package rows', '');
INSERT INTO base.tx_context (txid, txtimestamp, currentsubject, assumedroles, currenttask, currentrequest) VALUES ('1021', '2025-01-27 15:34:17.217541', 'pac-admin-xxx00@xxx.example.com', '{}', 'creating RBAC test domain', '');
INSERT INTO base.tx_context (txid, txtimestamp, currentsubject, assumedroles, currenttask, currentrequest) VALUES ('1108', '2025-01-27 15:34:17.598661', '', '{}', 'creating contact test-data', '');
INSERT INTO base.tx_context (txid, txtimestamp, currentsubject, assumedroles, currenttask, currentrequest) VALUES ('1164', '2025-01-27 15:34:17.804113', '', '{}', 'creating person test-data', '');
INSERT INTO base.tx_context (txid, txtimestamp, currentsubject, assumedroles, currenttask, currentrequest) VALUES ('1219', '2025-01-27 15:34:18.054056', '', '{}', 'create INSERT INTO hs_office.relation permissions for pre-exising hs_office.person rows', '');
INSERT INTO base.tx_context (txid, txtimestamp, currentsubject, assumedroles, currenttask, currentrequest) VALUES ('1244', '2025-01-27 15:34:18.154226', 'superuser-alex@hostsharing.net', '{rbac.global#global:ADMIN}', 'creating relation test-data', '');
INSERT INTO base.tx_context (txid, txtimestamp, currentsubject, assumedroles, currenttask, currentrequest) VALUES ('1309', '2025-01-27 15:34:18.512909', '', '{}', 'create INSERT INTO hs_office.partner permissions for pre-exising rbac.global rows', '');
INSERT INTO base.tx_context (txid, txtimestamp, currentsubject, assumedroles, currenttask, currentrequest) VALUES ('1326', '2025-01-27 15:34:18.59541', '', '{}', 'create INSERT INTO hs_office.partner_details permissions for pre-exising rbac.global rows', '');
INSERT INTO base.tx_context (txid, txtimestamp, currentsubject, assumedroles, currenttask, currentrequest) VALUES ('1350', '2025-01-27 15:34:18.739242', 'superuser-alex@hostsharing.net', '{rbac.global#global:ADMIN}', 'creating partner test-data ', '');
INSERT INTO base.tx_context (txid, txtimestamp, currentsubject, assumedroles, currenttask, currentrequest) VALUES ('1398', '2025-01-27 15:34:18.872672', '', '{}', 'creating bankaccount test-data', '');
INSERT INTO base.tx_context (txid, txtimestamp, currentsubject, assumedroles, currenttask, currentrequest) VALUES ('1438', '2025-01-27 15:34:19.007502', '', '{}', 'create INSERT INTO hs_office.debitor permissions for pre-exising rbac.global rows', '');
INSERT INTO base.tx_context (txid, txtimestamp, currentsubject, assumedroles, currenttask, currentrequest) VALUES ('1451', '2025-01-27 15:34:19.070763', 'superuser-alex@hostsharing.net', '{rbac.global#global:ADMIN}', 'creating debitor test-data', '');
INSERT INTO base.tx_context (txid, txtimestamp, currentsubject, assumedroles, currenttask, currentrequest) VALUES ('1472', '2025-01-27 15:34:19.177715', '', '{}', 'create INSERT INTO hs_office.sepamandate permissions for pre-exising hs_office.relation rows', '');
INSERT INTO base.tx_context (txid, txtimestamp, currentsubject, assumedroles, currenttask, currentrequest) VALUES ('1500', '2025-01-27 15:34:19.354187', 'superuser-alex@hostsharing.net', '{rbac.global#global:ADMIN}', 'creating SEPA-mandate test-data', '');
INSERT INTO base.tx_context (txid, txtimestamp, currentsubject, assumedroles, currenttask, currentrequest) VALUES ('1521', '2025-01-27 15:34:19.507316', '', '{}', 'create INSERT INTO hs_office.membership permissions for pre-exising rbac.global rows', '');
INSERT INTO base.tx_context (txid, txtimestamp, currentsubject, assumedroles, currenttask, currentrequest) VALUES ('1534', '2025-01-27 15:34:19.578193', 'superuser-alex@hostsharing.net', '{rbac.global#global:ADMIN}', 'creating Membership test-data', '');
INSERT INTO base.tx_context (txid, txtimestamp, currentsubject, assumedroles, currenttask, currentrequest) VALUES ('1559', '2025-01-27 15:34:19.779312', '', '{}', 'create INSERT INTO hs_office.coopsharetx permissions for pre-exising hs_office.membership rows', '');
INSERT INTO base.tx_context (txid, txtimestamp, currentsubject, assumedroles, currenttask, currentrequest) VALUES ('1585', '2025-01-27 15:34:19.925386', 'superuser-alex@hostsharing.net', '{rbac.global#global:ADMIN}', 'creating coopSharesTransaction test-data', '');
INSERT INTO base.tx_context (txid, txtimestamp, currentsubject, assumedroles, currenttask, currentrequest) VALUES ('1625', '2025-01-27 15:34:20.11469', '', '{}', 'create INSERT INTO hs_office.coopassettx permissions for pre-exising hs_office.membership rows', '');
INSERT INTO base.tx_context (txid, txtimestamp, currentsubject, assumedroles, currenttask, currentrequest) VALUES ('1651', '2025-01-27 15:34:20.285257', 'superuser-alex@hostsharing.net', '{rbac.global#global:ADMIN}', 'creating coopAssetsTransaction test-data', '');
--
-- Data for Name: tx_journal; Type: TABLE DATA; Schema: base; Owner: postgres
--
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('893', 'rbac.object', 'fb819667-b171-4b6e-ae3e-31c6a40d4be8', 'INSERT', '{"uuid": "fb819667-b171-4b6e-ae3e-31c6a40d4be8", "serialid": 1, "objecttable": "rbac.global"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('895', 'rbac.role', 'afc6a14a-f8c7-4c17-9b91-b615833bc002', 'INSERT', '{"uuid": "afc6a14a-f8c7-4c17-9b91-b615833bc002", "roletype": "ADMIN", "objectuuid": "fb819667-b171-4b6e-ae3e-31c6a40d4be8"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('897', 'rbac.role', 'b1dff271-3e9c-4f30-8153-c891ab4eea79', 'INSERT', '{"uuid": "b1dff271-3e9c-4f30-8153-c891ab4eea79", "roletype": "GUEST", "objectuuid": "fb819667-b171-4b6e-ae3e-31c6a40d4be8"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('899', 'rbac.subject', 'bdcc7fef-52e9-4b4c-a0ad-1950d6a1aec4', 'INSERT', '{"name": "superuser-alex@hostsharing.net", "uuid": "bdcc7fef-52e9-4b4c-a0ad-1950d6a1aec4"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('899', 'rbac.grant', 'b2031319-0918-4f6e-8a85-0268ae84a2c1', 'INSERT', '{"uuid": "b2031319-0918-4f6e-8a85-0268ae84a2c1", "assumed": true, "ascendantuuid": "bdcc7fef-52e9-4b4c-a0ad-1950d6a1aec4", "descendantuuid": "afc6a14a-f8c7-4c17-9b91-b615833bc002", "grantedbyroleuuid": "afc6a14a-f8c7-4c17-9b91-b615833bc002", "grantedbytriggerof": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('899', 'rbac.subject', 'a8051de5-7d09-4193-a48c-36c45570b871', 'INSERT', '{"name": "superuser-fran@hostsharing.net", "uuid": "a8051de5-7d09-4193-a48c-36c45570b871"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('899', 'rbac.grant', '3edbe22f-ffe3-4133-bd44-6439aad02fc6', 'INSERT', '{"uuid": "3edbe22f-ffe3-4133-bd44-6439aad02fc6", "assumed": true, "ascendantuuid": "a8051de5-7d09-4193-a48c-36c45570b871", "descendantuuid": "afc6a14a-f8c7-4c17-9b91-b615833bc002", "grantedbyroleuuid": "afc6a14a-f8c7-4c17-9b91-b615833bc002", "grantedbytriggerof": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('899', 'rbac.subject', '2f2bbe7d-bd67-4687-9295-fda48420f1d2', 'INSERT', '{"name": "selfregistered-user-drew@hostsharing.org", "uuid": "2f2bbe7d-bd67-4687-9295-fda48420f1d2"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('899', 'rbac.subject', '90039166-db03-4f59-9741-0966b6d798b7', 'INSERT', '{"name": "selfregistered-test-user@hostsharing.org", "uuid": "90039166-db03-4f59-9741-0966b6d798b7"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('912', 'rbac.permission', '6f1ad20c-6f1b-413c-b82c-4d8022ea202a', 'INSERT', '{"op": "INSERT", "uuid": "6f1ad20c-6f1b-413c-b82c-4d8022ea202a", "objectuuid": "fb819667-b171-4b6e-ae3e-31c6a40d4be8", "optablename": "rbactest.customer"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('912', 'rbac.grant', '7e8bafff-59f4-4248-be7c-a4684be4b351', 'INSERT', '{"uuid": "7e8bafff-59f4-4248-be7c-a4684be4b351", "assumed": true, "ascendantuuid": "afc6a14a-f8c7-4c17-9b91-b615833bc002", "descendantuuid": "6f1ad20c-6f1b-413c-b82c-4d8022ea202a", "grantedbyroleuuid": null, "grantedbytriggerof": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('925', 'rbac.subject', '25ff93a9-570e-4cc9-8361-2ad020e8ee2d', 'INSERT', '{"name": "customer-admin@xxx.example.com", "uuid": "25ff93a9-570e-4cc9-8361-2ad020e8ee2d"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('925', 'rbac.object', 'dbbfdc0a-a952-4886-b6df-a242f80b1233', 'INSERT', '{"uuid": "dbbfdc0a-a952-4886-b6df-a242f80b1233", "serialid": 2, "objecttable": "rbactest.customer"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('925', 'rbac.role', '69a48e44-55d0-4465-b956-358e502f443f', 'INSERT', '{"uuid": "69a48e44-55d0-4465-b956-358e502f443f", "roletype": "OWNER", "objectuuid": "dbbfdc0a-a952-4886-b6df-a242f80b1233"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('925', 'rbac.permission', '53269892-7005-48c4-bdbf-08da6cc40c92', 'INSERT', '{"op": "DELETE", "uuid": "53269892-7005-48c4-bdbf-08da6cc40c92", "objectuuid": "dbbfdc0a-a952-4886-b6df-a242f80b1233", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('925', 'rbac.grant', 'aa912bfe-1e8b-4d0d-a7fa-8319c2582914', 'INSERT', '{"uuid": "aa912bfe-1e8b-4d0d-a7fa-8319c2582914", "assumed": true, "ascendantuuid": "69a48e44-55d0-4465-b956-358e502f443f", "descendantuuid": "53269892-7005-48c4-bdbf-08da6cc40c92", "grantedbyroleuuid": null, "grantedbytriggerof": "dbbfdc0a-a952-4886-b6df-a242f80b1233"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('925', 'rbac.grant', 'd66f96fa-c021-4bd5-b601-8bc0a1ebce4d', 'INSERT', '{"uuid": "d66f96fa-c021-4bd5-b601-8bc0a1ebce4d", "assumed": false, "ascendantuuid": "afc6a14a-f8c7-4c17-9b91-b615833bc002", "descendantuuid": "69a48e44-55d0-4465-b956-358e502f443f", "grantedbyroleuuid": null, "grantedbytriggerof": "dbbfdc0a-a952-4886-b6df-a242f80b1233"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('925', 'rbac.grant', '1b1d3831-733c-4cbe-b13a-f9e4a4c16b98', 'INSERT', '{"uuid": "1b1d3831-733c-4cbe-b13a-f9e4a4c16b98", "assumed": true, "ascendantuuid": "bdcc7fef-52e9-4b4c-a0ad-1950d6a1aec4", "descendantuuid": "69a48e44-55d0-4465-b956-358e502f443f", "grantedbyroleuuid": "69a48e44-55d0-4465-b956-358e502f443f", "grantedbytriggerof": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('925', 'rbac.role', 'd3ef7a10-2fcb-40f2-815d-b0feeed16655', 'INSERT', '{"uuid": "d3ef7a10-2fcb-40f2-815d-b0feeed16655", "roletype": "ADMIN", "objectuuid": "dbbfdc0a-a952-4886-b6df-a242f80b1233"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('925', 'rbac.permission', '0f25ae4c-082c-4bfc-912b-7fffec4c28c9', 'INSERT', '{"op": "UPDATE", "uuid": "0f25ae4c-082c-4bfc-912b-7fffec4c28c9", "objectuuid": "dbbfdc0a-a952-4886-b6df-a242f80b1233", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('925', 'rbac.grant', '36cf540f-9614-4deb-9f5f-070f23e73c43', 'INSERT', '{"uuid": "36cf540f-9614-4deb-9f5f-070f23e73c43", "assumed": true, "ascendantuuid": "d3ef7a10-2fcb-40f2-815d-b0feeed16655", "descendantuuid": "0f25ae4c-082c-4bfc-912b-7fffec4c28c9", "grantedbyroleuuid": null, "grantedbytriggerof": "dbbfdc0a-a952-4886-b6df-a242f80b1233"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('925', 'rbac.grant', '97fca835-441f-48f2-9e8f-9fcdfabb4d32', 'INSERT', '{"uuid": "97fca835-441f-48f2-9e8f-9fcdfabb4d32", "assumed": true, "ascendantuuid": "69a48e44-55d0-4465-b956-358e502f443f", "descendantuuid": "d3ef7a10-2fcb-40f2-815d-b0feeed16655", "grantedbyroleuuid": null, "grantedbytriggerof": "dbbfdc0a-a952-4886-b6df-a242f80b1233"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('925', 'rbac.role', '55d5c539-b176-46b8-9d54-45d224fb4bd4', 'INSERT', '{"uuid": "55d5c539-b176-46b8-9d54-45d224fb4bd4", "roletype": "TENANT", "objectuuid": "dbbfdc0a-a952-4886-b6df-a242f80b1233"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('925', 'rbac.permission', '83cebf26-8a7c-4f1d-8be4-195fd38d28af', 'INSERT', '{"op": "SELECT", "uuid": "83cebf26-8a7c-4f1d-8be4-195fd38d28af", "objectuuid": "dbbfdc0a-a952-4886-b6df-a242f80b1233", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('925', 'rbac.grant', '4d02aaee-e1c9-419b-8347-3b1612b77881', 'INSERT', '{"uuid": "4d02aaee-e1c9-419b-8347-3b1612b77881", "assumed": true, "ascendantuuid": "55d5c539-b176-46b8-9d54-45d224fb4bd4", "descendantuuid": "83cebf26-8a7c-4f1d-8be4-195fd38d28af", "grantedbyroleuuid": null, "grantedbytriggerof": "dbbfdc0a-a952-4886-b6df-a242f80b1233"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('925', 'rbac.grant', 'f3dc4319-ef0c-49c2-ab07-1878411b3dd6', 'INSERT', '{"uuid": "f3dc4319-ef0c-49c2-ab07-1878411b3dd6", "assumed": true, "ascendantuuid": "d3ef7a10-2fcb-40f2-815d-b0feeed16655", "descendantuuid": "55d5c539-b176-46b8-9d54-45d224fb4bd4", "grantedbyroleuuid": null, "grantedbytriggerof": "dbbfdc0a-a952-4886-b6df-a242f80b1233"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('925', 'rbac.grant', '710685ff-b296-424f-a88f-7d85f00b1054', 'INSERT', '{"uuid": "710685ff-b296-424f-a88f-7d85f00b1054", "assumed": true, "ascendantuuid": "25ff93a9-570e-4cc9-8361-2ad020e8ee2d", "descendantuuid": "d3ef7a10-2fcb-40f2-815d-b0feeed16655", "grantedbyroleuuid": "69a48e44-55d0-4465-b956-358e502f443f", "grantedbytriggerof": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('925', 'rbac.subject', 'bdfe51fa-baf3-4d35-ae75-e1204cb72190', 'INSERT', '{"name": "customer-admin@yyy.example.com", "uuid": "bdfe51fa-baf3-4d35-ae75-e1204cb72190"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('925', 'rbac.object', '03b1f749-8010-4c9c-a256-3911d64385a0', 'INSERT', '{"uuid": "03b1f749-8010-4c9c-a256-3911d64385a0", "serialid": 3, "objecttable": "rbactest.customer"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('925', 'rbac.role', '63b0d71c-5efd-4550-9a19-a6865ad0b379', 'INSERT', '{"uuid": "63b0d71c-5efd-4550-9a19-a6865ad0b379", "roletype": "OWNER", "objectuuid": "03b1f749-8010-4c9c-a256-3911d64385a0"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('925', 'rbac.permission', 'b69a11b3-7f06-4115-baaf-d3caa34b2772', 'INSERT', '{"op": "DELETE", "uuid": "b69a11b3-7f06-4115-baaf-d3caa34b2772", "objectuuid": "03b1f749-8010-4c9c-a256-3911d64385a0", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('925', 'rbac.grant', 'ac86c4f3-a1f8-4480-b55c-73cef9a5fd9d', 'INSERT', '{"uuid": "ac86c4f3-a1f8-4480-b55c-73cef9a5fd9d", "assumed": true, "ascendantuuid": "63b0d71c-5efd-4550-9a19-a6865ad0b379", "descendantuuid": "b69a11b3-7f06-4115-baaf-d3caa34b2772", "grantedbyroleuuid": null, "grantedbytriggerof": "03b1f749-8010-4c9c-a256-3911d64385a0"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('925', 'rbac.grant', '8167585c-a20a-4f18-9d5c-37f96ed0d59f', 'INSERT', '{"uuid": "8167585c-a20a-4f18-9d5c-37f96ed0d59f", "assumed": false, "ascendantuuid": "afc6a14a-f8c7-4c17-9b91-b615833bc002", "descendantuuid": "63b0d71c-5efd-4550-9a19-a6865ad0b379", "grantedbyroleuuid": null, "grantedbytriggerof": "03b1f749-8010-4c9c-a256-3911d64385a0"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('925', 'rbac.grant', '3e766c08-294b-42ae-a618-1e6906a6081d', 'INSERT', '{"uuid": "3e766c08-294b-42ae-a618-1e6906a6081d", "assumed": true, "ascendantuuid": "bdcc7fef-52e9-4b4c-a0ad-1950d6a1aec4", "descendantuuid": "63b0d71c-5efd-4550-9a19-a6865ad0b379", "grantedbyroleuuid": "63b0d71c-5efd-4550-9a19-a6865ad0b379", "grantedbytriggerof": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('925', 'rbac.role', '16a0381f-00d3-46c4-8aba-8f9850c4ce1a', 'INSERT', '{"uuid": "16a0381f-00d3-46c4-8aba-8f9850c4ce1a", "roletype": "ADMIN", "objectuuid": "03b1f749-8010-4c9c-a256-3911d64385a0"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('925', 'rbac.permission', '0d1bbf95-1083-4add-bdf0-505c59b4facb', 'INSERT', '{"op": "UPDATE", "uuid": "0d1bbf95-1083-4add-bdf0-505c59b4facb", "objectuuid": "03b1f749-8010-4c9c-a256-3911d64385a0", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('925', 'rbac.grant', 'aabb63ef-9bbe-44f0-a506-f63ef79586a1', 'INSERT', '{"uuid": "aabb63ef-9bbe-44f0-a506-f63ef79586a1", "assumed": true, "ascendantuuid": "16a0381f-00d3-46c4-8aba-8f9850c4ce1a", "descendantuuid": "0d1bbf95-1083-4add-bdf0-505c59b4facb", "grantedbyroleuuid": null, "grantedbytriggerof": "03b1f749-8010-4c9c-a256-3911d64385a0"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('925', 'rbac.grant', 'da3a010a-1513-416c-a426-a122cce95af8', 'INSERT', '{"uuid": "da3a010a-1513-416c-a426-a122cce95af8", "assumed": true, "ascendantuuid": "63b0d71c-5efd-4550-9a19-a6865ad0b379", "descendantuuid": "16a0381f-00d3-46c4-8aba-8f9850c4ce1a", "grantedbyroleuuid": null, "grantedbytriggerof": "03b1f749-8010-4c9c-a256-3911d64385a0"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('925', 'rbac.role', '43dfd7bc-6516-428b-9e17-3daa025bf942', 'INSERT', '{"uuid": "43dfd7bc-6516-428b-9e17-3daa025bf942", "roletype": "TENANT", "objectuuid": "03b1f749-8010-4c9c-a256-3911d64385a0"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('925', 'rbac.permission', 'e8e990e2-c26e-43b6-ad15-ab1c0e4b4ffa', 'INSERT', '{"op": "SELECT", "uuid": "e8e990e2-c26e-43b6-ad15-ab1c0e4b4ffa", "objectuuid": "03b1f749-8010-4c9c-a256-3911d64385a0", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('925', 'rbac.grant', 'e3006e8c-e071-4782-a5a6-c4f4a98e57db', 'INSERT', '{"uuid": "e3006e8c-e071-4782-a5a6-c4f4a98e57db", "assumed": true, "ascendantuuid": "43dfd7bc-6516-428b-9e17-3daa025bf942", "descendantuuid": "e8e990e2-c26e-43b6-ad15-ab1c0e4b4ffa", "grantedbyroleuuid": null, "grantedbytriggerof": "03b1f749-8010-4c9c-a256-3911d64385a0"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('925', 'rbac.grant', '11309c0d-337d-49cd-ab8e-3be77d23c8f4', 'INSERT', '{"uuid": "11309c0d-337d-49cd-ab8e-3be77d23c8f4", "assumed": true, "ascendantuuid": "16a0381f-00d3-46c4-8aba-8f9850c4ce1a", "descendantuuid": "43dfd7bc-6516-428b-9e17-3daa025bf942", "grantedbyroleuuid": null, "grantedbytriggerof": "03b1f749-8010-4c9c-a256-3911d64385a0"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('925', 'rbac.grant', '6be58af9-ccda-4301-bba1-2a1cd8ad71e8', 'INSERT', '{"uuid": "6be58af9-ccda-4301-bba1-2a1cd8ad71e8", "assumed": true, "ascendantuuid": "bdfe51fa-baf3-4d35-ae75-e1204cb72190", "descendantuuid": "16a0381f-00d3-46c4-8aba-8f9850c4ce1a", "grantedbyroleuuid": "63b0d71c-5efd-4550-9a19-a6865ad0b379", "grantedbytriggerof": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('925', 'rbac.subject', 'aead54d2-cdfb-4a71-85e9-81bf66657fd0', 'INSERT', '{"name": "customer-admin@zzz.example.com", "uuid": "aead54d2-cdfb-4a71-85e9-81bf66657fd0"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('925', 'rbac.object', 'ccbb2b4b-68cd-4fd6-8467-2357874a3eab', 'INSERT', '{"uuid": "ccbb2b4b-68cd-4fd6-8467-2357874a3eab", "serialid": 4, "objecttable": "rbactest.customer"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('925', 'rbac.role', 'dfca3233-7ba6-45d7-bad0-d0d30ca936e2', 'INSERT', '{"uuid": "dfca3233-7ba6-45d7-bad0-d0d30ca936e2", "roletype": "OWNER", "objectuuid": "ccbb2b4b-68cd-4fd6-8467-2357874a3eab"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('925', 'rbac.permission', '77c4fd8d-ae88-4266-b3db-b367d40c2ba9', 'INSERT', '{"op": "DELETE", "uuid": "77c4fd8d-ae88-4266-b3db-b367d40c2ba9", "objectuuid": "ccbb2b4b-68cd-4fd6-8467-2357874a3eab", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('925', 'rbac.grant', '731ec17d-3933-41f6-a049-67594216f9d2', 'INSERT', '{"uuid": "731ec17d-3933-41f6-a049-67594216f9d2", "assumed": true, "ascendantuuid": "dfca3233-7ba6-45d7-bad0-d0d30ca936e2", "descendantuuid": "77c4fd8d-ae88-4266-b3db-b367d40c2ba9", "grantedbyroleuuid": null, "grantedbytriggerof": "ccbb2b4b-68cd-4fd6-8467-2357874a3eab"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('925', 'rbac.grant', '02fde269-812d-4043-a842-460fee3a5f6d', 'INSERT', '{"uuid": "02fde269-812d-4043-a842-460fee3a5f6d", "assumed": false, "ascendantuuid": "afc6a14a-f8c7-4c17-9b91-b615833bc002", "descendantuuid": "dfca3233-7ba6-45d7-bad0-d0d30ca936e2", "grantedbyroleuuid": null, "grantedbytriggerof": "ccbb2b4b-68cd-4fd6-8467-2357874a3eab"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('925', 'rbac.grant', 'e50a3a6d-f152-49aa-a842-b388fcd092fb', 'INSERT', '{"uuid": "e50a3a6d-f152-49aa-a842-b388fcd092fb", "assumed": true, "ascendantuuid": "bdcc7fef-52e9-4b4c-a0ad-1950d6a1aec4", "descendantuuid": "dfca3233-7ba6-45d7-bad0-d0d30ca936e2", "grantedbyroleuuid": "dfca3233-7ba6-45d7-bad0-d0d30ca936e2", "grantedbytriggerof": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('925', 'rbac.role', '56452eab-b4a5-48f7-9260-9e3b73ec667c', 'INSERT', '{"uuid": "56452eab-b4a5-48f7-9260-9e3b73ec667c", "roletype": "ADMIN", "objectuuid": "ccbb2b4b-68cd-4fd6-8467-2357874a3eab"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('925', 'rbac.permission', '248bca20-bbc4-4337-8578-91c9c9c8886e', 'INSERT', '{"op": "UPDATE", "uuid": "248bca20-bbc4-4337-8578-91c9c9c8886e", "objectuuid": "ccbb2b4b-68cd-4fd6-8467-2357874a3eab", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('925', 'rbac.grant', '21267273-6ede-455c-af43-3885c6be37b3', 'INSERT', '{"uuid": "21267273-6ede-455c-af43-3885c6be37b3", "assumed": true, "ascendantuuid": "56452eab-b4a5-48f7-9260-9e3b73ec667c", "descendantuuid": "248bca20-bbc4-4337-8578-91c9c9c8886e", "grantedbyroleuuid": null, "grantedbytriggerof": "ccbb2b4b-68cd-4fd6-8467-2357874a3eab"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('925', 'rbac.grant', '3bb86e59-f4eb-49f0-85cb-d0543cd5e701', 'INSERT', '{"uuid": "3bb86e59-f4eb-49f0-85cb-d0543cd5e701", "assumed": true, "ascendantuuid": "dfca3233-7ba6-45d7-bad0-d0d30ca936e2", "descendantuuid": "56452eab-b4a5-48f7-9260-9e3b73ec667c", "grantedbyroleuuid": null, "grantedbytriggerof": "ccbb2b4b-68cd-4fd6-8467-2357874a3eab"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('925', 'rbac.role', '2e0957db-a5b3-4226-ad54-286ab5a07013', 'INSERT', '{"uuid": "2e0957db-a5b3-4226-ad54-286ab5a07013", "roletype": "TENANT", "objectuuid": "ccbb2b4b-68cd-4fd6-8467-2357874a3eab"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('925', 'rbac.permission', '4aeba6eb-ab10-46fd-8112-25773bf87f49', 'INSERT', '{"op": "SELECT", "uuid": "4aeba6eb-ab10-46fd-8112-25773bf87f49", "objectuuid": "ccbb2b4b-68cd-4fd6-8467-2357874a3eab", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('925', 'rbac.grant', '429cdd0b-98a9-45ab-8b67-5498a7dbecde', 'INSERT', '{"uuid": "429cdd0b-98a9-45ab-8b67-5498a7dbecde", "assumed": true, "ascendantuuid": "2e0957db-a5b3-4226-ad54-286ab5a07013", "descendantuuid": "4aeba6eb-ab10-46fd-8112-25773bf87f49", "grantedbyroleuuid": null, "grantedbytriggerof": "ccbb2b4b-68cd-4fd6-8467-2357874a3eab"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('925', 'rbac.grant', '396d57b9-e34f-48eb-8e7c-424ae21c15cc', 'INSERT', '{"uuid": "396d57b9-e34f-48eb-8e7c-424ae21c15cc", "assumed": true, "ascendantuuid": "56452eab-b4a5-48f7-9260-9e3b73ec667c", "descendantuuid": "2e0957db-a5b3-4226-ad54-286ab5a07013", "grantedbyroleuuid": null, "grantedbytriggerof": "ccbb2b4b-68cd-4fd6-8467-2357874a3eab"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('925', 'rbac.grant', '817a8d6e-3c23-4e94-8172-1d4cdd6d2462', 'INSERT', '{"uuid": "817a8d6e-3c23-4e94-8172-1d4cdd6d2462", "assumed": true, "ascendantuuid": "aead54d2-cdfb-4a71-85e9-81bf66657fd0", "descendantuuid": "56452eab-b4a5-48f7-9260-9e3b73ec667c", "grantedbyroleuuid": "dfca3233-7ba6-45d7-bad0-d0d30ca936e2", "grantedbytriggerof": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('946', 'rbac.permission', '1d236ccf-a539-4442-a58b-0a1d71494c89', 'INSERT', '{"op": "INSERT", "uuid": "1d236ccf-a539-4442-a58b-0a1d71494c89", "objectuuid": "dbbfdc0a-a952-4886-b6df-a242f80b1233", "optablename": "rbactest.package"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('961', 'rbac.permission', 'f8559b3f-1d4f-49c3-b00c-bde86bacc35e', 'INSERT', '{"op": "DELETE", "uuid": "f8559b3f-1d4f-49c3-b00c-bde86bacc35e", "objectuuid": "3c243156-033e-4e72-96cf-5e204d04900c", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('946', 'rbac.grant', '49ed865f-5be3-418e-96b0-dc8e4a88d387', 'INSERT', '{"uuid": "49ed865f-5be3-418e-96b0-dc8e4a88d387", "assumed": true, "ascendantuuid": "d3ef7a10-2fcb-40f2-815d-b0feeed16655", "descendantuuid": "1d236ccf-a539-4442-a58b-0a1d71494c89", "grantedbyroleuuid": null, "grantedbytriggerof": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('946', 'rbac.permission', '0802661d-8546-4f62-b6ec-11c755819a7c', 'INSERT', '{"op": "INSERT", "uuid": "0802661d-8546-4f62-b6ec-11c755819a7c", "objectuuid": "03b1f749-8010-4c9c-a256-3911d64385a0", "optablename": "rbactest.package"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('946', 'rbac.grant', '2e17aa04-45fe-415d-9fd8-15cb5b6db210', 'INSERT', '{"uuid": "2e17aa04-45fe-415d-9fd8-15cb5b6db210", "assumed": true, "ascendantuuid": "16a0381f-00d3-46c4-8aba-8f9850c4ce1a", "descendantuuid": "0802661d-8546-4f62-b6ec-11c755819a7c", "grantedbyroleuuid": null, "grantedbytriggerof": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('946', 'rbac.permission', '0f834fc6-4202-4bc6-9c26-e284913be6f0', 'INSERT', '{"op": "INSERT", "uuid": "0f834fc6-4202-4bc6-9c26-e284913be6f0", "objectuuid": "ccbb2b4b-68cd-4fd6-8467-2357874a3eab", "optablename": "rbactest.package"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('946', 'rbac.grant', 'e1615947-cfe3-4a23-90fe-e933cfc06a44', 'INSERT', '{"uuid": "e1615947-cfe3-4a23-90fe-e933cfc06a44", "assumed": true, "ascendantuuid": "56452eab-b4a5-48f7-9260-9e3b73ec667c", "descendantuuid": "0f834fc6-4202-4bc6-9c26-e284913be6f0", "grantedbyroleuuid": null, "grantedbytriggerof": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('961', 'rbac.object', '1f378616-047c-4cf3-a70b-54c88f9608d6', 'INSERT', '{"uuid": "1f378616-047c-4cf3-a70b-54c88f9608d6", "serialid": 5, "objecttable": "rbactest.package"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('961', 'rbac.role', '4632bead-f8ed-4fd7-8450-6373f1866480', 'INSERT', '{"uuid": "4632bead-f8ed-4fd7-8450-6373f1866480", "roletype": "OWNER", "objectuuid": "1f378616-047c-4cf3-a70b-54c88f9608d6"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('961', 'rbac.permission', '86176933-cf96-4c96-93c9-300bea07d6d8', 'INSERT', '{"op": "DELETE", "uuid": "86176933-cf96-4c96-93c9-300bea07d6d8", "objectuuid": "1f378616-047c-4cf3-a70b-54c88f9608d6", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('961', 'rbac.grant', '893ff0b1-83b1-4b82-9dc2-a66f56ee80aa', 'INSERT', '{"uuid": "893ff0b1-83b1-4b82-9dc2-a66f56ee80aa", "assumed": true, "ascendantuuid": "4632bead-f8ed-4fd7-8450-6373f1866480", "descendantuuid": "86176933-cf96-4c96-93c9-300bea07d6d8", "grantedbyroleuuid": null, "grantedbytriggerof": "1f378616-047c-4cf3-a70b-54c88f9608d6"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('961', 'rbac.permission', '121719be-0a9e-4db7-b08b-7cb2c70c2746', 'INSERT', '{"op": "UPDATE", "uuid": "121719be-0a9e-4db7-b08b-7cb2c70c2746", "objectuuid": "1f378616-047c-4cf3-a70b-54c88f9608d6", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('961', 'rbac.grant', 'a04f09b8-e1b8-4b07-9347-cc556c220fce', 'INSERT', '{"uuid": "a04f09b8-e1b8-4b07-9347-cc556c220fce", "assumed": true, "ascendantuuid": "4632bead-f8ed-4fd7-8450-6373f1866480", "descendantuuid": "121719be-0a9e-4db7-b08b-7cb2c70c2746", "grantedbyroleuuid": null, "grantedbytriggerof": "1f378616-047c-4cf3-a70b-54c88f9608d6"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('961', 'rbac.grant', '04eeec56-bffd-473e-bde0-977b626ed0bb', 'INSERT', '{"uuid": "04eeec56-bffd-473e-bde0-977b626ed0bb", "assumed": true, "ascendantuuid": "d3ef7a10-2fcb-40f2-815d-b0feeed16655", "descendantuuid": "4632bead-f8ed-4fd7-8450-6373f1866480", "grantedbyroleuuid": null, "grantedbytriggerof": "1f378616-047c-4cf3-a70b-54c88f9608d6"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('961', 'rbac.role', 'ae7c30a8-38f8-4958-bdc2-443636f37cb7', 'INSERT', '{"uuid": "ae7c30a8-38f8-4958-bdc2-443636f37cb7", "roletype": "ADMIN", "objectuuid": "1f378616-047c-4cf3-a70b-54c88f9608d6"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('961', 'rbac.grant', '28ff5e40-fd8b-41e1-9623-99d8e1292b32', 'INSERT', '{"uuid": "28ff5e40-fd8b-41e1-9623-99d8e1292b32", "assumed": true, "ascendantuuid": "4632bead-f8ed-4fd7-8450-6373f1866480", "descendantuuid": "ae7c30a8-38f8-4958-bdc2-443636f37cb7", "grantedbyroleuuid": null, "grantedbytriggerof": "1f378616-047c-4cf3-a70b-54c88f9608d6"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('961', 'rbac.role', '5637f48c-8147-4bcd-8310-483992134474', 'INSERT', '{"uuid": "5637f48c-8147-4bcd-8310-483992134474", "roletype": "TENANT", "objectuuid": "1f378616-047c-4cf3-a70b-54c88f9608d6"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('961', 'rbac.permission', 'ce29c503-5f21-4128-8cb8-98ea3aeca5f0', 'INSERT', '{"op": "SELECT", "uuid": "ce29c503-5f21-4128-8cb8-98ea3aeca5f0", "objectuuid": "1f378616-047c-4cf3-a70b-54c88f9608d6", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('961', 'rbac.grant', '654d7a4f-3ce4-4ef9-9014-95f89987ddc7', 'INSERT', '{"uuid": "654d7a4f-3ce4-4ef9-9014-95f89987ddc7", "assumed": true, "ascendantuuid": "5637f48c-8147-4bcd-8310-483992134474", "descendantuuid": "ce29c503-5f21-4128-8cb8-98ea3aeca5f0", "grantedbyroleuuid": null, "grantedbytriggerof": "1f378616-047c-4cf3-a70b-54c88f9608d6"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('961', 'rbac.grant', '0e34fb5c-a3ef-42a0-a6bc-fe339deb60b5', 'INSERT', '{"uuid": "0e34fb5c-a3ef-42a0-a6bc-fe339deb60b5", "assumed": true, "ascendantuuid": "ae7c30a8-38f8-4958-bdc2-443636f37cb7", "descendantuuid": "5637f48c-8147-4bcd-8310-483992134474", "grantedbyroleuuid": null, "grantedbytriggerof": "1f378616-047c-4cf3-a70b-54c88f9608d6"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('961', 'rbac.grant', 'ac4be189-7d42-401e-8edc-4378c5d65aba', 'INSERT', '{"uuid": "ac4be189-7d42-401e-8edc-4378c5d65aba", "assumed": true, "ascendantuuid": "5637f48c-8147-4bcd-8310-483992134474", "descendantuuid": "55d5c539-b176-46b8-9d54-45d224fb4bd4", "grantedbyroleuuid": null, "grantedbytriggerof": "1f378616-047c-4cf3-a70b-54c88f9608d6"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('961', 'rbac.subject', '8b7aa499-a002-438e-a374-8727505fd466', 'INSERT', '{"name": "pac-admin-xxx00@xxx.example.com", "uuid": "8b7aa499-a002-438e-a374-8727505fd466"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('961', 'rbac.grant', 'e492ece2-015c-4466-a406-8a78ef4ab0c2', 'INSERT', '{"uuid": "e492ece2-015c-4466-a406-8a78ef4ab0c2", "assumed": true, "ascendantuuid": "8b7aa499-a002-438e-a374-8727505fd466", "descendantuuid": "ae7c30a8-38f8-4958-bdc2-443636f37cb7", "grantedbyroleuuid": "d3ef7a10-2fcb-40f2-815d-b0feeed16655", "grantedbytriggerof": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('961', 'rbac.object', '5a10e27a-311d-4527-b0ac-38f2fd6e16c4', 'INSERT', '{"uuid": "5a10e27a-311d-4527-b0ac-38f2fd6e16c4", "serialid": 6, "objecttable": "rbactest.package"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('961', 'rbac.role', '26c15adf-9ef0-4582-84a0-0b88622578df', 'INSERT', '{"uuid": "26c15adf-9ef0-4582-84a0-0b88622578df", "roletype": "OWNER", "objectuuid": "5a10e27a-311d-4527-b0ac-38f2fd6e16c4"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('961', 'rbac.permission', 'd1b6c45a-ea36-4933-8616-d5d9a4c7e2a9', 'INSERT', '{"op": "DELETE", "uuid": "d1b6c45a-ea36-4933-8616-d5d9a4c7e2a9", "objectuuid": "5a10e27a-311d-4527-b0ac-38f2fd6e16c4", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('961', 'rbac.grant', '0bfcae1c-536f-4e90-8ea4-c00772b1f07d', 'INSERT', '{"uuid": "0bfcae1c-536f-4e90-8ea4-c00772b1f07d", "assumed": true, "ascendantuuid": "26c15adf-9ef0-4582-84a0-0b88622578df", "descendantuuid": "d1b6c45a-ea36-4933-8616-d5d9a4c7e2a9", "grantedbyroleuuid": null, "grantedbytriggerof": "5a10e27a-311d-4527-b0ac-38f2fd6e16c4"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('961', 'rbac.permission', 'bf660924-c6e9-4ff6-b25a-ee86f1d0be65', 'INSERT', '{"op": "UPDATE", "uuid": "bf660924-c6e9-4ff6-b25a-ee86f1d0be65", "objectuuid": "5a10e27a-311d-4527-b0ac-38f2fd6e16c4", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('961', 'rbac.grant', '7980f783-c7cc-49fd-ba84-1278a7440f41', 'INSERT', '{"uuid": "7980f783-c7cc-49fd-ba84-1278a7440f41", "assumed": true, "ascendantuuid": "26c15adf-9ef0-4582-84a0-0b88622578df", "descendantuuid": "bf660924-c6e9-4ff6-b25a-ee86f1d0be65", "grantedbyroleuuid": null, "grantedbytriggerof": "5a10e27a-311d-4527-b0ac-38f2fd6e16c4"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('961', 'rbac.grant', 'a3809bb0-4267-48c7-a480-a5d27f7bae2c', 'INSERT', '{"uuid": "a3809bb0-4267-48c7-a480-a5d27f7bae2c", "assumed": true, "ascendantuuid": "d3ef7a10-2fcb-40f2-815d-b0feeed16655", "descendantuuid": "26c15adf-9ef0-4582-84a0-0b88622578df", "grantedbyroleuuid": null, "grantedbytriggerof": "5a10e27a-311d-4527-b0ac-38f2fd6e16c4"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('961', 'rbac.role', '4270da5c-c719-492e-b4f5-1311f850bf74', 'INSERT', '{"uuid": "4270da5c-c719-492e-b4f5-1311f850bf74", "roletype": "ADMIN", "objectuuid": "5a10e27a-311d-4527-b0ac-38f2fd6e16c4"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.permission', 'd14cda32-545d-4f58-9912-0e02810bb20d', 'INSERT', '{"op": "DELETE", "uuid": "d14cda32-545d-4f58-9912-0e02810bb20d", "objectuuid": "5796ae29-666f-4ee3-9f20-75ffc3b21f4c", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('961', 'rbac.grant', 'a00de00b-a6f2-4430-a516-b33870b8d574', 'INSERT', '{"uuid": "a00de00b-a6f2-4430-a516-b33870b8d574", "assumed": true, "ascendantuuid": "26c15adf-9ef0-4582-84a0-0b88622578df", "descendantuuid": "4270da5c-c719-492e-b4f5-1311f850bf74", "grantedbyroleuuid": null, "grantedbytriggerof": "5a10e27a-311d-4527-b0ac-38f2fd6e16c4"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('961', 'rbac.role', '8e0d16b2-360a-454e-8019-9c1882c04e5f', 'INSERT', '{"uuid": "8e0d16b2-360a-454e-8019-9c1882c04e5f", "roletype": "TENANT", "objectuuid": "5a10e27a-311d-4527-b0ac-38f2fd6e16c4"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('961', 'rbac.permission', '726bffdc-94d6-404b-9929-2bbdd8438400', 'INSERT', '{"op": "SELECT", "uuid": "726bffdc-94d6-404b-9929-2bbdd8438400", "objectuuid": "5a10e27a-311d-4527-b0ac-38f2fd6e16c4", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('961', 'rbac.grant', '705cf0fa-4383-4652-83c4-94be1773a6a7', 'INSERT', '{"uuid": "705cf0fa-4383-4652-83c4-94be1773a6a7", "assumed": true, "ascendantuuid": "8e0d16b2-360a-454e-8019-9c1882c04e5f", "descendantuuid": "726bffdc-94d6-404b-9929-2bbdd8438400", "grantedbyroleuuid": null, "grantedbytriggerof": "5a10e27a-311d-4527-b0ac-38f2fd6e16c4"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('961', 'rbac.grant', '917fa98d-6e5d-42ec-b7a0-9adcdab6e28f', 'INSERT', '{"uuid": "917fa98d-6e5d-42ec-b7a0-9adcdab6e28f", "assumed": true, "ascendantuuid": "4270da5c-c719-492e-b4f5-1311f850bf74", "descendantuuid": "8e0d16b2-360a-454e-8019-9c1882c04e5f", "grantedbyroleuuid": null, "grantedbytriggerof": "5a10e27a-311d-4527-b0ac-38f2fd6e16c4"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('961', 'rbac.grant', '91e58ecc-df42-4cd9-8bba-557f0ad2bf84', 'INSERT', '{"uuid": "91e58ecc-df42-4cd9-8bba-557f0ad2bf84", "assumed": true, "ascendantuuid": "8e0d16b2-360a-454e-8019-9c1882c04e5f", "descendantuuid": "55d5c539-b176-46b8-9d54-45d224fb4bd4", "grantedbyroleuuid": null, "grantedbytriggerof": "5a10e27a-311d-4527-b0ac-38f2fd6e16c4"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('961', 'rbac.subject', '996b095f-6390-4c22-8513-4b0d6a42a3e5', 'INSERT', '{"name": "pac-admin-xxx01@xxx.example.com", "uuid": "996b095f-6390-4c22-8513-4b0d6a42a3e5"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('961', 'rbac.grant', '608592a8-5386-402f-92d6-8b16c6104492', 'INSERT', '{"uuid": "608592a8-5386-402f-92d6-8b16c6104492", "assumed": true, "ascendantuuid": "996b095f-6390-4c22-8513-4b0d6a42a3e5", "descendantuuid": "4270da5c-c719-492e-b4f5-1311f850bf74", "grantedbyroleuuid": "d3ef7a10-2fcb-40f2-815d-b0feeed16655", "grantedbytriggerof": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('961', 'rbac.object', 'dd13db03-932e-4c71-9ae7-ff197cc02341', 'INSERT', '{"uuid": "dd13db03-932e-4c71-9ae7-ff197cc02341", "serialid": 7, "objecttable": "rbactest.package"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('961', 'rbac.role', '3be7ab56-f11b-43dd-a915-0b2c2d83cde0', 'INSERT', '{"uuid": "3be7ab56-f11b-43dd-a915-0b2c2d83cde0", "roletype": "OWNER", "objectuuid": "dd13db03-932e-4c71-9ae7-ff197cc02341"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('961', 'rbac.permission', 'ea153d1c-7c2c-423f-b50d-d6a4b74eb0a3', 'INSERT', '{"op": "DELETE", "uuid": "ea153d1c-7c2c-423f-b50d-d6a4b74eb0a3", "objectuuid": "dd13db03-932e-4c71-9ae7-ff197cc02341", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('961', 'rbac.grant', '64bce225-007f-4005-a6cf-727c924fb760', 'INSERT', '{"uuid": "64bce225-007f-4005-a6cf-727c924fb760", "assumed": true, "ascendantuuid": "3be7ab56-f11b-43dd-a915-0b2c2d83cde0", "descendantuuid": "ea153d1c-7c2c-423f-b50d-d6a4b74eb0a3", "grantedbyroleuuid": null, "grantedbytriggerof": "dd13db03-932e-4c71-9ae7-ff197cc02341"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('961', 'rbac.permission', 'cdc80d76-ba5b-4621-8176-4c5eb04f74b9', 'INSERT', '{"op": "UPDATE", "uuid": "cdc80d76-ba5b-4621-8176-4c5eb04f74b9", "objectuuid": "dd13db03-932e-4c71-9ae7-ff197cc02341", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('961', 'rbac.grant', '39571bfe-9352-4d5f-a05c-95d103ef077c', 'INSERT', '{"uuid": "39571bfe-9352-4d5f-a05c-95d103ef077c", "assumed": true, "ascendantuuid": "3be7ab56-f11b-43dd-a915-0b2c2d83cde0", "descendantuuid": "cdc80d76-ba5b-4621-8176-4c5eb04f74b9", "grantedbyroleuuid": null, "grantedbytriggerof": "dd13db03-932e-4c71-9ae7-ff197cc02341"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('961', 'rbac.grant', '398ce281-3513-4182-8178-c56bfce68f68', 'INSERT', '{"uuid": "398ce281-3513-4182-8178-c56bfce68f68", "assumed": true, "ascendantuuid": "d3ef7a10-2fcb-40f2-815d-b0feeed16655", "descendantuuid": "3be7ab56-f11b-43dd-a915-0b2c2d83cde0", "grantedbyroleuuid": null, "grantedbytriggerof": "dd13db03-932e-4c71-9ae7-ff197cc02341"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('961', 'rbac.role', 'bd39a86a-6d69-4aba-b2ba-93e4ba7d5e68', 'INSERT', '{"uuid": "bd39a86a-6d69-4aba-b2ba-93e4ba7d5e68", "roletype": "ADMIN", "objectuuid": "dd13db03-932e-4c71-9ae7-ff197cc02341"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('961', 'rbac.grant', '05d6bd23-d0d1-43f2-9f32-47a49c3bb444', 'INSERT', '{"uuid": "05d6bd23-d0d1-43f2-9f32-47a49c3bb444", "assumed": true, "ascendantuuid": "3be7ab56-f11b-43dd-a915-0b2c2d83cde0", "descendantuuid": "bd39a86a-6d69-4aba-b2ba-93e4ba7d5e68", "grantedbyroleuuid": null, "grantedbytriggerof": "dd13db03-932e-4c71-9ae7-ff197cc02341"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('961', 'rbac.role', '6c23d1e8-bab1-4307-9906-6f2970b148fa', 'INSERT', '{"uuid": "6c23d1e8-bab1-4307-9906-6f2970b148fa", "roletype": "TENANT", "objectuuid": "dd13db03-932e-4c71-9ae7-ff197cc02341"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('961', 'rbac.permission', '7bb890db-fe99-410b-8771-570e6f94a3bb', 'INSERT', '{"op": "SELECT", "uuid": "7bb890db-fe99-410b-8771-570e6f94a3bb", "objectuuid": "dd13db03-932e-4c71-9ae7-ff197cc02341", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('961', 'rbac.grant', '588e910e-423a-43b8-8fa2-f6c301c98a34', 'INSERT', '{"uuid": "588e910e-423a-43b8-8fa2-f6c301c98a34", "assumed": true, "ascendantuuid": "6c23d1e8-bab1-4307-9906-6f2970b148fa", "descendantuuid": "7bb890db-fe99-410b-8771-570e6f94a3bb", "grantedbyroleuuid": null, "grantedbytriggerof": "dd13db03-932e-4c71-9ae7-ff197cc02341"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('961', 'rbac.grant', '39f8819e-6d6c-4ebd-92ed-afe2a03e5869', 'INSERT', '{"uuid": "39f8819e-6d6c-4ebd-92ed-afe2a03e5869", "assumed": true, "ascendantuuid": "bd39a86a-6d69-4aba-b2ba-93e4ba7d5e68", "descendantuuid": "6c23d1e8-bab1-4307-9906-6f2970b148fa", "grantedbyroleuuid": null, "grantedbytriggerof": "dd13db03-932e-4c71-9ae7-ff197cc02341"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('961', 'rbac.grant', 'aa551f52-37ad-4590-aa6a-01eef0f12230', 'INSERT', '{"uuid": "aa551f52-37ad-4590-aa6a-01eef0f12230", "assumed": true, "ascendantuuid": "6c23d1e8-bab1-4307-9906-6f2970b148fa", "descendantuuid": "55d5c539-b176-46b8-9d54-45d224fb4bd4", "grantedbyroleuuid": null, "grantedbytriggerof": "dd13db03-932e-4c71-9ae7-ff197cc02341"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('961', 'rbac.subject', '36351f3a-53ef-489b-a357-a5b313bb342f', 'INSERT', '{"name": "pac-admin-xxx02@xxx.example.com", "uuid": "36351f3a-53ef-489b-a357-a5b313bb342f"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('961', 'rbac.grant', '9c93f280-dd89-4264-97a9-805d384060c2', 'INSERT', '{"uuid": "9c93f280-dd89-4264-97a9-805d384060c2", "assumed": true, "ascendantuuid": "36351f3a-53ef-489b-a357-a5b313bb342f", "descendantuuid": "bd39a86a-6d69-4aba-b2ba-93e4ba7d5e68", "grantedbyroleuuid": "d3ef7a10-2fcb-40f2-815d-b0feeed16655", "grantedbytriggerof": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('961', 'rbac.object', '9464ead9-4f16-477c-bf3b-14669a9c42be', 'INSERT', '{"uuid": "9464ead9-4f16-477c-bf3b-14669a9c42be", "serialid": 8, "objecttable": "rbactest.package"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('961', 'rbac.role', '1bf9f801-9500-4956-b1b8-22a41d0b96e5', 'INSERT', '{"uuid": "1bf9f801-9500-4956-b1b8-22a41d0b96e5", "roletype": "OWNER", "objectuuid": "9464ead9-4f16-477c-bf3b-14669a9c42be"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('961', 'rbac.permission', '1f9cf200-6832-4fba-911d-b76e5dac5565', 'INSERT', '{"op": "DELETE", "uuid": "1f9cf200-6832-4fba-911d-b76e5dac5565", "objectuuid": "9464ead9-4f16-477c-bf3b-14669a9c42be", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('961', 'rbac.grant', 'f22e385e-479a-4ed0-b8b0-2ce9e209827b', 'INSERT', '{"uuid": "f22e385e-479a-4ed0-b8b0-2ce9e209827b", "assumed": true, "ascendantuuid": "1bf9f801-9500-4956-b1b8-22a41d0b96e5", "descendantuuid": "1f9cf200-6832-4fba-911d-b76e5dac5565", "grantedbyroleuuid": null, "grantedbytriggerof": "9464ead9-4f16-477c-bf3b-14669a9c42be"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('961', 'rbac.permission', 'da7279dd-cdaf-4765-8a92-47e38cc21aec', 'INSERT', '{"op": "UPDATE", "uuid": "da7279dd-cdaf-4765-8a92-47e38cc21aec", "objectuuid": "9464ead9-4f16-477c-bf3b-14669a9c42be", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.role', 'e93073b3-d214-42fa-983f-da394322ea7d', 'INSERT', '{"uuid": "e93073b3-d214-42fa-983f-da394322ea7d", "roletype": "OWNER", "objectuuid": "e256cae4-99d8-44f3-961a-ecbffaeb17e4"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('961', 'rbac.grant', 'c2662740-0725-4378-b738-38faaaf59004', 'INSERT', '{"uuid": "c2662740-0725-4378-b738-38faaaf59004", "assumed": true, "ascendantuuid": "1bf9f801-9500-4956-b1b8-22a41d0b96e5", "descendantuuid": "da7279dd-cdaf-4765-8a92-47e38cc21aec", "grantedbyroleuuid": null, "grantedbytriggerof": "9464ead9-4f16-477c-bf3b-14669a9c42be"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('961', 'rbac.grant', '7f5feca8-7aa8-4501-9dcd-e112a24fc7cd', 'INSERT', '{"uuid": "7f5feca8-7aa8-4501-9dcd-e112a24fc7cd", "assumed": true, "ascendantuuid": "16a0381f-00d3-46c4-8aba-8f9850c4ce1a", "descendantuuid": "1bf9f801-9500-4956-b1b8-22a41d0b96e5", "grantedbyroleuuid": null, "grantedbytriggerof": "9464ead9-4f16-477c-bf3b-14669a9c42be"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('961', 'rbac.role', 'a3fa28dd-26b8-4ab0-b503-96bab5f862b5', 'INSERT', '{"uuid": "a3fa28dd-26b8-4ab0-b503-96bab5f862b5", "roletype": "ADMIN", "objectuuid": "9464ead9-4f16-477c-bf3b-14669a9c42be"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('961', 'rbac.grant', '5c4c0f55-4ce5-45db-8e8e-3e73b069b8e7', 'INSERT', '{"uuid": "5c4c0f55-4ce5-45db-8e8e-3e73b069b8e7", "assumed": true, "ascendantuuid": "1bf9f801-9500-4956-b1b8-22a41d0b96e5", "descendantuuid": "a3fa28dd-26b8-4ab0-b503-96bab5f862b5", "grantedbyroleuuid": null, "grantedbytriggerof": "9464ead9-4f16-477c-bf3b-14669a9c42be"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('961', 'rbac.role', '202174cc-19e8-47f0-9f62-8fa7509dde3e', 'INSERT', '{"uuid": "202174cc-19e8-47f0-9f62-8fa7509dde3e", "roletype": "TENANT", "objectuuid": "9464ead9-4f16-477c-bf3b-14669a9c42be"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('961', 'rbac.permission', '286e1ac2-8159-41c6-a2de-81baa8a11fda', 'INSERT', '{"op": "SELECT", "uuid": "286e1ac2-8159-41c6-a2de-81baa8a11fda", "objectuuid": "9464ead9-4f16-477c-bf3b-14669a9c42be", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('961', 'rbac.grant', 'a4685383-35b5-43ca-a7b9-1f78e254d47f', 'INSERT', '{"uuid": "a4685383-35b5-43ca-a7b9-1f78e254d47f", "assumed": true, "ascendantuuid": "202174cc-19e8-47f0-9f62-8fa7509dde3e", "descendantuuid": "286e1ac2-8159-41c6-a2de-81baa8a11fda", "grantedbyroleuuid": null, "grantedbytriggerof": "9464ead9-4f16-477c-bf3b-14669a9c42be"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('961', 'rbac.grant', '4d9f5181-63ed-4990-808e-84c4f0c74413', 'INSERT', '{"uuid": "4d9f5181-63ed-4990-808e-84c4f0c74413", "assumed": true, "ascendantuuid": "a3fa28dd-26b8-4ab0-b503-96bab5f862b5", "descendantuuid": "202174cc-19e8-47f0-9f62-8fa7509dde3e", "grantedbyroleuuid": null, "grantedbytriggerof": "9464ead9-4f16-477c-bf3b-14669a9c42be"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('961', 'rbac.grant', '4bef0adb-4e3c-4935-9c96-b1379ab53375', 'INSERT', '{"uuid": "4bef0adb-4e3c-4935-9c96-b1379ab53375", "assumed": true, "ascendantuuid": "202174cc-19e8-47f0-9f62-8fa7509dde3e", "descendantuuid": "43dfd7bc-6516-428b-9e17-3daa025bf942", "grantedbyroleuuid": null, "grantedbytriggerof": "9464ead9-4f16-477c-bf3b-14669a9c42be"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('961', 'rbac.subject', 'ca6b27c0-170f-4e0b-9838-09b782d3c795', 'INSERT', '{"name": "pac-admin-yyy00@yyy.example.com", "uuid": "ca6b27c0-170f-4e0b-9838-09b782d3c795"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('961', 'rbac.grant', '4d1ae26b-e674-4edc-ab1d-df2e14dd4c07', 'INSERT', '{"uuid": "4d1ae26b-e674-4edc-ab1d-df2e14dd4c07", "assumed": true, "ascendantuuid": "ca6b27c0-170f-4e0b-9838-09b782d3c795", "descendantuuid": "a3fa28dd-26b8-4ab0-b503-96bab5f862b5", "grantedbyroleuuid": "16a0381f-00d3-46c4-8aba-8f9850c4ce1a", "grantedbytriggerof": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('961', 'rbac.object', 'a6b15d0a-f7a3-4c40-8fe6-cbb62c2a868b', 'INSERT', '{"uuid": "a6b15d0a-f7a3-4c40-8fe6-cbb62c2a868b", "serialid": 9, "objecttable": "rbactest.package"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('961', 'rbac.role', 'a91544fb-c5ae-4ccf-a813-f3bcbaa99fb7', 'INSERT', '{"uuid": "a91544fb-c5ae-4ccf-a813-f3bcbaa99fb7", "roletype": "OWNER", "objectuuid": "a6b15d0a-f7a3-4c40-8fe6-cbb62c2a868b"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('961', 'rbac.permission', '150c57c6-1794-4554-9b8d-a6eaf1520759', 'INSERT', '{"op": "DELETE", "uuid": "150c57c6-1794-4554-9b8d-a6eaf1520759", "objectuuid": "a6b15d0a-f7a3-4c40-8fe6-cbb62c2a868b", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('961', 'rbac.grant', 'eb0c9bf8-b5fa-43c1-8a4d-8ed679ba3b27', 'INSERT', '{"uuid": "eb0c9bf8-b5fa-43c1-8a4d-8ed679ba3b27", "assumed": true, "ascendantuuid": "a91544fb-c5ae-4ccf-a813-f3bcbaa99fb7", "descendantuuid": "150c57c6-1794-4554-9b8d-a6eaf1520759", "grantedbyroleuuid": null, "grantedbytriggerof": "a6b15d0a-f7a3-4c40-8fe6-cbb62c2a868b"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('961', 'rbac.permission', '0b02c7c2-4866-476a-ab7b-76e345211fb9', 'INSERT', '{"op": "UPDATE", "uuid": "0b02c7c2-4866-476a-ab7b-76e345211fb9", "objectuuid": "a6b15d0a-f7a3-4c40-8fe6-cbb62c2a868b", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('961', 'rbac.grant', 'dde5c192-2597-4870-8730-9a422470a3fd', 'INSERT', '{"uuid": "dde5c192-2597-4870-8730-9a422470a3fd", "assumed": true, "ascendantuuid": "a91544fb-c5ae-4ccf-a813-f3bcbaa99fb7", "descendantuuid": "0b02c7c2-4866-476a-ab7b-76e345211fb9", "grantedbyroleuuid": null, "grantedbytriggerof": "a6b15d0a-f7a3-4c40-8fe6-cbb62c2a868b"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('961', 'rbac.grant', '02483ab0-5497-4121-9f61-0d8af687a336', 'INSERT', '{"uuid": "02483ab0-5497-4121-9f61-0d8af687a336", "assumed": true, "ascendantuuid": "16a0381f-00d3-46c4-8aba-8f9850c4ce1a", "descendantuuid": "a91544fb-c5ae-4ccf-a813-f3bcbaa99fb7", "grantedbyroleuuid": null, "grantedbytriggerof": "a6b15d0a-f7a3-4c40-8fe6-cbb62c2a868b"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('961', 'rbac.role', 'cc984f70-1ca8-46b8-9cd0-c9c0aa1ce496', 'INSERT', '{"uuid": "cc984f70-1ca8-46b8-9cd0-c9c0aa1ce496", "roletype": "ADMIN", "objectuuid": "a6b15d0a-f7a3-4c40-8fe6-cbb62c2a868b"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('961', 'rbac.grant', 'a298a16f-ff78-419e-aa11-7f75af8f2f4e', 'INSERT', '{"uuid": "a298a16f-ff78-419e-aa11-7f75af8f2f4e", "assumed": true, "ascendantuuid": "a91544fb-c5ae-4ccf-a813-f3bcbaa99fb7", "descendantuuid": "cc984f70-1ca8-46b8-9cd0-c9c0aa1ce496", "grantedbyroleuuid": null, "grantedbytriggerof": "a6b15d0a-f7a3-4c40-8fe6-cbb62c2a868b"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('961', 'rbac.role', 'a2d469da-0bb9-4bd2-9002-6fbcfa0e2e2c', 'INSERT', '{"uuid": "a2d469da-0bb9-4bd2-9002-6fbcfa0e2e2c", "roletype": "TENANT", "objectuuid": "a6b15d0a-f7a3-4c40-8fe6-cbb62c2a868b"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('961', 'rbac.permission', '7320ceb7-3736-4c2d-b51c-b7dc24b203a5', 'INSERT', '{"op": "SELECT", "uuid": "7320ceb7-3736-4c2d-b51c-b7dc24b203a5", "objectuuid": "a6b15d0a-f7a3-4c40-8fe6-cbb62c2a868b", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('961', 'rbac.grant', '11194882-f9a4-4d68-ba8e-f4d04ff8cd18', 'INSERT', '{"uuid": "11194882-f9a4-4d68-ba8e-f4d04ff8cd18", "assumed": true, "ascendantuuid": "a2d469da-0bb9-4bd2-9002-6fbcfa0e2e2c", "descendantuuid": "7320ceb7-3736-4c2d-b51c-b7dc24b203a5", "grantedbyroleuuid": null, "grantedbytriggerof": "a6b15d0a-f7a3-4c40-8fe6-cbb62c2a868b"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('961', 'rbac.grant', '8b3edb3c-2fbd-48f4-b5b1-c18e4b2ee3fe', 'INSERT', '{"uuid": "8b3edb3c-2fbd-48f4-b5b1-c18e4b2ee3fe", "assumed": true, "ascendantuuid": "cc984f70-1ca8-46b8-9cd0-c9c0aa1ce496", "descendantuuid": "a2d469da-0bb9-4bd2-9002-6fbcfa0e2e2c", "grantedbyroleuuid": null, "grantedbytriggerof": "a6b15d0a-f7a3-4c40-8fe6-cbb62c2a868b"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('961', 'rbac.grant', '5966abd5-276b-4bfe-8fe2-d25ed7df64c8', 'INSERT', '{"uuid": "5966abd5-276b-4bfe-8fe2-d25ed7df64c8", "assumed": true, "ascendantuuid": "a2d469da-0bb9-4bd2-9002-6fbcfa0e2e2c", "descendantuuid": "43dfd7bc-6516-428b-9e17-3daa025bf942", "grantedbyroleuuid": null, "grantedbytriggerof": "a6b15d0a-f7a3-4c40-8fe6-cbb62c2a868b"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('961', 'rbac.subject', '1a50753a-716d-4c91-8691-2e7ac8c0ebee', 'INSERT', '{"name": "pac-admin-yyy01@yyy.example.com", "uuid": "1a50753a-716d-4c91-8691-2e7ac8c0ebee"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('961', 'rbac.grant', '2fcc4005-cde4-458f-8ee5-d09b3ad245e0', 'INSERT', '{"uuid": "2fcc4005-cde4-458f-8ee5-d09b3ad245e0", "assumed": true, "ascendantuuid": "1a50753a-716d-4c91-8691-2e7ac8c0ebee", "descendantuuid": "cc984f70-1ca8-46b8-9cd0-c9c0aa1ce496", "grantedbyroleuuid": "16a0381f-00d3-46c4-8aba-8f9850c4ce1a", "grantedbytriggerof": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('961', 'rbac.object', '3c243156-033e-4e72-96cf-5e204d04900c', 'INSERT', '{"uuid": "3c243156-033e-4e72-96cf-5e204d04900c", "serialid": 10, "objecttable": "rbactest.package"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('961', 'rbac.role', '4cb800e0-5963-402a-9c4e-138845ca1956', 'INSERT', '{"uuid": "4cb800e0-5963-402a-9c4e-138845ca1956", "roletype": "OWNER", "objectuuid": "3c243156-033e-4e72-96cf-5e204d04900c"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('961', 'rbac.grant', 'a8709b16-d2a1-4e67-abf1-ae599fb4144e', 'INSERT', '{"uuid": "a8709b16-d2a1-4e67-abf1-ae599fb4144e", "assumed": true, "ascendantuuid": "4cb800e0-5963-402a-9c4e-138845ca1956", "descendantuuid": "f8559b3f-1d4f-49c3-b00c-bde86bacc35e", "grantedbyroleuuid": null, "grantedbytriggerof": "3c243156-033e-4e72-96cf-5e204d04900c"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('961', 'rbac.permission', '5d92763f-7a4b-4185-b1f3-383a41773a3e', 'INSERT', '{"op": "UPDATE", "uuid": "5d92763f-7a4b-4185-b1f3-383a41773a3e", "objectuuid": "3c243156-033e-4e72-96cf-5e204d04900c", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('961', 'rbac.grant', '7c7845f4-ebc7-41da-84fe-c44d1b9bf913', 'INSERT', '{"uuid": "7c7845f4-ebc7-41da-84fe-c44d1b9bf913", "assumed": true, "ascendantuuid": "4cb800e0-5963-402a-9c4e-138845ca1956", "descendantuuid": "5d92763f-7a4b-4185-b1f3-383a41773a3e", "grantedbyroleuuid": null, "grantedbytriggerof": "3c243156-033e-4e72-96cf-5e204d04900c"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('961', 'rbac.grant', '1d98034f-a5bd-4c27-a5a4-0eadb462820e', 'INSERT', '{"uuid": "1d98034f-a5bd-4c27-a5a4-0eadb462820e", "assumed": true, "ascendantuuid": "16a0381f-00d3-46c4-8aba-8f9850c4ce1a", "descendantuuid": "4cb800e0-5963-402a-9c4e-138845ca1956", "grantedbyroleuuid": null, "grantedbytriggerof": "3c243156-033e-4e72-96cf-5e204d04900c"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('961', 'rbac.role', 'e9bb76c9-81f5-4d34-928d-2b7a2da11616', 'INSERT', '{"uuid": "e9bb76c9-81f5-4d34-928d-2b7a2da11616", "roletype": "ADMIN", "objectuuid": "3c243156-033e-4e72-96cf-5e204d04900c"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('961', 'rbac.grant', '23e9e7ce-5b7d-469a-992e-fbecb18ddbb6', 'INSERT', '{"uuid": "23e9e7ce-5b7d-469a-992e-fbecb18ddbb6", "assumed": true, "ascendantuuid": "4cb800e0-5963-402a-9c4e-138845ca1956", "descendantuuid": "e9bb76c9-81f5-4d34-928d-2b7a2da11616", "grantedbyroleuuid": null, "grantedbytriggerof": "3c243156-033e-4e72-96cf-5e204d04900c"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('961', 'rbac.role', '12fe4b88-87b8-44d3-a25a-b2a2983343a0', 'INSERT', '{"uuid": "12fe4b88-87b8-44d3-a25a-b2a2983343a0", "roletype": "TENANT", "objectuuid": "3c243156-033e-4e72-96cf-5e204d04900c"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('961', 'rbac.permission', '9c14dc39-4436-4e17-99af-6f1b748ebafa', 'INSERT', '{"op": "SELECT", "uuid": "9c14dc39-4436-4e17-99af-6f1b748ebafa", "objectuuid": "3c243156-033e-4e72-96cf-5e204d04900c", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('961', 'rbac.grant', '27500899-840d-48f6-bc3f-baf9c54dd311', 'INSERT', '{"uuid": "27500899-840d-48f6-bc3f-baf9c54dd311", "assumed": true, "ascendantuuid": "12fe4b88-87b8-44d3-a25a-b2a2983343a0", "descendantuuid": "9c14dc39-4436-4e17-99af-6f1b748ebafa", "grantedbyroleuuid": null, "grantedbytriggerof": "3c243156-033e-4e72-96cf-5e204d04900c"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('961', 'rbac.grant', '05b328e7-3821-49ce-996b-4c98d90a5037', 'INSERT', '{"uuid": "05b328e7-3821-49ce-996b-4c98d90a5037", "assumed": true, "ascendantuuid": "e9bb76c9-81f5-4d34-928d-2b7a2da11616", "descendantuuid": "12fe4b88-87b8-44d3-a25a-b2a2983343a0", "grantedbyroleuuid": null, "grantedbytriggerof": "3c243156-033e-4e72-96cf-5e204d04900c"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('961', 'rbac.grant', 'd97ab1d2-0ea8-4b7f-8733-3c2ba5d99150', 'INSERT', '{"uuid": "d97ab1d2-0ea8-4b7f-8733-3c2ba5d99150", "assumed": true, "ascendantuuid": "12fe4b88-87b8-44d3-a25a-b2a2983343a0", "descendantuuid": "43dfd7bc-6516-428b-9e17-3daa025bf942", "grantedbyroleuuid": null, "grantedbytriggerof": "3c243156-033e-4e72-96cf-5e204d04900c"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('961', 'rbac.subject', 'af97c31c-aa68-49c6-995a-ec5e59bde048', 'INSERT', '{"name": "pac-admin-yyy02@yyy.example.com", "uuid": "af97c31c-aa68-49c6-995a-ec5e59bde048"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('961', 'rbac.grant', '324b9d1a-1261-48c8-8845-489906182d7d', 'INSERT', '{"uuid": "324b9d1a-1261-48c8-8845-489906182d7d", "assumed": true, "ascendantuuid": "af97c31c-aa68-49c6-995a-ec5e59bde048", "descendantuuid": "e9bb76c9-81f5-4d34-928d-2b7a2da11616", "grantedbyroleuuid": "16a0381f-00d3-46c4-8aba-8f9850c4ce1a", "grantedbytriggerof": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('961', 'rbac.object', 'b2f57e12-f448-4b73-9b16-0f39b1eb101d', 'INSERT', '{"uuid": "b2f57e12-f448-4b73-9b16-0f39b1eb101d", "serialid": 11, "objecttable": "rbactest.package"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('961', 'rbac.role', 'de0b5552-a3b5-4f62-a4c5-a894c3f176a1', 'INSERT', '{"uuid": "de0b5552-a3b5-4f62-a4c5-a894c3f176a1", "roletype": "OWNER", "objectuuid": "b2f57e12-f448-4b73-9b16-0f39b1eb101d"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('961', 'rbac.permission', '9013f4d6-5cd4-4099-9176-c7cdda2b1635', 'INSERT', '{"op": "DELETE", "uuid": "9013f4d6-5cd4-4099-9176-c7cdda2b1635", "objectuuid": "b2f57e12-f448-4b73-9b16-0f39b1eb101d", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('961', 'rbac.grant', 'd8ec69ef-dd80-4043-b0b3-14f00e68cf88', 'INSERT', '{"uuid": "d8ec69ef-dd80-4043-b0b3-14f00e68cf88", "assumed": true, "ascendantuuid": "de0b5552-a3b5-4f62-a4c5-a894c3f176a1", "descendantuuid": "9013f4d6-5cd4-4099-9176-c7cdda2b1635", "grantedbyroleuuid": null, "grantedbytriggerof": "b2f57e12-f448-4b73-9b16-0f39b1eb101d"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('961', 'rbac.permission', '7d0ff486-912a-45a9-8dc4-350ec6063566', 'INSERT', '{"op": "UPDATE", "uuid": "7d0ff486-912a-45a9-8dc4-350ec6063566", "objectuuid": "b2f57e12-f448-4b73-9b16-0f39b1eb101d", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('961', 'rbac.grant', '2dbb8dde-fa07-4731-bc7e-5da9fe3a7aba', 'INSERT', '{"uuid": "2dbb8dde-fa07-4731-bc7e-5da9fe3a7aba", "assumed": true, "ascendantuuid": "de0b5552-a3b5-4f62-a4c5-a894c3f176a1", "descendantuuid": "7d0ff486-912a-45a9-8dc4-350ec6063566", "grantedbyroleuuid": null, "grantedbytriggerof": "b2f57e12-f448-4b73-9b16-0f39b1eb101d"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('961', 'rbac.grant', 'd6c86f62-85c4-4257-8912-c64a7f3c0736', 'INSERT', '{"uuid": "d6c86f62-85c4-4257-8912-c64a7f3c0736", "assumed": true, "ascendantuuid": "56452eab-b4a5-48f7-9260-9e3b73ec667c", "descendantuuid": "de0b5552-a3b5-4f62-a4c5-a894c3f176a1", "grantedbyroleuuid": null, "grantedbytriggerof": "b2f57e12-f448-4b73-9b16-0f39b1eb101d"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('961', 'rbac.role', '495c8c16-f7d9-459d-a7f2-ce7e3c42150c', 'INSERT', '{"uuid": "495c8c16-f7d9-459d-a7f2-ce7e3c42150c", "roletype": "ADMIN", "objectuuid": "b2f57e12-f448-4b73-9b16-0f39b1eb101d"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('961', 'rbac.grant', '82f9389d-66b1-4867-b3d8-eecc66071692', 'INSERT', '{"uuid": "82f9389d-66b1-4867-b3d8-eecc66071692", "assumed": true, "ascendantuuid": "de0b5552-a3b5-4f62-a4c5-a894c3f176a1", "descendantuuid": "495c8c16-f7d9-459d-a7f2-ce7e3c42150c", "grantedbyroleuuid": null, "grantedbytriggerof": "b2f57e12-f448-4b73-9b16-0f39b1eb101d"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('961', 'rbac.role', 'a528582d-4f8b-46f8-80b1-0410c33a0755', 'INSERT', '{"uuid": "a528582d-4f8b-46f8-80b1-0410c33a0755", "roletype": "TENANT", "objectuuid": "b2f57e12-f448-4b73-9b16-0f39b1eb101d"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('961', 'rbac.permission', '23e15778-8c34-4375-bb74-639d37ecc442', 'INSERT', '{"op": "SELECT", "uuid": "23e15778-8c34-4375-bb74-639d37ecc442", "objectuuid": "b2f57e12-f448-4b73-9b16-0f39b1eb101d", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('961', 'rbac.grant', 'e4ad1801-472e-4610-84e5-da5a97647266', 'INSERT', '{"uuid": "e4ad1801-472e-4610-84e5-da5a97647266", "assumed": true, "ascendantuuid": "a528582d-4f8b-46f8-80b1-0410c33a0755", "descendantuuid": "23e15778-8c34-4375-bb74-639d37ecc442", "grantedbyroleuuid": null, "grantedbytriggerof": "b2f57e12-f448-4b73-9b16-0f39b1eb101d"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('961', 'rbac.grant', '62669f63-a602-49f2-81b7-b641663c4871', 'INSERT', '{"uuid": "62669f63-a602-49f2-81b7-b641663c4871", "assumed": true, "ascendantuuid": "495c8c16-f7d9-459d-a7f2-ce7e3c42150c", "descendantuuid": "a528582d-4f8b-46f8-80b1-0410c33a0755", "grantedbyroleuuid": null, "grantedbytriggerof": "b2f57e12-f448-4b73-9b16-0f39b1eb101d"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('961', 'rbac.grant', '4f9a0d7d-bcd1-4eae-b803-1ed519b79aad', 'INSERT', '{"uuid": "4f9a0d7d-bcd1-4eae-b803-1ed519b79aad", "assumed": true, "ascendantuuid": "a528582d-4f8b-46f8-80b1-0410c33a0755", "descendantuuid": "2e0957db-a5b3-4226-ad54-286ab5a07013", "grantedbyroleuuid": null, "grantedbytriggerof": "b2f57e12-f448-4b73-9b16-0f39b1eb101d"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('961', 'rbac.subject', '0d291c35-1be3-4b9f-809f-fb6f9403f6ab', 'INSERT', '{"name": "pac-admin-zzz00@zzz.example.com", "uuid": "0d291c35-1be3-4b9f-809f-fb6f9403f6ab"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.permission', 'f3f56d40-e253-4848-8fb3-a89e123f9b6f', 'INSERT', '{"op": "DELETE", "uuid": "f3f56d40-e253-4848-8fb3-a89e123f9b6f", "objectuuid": "e256cae4-99d8-44f3-961a-ecbffaeb17e4", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('961', 'rbac.grant', '319691e4-60cd-4bd0-bf1e-6691f0c1d76e', 'INSERT', '{"uuid": "319691e4-60cd-4bd0-bf1e-6691f0c1d76e", "assumed": true, "ascendantuuid": "0d291c35-1be3-4b9f-809f-fb6f9403f6ab", "descendantuuid": "495c8c16-f7d9-459d-a7f2-ce7e3c42150c", "grantedbyroleuuid": "56452eab-b4a5-48f7-9260-9e3b73ec667c", "grantedbytriggerof": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('961', 'rbac.object', '5ffddd10-8ef2-4e3f-a62d-8971e0d1afb3', 'INSERT', '{"uuid": "5ffddd10-8ef2-4e3f-a62d-8971e0d1afb3", "serialid": 12, "objecttable": "rbactest.package"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('961', 'rbac.role', '484f2625-cbe8-407c-b9cd-01a3d4b68505', 'INSERT', '{"uuid": "484f2625-cbe8-407c-b9cd-01a3d4b68505", "roletype": "OWNER", "objectuuid": "5ffddd10-8ef2-4e3f-a62d-8971e0d1afb3"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('961', 'rbac.permission', '5b5cce57-0cd5-495a-88bb-4c70d76eae67', 'INSERT', '{"op": "DELETE", "uuid": "5b5cce57-0cd5-495a-88bb-4c70d76eae67", "objectuuid": "5ffddd10-8ef2-4e3f-a62d-8971e0d1afb3", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('961', 'rbac.grant', 'edc3753d-ce89-4ff1-8027-6d6dcd7655ae', 'INSERT', '{"uuid": "edc3753d-ce89-4ff1-8027-6d6dcd7655ae", "assumed": true, "ascendantuuid": "484f2625-cbe8-407c-b9cd-01a3d4b68505", "descendantuuid": "5b5cce57-0cd5-495a-88bb-4c70d76eae67", "grantedbyroleuuid": null, "grantedbytriggerof": "5ffddd10-8ef2-4e3f-a62d-8971e0d1afb3"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('961', 'rbac.permission', '4a7c58e6-bd2b-4982-9a53-46bffa19201a', 'INSERT', '{"op": "UPDATE", "uuid": "4a7c58e6-bd2b-4982-9a53-46bffa19201a", "objectuuid": "5ffddd10-8ef2-4e3f-a62d-8971e0d1afb3", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('961', 'rbac.grant', '3dc572d0-0670-4562-b8ae-202f9f7b480b', 'INSERT', '{"uuid": "3dc572d0-0670-4562-b8ae-202f9f7b480b", "assumed": true, "ascendantuuid": "484f2625-cbe8-407c-b9cd-01a3d4b68505", "descendantuuid": "4a7c58e6-bd2b-4982-9a53-46bffa19201a", "grantedbyroleuuid": null, "grantedbytriggerof": "5ffddd10-8ef2-4e3f-a62d-8971e0d1afb3"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('961', 'rbac.grant', '06e06efe-0cc9-48f8-b9c6-b5a4bf825620', 'INSERT', '{"uuid": "06e06efe-0cc9-48f8-b9c6-b5a4bf825620", "assumed": true, "ascendantuuid": "56452eab-b4a5-48f7-9260-9e3b73ec667c", "descendantuuid": "484f2625-cbe8-407c-b9cd-01a3d4b68505", "grantedbyroleuuid": null, "grantedbytriggerof": "5ffddd10-8ef2-4e3f-a62d-8971e0d1afb3"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('961', 'rbac.role', '591c1bc7-7d2d-447f-880d-16615035ab72', 'INSERT', '{"uuid": "591c1bc7-7d2d-447f-880d-16615035ab72", "roletype": "ADMIN", "objectuuid": "5ffddd10-8ef2-4e3f-a62d-8971e0d1afb3"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('961', 'rbac.grant', 'f273a6e7-3e6a-4921-933d-8f91aece29fc', 'INSERT', '{"uuid": "f273a6e7-3e6a-4921-933d-8f91aece29fc", "assumed": true, "ascendantuuid": "484f2625-cbe8-407c-b9cd-01a3d4b68505", "descendantuuid": "591c1bc7-7d2d-447f-880d-16615035ab72", "grantedbyroleuuid": null, "grantedbytriggerof": "5ffddd10-8ef2-4e3f-a62d-8971e0d1afb3"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('961', 'rbac.role', '7154af3b-c2cd-4dc2-a94a-83af7e05b44a', 'INSERT', '{"uuid": "7154af3b-c2cd-4dc2-a94a-83af7e05b44a", "roletype": "TENANT", "objectuuid": "5ffddd10-8ef2-4e3f-a62d-8971e0d1afb3"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('961', 'rbac.permission', '4747c475-6a75-46dd-8962-eabe603f461a', 'INSERT', '{"op": "SELECT", "uuid": "4747c475-6a75-46dd-8962-eabe603f461a", "objectuuid": "5ffddd10-8ef2-4e3f-a62d-8971e0d1afb3", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('961', 'rbac.grant', 'a02f8a4c-903e-4e5a-b9d3-adb5b8259761', 'INSERT', '{"uuid": "a02f8a4c-903e-4e5a-b9d3-adb5b8259761", "assumed": true, "ascendantuuid": "7154af3b-c2cd-4dc2-a94a-83af7e05b44a", "descendantuuid": "4747c475-6a75-46dd-8962-eabe603f461a", "grantedbyroleuuid": null, "grantedbytriggerof": "5ffddd10-8ef2-4e3f-a62d-8971e0d1afb3"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('961', 'rbac.grant', 'a163e901-5a57-404d-a299-e12b0f72e389', 'INSERT', '{"uuid": "a163e901-5a57-404d-a299-e12b0f72e389", "assumed": true, "ascendantuuid": "591c1bc7-7d2d-447f-880d-16615035ab72", "descendantuuid": "7154af3b-c2cd-4dc2-a94a-83af7e05b44a", "grantedbyroleuuid": null, "grantedbytriggerof": "5ffddd10-8ef2-4e3f-a62d-8971e0d1afb3"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('961', 'rbac.grant', '3e23a3ef-0c75-4d77-adfe-a89faa6d4cf1', 'INSERT', '{"uuid": "3e23a3ef-0c75-4d77-adfe-a89faa6d4cf1", "assumed": true, "ascendantuuid": "7154af3b-c2cd-4dc2-a94a-83af7e05b44a", "descendantuuid": "2e0957db-a5b3-4226-ad54-286ab5a07013", "grantedbyroleuuid": null, "grantedbytriggerof": "5ffddd10-8ef2-4e3f-a62d-8971e0d1afb3"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('961', 'rbac.subject', 'a5acc2d7-12a6-479b-8c1a-d003105fdfb6', 'INSERT', '{"name": "pac-admin-zzz01@zzz.example.com", "uuid": "a5acc2d7-12a6-479b-8c1a-d003105fdfb6"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('961', 'rbac.grant', '6c5036a1-1a2b-43e8-af7b-5e61f47048f2', 'INSERT', '{"uuid": "6c5036a1-1a2b-43e8-af7b-5e61f47048f2", "assumed": true, "ascendantuuid": "a5acc2d7-12a6-479b-8c1a-d003105fdfb6", "descendantuuid": "591c1bc7-7d2d-447f-880d-16615035ab72", "grantedbyroleuuid": "56452eab-b4a5-48f7-9260-9e3b73ec667c", "grantedbytriggerof": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('961', 'rbac.object', '7154bf1a-2801-4e65-9d74-5bce9d9b429f', 'INSERT', '{"uuid": "7154bf1a-2801-4e65-9d74-5bce9d9b429f", "serialid": 13, "objecttable": "rbactest.package"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('961', 'rbac.role', '7eba67bb-a92f-451f-abcd-091318ce7437', 'INSERT', '{"uuid": "7eba67bb-a92f-451f-abcd-091318ce7437", "roletype": "OWNER", "objectuuid": "7154bf1a-2801-4e65-9d74-5bce9d9b429f"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('961', 'rbac.permission', '3117d357-8613-4eaf-9a91-a7230aa79e87', 'INSERT', '{"op": "DELETE", "uuid": "3117d357-8613-4eaf-9a91-a7230aa79e87", "objectuuid": "7154bf1a-2801-4e65-9d74-5bce9d9b429f", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('961', 'rbac.grant', 'be8865f7-27d2-4d46-8688-2121f766b3dc', 'INSERT', '{"uuid": "be8865f7-27d2-4d46-8688-2121f766b3dc", "assumed": true, "ascendantuuid": "7eba67bb-a92f-451f-abcd-091318ce7437", "descendantuuid": "3117d357-8613-4eaf-9a91-a7230aa79e87", "grantedbyroleuuid": null, "grantedbytriggerof": "7154bf1a-2801-4e65-9d74-5bce9d9b429f"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('961', 'rbac.permission', 'a689b525-e82e-4a60-99b5-5d0e7abccf78', 'INSERT', '{"op": "UPDATE", "uuid": "a689b525-e82e-4a60-99b5-5d0e7abccf78", "objectuuid": "7154bf1a-2801-4e65-9d74-5bce9d9b429f", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('961', 'rbac.grant', 'c9681ac0-ac99-4441-8d69-a1badceb1fb6', 'INSERT', '{"uuid": "c9681ac0-ac99-4441-8d69-a1badceb1fb6", "assumed": true, "ascendantuuid": "7eba67bb-a92f-451f-abcd-091318ce7437", "descendantuuid": "a689b525-e82e-4a60-99b5-5d0e7abccf78", "grantedbyroleuuid": null, "grantedbytriggerof": "7154bf1a-2801-4e65-9d74-5bce9d9b429f"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('961', 'rbac.grant', 'c713bb29-13aa-4f68-a70e-9d8fcbd2add6', 'INSERT', '{"uuid": "c713bb29-13aa-4f68-a70e-9d8fcbd2add6", "assumed": true, "ascendantuuid": "56452eab-b4a5-48f7-9260-9e3b73ec667c", "descendantuuid": "7eba67bb-a92f-451f-abcd-091318ce7437", "grantedbyroleuuid": null, "grantedbytriggerof": "7154bf1a-2801-4e65-9d74-5bce9d9b429f"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('961', 'rbac.role', 'ad810d9e-7f6e-46ce-98cb-f4218ae41c70', 'INSERT', '{"uuid": "ad810d9e-7f6e-46ce-98cb-f4218ae41c70", "roletype": "ADMIN", "objectuuid": "7154bf1a-2801-4e65-9d74-5bce9d9b429f"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('961', 'rbac.grant', 'a1bc31d4-f7bd-45c3-972c-ae295ef293a4', 'INSERT', '{"uuid": "a1bc31d4-f7bd-45c3-972c-ae295ef293a4", "assumed": true, "ascendantuuid": "7eba67bb-a92f-451f-abcd-091318ce7437", "descendantuuid": "ad810d9e-7f6e-46ce-98cb-f4218ae41c70", "grantedbyroleuuid": null, "grantedbytriggerof": "7154bf1a-2801-4e65-9d74-5bce9d9b429f"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('961', 'rbac.role', 'a6654910-2ada-4c04-8a67-773b4e4ab17f', 'INSERT', '{"uuid": "a6654910-2ada-4c04-8a67-773b4e4ab17f", "roletype": "TENANT", "objectuuid": "7154bf1a-2801-4e65-9d74-5bce9d9b429f"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('961', 'rbac.permission', '30d01eb1-2556-4345-9ff5-12c36d42a383', 'INSERT', '{"op": "SELECT", "uuid": "30d01eb1-2556-4345-9ff5-12c36d42a383", "objectuuid": "7154bf1a-2801-4e65-9d74-5bce9d9b429f", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('961', 'rbac.grant', '7258aea4-b169-4d54-bddd-3790f6430634', 'INSERT', '{"uuid": "7258aea4-b169-4d54-bddd-3790f6430634", "assumed": true, "ascendantuuid": "a6654910-2ada-4c04-8a67-773b4e4ab17f", "descendantuuid": "30d01eb1-2556-4345-9ff5-12c36d42a383", "grantedbyroleuuid": null, "grantedbytriggerof": "7154bf1a-2801-4e65-9d74-5bce9d9b429f"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.subject', '6b27f6a4-2e7f-493e-a842-8c43f48a9c45', 'INSERT', '{"name": "contact-admin@thirdcontact.example.com", "uuid": "6b27f6a4-2e7f-493e-a842-8c43f48a9c45"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('961', 'rbac.grant', 'a93ef03d-40d9-4452-a278-b8dbdd40fe34', 'INSERT', '{"uuid": "a93ef03d-40d9-4452-a278-b8dbdd40fe34", "assumed": true, "ascendantuuid": "ad810d9e-7f6e-46ce-98cb-f4218ae41c70", "descendantuuid": "a6654910-2ada-4c04-8a67-773b4e4ab17f", "grantedbyroleuuid": null, "grantedbytriggerof": "7154bf1a-2801-4e65-9d74-5bce9d9b429f"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('961', 'rbac.grant', 'e2bb3dbb-aa96-4abe-abdf-92280e58369c', 'INSERT', '{"uuid": "e2bb3dbb-aa96-4abe-abdf-92280e58369c", "assumed": true, "ascendantuuid": "a6654910-2ada-4c04-8a67-773b4e4ab17f", "descendantuuid": "2e0957db-a5b3-4226-ad54-286ab5a07013", "grantedbyroleuuid": null, "grantedbytriggerof": "7154bf1a-2801-4e65-9d74-5bce9d9b429f"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('961', 'rbac.subject', '61f888aa-5567-4fdf-a856-700a520ee0f4', 'INSERT', '{"name": "pac-admin-zzz02@zzz.example.com", "uuid": "61f888aa-5567-4fdf-a856-700a520ee0f4"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('961', 'rbac.grant', 'e8b77f41-7b47-4c8a-aba5-63950ea51d7a', 'INSERT', '{"uuid": "e8b77f41-7b47-4c8a-aba5-63950ea51d7a", "assumed": true, "ascendantuuid": "61f888aa-5567-4fdf-a856-700a520ee0f4", "descendantuuid": "ad810d9e-7f6e-46ce-98cb-f4218ae41c70", "grantedbyroleuuid": "56452eab-b4a5-48f7-9260-9e3b73ec667c", "grantedbytriggerof": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1000', 'rbac.permission', '7568cc94-e02d-4e9e-a517-902a89f6affa', 'INSERT', '{"op": "INSERT", "uuid": "7568cc94-e02d-4e9e-a517-902a89f6affa", "objectuuid": "1f378616-047c-4cf3-a70b-54c88f9608d6", "optablename": "rbactest.domain"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1000', 'rbac.grant', '0ffc350b-197d-4eb9-b868-16d377b86c3b', 'INSERT', '{"uuid": "0ffc350b-197d-4eb9-b868-16d377b86c3b", "assumed": true, "ascendantuuid": "ae7c30a8-38f8-4958-bdc2-443636f37cb7", "descendantuuid": "7568cc94-e02d-4e9e-a517-902a89f6affa", "grantedbyroleuuid": null, "grantedbytriggerof": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1000', 'rbac.permission', '8894c3c0-7dbe-4aa6-8cd9-c02319dcc3a1', 'INSERT', '{"op": "INSERT", "uuid": "8894c3c0-7dbe-4aa6-8cd9-c02319dcc3a1", "objectuuid": "5a10e27a-311d-4527-b0ac-38f2fd6e16c4", "optablename": "rbactest.domain"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1000', 'rbac.grant', 'e83ceb5f-c6d4-4fcf-a23f-83e7248fc3c9', 'INSERT', '{"uuid": "e83ceb5f-c6d4-4fcf-a23f-83e7248fc3c9", "assumed": true, "ascendantuuid": "4270da5c-c719-492e-b4f5-1311f850bf74", "descendantuuid": "8894c3c0-7dbe-4aa6-8cd9-c02319dcc3a1", "grantedbyroleuuid": null, "grantedbytriggerof": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1000', 'rbac.permission', 'df597493-58d3-4b0c-86a5-20fa095f4be0', 'INSERT', '{"op": "INSERT", "uuid": "df597493-58d3-4b0c-86a5-20fa095f4be0", "objectuuid": "dd13db03-932e-4c71-9ae7-ff197cc02341", "optablename": "rbactest.domain"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1000', 'rbac.grant', 'e1c0c060-7611-4890-a90c-d78893849911', 'INSERT', '{"uuid": "e1c0c060-7611-4890-a90c-d78893849911", "assumed": true, "ascendantuuid": "bd39a86a-6d69-4aba-b2ba-93e4ba7d5e68", "descendantuuid": "df597493-58d3-4b0c-86a5-20fa095f4be0", "grantedbyroleuuid": null, "grantedbytriggerof": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1000', 'rbac.permission', 'a8180460-73fe-4a89-95a1-30f80381afc9', 'INSERT', '{"op": "INSERT", "uuid": "a8180460-73fe-4a89-95a1-30f80381afc9", "objectuuid": "9464ead9-4f16-477c-bf3b-14669a9c42be", "optablename": "rbactest.domain"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1000', 'rbac.grant', '09b75084-cb58-4493-8493-dc1eaa4f93a0', 'INSERT', '{"uuid": "09b75084-cb58-4493-8493-dc1eaa4f93a0", "assumed": true, "ascendantuuid": "a3fa28dd-26b8-4ab0-b503-96bab5f862b5", "descendantuuid": "a8180460-73fe-4a89-95a1-30f80381afc9", "grantedbyroleuuid": null, "grantedbytriggerof": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1000', 'rbac.permission', '3d1f582c-6887-4b97-a2f9-7885e74add69', 'INSERT', '{"op": "INSERT", "uuid": "3d1f582c-6887-4b97-a2f9-7885e74add69", "objectuuid": "a6b15d0a-f7a3-4c40-8fe6-cbb62c2a868b", "optablename": "rbactest.domain"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1000', 'rbac.grant', 'eb5b21c2-f139-4cff-ba66-11d37b0cf7d4', 'INSERT', '{"uuid": "eb5b21c2-f139-4cff-ba66-11d37b0cf7d4", "assumed": true, "ascendantuuid": "cc984f70-1ca8-46b8-9cd0-c9c0aa1ce496", "descendantuuid": "3d1f582c-6887-4b97-a2f9-7885e74add69", "grantedbyroleuuid": null, "grantedbytriggerof": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1000', 'rbac.permission', 'f847e293-6ca1-4b36-a31c-e399279bd017', 'INSERT', '{"op": "INSERT", "uuid": "f847e293-6ca1-4b36-a31c-e399279bd017", "objectuuid": "3c243156-033e-4e72-96cf-5e204d04900c", "optablename": "rbactest.domain"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1000', 'rbac.grant', 'bc20ee24-be8f-4dc2-b5fd-7fc108febafa', 'INSERT', '{"uuid": "bc20ee24-be8f-4dc2-b5fd-7fc108febafa", "assumed": true, "ascendantuuid": "e9bb76c9-81f5-4d34-928d-2b7a2da11616", "descendantuuid": "f847e293-6ca1-4b36-a31c-e399279bd017", "grantedbyroleuuid": null, "grantedbytriggerof": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1000', 'rbac.permission', '23a0185a-2c7f-4e97-b7ab-a0c9f9872ea9', 'INSERT', '{"op": "INSERT", "uuid": "23a0185a-2c7f-4e97-b7ab-a0c9f9872ea9", "objectuuid": "b2f57e12-f448-4b73-9b16-0f39b1eb101d", "optablename": "rbactest.domain"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1000', 'rbac.grant', '739e126f-8a01-475d-9254-91dcbe324b51', 'INSERT', '{"uuid": "739e126f-8a01-475d-9254-91dcbe324b51", "assumed": true, "ascendantuuid": "495c8c16-f7d9-459d-a7f2-ce7e3c42150c", "descendantuuid": "23a0185a-2c7f-4e97-b7ab-a0c9f9872ea9", "grantedbyroleuuid": null, "grantedbytriggerof": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1000', 'rbac.permission', '07860c3d-300a-4145-80e3-73b5cfc9fc72', 'INSERT', '{"op": "INSERT", "uuid": "07860c3d-300a-4145-80e3-73b5cfc9fc72", "objectuuid": "5ffddd10-8ef2-4e3f-a62d-8971e0d1afb3", "optablename": "rbactest.domain"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1000', 'rbac.grant', '19d2d20f-a175-4a7a-8590-0001d817e8e1', 'INSERT', '{"uuid": "19d2d20f-a175-4a7a-8590-0001d817e8e1", "assumed": true, "ascendantuuid": "591c1bc7-7d2d-447f-880d-16615035ab72", "descendantuuid": "07860c3d-300a-4145-80e3-73b5cfc9fc72", "grantedbyroleuuid": null, "grantedbytriggerof": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1000', 'rbac.permission', '128ed79a-2fa8-4d43-9897-716294599a9f', 'INSERT', '{"op": "INSERT", "uuid": "128ed79a-2fa8-4d43-9897-716294599a9f", "objectuuid": "7154bf1a-2801-4e65-9d74-5bce9d9b429f", "optablename": "rbactest.domain"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1000', 'rbac.grant', 'b856a839-d1e0-4fbe-acfe-b0f275613d09', 'INSERT', '{"uuid": "b856a839-d1e0-4fbe-acfe-b0f275613d09", "assumed": true, "ascendantuuid": "ad810d9e-7f6e-46ce-98cb-f4218ae41c70", "descendantuuid": "128ed79a-2fa8-4d43-9897-716294599a9f", "grantedbyroleuuid": null, "grantedbytriggerof": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.object', '35e7e703-d051-48f2-b8cd-893575ec22d5', 'INSERT', '{"uuid": "35e7e703-d051-48f2-b8cd-893575ec22d5", "serialid": 14, "objecttable": "rbactest.domain"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.role', '81a2e24a-a975-48f1-847e-bfa412fdf9d1', 'INSERT', '{"uuid": "81a2e24a-a975-48f1-847e-bfa412fdf9d1", "roletype": "OWNER", "objectuuid": "35e7e703-d051-48f2-b8cd-893575ec22d5"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.permission', '309dfc5b-c14e-46a0-ae5a-1d4226ccb123', 'INSERT', '{"op": "DELETE", "uuid": "309dfc5b-c14e-46a0-ae5a-1d4226ccb123", "objectuuid": "35e7e703-d051-48f2-b8cd-893575ec22d5", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.grant', 'ea4ba6e8-b4ef-4a25-8719-bb2a2c42c2ea', 'INSERT', '{"uuid": "ea4ba6e8-b4ef-4a25-8719-bb2a2c42c2ea", "assumed": true, "ascendantuuid": "81a2e24a-a975-48f1-847e-bfa412fdf9d1", "descendantuuid": "309dfc5b-c14e-46a0-ae5a-1d4226ccb123", "grantedbyroleuuid": null, "grantedbytriggerof": "35e7e703-d051-48f2-b8cd-893575ec22d5"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.permission', 'f11a3203-ffb3-4ec0-81eb-fa029f156b5e', 'INSERT', '{"op": "UPDATE", "uuid": "f11a3203-ffb3-4ec0-81eb-fa029f156b5e", "objectuuid": "35e7e703-d051-48f2-b8cd-893575ec22d5", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.grant', '35d7e226-bd9f-4d4d-90f7-c2039b1acaae', 'INSERT', '{"uuid": "35d7e226-bd9f-4d4d-90f7-c2039b1acaae", "assumed": true, "ascendantuuid": "81a2e24a-a975-48f1-847e-bfa412fdf9d1", "descendantuuid": "f11a3203-ffb3-4ec0-81eb-fa029f156b5e", "grantedbyroleuuid": null, "grantedbytriggerof": "35e7e703-d051-48f2-b8cd-893575ec22d5"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.grant', 'aefb2b1a-7e5b-435a-9b31-d18f0c6e1b06', 'INSERT', '{"uuid": "aefb2b1a-7e5b-435a-9b31-d18f0c6e1b06", "assumed": true, "ascendantuuid": "ae7c30a8-38f8-4958-bdc2-443636f37cb7", "descendantuuid": "81a2e24a-a975-48f1-847e-bfa412fdf9d1", "grantedbyroleuuid": null, "grantedbytriggerof": "35e7e703-d051-48f2-b8cd-893575ec22d5"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.grant', '57c2c6fa-d184-4116-811a-ec1facc2f678', 'INSERT', '{"uuid": "57c2c6fa-d184-4116-811a-ec1facc2f678", "assumed": true, "ascendantuuid": "81a2e24a-a975-48f1-847e-bfa412fdf9d1", "descendantuuid": "5637f48c-8147-4bcd-8310-483992134474", "grantedbyroleuuid": null, "grantedbytriggerof": "35e7e703-d051-48f2-b8cd-893575ec22d5"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.role', '40dc1aaa-2842-4b54-bb6d-80d28b709bab', 'INSERT', '{"uuid": "40dc1aaa-2842-4b54-bb6d-80d28b709bab", "roletype": "ADMIN", "objectuuid": "35e7e703-d051-48f2-b8cd-893575ec22d5"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.permission', 'f03147f0-04e0-432a-8e76-8ca84a699425', 'INSERT', '{"op": "SELECT", "uuid": "f03147f0-04e0-432a-8e76-8ca84a699425", "objectuuid": "35e7e703-d051-48f2-b8cd-893575ec22d5", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.grant', '37adc7a7-e50e-47c7-a07d-be199ed848a6', 'INSERT', '{"uuid": "37adc7a7-e50e-47c7-a07d-be199ed848a6", "assumed": true, "ascendantuuid": "40dc1aaa-2842-4b54-bb6d-80d28b709bab", "descendantuuid": "f03147f0-04e0-432a-8e76-8ca84a699425", "grantedbyroleuuid": null, "grantedbytriggerof": "35e7e703-d051-48f2-b8cd-893575ec22d5"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.grant', 'fcb0f4cf-5b0d-482a-8197-32436f51122d', 'INSERT', '{"uuid": "fcb0f4cf-5b0d-482a-8197-32436f51122d", "assumed": true, "ascendantuuid": "81a2e24a-a975-48f1-847e-bfa412fdf9d1", "descendantuuid": "40dc1aaa-2842-4b54-bb6d-80d28b709bab", "grantedbyroleuuid": null, "grantedbytriggerof": "35e7e703-d051-48f2-b8cd-893575ec22d5"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.grant', '9022f60e-5fdd-4527-8e8b-7fb5eb434f54', 'INSERT', '{"uuid": "9022f60e-5fdd-4527-8e8b-7fb5eb434f54", "assumed": true, "ascendantuuid": "40dc1aaa-2842-4b54-bb6d-80d28b709bab", "descendantuuid": "5637f48c-8147-4bcd-8310-483992134474", "grantedbyroleuuid": null, "grantedbytriggerof": "35e7e703-d051-48f2-b8cd-893575ec22d5"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.object', '69acd255-c446-4fcb-9175-30ac8139a69c', 'INSERT', '{"uuid": "69acd255-c446-4fcb-9175-30ac8139a69c", "serialid": 15, "objecttable": "rbactest.domain"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.role', '6d0f3cd9-1e42-4ee0-a77b-883d86f8659c', 'INSERT', '{"uuid": "6d0f3cd9-1e42-4ee0-a77b-883d86f8659c", "roletype": "OWNER", "objectuuid": "69acd255-c446-4fcb-9175-30ac8139a69c"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.permission', '4a9f21ff-ba8c-4a03-b589-77b9247280e6', 'INSERT', '{"op": "DELETE", "uuid": "4a9f21ff-ba8c-4a03-b589-77b9247280e6", "objectuuid": "69acd255-c446-4fcb-9175-30ac8139a69c", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.grant', '92697450-8efa-4262-a547-a841f8c8f58b', 'INSERT', '{"uuid": "92697450-8efa-4262-a547-a841f8c8f58b", "assumed": true, "ascendantuuid": "6d0f3cd9-1e42-4ee0-a77b-883d86f8659c", "descendantuuid": "4a9f21ff-ba8c-4a03-b589-77b9247280e6", "grantedbyroleuuid": null, "grantedbytriggerof": "69acd255-c446-4fcb-9175-30ac8139a69c"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.permission', '12b28236-0be7-4a3a-9dca-6a2b84dd0552', 'INSERT', '{"op": "UPDATE", "uuid": "12b28236-0be7-4a3a-9dca-6a2b84dd0552", "objectuuid": "69acd255-c446-4fcb-9175-30ac8139a69c", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.grant', '6618341d-ca6c-46ab-b3e2-5ced138e6773', 'INSERT', '{"uuid": "6618341d-ca6c-46ab-b3e2-5ced138e6773", "assumed": true, "ascendantuuid": "6d0f3cd9-1e42-4ee0-a77b-883d86f8659c", "descendantuuid": "12b28236-0be7-4a3a-9dca-6a2b84dd0552", "grantedbyroleuuid": null, "grantedbytriggerof": "69acd255-c446-4fcb-9175-30ac8139a69c"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.grant', '6e70b5b7-6357-4b5a-8e19-cbd2c5320472', 'INSERT', '{"uuid": "6e70b5b7-6357-4b5a-8e19-cbd2c5320472", "assumed": true, "ascendantuuid": "ae7c30a8-38f8-4958-bdc2-443636f37cb7", "descendantuuid": "6d0f3cd9-1e42-4ee0-a77b-883d86f8659c", "grantedbyroleuuid": null, "grantedbytriggerof": "69acd255-c446-4fcb-9175-30ac8139a69c"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.grant', 'bf86295b-c877-4b63-be9f-ec91b196ac42', 'INSERT', '{"uuid": "bf86295b-c877-4b63-be9f-ec91b196ac42", "assumed": true, "ascendantuuid": "6d0f3cd9-1e42-4ee0-a77b-883d86f8659c", "descendantuuid": "5637f48c-8147-4bcd-8310-483992134474", "grantedbyroleuuid": null, "grantedbytriggerof": "69acd255-c446-4fcb-9175-30ac8139a69c"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.role', '87eab1a3-1c75-4ce1-a247-100242e4c8c1', 'INSERT', '{"uuid": "87eab1a3-1c75-4ce1-a247-100242e4c8c1", "roletype": "ADMIN", "objectuuid": "69acd255-c446-4fcb-9175-30ac8139a69c"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.permission', 'b76cffed-962e-4f5b-a74c-1357ded6d32a', 'INSERT', '{"op": "SELECT", "uuid": "b76cffed-962e-4f5b-a74c-1357ded6d32a", "objectuuid": "69acd255-c446-4fcb-9175-30ac8139a69c", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.grant', 'a0994b82-542b-4272-bde6-7ad83b8a606f', 'INSERT', '{"uuid": "a0994b82-542b-4272-bde6-7ad83b8a606f", "assumed": true, "ascendantuuid": "87eab1a3-1c75-4ce1-a247-100242e4c8c1", "descendantuuid": "b76cffed-962e-4f5b-a74c-1357ded6d32a", "grantedbyroleuuid": null, "grantedbytriggerof": "69acd255-c446-4fcb-9175-30ac8139a69c"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.grant', '30325e9e-eaaf-4e76-9166-cd878c5fe435', 'INSERT', '{"uuid": "30325e9e-eaaf-4e76-9166-cd878c5fe435", "assumed": true, "ascendantuuid": "6d0f3cd9-1e42-4ee0-a77b-883d86f8659c", "descendantuuid": "87eab1a3-1c75-4ce1-a247-100242e4c8c1", "grantedbyroleuuid": null, "grantedbytriggerof": "69acd255-c446-4fcb-9175-30ac8139a69c"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.grant', '2f89411c-9610-4a34-be26-4c998d77a87a', 'INSERT', '{"uuid": "2f89411c-9610-4a34-be26-4c998d77a87a", "assumed": true, "ascendantuuid": "87eab1a3-1c75-4ce1-a247-100242e4c8c1", "descendantuuid": "5637f48c-8147-4bcd-8310-483992134474", "grantedbyroleuuid": null, "grantedbytriggerof": "69acd255-c446-4fcb-9175-30ac8139a69c"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.object', '1b25341f-3344-4378-a7ba-4a10a5180083', 'INSERT', '{"uuid": "1b25341f-3344-4378-a7ba-4a10a5180083", "serialid": 16, "objecttable": "rbactest.domain"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.role', 'df7cdac4-aee3-4912-81b0-be36b38b9461', 'INSERT', '{"uuid": "df7cdac4-aee3-4912-81b0-be36b38b9461", "roletype": "OWNER", "objectuuid": "1b25341f-3344-4378-a7ba-4a10a5180083"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.permission', '57e5d419-277c-48dd-8b01-44a5aac731bd', 'INSERT', '{"op": "DELETE", "uuid": "57e5d419-277c-48dd-8b01-44a5aac731bd", "objectuuid": "1b25341f-3344-4378-a7ba-4a10a5180083", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.grant', '4a59aad3-4af4-4791-ad1f-9a6195b6cc34', 'INSERT', '{"uuid": "4a59aad3-4af4-4791-ad1f-9a6195b6cc34", "assumed": true, "ascendantuuid": "df7cdac4-aee3-4912-81b0-be36b38b9461", "descendantuuid": "57e5d419-277c-48dd-8b01-44a5aac731bd", "grantedbyroleuuid": null, "grantedbytriggerof": "1b25341f-3344-4378-a7ba-4a10a5180083"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.permission', '2b17d8b7-9f20-4742-8470-1cac8d92d7e0', 'INSERT', '{"op": "UPDATE", "uuid": "2b17d8b7-9f20-4742-8470-1cac8d92d7e0", "objectuuid": "1b25341f-3344-4378-a7ba-4a10a5180083", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.grant', '434db2b5-970f-454b-93da-f8931aa754c6', 'INSERT', '{"uuid": "434db2b5-970f-454b-93da-f8931aa754c6", "assumed": true, "ascendantuuid": "df7cdac4-aee3-4912-81b0-be36b38b9461", "descendantuuid": "2b17d8b7-9f20-4742-8470-1cac8d92d7e0", "grantedbyroleuuid": null, "grantedbytriggerof": "1b25341f-3344-4378-a7ba-4a10a5180083"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.grant', 'feaaec16-f765-4a06-b095-c687cf6d6ca7', 'INSERT', '{"uuid": "feaaec16-f765-4a06-b095-c687cf6d6ca7", "assumed": true, "ascendantuuid": "4270da5c-c719-492e-b4f5-1311f850bf74", "descendantuuid": "df7cdac4-aee3-4912-81b0-be36b38b9461", "grantedbyroleuuid": null, "grantedbytriggerof": "1b25341f-3344-4378-a7ba-4a10a5180083"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.grant', '1df63d47-262c-4b9d-b974-41e379b828bb', 'INSERT', '{"uuid": "1df63d47-262c-4b9d-b974-41e379b828bb", "assumed": true, "ascendantuuid": "df7cdac4-aee3-4912-81b0-be36b38b9461", "descendantuuid": "8e0d16b2-360a-454e-8019-9c1882c04e5f", "grantedbyroleuuid": null, "grantedbytriggerof": "1b25341f-3344-4378-a7ba-4a10a5180083"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.role', 'f72a01f4-d589-49a5-85aa-e91f909337b5', 'INSERT', '{"uuid": "f72a01f4-d589-49a5-85aa-e91f909337b5", "roletype": "ADMIN", "objectuuid": "1b25341f-3344-4378-a7ba-4a10a5180083"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.permission', 'aa58299d-2e75-4678-b668-20cc10bd2549', 'INSERT', '{"op": "SELECT", "uuid": "aa58299d-2e75-4678-b668-20cc10bd2549", "objectuuid": "1b25341f-3344-4378-a7ba-4a10a5180083", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.grant', '06ae39b4-c0d5-403e-99f8-c28745856243', 'INSERT', '{"uuid": "06ae39b4-c0d5-403e-99f8-c28745856243", "assumed": true, "ascendantuuid": "f72a01f4-d589-49a5-85aa-e91f909337b5", "descendantuuid": "aa58299d-2e75-4678-b668-20cc10bd2549", "grantedbyroleuuid": null, "grantedbytriggerof": "1b25341f-3344-4378-a7ba-4a10a5180083"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.grant', '2eb78034-2c68-448d-9fba-dba7f717350a', 'INSERT', '{"uuid": "2eb78034-2c68-448d-9fba-dba7f717350a", "assumed": true, "ascendantuuid": "df7cdac4-aee3-4912-81b0-be36b38b9461", "descendantuuid": "f72a01f4-d589-49a5-85aa-e91f909337b5", "grantedbyroleuuid": null, "grantedbytriggerof": "1b25341f-3344-4378-a7ba-4a10a5180083"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.grant', 'ee3ee544-bdd2-4ea6-80d2-7462ea18bb31', 'INSERT', '{"uuid": "ee3ee544-bdd2-4ea6-80d2-7462ea18bb31", "assumed": true, "ascendantuuid": "f72a01f4-d589-49a5-85aa-e91f909337b5", "descendantuuid": "8e0d16b2-360a-454e-8019-9c1882c04e5f", "grantedbyroleuuid": null, "grantedbytriggerof": "1b25341f-3344-4378-a7ba-4a10a5180083"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.object', '18a43fac-4e7d-4ea3-8d2c-ecc95666bda4', 'INSERT', '{"uuid": "18a43fac-4e7d-4ea3-8d2c-ecc95666bda4", "serialid": 17, "objecttable": "rbactest.domain"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.role', 'd4b918cd-e1f3-47eb-a071-456de0ee1ce8', 'INSERT', '{"uuid": "d4b918cd-e1f3-47eb-a071-456de0ee1ce8", "roletype": "OWNER", "objectuuid": "18a43fac-4e7d-4ea3-8d2c-ecc95666bda4"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.permission', '4fee1f89-59e3-4c3b-9cea-2509e2f43c7f', 'INSERT', '{"op": "DELETE", "uuid": "4fee1f89-59e3-4c3b-9cea-2509e2f43c7f", "objectuuid": "18a43fac-4e7d-4ea3-8d2c-ecc95666bda4", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.grant', '72ae94d9-5c0b-4de3-9da7-c61acfb6714e', 'INSERT', '{"uuid": "72ae94d9-5c0b-4de3-9da7-c61acfb6714e", "assumed": true, "ascendantuuid": "d4b918cd-e1f3-47eb-a071-456de0ee1ce8", "descendantuuid": "4fee1f89-59e3-4c3b-9cea-2509e2f43c7f", "grantedbyroleuuid": null, "grantedbytriggerof": "18a43fac-4e7d-4ea3-8d2c-ecc95666bda4"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.permission', '67da1b8a-ac2c-4998-8b91-48384df171a0', 'INSERT', '{"op": "UPDATE", "uuid": "67da1b8a-ac2c-4998-8b91-48384df171a0", "objectuuid": "18a43fac-4e7d-4ea3-8d2c-ecc95666bda4", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.grant', '35298314-3888-4f2e-a2db-43cbcbed59ad', 'INSERT', '{"uuid": "35298314-3888-4f2e-a2db-43cbcbed59ad", "assumed": true, "ascendantuuid": "d4b918cd-e1f3-47eb-a071-456de0ee1ce8", "descendantuuid": "67da1b8a-ac2c-4998-8b91-48384df171a0", "grantedbyroleuuid": null, "grantedbytriggerof": "18a43fac-4e7d-4ea3-8d2c-ecc95666bda4"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.grant', '8d172deb-1a39-49ba-8747-fa44a8e556ab', 'INSERT', '{"uuid": "8d172deb-1a39-49ba-8747-fa44a8e556ab", "assumed": true, "ascendantuuid": "4270da5c-c719-492e-b4f5-1311f850bf74", "descendantuuid": "d4b918cd-e1f3-47eb-a071-456de0ee1ce8", "grantedbyroleuuid": null, "grantedbytriggerof": "18a43fac-4e7d-4ea3-8d2c-ecc95666bda4"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.grant', '186238ed-bc71-4f0e-b495-62594a454f5d', 'INSERT', '{"uuid": "186238ed-bc71-4f0e-b495-62594a454f5d", "assumed": true, "ascendantuuid": "d4b918cd-e1f3-47eb-a071-456de0ee1ce8", "descendantuuid": "8e0d16b2-360a-454e-8019-9c1882c04e5f", "grantedbyroleuuid": null, "grantedbytriggerof": "18a43fac-4e7d-4ea3-8d2c-ecc95666bda4"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.role', 'e541f5ce-259f-4589-b2b6-2f4da9c6a84b', 'INSERT', '{"uuid": "e541f5ce-259f-4589-b2b6-2f4da9c6a84b", "roletype": "ADMIN", "objectuuid": "18a43fac-4e7d-4ea3-8d2c-ecc95666bda4"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.permission', '647f9235-92dd-4f42-8132-edbebe82d849', 'INSERT', '{"op": "SELECT", "uuid": "647f9235-92dd-4f42-8132-edbebe82d849", "objectuuid": "18a43fac-4e7d-4ea3-8d2c-ecc95666bda4", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.grant', '1ef9d2c3-90fc-418b-819d-7168c3fa9dda', 'INSERT', '{"uuid": "1ef9d2c3-90fc-418b-819d-7168c3fa9dda", "assumed": true, "ascendantuuid": "e541f5ce-259f-4589-b2b6-2f4da9c6a84b", "descendantuuid": "647f9235-92dd-4f42-8132-edbebe82d849", "grantedbyroleuuid": null, "grantedbytriggerof": "18a43fac-4e7d-4ea3-8d2c-ecc95666bda4"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.grant', 'd6d54fb7-fccd-427a-85bc-4625f21d729f', 'INSERT', '{"uuid": "d6d54fb7-fccd-427a-85bc-4625f21d729f", "assumed": true, "ascendantuuid": "d4b918cd-e1f3-47eb-a071-456de0ee1ce8", "descendantuuid": "e541f5ce-259f-4589-b2b6-2f4da9c6a84b", "grantedbyroleuuid": null, "grantedbytriggerof": "18a43fac-4e7d-4ea3-8d2c-ecc95666bda4"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.grant', '54b422ef-f235-42e2-9086-9047111cabfc', 'INSERT', '{"uuid": "54b422ef-f235-42e2-9086-9047111cabfc", "assumed": true, "ascendantuuid": "e541f5ce-259f-4589-b2b6-2f4da9c6a84b", "descendantuuid": "8e0d16b2-360a-454e-8019-9c1882c04e5f", "grantedbyroleuuid": null, "grantedbytriggerof": "18a43fac-4e7d-4ea3-8d2c-ecc95666bda4"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.object', '6eb719a3-1418-4318-8861-610d343bdee1', 'INSERT', '{"uuid": "6eb719a3-1418-4318-8861-610d343bdee1", "serialid": 18, "objecttable": "rbactest.domain"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.role', 'e424ff4a-849f-4599-96cb-41a3ef66c3a3', 'INSERT', '{"uuid": "e424ff4a-849f-4599-96cb-41a3ef66c3a3", "roletype": "OWNER", "objectuuid": "6eb719a3-1418-4318-8861-610d343bdee1"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.permission', '9ba6ccca-1554-4e22-82c6-80f150553396', 'INSERT', '{"op": "DELETE", "uuid": "9ba6ccca-1554-4e22-82c6-80f150553396", "objectuuid": "6eb719a3-1418-4318-8861-610d343bdee1", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.grant', '8913900a-b819-4d3d-80ae-fd4fe69de9cd', 'INSERT', '{"uuid": "8913900a-b819-4d3d-80ae-fd4fe69de9cd", "assumed": true, "ascendantuuid": "e424ff4a-849f-4599-96cb-41a3ef66c3a3", "descendantuuid": "9ba6ccca-1554-4e22-82c6-80f150553396", "grantedbyroleuuid": null, "grantedbytriggerof": "6eb719a3-1418-4318-8861-610d343bdee1"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.permission', '357b1ba9-9d01-49e4-b1ca-4c1cdd2cfb63', 'INSERT', '{"op": "UPDATE", "uuid": "357b1ba9-9d01-49e4-b1ca-4c1cdd2cfb63", "objectuuid": "6eb719a3-1418-4318-8861-610d343bdee1", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.grant', '73599538-5e82-42f8-9901-a5881a9d72fb', 'INSERT', '{"uuid": "73599538-5e82-42f8-9901-a5881a9d72fb", "assumed": true, "ascendantuuid": "e424ff4a-849f-4599-96cb-41a3ef66c3a3", "descendantuuid": "357b1ba9-9d01-49e4-b1ca-4c1cdd2cfb63", "grantedbyroleuuid": null, "grantedbytriggerof": "6eb719a3-1418-4318-8861-610d343bdee1"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.grant', '275456d3-0086-42b5-94c4-53072826d1cf', 'INSERT', '{"uuid": "275456d3-0086-42b5-94c4-53072826d1cf", "assumed": true, "ascendantuuid": "bd39a86a-6d69-4aba-b2ba-93e4ba7d5e68", "descendantuuid": "e424ff4a-849f-4599-96cb-41a3ef66c3a3", "grantedbyroleuuid": null, "grantedbytriggerof": "6eb719a3-1418-4318-8861-610d343bdee1"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.grant', '80887512-865c-494b-9f13-135864bb5bdf', 'INSERT', '{"uuid": "80887512-865c-494b-9f13-135864bb5bdf", "assumed": true, "ascendantuuid": "e424ff4a-849f-4599-96cb-41a3ef66c3a3", "descendantuuid": "6c23d1e8-bab1-4307-9906-6f2970b148fa", "grantedbyroleuuid": null, "grantedbytriggerof": "6eb719a3-1418-4318-8861-610d343bdee1"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.role', '73c287a0-1ef5-4cb3-94fe-b67f5c6ca98b', 'INSERT', '{"uuid": "73c287a0-1ef5-4cb3-94fe-b67f5c6ca98b", "roletype": "ADMIN", "objectuuid": "6eb719a3-1418-4318-8861-610d343bdee1"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.permission', 'bcee7404-c0bf-4212-8a22-0604d27b325d', 'INSERT', '{"op": "SELECT", "uuid": "bcee7404-c0bf-4212-8a22-0604d27b325d", "objectuuid": "6eb719a3-1418-4318-8861-610d343bdee1", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.grant', 'dfcd8095-55b3-41b2-bd49-3c1cddab71ef', 'INSERT', '{"uuid": "dfcd8095-55b3-41b2-bd49-3c1cddab71ef", "assumed": true, "ascendantuuid": "73c287a0-1ef5-4cb3-94fe-b67f5c6ca98b", "descendantuuid": "bcee7404-c0bf-4212-8a22-0604d27b325d", "grantedbyroleuuid": null, "grantedbytriggerof": "6eb719a3-1418-4318-8861-610d343bdee1"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.grant', '7bf9f17e-56b5-4dfc-8cb1-fb1845f0b17d', 'INSERT', '{"uuid": "7bf9f17e-56b5-4dfc-8cb1-fb1845f0b17d", "assumed": true, "ascendantuuid": "e424ff4a-849f-4599-96cb-41a3ef66c3a3", "descendantuuid": "73c287a0-1ef5-4cb3-94fe-b67f5c6ca98b", "grantedbyroleuuid": null, "grantedbytriggerof": "6eb719a3-1418-4318-8861-610d343bdee1"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.grant', '7ef62edf-3ac5-4f35-b435-2d330cde2d67', 'INSERT', '{"uuid": "7ef62edf-3ac5-4f35-b435-2d330cde2d67", "assumed": true, "ascendantuuid": "73c287a0-1ef5-4cb3-94fe-b67f5c6ca98b", "descendantuuid": "6c23d1e8-bab1-4307-9906-6f2970b148fa", "grantedbyroleuuid": null, "grantedbytriggerof": "6eb719a3-1418-4318-8861-610d343bdee1"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.object', 'e7dcf9da-7a53-494e-a231-4ddb73b6729d', 'INSERT', '{"uuid": "e7dcf9da-7a53-494e-a231-4ddb73b6729d", "serialid": 19, "objecttable": "rbactest.domain"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.role', '1c3d5ed0-13dc-4a14-b44b-e708bac718bc', 'INSERT', '{"uuid": "1c3d5ed0-13dc-4a14-b44b-e708bac718bc", "roletype": "OWNER", "objectuuid": "e7dcf9da-7a53-494e-a231-4ddb73b6729d"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.permission', 'fe091b95-fde6-4efe-95a3-e186acc710a5', 'INSERT', '{"op": "DELETE", "uuid": "fe091b95-fde6-4efe-95a3-e186acc710a5", "objectuuid": "e7dcf9da-7a53-494e-a231-4ddb73b6729d", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.grant', '1dd69004-fc7e-4700-9ae7-38df5dd71823', 'INSERT', '{"uuid": "1dd69004-fc7e-4700-9ae7-38df5dd71823", "assumed": true, "ascendantuuid": "1c3d5ed0-13dc-4a14-b44b-e708bac718bc", "descendantuuid": "fe091b95-fde6-4efe-95a3-e186acc710a5", "grantedbyroleuuid": null, "grantedbytriggerof": "e7dcf9da-7a53-494e-a231-4ddb73b6729d"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.permission', '275fd74d-08a5-43d1-a5da-d6694792cee6', 'INSERT', '{"op": "UPDATE", "uuid": "275fd74d-08a5-43d1-a5da-d6694792cee6", "objectuuid": "e7dcf9da-7a53-494e-a231-4ddb73b6729d", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.grant', 'f6363073-91d0-4e20-8c5d-6ebcb0b4cc51', 'INSERT', '{"uuid": "f6363073-91d0-4e20-8c5d-6ebcb0b4cc51", "assumed": true, "ascendantuuid": "1c3d5ed0-13dc-4a14-b44b-e708bac718bc", "descendantuuid": "275fd74d-08a5-43d1-a5da-d6694792cee6", "grantedbyroleuuid": null, "grantedbytriggerof": "e7dcf9da-7a53-494e-a231-4ddb73b6729d"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.grant', '26a0f7f7-a77b-469f-a7c4-b609348a4fce', 'INSERT', '{"uuid": "26a0f7f7-a77b-469f-a7c4-b609348a4fce", "assumed": true, "ascendantuuid": "bd39a86a-6d69-4aba-b2ba-93e4ba7d5e68", "descendantuuid": "1c3d5ed0-13dc-4a14-b44b-e708bac718bc", "grantedbyroleuuid": null, "grantedbytriggerof": "e7dcf9da-7a53-494e-a231-4ddb73b6729d"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.grant', '53306e10-6929-4e48-8c5c-a6b1ec01aa44', 'INSERT', '{"uuid": "53306e10-6929-4e48-8c5c-a6b1ec01aa44", "assumed": true, "ascendantuuid": "1c3d5ed0-13dc-4a14-b44b-e708bac718bc", "descendantuuid": "6c23d1e8-bab1-4307-9906-6f2970b148fa", "grantedbyroleuuid": null, "grantedbytriggerof": "e7dcf9da-7a53-494e-a231-4ddb73b6729d"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.role', 'ee290b3a-8cd0-48d1-9a7f-5315762e4744', 'INSERT', '{"uuid": "ee290b3a-8cd0-48d1-9a7f-5315762e4744", "roletype": "ADMIN", "objectuuid": "e7dcf9da-7a53-494e-a231-4ddb73b6729d"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.permission', '57c79cf9-5514-4a11-ac94-2a4a04c4d6f5', 'INSERT', '{"op": "SELECT", "uuid": "57c79cf9-5514-4a11-ac94-2a4a04c4d6f5", "objectuuid": "e7dcf9da-7a53-494e-a231-4ddb73b6729d", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.grant', '02610fd5-5875-417e-8bbf-689f67f15240', 'INSERT', '{"uuid": "02610fd5-5875-417e-8bbf-689f67f15240", "assumed": true, "ascendantuuid": "ee290b3a-8cd0-48d1-9a7f-5315762e4744", "descendantuuid": "57c79cf9-5514-4a11-ac94-2a4a04c4d6f5", "grantedbyroleuuid": null, "grantedbytriggerof": "e7dcf9da-7a53-494e-a231-4ddb73b6729d"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.grant', '694c94b3-6e3e-435a-93a4-b1c872a619da', 'INSERT', '{"uuid": "694c94b3-6e3e-435a-93a4-b1c872a619da", "assumed": true, "ascendantuuid": "1c3d5ed0-13dc-4a14-b44b-e708bac718bc", "descendantuuid": "ee290b3a-8cd0-48d1-9a7f-5315762e4744", "grantedbyroleuuid": null, "grantedbytriggerof": "e7dcf9da-7a53-494e-a231-4ddb73b6729d"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.grant', '1fb78038-b9e5-4210-9782-b1801f05ded0', 'INSERT', '{"uuid": "1fb78038-b9e5-4210-9782-b1801f05ded0", "assumed": true, "ascendantuuid": "ee290b3a-8cd0-48d1-9a7f-5315762e4744", "descendantuuid": "6c23d1e8-bab1-4307-9906-6f2970b148fa", "grantedbyroleuuid": null, "grantedbytriggerof": "e7dcf9da-7a53-494e-a231-4ddb73b6729d"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.object', 'a6242be9-717a-4011-a04f-f501f84adcb2', 'INSERT', '{"uuid": "a6242be9-717a-4011-a04f-f501f84adcb2", "serialid": 20, "objecttable": "rbactest.domain"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.role', '89c9d640-8cc4-465c-8a67-65b90683aa40', 'INSERT', '{"uuid": "89c9d640-8cc4-465c-8a67-65b90683aa40", "roletype": "OWNER", "objectuuid": "a6242be9-717a-4011-a04f-f501f84adcb2"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.permission', 'ec550aae-f868-4e9a-ae46-dea684ac8025', 'INSERT', '{"op": "DELETE", "uuid": "ec550aae-f868-4e9a-ae46-dea684ac8025", "objectuuid": "a6242be9-717a-4011-a04f-f501f84adcb2", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.grant', '38b067a1-1e5d-4856-8d68-79237db8d81f', 'INSERT', '{"uuid": "38b067a1-1e5d-4856-8d68-79237db8d81f", "assumed": true, "ascendantuuid": "89c9d640-8cc4-465c-8a67-65b90683aa40", "descendantuuid": "ec550aae-f868-4e9a-ae46-dea684ac8025", "grantedbyroleuuid": null, "grantedbytriggerof": "a6242be9-717a-4011-a04f-f501f84adcb2"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.permission', '0df2ff3e-8d9b-4fa1-a0a5-c4f0d6670745', 'INSERT', '{"op": "UPDATE", "uuid": "0df2ff3e-8d9b-4fa1-a0a5-c4f0d6670745", "objectuuid": "a6242be9-717a-4011-a04f-f501f84adcb2", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.grant', '8d4a5f6c-3fbf-41d4-ae49-cf254f7863ee', 'INSERT', '{"uuid": "8d4a5f6c-3fbf-41d4-ae49-cf254f7863ee", "assumed": true, "ascendantuuid": "89c9d640-8cc4-465c-8a67-65b90683aa40", "descendantuuid": "0df2ff3e-8d9b-4fa1-a0a5-c4f0d6670745", "grantedbyroleuuid": null, "grantedbytriggerof": "a6242be9-717a-4011-a04f-f501f84adcb2"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.grant', 'ec032b9f-95a2-4c78-b862-f176c8beaa6d', 'INSERT', '{"uuid": "ec032b9f-95a2-4c78-b862-f176c8beaa6d", "assumed": true, "ascendantuuid": "a3fa28dd-26b8-4ab0-b503-96bab5f862b5", "descendantuuid": "89c9d640-8cc4-465c-8a67-65b90683aa40", "grantedbyroleuuid": null, "grantedbytriggerof": "a6242be9-717a-4011-a04f-f501f84adcb2"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.grant', '15025e5b-30e7-4412-9cbb-1b3323780f7a', 'INSERT', '{"uuid": "15025e5b-30e7-4412-9cbb-1b3323780f7a", "assumed": true, "ascendantuuid": "89c9d640-8cc4-465c-8a67-65b90683aa40", "descendantuuid": "202174cc-19e8-47f0-9f62-8fa7509dde3e", "grantedbyroleuuid": null, "grantedbytriggerof": "a6242be9-717a-4011-a04f-f501f84adcb2"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.role', '7e981c79-e079-45d2-9c86-6966a3bef7f2', 'INSERT', '{"uuid": "7e981c79-e079-45d2-9c86-6966a3bef7f2", "roletype": "ADMIN", "objectuuid": "a6242be9-717a-4011-a04f-f501f84adcb2"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.permission', '656e591b-380c-4ce9-8329-948a5db3c48b', 'INSERT', '{"op": "SELECT", "uuid": "656e591b-380c-4ce9-8329-948a5db3c48b", "objectuuid": "a6242be9-717a-4011-a04f-f501f84adcb2", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.grant', 'ea624ca1-713f-4931-8176-001dac0e7b99', 'INSERT', '{"uuid": "ea624ca1-713f-4931-8176-001dac0e7b99", "assumed": true, "ascendantuuid": "7e981c79-e079-45d2-9c86-6966a3bef7f2", "descendantuuid": "656e591b-380c-4ce9-8329-948a5db3c48b", "grantedbyroleuuid": null, "grantedbytriggerof": "a6242be9-717a-4011-a04f-f501f84adcb2"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.grant', '99368ec1-62df-4610-95c2-a767a6e9084d', 'INSERT', '{"uuid": "99368ec1-62df-4610-95c2-a767a6e9084d", "assumed": true, "ascendantuuid": "89c9d640-8cc4-465c-8a67-65b90683aa40", "descendantuuid": "7e981c79-e079-45d2-9c86-6966a3bef7f2", "grantedbyroleuuid": null, "grantedbytriggerof": "a6242be9-717a-4011-a04f-f501f84adcb2"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.grant', 'f039e175-7905-409e-b571-a9077d1b8964', 'INSERT', '{"uuid": "f039e175-7905-409e-b571-a9077d1b8964", "assumed": true, "ascendantuuid": "7e981c79-e079-45d2-9c86-6966a3bef7f2", "descendantuuid": "202174cc-19e8-47f0-9f62-8fa7509dde3e", "grantedbyroleuuid": null, "grantedbytriggerof": "a6242be9-717a-4011-a04f-f501f84adcb2"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.object', '5796ae29-666f-4ee3-9f20-75ffc3b21f4c', 'INSERT', '{"uuid": "5796ae29-666f-4ee3-9f20-75ffc3b21f4c", "serialid": 21, "objecttable": "rbactest.domain"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.role', '3d2f1085-216f-4c28-b393-483809a50dfe', 'INSERT', '{"uuid": "3d2f1085-216f-4c28-b393-483809a50dfe", "roletype": "OWNER", "objectuuid": "5796ae29-666f-4ee3-9f20-75ffc3b21f4c"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.grant', 'bc1e29f8-b79c-4d32-91de-b593839a3efe', 'INSERT', '{"uuid": "bc1e29f8-b79c-4d32-91de-b593839a3efe", "assumed": true, "ascendantuuid": "3d2f1085-216f-4c28-b393-483809a50dfe", "descendantuuid": "d14cda32-545d-4f58-9912-0e02810bb20d", "grantedbyroleuuid": null, "grantedbytriggerof": "5796ae29-666f-4ee3-9f20-75ffc3b21f4c"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.permission', '2a34d512-316f-44ca-a88d-2e92b7ae0c9f', 'INSERT', '{"op": "UPDATE", "uuid": "2a34d512-316f-44ca-a88d-2e92b7ae0c9f", "objectuuid": "5796ae29-666f-4ee3-9f20-75ffc3b21f4c", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.grant', '35047cb3-d592-4d72-9ea5-ee66b845b33e', 'INSERT', '{"uuid": "35047cb3-d592-4d72-9ea5-ee66b845b33e", "assumed": true, "ascendantuuid": "3d2f1085-216f-4c28-b393-483809a50dfe", "descendantuuid": "2a34d512-316f-44ca-a88d-2e92b7ae0c9f", "grantedbyroleuuid": null, "grantedbytriggerof": "5796ae29-666f-4ee3-9f20-75ffc3b21f4c"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.grant', '0ded8920-70d3-46cf-8c7f-865c4dc8e53b', 'INSERT', '{"uuid": "0ded8920-70d3-46cf-8c7f-865c4dc8e53b", "assumed": true, "ascendantuuid": "a3fa28dd-26b8-4ab0-b503-96bab5f862b5", "descendantuuid": "3d2f1085-216f-4c28-b393-483809a50dfe", "grantedbyroleuuid": null, "grantedbytriggerof": "5796ae29-666f-4ee3-9f20-75ffc3b21f4c"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.grant', '20071924-c251-4712-bae0-e5dd6b941e53', 'INSERT', '{"uuid": "20071924-c251-4712-bae0-e5dd6b941e53", "assumed": true, "ascendantuuid": "3d2f1085-216f-4c28-b393-483809a50dfe", "descendantuuid": "202174cc-19e8-47f0-9f62-8fa7509dde3e", "grantedbyroleuuid": null, "grantedbytriggerof": "5796ae29-666f-4ee3-9f20-75ffc3b21f4c"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.role', 'aaa7d42d-37e9-4486-b5d2-047b03e314d0', 'INSERT', '{"uuid": "aaa7d42d-37e9-4486-b5d2-047b03e314d0", "roletype": "ADMIN", "objectuuid": "5796ae29-666f-4ee3-9f20-75ffc3b21f4c"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.permission', 'e06ce4f8-a4db-4bc9-be65-08b5a956e824', 'INSERT', '{"op": "SELECT", "uuid": "e06ce4f8-a4db-4bc9-be65-08b5a956e824", "objectuuid": "5796ae29-666f-4ee3-9f20-75ffc3b21f4c", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.grant', 'b1bd8808-d810-4eef-881b-cadcece04dc4', 'INSERT', '{"uuid": "b1bd8808-d810-4eef-881b-cadcece04dc4", "assumed": true, "ascendantuuid": "aaa7d42d-37e9-4486-b5d2-047b03e314d0", "descendantuuid": "e06ce4f8-a4db-4bc9-be65-08b5a956e824", "grantedbyroleuuid": null, "grantedbytriggerof": "5796ae29-666f-4ee3-9f20-75ffc3b21f4c"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.grant', 'b2a08715-0bf7-4a9f-afec-a9bc817bd2da', 'INSERT', '{"uuid": "b2a08715-0bf7-4a9f-afec-a9bc817bd2da", "assumed": true, "ascendantuuid": "3d2f1085-216f-4c28-b393-483809a50dfe", "descendantuuid": "aaa7d42d-37e9-4486-b5d2-047b03e314d0", "grantedbyroleuuid": null, "grantedbytriggerof": "5796ae29-666f-4ee3-9f20-75ffc3b21f4c"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.grant', '84dfbb50-2193-4506-9f00-105482ae09fb', 'INSERT', '{"uuid": "84dfbb50-2193-4506-9f00-105482ae09fb", "assumed": true, "ascendantuuid": "aaa7d42d-37e9-4486-b5d2-047b03e314d0", "descendantuuid": "202174cc-19e8-47f0-9f62-8fa7509dde3e", "grantedbyroleuuid": null, "grantedbytriggerof": "5796ae29-666f-4ee3-9f20-75ffc3b21f4c"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.object', '58357452-4e31-4d21-8148-d33943331b43', 'INSERT', '{"uuid": "58357452-4e31-4d21-8148-d33943331b43", "serialid": 22, "objecttable": "rbactest.domain"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.role', '9fad7ccf-f6d5-4915-8c6d-ff59813b85d6', 'INSERT', '{"uuid": "9fad7ccf-f6d5-4915-8c6d-ff59813b85d6", "roletype": "OWNER", "objectuuid": "58357452-4e31-4d21-8148-d33943331b43"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.permission', 'bfd8eda3-3315-48bf-91b8-1e1910baf143', 'INSERT', '{"op": "DELETE", "uuid": "bfd8eda3-3315-48bf-91b8-1e1910baf143", "objectuuid": "58357452-4e31-4d21-8148-d33943331b43", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.grant', '4fc49ccd-441c-4acb-adb9-4b877262a423', 'INSERT', '{"uuid": "4fc49ccd-441c-4acb-adb9-4b877262a423", "assumed": true, "ascendantuuid": "9fad7ccf-f6d5-4915-8c6d-ff59813b85d6", "descendantuuid": "bfd8eda3-3315-48bf-91b8-1e1910baf143", "grantedbyroleuuid": null, "grantedbytriggerof": "58357452-4e31-4d21-8148-d33943331b43"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.permission', 'a7d26a3d-efca-4015-8fb0-8208df70a358', 'INSERT', '{"op": "UPDATE", "uuid": "a7d26a3d-efca-4015-8fb0-8208df70a358", "objectuuid": "58357452-4e31-4d21-8148-d33943331b43", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.grant', '05ec7ed6-5a7e-411d-a026-b2b0c3ca4057', 'INSERT', '{"uuid": "05ec7ed6-5a7e-411d-a026-b2b0c3ca4057", "assumed": true, "ascendantuuid": "9fad7ccf-f6d5-4915-8c6d-ff59813b85d6", "descendantuuid": "a7d26a3d-efca-4015-8fb0-8208df70a358", "grantedbyroleuuid": null, "grantedbytriggerof": "58357452-4e31-4d21-8148-d33943331b43"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.grant', '0518b58e-0eb1-45f1-8930-ba5925392c59', 'INSERT', '{"uuid": "0518b58e-0eb1-45f1-8930-ba5925392c59", "assumed": true, "ascendantuuid": "cc984f70-1ca8-46b8-9cd0-c9c0aa1ce496", "descendantuuid": "9fad7ccf-f6d5-4915-8c6d-ff59813b85d6", "grantedbyroleuuid": null, "grantedbytriggerof": "58357452-4e31-4d21-8148-d33943331b43"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.grant', '7ebb5d2c-6794-454f-b8aa-6e9d2061af29', 'INSERT', '{"uuid": "7ebb5d2c-6794-454f-b8aa-6e9d2061af29", "assumed": true, "ascendantuuid": "9fad7ccf-f6d5-4915-8c6d-ff59813b85d6", "descendantuuid": "a2d469da-0bb9-4bd2-9002-6fbcfa0e2e2c", "grantedbyroleuuid": null, "grantedbytriggerof": "58357452-4e31-4d21-8148-d33943331b43"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.role', 'd3d40295-64fd-4366-954a-753fc6b77859', 'INSERT', '{"uuid": "d3d40295-64fd-4366-954a-753fc6b77859", "roletype": "ADMIN", "objectuuid": "58357452-4e31-4d21-8148-d33943331b43"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.permission', '07282505-7ac0-40c0-8760-52394d951c72', 'INSERT', '{"op": "SELECT", "uuid": "07282505-7ac0-40c0-8760-52394d951c72", "objectuuid": "58357452-4e31-4d21-8148-d33943331b43", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.grant', '1c75ae34-c43c-4b54-98c1-5dd4b7919154', 'INSERT', '{"uuid": "1c75ae34-c43c-4b54-98c1-5dd4b7919154", "assumed": true, "ascendantuuid": "d3d40295-64fd-4366-954a-753fc6b77859", "descendantuuid": "07282505-7ac0-40c0-8760-52394d951c72", "grantedbyroleuuid": null, "grantedbytriggerof": "58357452-4e31-4d21-8148-d33943331b43"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.grant', '85a2d2b5-822d-409d-9d2d-1c51956ff1de', 'INSERT', '{"uuid": "85a2d2b5-822d-409d-9d2d-1c51956ff1de", "assumed": true, "ascendantuuid": "9fad7ccf-f6d5-4915-8c6d-ff59813b85d6", "descendantuuid": "d3d40295-64fd-4366-954a-753fc6b77859", "grantedbyroleuuid": null, "grantedbytriggerof": "58357452-4e31-4d21-8148-d33943331b43"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.grant', 'bc274564-4b31-409d-8ae8-cffcefa79619', 'INSERT', '{"uuid": "bc274564-4b31-409d-8ae8-cffcefa79619", "assumed": true, "ascendantuuid": "d3d40295-64fd-4366-954a-753fc6b77859", "descendantuuid": "a2d469da-0bb9-4bd2-9002-6fbcfa0e2e2c", "grantedbyroleuuid": null, "grantedbytriggerof": "58357452-4e31-4d21-8148-d33943331b43"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.object', '3fe6bfb7-956b-4f4e-8009-34c31429b1c8', 'INSERT', '{"uuid": "3fe6bfb7-956b-4f4e-8009-34c31429b1c8", "serialid": 23, "objecttable": "rbactest.domain"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.role', '28cfd978-beba-40c2-b0a7-97819d623214', 'INSERT', '{"uuid": "28cfd978-beba-40c2-b0a7-97819d623214", "roletype": "OWNER", "objectuuid": "3fe6bfb7-956b-4f4e-8009-34c31429b1c8"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.permission', '7b0423cc-423d-48c0-b94d-dc395548ceaf', 'INSERT', '{"op": "DELETE", "uuid": "7b0423cc-423d-48c0-b94d-dc395548ceaf", "objectuuid": "3fe6bfb7-956b-4f4e-8009-34c31429b1c8", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.grant', 'b5ee5109-4c3b-46ce-abaf-779712e51b8c', 'INSERT', '{"uuid": "b5ee5109-4c3b-46ce-abaf-779712e51b8c", "assumed": true, "ascendantuuid": "28cfd978-beba-40c2-b0a7-97819d623214", "descendantuuid": "7b0423cc-423d-48c0-b94d-dc395548ceaf", "grantedbyroleuuid": null, "grantedbytriggerof": "3fe6bfb7-956b-4f4e-8009-34c31429b1c8"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.permission', 'c322154b-c233-4de6-b15e-c0519694a7ea', 'INSERT', '{"op": "UPDATE", "uuid": "c322154b-c233-4de6-b15e-c0519694a7ea", "objectuuid": "3fe6bfb7-956b-4f4e-8009-34c31429b1c8", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.object', 'ae0320f6-d268-470e-8ded-142acddb2243', 'INSERT', '{"uuid": "ae0320f6-d268-470e-8ded-142acddb2243", "serialid": 34, "objecttable": "hs_office.contact"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.grant', '18ece28c-3992-4787-9ac4-37819ce3ce69', 'INSERT', '{"uuid": "18ece28c-3992-4787-9ac4-37819ce3ce69", "assumed": true, "ascendantuuid": "28cfd978-beba-40c2-b0a7-97819d623214", "descendantuuid": "c322154b-c233-4de6-b15e-c0519694a7ea", "grantedbyroleuuid": null, "grantedbytriggerof": "3fe6bfb7-956b-4f4e-8009-34c31429b1c8"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.grant', '358bdc6a-1b86-4eca-9012-e784913e3b09', 'INSERT', '{"uuid": "358bdc6a-1b86-4eca-9012-e784913e3b09", "assumed": true, "ascendantuuid": "cc984f70-1ca8-46b8-9cd0-c9c0aa1ce496", "descendantuuid": "28cfd978-beba-40c2-b0a7-97819d623214", "grantedbyroleuuid": null, "grantedbytriggerof": "3fe6bfb7-956b-4f4e-8009-34c31429b1c8"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.grant', 'ae6e9e1c-4303-464a-b7e9-4ae0a8b72869', 'INSERT', '{"uuid": "ae6e9e1c-4303-464a-b7e9-4ae0a8b72869", "assumed": true, "ascendantuuid": "28cfd978-beba-40c2-b0a7-97819d623214", "descendantuuid": "a2d469da-0bb9-4bd2-9002-6fbcfa0e2e2c", "grantedbyroleuuid": null, "grantedbytriggerof": "3fe6bfb7-956b-4f4e-8009-34c31429b1c8"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.role', 'b667797a-6f3e-481d-8900-9aed99ded908', 'INSERT', '{"uuid": "b667797a-6f3e-481d-8900-9aed99ded908", "roletype": "ADMIN", "objectuuid": "3fe6bfb7-956b-4f4e-8009-34c31429b1c8"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.permission', '26429570-88af-4838-8f1f-7bd29ef2adde', 'INSERT', '{"op": "SELECT", "uuid": "26429570-88af-4838-8f1f-7bd29ef2adde", "objectuuid": "3fe6bfb7-956b-4f4e-8009-34c31429b1c8", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.grant', 'cd5e42f0-614b-4980-bb95-e53115716a1e', 'INSERT', '{"uuid": "cd5e42f0-614b-4980-bb95-e53115716a1e", "assumed": true, "ascendantuuid": "b667797a-6f3e-481d-8900-9aed99ded908", "descendantuuid": "26429570-88af-4838-8f1f-7bd29ef2adde", "grantedbyroleuuid": null, "grantedbytriggerof": "3fe6bfb7-956b-4f4e-8009-34c31429b1c8"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.grant', '27dcfb1c-cfeb-4e0b-9f00-787a7c5c51fd', 'INSERT', '{"uuid": "27dcfb1c-cfeb-4e0b-9f00-787a7c5c51fd", "assumed": true, "ascendantuuid": "28cfd978-beba-40c2-b0a7-97819d623214", "descendantuuid": "b667797a-6f3e-481d-8900-9aed99ded908", "grantedbyroleuuid": null, "grantedbytriggerof": "3fe6bfb7-956b-4f4e-8009-34c31429b1c8"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.grant', '01972dca-cb60-4d19-993e-8464d50b0e77', 'INSERT', '{"uuid": "01972dca-cb60-4d19-993e-8464d50b0e77", "assumed": true, "ascendantuuid": "b667797a-6f3e-481d-8900-9aed99ded908", "descendantuuid": "a2d469da-0bb9-4bd2-9002-6fbcfa0e2e2c", "grantedbyroleuuid": null, "grantedbytriggerof": "3fe6bfb7-956b-4f4e-8009-34c31429b1c8"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.object', '6eba7088-7968-4d92-85f3-fbd1403a56b1', 'INSERT', '{"uuid": "6eba7088-7968-4d92-85f3-fbd1403a56b1", "serialid": 24, "objecttable": "rbactest.domain"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.role', '5161c876-3b54-4601-a09f-1b1e76d1ad71', 'INSERT', '{"uuid": "5161c876-3b54-4601-a09f-1b1e76d1ad71", "roletype": "OWNER", "objectuuid": "6eba7088-7968-4d92-85f3-fbd1403a56b1"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.permission', '8c4bdcff-1b30-494d-94c3-750a5c1ce354', 'INSERT', '{"op": "DELETE", "uuid": "8c4bdcff-1b30-494d-94c3-750a5c1ce354", "objectuuid": "6eba7088-7968-4d92-85f3-fbd1403a56b1", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.grant', '79f6116f-6193-4116-a0aa-13fb92809747', 'INSERT', '{"uuid": "79f6116f-6193-4116-a0aa-13fb92809747", "assumed": true, "ascendantuuid": "5161c876-3b54-4601-a09f-1b1e76d1ad71", "descendantuuid": "8c4bdcff-1b30-494d-94c3-750a5c1ce354", "grantedbyroleuuid": null, "grantedbytriggerof": "6eba7088-7968-4d92-85f3-fbd1403a56b1"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.permission', '1f43190a-5094-44af-92db-03affc9b2184', 'INSERT', '{"op": "UPDATE", "uuid": "1f43190a-5094-44af-92db-03affc9b2184", "objectuuid": "6eba7088-7968-4d92-85f3-fbd1403a56b1", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.grant', 'e5c2c4e2-dd0f-4f84-8bd6-1c1e272f3548', 'INSERT', '{"uuid": "e5c2c4e2-dd0f-4f84-8bd6-1c1e272f3548", "assumed": true, "ascendantuuid": "5161c876-3b54-4601-a09f-1b1e76d1ad71", "descendantuuid": "1f43190a-5094-44af-92db-03affc9b2184", "grantedbyroleuuid": null, "grantedbytriggerof": "6eba7088-7968-4d92-85f3-fbd1403a56b1"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.grant', '9f9bcc35-a34e-4771-8f00-079d30685b67', 'INSERT', '{"uuid": "9f9bcc35-a34e-4771-8f00-079d30685b67", "assumed": true, "ascendantuuid": "e9bb76c9-81f5-4d34-928d-2b7a2da11616", "descendantuuid": "5161c876-3b54-4601-a09f-1b1e76d1ad71", "grantedbyroleuuid": null, "grantedbytriggerof": "6eba7088-7968-4d92-85f3-fbd1403a56b1"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.grant', 'a58ea0a8-2af3-4705-873b-1a6e3517be47', 'INSERT', '{"uuid": "a58ea0a8-2af3-4705-873b-1a6e3517be47", "assumed": true, "ascendantuuid": "5161c876-3b54-4601-a09f-1b1e76d1ad71", "descendantuuid": "12fe4b88-87b8-44d3-a25a-b2a2983343a0", "grantedbyroleuuid": null, "grantedbytriggerof": "6eba7088-7968-4d92-85f3-fbd1403a56b1"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.role', 'eac05ae5-af18-4cc6-8077-f816c805a8d0', 'INSERT', '{"uuid": "eac05ae5-af18-4cc6-8077-f816c805a8d0", "roletype": "ADMIN", "objectuuid": "6eba7088-7968-4d92-85f3-fbd1403a56b1"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.permission', 'f9bdd8c1-81eb-4723-b17e-a0b44b119601', 'INSERT', '{"op": "SELECT", "uuid": "f9bdd8c1-81eb-4723-b17e-a0b44b119601", "objectuuid": "6eba7088-7968-4d92-85f3-fbd1403a56b1", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.grant', '687726d7-00aa-47dc-896a-24ce44cb9125', 'INSERT', '{"uuid": "687726d7-00aa-47dc-896a-24ce44cb9125", "assumed": true, "ascendantuuid": "eac05ae5-af18-4cc6-8077-f816c805a8d0", "descendantuuid": "f9bdd8c1-81eb-4723-b17e-a0b44b119601", "grantedbyroleuuid": null, "grantedbytriggerof": "6eba7088-7968-4d92-85f3-fbd1403a56b1"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.grant', '1edd262a-e9d1-40b6-bbf6-f05b72afa66e', 'INSERT', '{"uuid": "1edd262a-e9d1-40b6-bbf6-f05b72afa66e", "assumed": true, "ascendantuuid": "5161c876-3b54-4601-a09f-1b1e76d1ad71", "descendantuuid": "eac05ae5-af18-4cc6-8077-f816c805a8d0", "grantedbyroleuuid": null, "grantedbytriggerof": "6eba7088-7968-4d92-85f3-fbd1403a56b1"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.grant', '9774af44-b99d-4028-ad51-d1a301fa38f3', 'INSERT', '{"uuid": "9774af44-b99d-4028-ad51-d1a301fa38f3", "assumed": true, "ascendantuuid": "eac05ae5-af18-4cc6-8077-f816c805a8d0", "descendantuuid": "12fe4b88-87b8-44d3-a25a-b2a2983343a0", "grantedbyroleuuid": null, "grantedbytriggerof": "6eba7088-7968-4d92-85f3-fbd1403a56b1"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.object', 'd690e5bd-7814-436e-ba1c-8c57760866cc', 'INSERT', '{"uuid": "d690e5bd-7814-436e-ba1c-8c57760866cc", "serialid": 25, "objecttable": "rbactest.domain"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.role', '2ca76740-7e93-4ebe-a831-09bc4e0e287a', 'INSERT', '{"uuid": "2ca76740-7e93-4ebe-a831-09bc4e0e287a", "roletype": "OWNER", "objectuuid": "d690e5bd-7814-436e-ba1c-8c57760866cc"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.permission', '0ab236b9-ab03-458d-98a8-ddf5246a5f77', 'INSERT', '{"op": "DELETE", "uuid": "0ab236b9-ab03-458d-98a8-ddf5246a5f77", "objectuuid": "d690e5bd-7814-436e-ba1c-8c57760866cc", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.grant', 'a42d5cf7-e39b-4f17-85f7-5bfebbf11639', 'INSERT', '{"uuid": "a42d5cf7-e39b-4f17-85f7-5bfebbf11639", "assumed": true, "ascendantuuid": "2ca76740-7e93-4ebe-a831-09bc4e0e287a", "descendantuuid": "0ab236b9-ab03-458d-98a8-ddf5246a5f77", "grantedbyroleuuid": null, "grantedbytriggerof": "d690e5bd-7814-436e-ba1c-8c57760866cc"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.permission', 'c07dc67f-8c62-4485-836d-d448fb287c4a', 'INSERT', '{"op": "UPDATE", "uuid": "c07dc67f-8c62-4485-836d-d448fb287c4a", "objectuuid": "d690e5bd-7814-436e-ba1c-8c57760866cc", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.grant', 'd00e5755-cf6f-4ede-a63e-eb4dd26aeb76', 'INSERT', '{"uuid": "d00e5755-cf6f-4ede-a63e-eb4dd26aeb76", "assumed": true, "ascendantuuid": "2ca76740-7e93-4ebe-a831-09bc4e0e287a", "descendantuuid": "c07dc67f-8c62-4485-836d-d448fb287c4a", "grantedbyroleuuid": null, "grantedbytriggerof": "d690e5bd-7814-436e-ba1c-8c57760866cc"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.grant', '265adfa4-e7ff-4f82-b765-c50a76ee133a', 'INSERT', '{"uuid": "265adfa4-e7ff-4f82-b765-c50a76ee133a", "assumed": true, "ascendantuuid": "e9bb76c9-81f5-4d34-928d-2b7a2da11616", "descendantuuid": "2ca76740-7e93-4ebe-a831-09bc4e0e287a", "grantedbyroleuuid": null, "grantedbytriggerof": "d690e5bd-7814-436e-ba1c-8c57760866cc"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.grant', 'f9f1a5f1-dae5-4fc0-85cb-48baee1cf3d9', 'INSERT', '{"uuid": "f9f1a5f1-dae5-4fc0-85cb-48baee1cf3d9", "assumed": true, "ascendantuuid": "2ca76740-7e93-4ebe-a831-09bc4e0e287a", "descendantuuid": "12fe4b88-87b8-44d3-a25a-b2a2983343a0", "grantedbyroleuuid": null, "grantedbytriggerof": "d690e5bd-7814-436e-ba1c-8c57760866cc"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.role', 'e236a8e5-d4c4-423c-8a92-efc20b510e9a', 'INSERT', '{"uuid": "e236a8e5-d4c4-423c-8a92-efc20b510e9a", "roletype": "ADMIN", "objectuuid": "d690e5bd-7814-436e-ba1c-8c57760866cc"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.permission', '9218b6bb-9c63-47f6-814b-7a8701eb0e22', 'INSERT', '{"op": "SELECT", "uuid": "9218b6bb-9c63-47f6-814b-7a8701eb0e22", "objectuuid": "d690e5bd-7814-436e-ba1c-8c57760866cc", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.grant', 'e71b905e-a658-42a7-902e-321159e3b34c', 'INSERT', '{"uuid": "e71b905e-a658-42a7-902e-321159e3b34c", "assumed": true, "ascendantuuid": "e236a8e5-d4c4-423c-8a92-efc20b510e9a", "descendantuuid": "9218b6bb-9c63-47f6-814b-7a8701eb0e22", "grantedbyroleuuid": null, "grantedbytriggerof": "d690e5bd-7814-436e-ba1c-8c57760866cc"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.grant', '09c94f24-9d7b-487e-8008-3c8e0db3e7b5', 'INSERT', '{"uuid": "09c94f24-9d7b-487e-8008-3c8e0db3e7b5", "assumed": true, "ascendantuuid": "2ca76740-7e93-4ebe-a831-09bc4e0e287a", "descendantuuid": "e236a8e5-d4c4-423c-8a92-efc20b510e9a", "grantedbyroleuuid": null, "grantedbytriggerof": "d690e5bd-7814-436e-ba1c-8c57760866cc"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.grant', 'ea0c403a-6f97-4946-89e3-7ed76f18ce8e', 'INSERT', '{"uuid": "ea0c403a-6f97-4946-89e3-7ed76f18ce8e", "assumed": true, "ascendantuuid": "e236a8e5-d4c4-423c-8a92-efc20b510e9a", "descendantuuid": "12fe4b88-87b8-44d3-a25a-b2a2983343a0", "grantedbyroleuuid": null, "grantedbytriggerof": "d690e5bd-7814-436e-ba1c-8c57760866cc"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.object', 'a27caa13-80b1-4784-b891-5b4f12d3bef5', 'INSERT', '{"uuid": "a27caa13-80b1-4784-b891-5b4f12d3bef5", "serialid": 26, "objecttable": "rbactest.domain"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.role', 'c6640f54-1b24-470d-876c-ba77401772d3', 'INSERT', '{"uuid": "c6640f54-1b24-470d-876c-ba77401772d3", "roletype": "OWNER", "objectuuid": "a27caa13-80b1-4784-b891-5b4f12d3bef5"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.permission', 'ff141fdf-f60b-46c3-af9d-60472765c8cb', 'INSERT', '{"op": "DELETE", "uuid": "ff141fdf-f60b-46c3-af9d-60472765c8cb", "objectuuid": "a27caa13-80b1-4784-b891-5b4f12d3bef5", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.grant', '677b715c-f4da-4820-a3d0-e6a2e8fb97d8', 'INSERT', '{"uuid": "677b715c-f4da-4820-a3d0-e6a2e8fb97d8", "assumed": true, "ascendantuuid": "c6640f54-1b24-470d-876c-ba77401772d3", "descendantuuid": "ff141fdf-f60b-46c3-af9d-60472765c8cb", "grantedbyroleuuid": null, "grantedbytriggerof": "a27caa13-80b1-4784-b891-5b4f12d3bef5"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.permission', '2f06b454-9fdd-426f-b791-413f24c538e8', 'INSERT', '{"op": "UPDATE", "uuid": "2f06b454-9fdd-426f-b791-413f24c538e8", "objectuuid": "a27caa13-80b1-4784-b891-5b4f12d3bef5", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.grant', '9035413b-43d5-4f74-ab62-2e5ad80457cb', 'INSERT', '{"uuid": "9035413b-43d5-4f74-ab62-2e5ad80457cb", "assumed": true, "ascendantuuid": "c6640f54-1b24-470d-876c-ba77401772d3", "descendantuuid": "2f06b454-9fdd-426f-b791-413f24c538e8", "grantedbyroleuuid": null, "grantedbytriggerof": "a27caa13-80b1-4784-b891-5b4f12d3bef5"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.grant', 'eb9af560-45a0-40ef-a1a9-f8b2af026703', 'INSERT', '{"uuid": "eb9af560-45a0-40ef-a1a9-f8b2af026703", "assumed": true, "ascendantuuid": "495c8c16-f7d9-459d-a7f2-ce7e3c42150c", "descendantuuid": "c6640f54-1b24-470d-876c-ba77401772d3", "grantedbyroleuuid": null, "grantedbytriggerof": "a27caa13-80b1-4784-b891-5b4f12d3bef5"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.grant', '54130fac-0895-42fc-a75d-ada84672e72d', 'INSERT', '{"uuid": "54130fac-0895-42fc-a75d-ada84672e72d", "assumed": true, "ascendantuuid": "c6640f54-1b24-470d-876c-ba77401772d3", "descendantuuid": "a528582d-4f8b-46f8-80b1-0410c33a0755", "grantedbyroleuuid": null, "grantedbytriggerof": "a27caa13-80b1-4784-b891-5b4f12d3bef5"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.role', 'f55e8920-a037-4769-ad39-5d0cc77dfcb0', 'INSERT', '{"uuid": "f55e8920-a037-4769-ad39-5d0cc77dfcb0", "roletype": "ADMIN", "objectuuid": "a27caa13-80b1-4784-b891-5b4f12d3bef5"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.permission', '16f27fa0-25ea-4be0-b086-3ba3a5042b39', 'INSERT', '{"op": "SELECT", "uuid": "16f27fa0-25ea-4be0-b086-3ba3a5042b39", "objectuuid": "a27caa13-80b1-4784-b891-5b4f12d3bef5", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.grant', 'd0940a25-721a-4679-9cd9-bb42188c24f9', 'INSERT', '{"uuid": "d0940a25-721a-4679-9cd9-bb42188c24f9", "assumed": true, "ascendantuuid": "f55e8920-a037-4769-ad39-5d0cc77dfcb0", "descendantuuid": "16f27fa0-25ea-4be0-b086-3ba3a5042b39", "grantedbyroleuuid": null, "grantedbytriggerof": "a27caa13-80b1-4784-b891-5b4f12d3bef5"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.grant', '30ae2155-23e0-4359-8dcf-b54d6eb1891e', 'INSERT', '{"uuid": "30ae2155-23e0-4359-8dcf-b54d6eb1891e", "assumed": true, "ascendantuuid": "c6640f54-1b24-470d-876c-ba77401772d3", "descendantuuid": "f55e8920-a037-4769-ad39-5d0cc77dfcb0", "grantedbyroleuuid": null, "grantedbytriggerof": "a27caa13-80b1-4784-b891-5b4f12d3bef5"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.grant', '37f8c274-04a5-49d4-931e-b315c8b2212a', 'INSERT', '{"uuid": "37f8c274-04a5-49d4-931e-b315c8b2212a", "assumed": true, "ascendantuuid": "f55e8920-a037-4769-ad39-5d0cc77dfcb0", "descendantuuid": "a528582d-4f8b-46f8-80b1-0410c33a0755", "grantedbyroleuuid": null, "grantedbytriggerof": "a27caa13-80b1-4784-b891-5b4f12d3bef5"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.object', 'a56186b3-786f-407d-b814-959df21edc5d', 'INSERT', '{"uuid": "a56186b3-786f-407d-b814-959df21edc5d", "serialid": 27, "objecttable": "rbactest.domain"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.role', '4096230e-1260-42b6-9eff-7ddb4f0a5f21', 'INSERT', '{"uuid": "4096230e-1260-42b6-9eff-7ddb4f0a5f21", "roletype": "OWNER", "objectuuid": "a56186b3-786f-407d-b814-959df21edc5d"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.permission', 'b8cb9da6-8585-49c4-a413-97403f9507ee', 'INSERT', '{"op": "DELETE", "uuid": "b8cb9da6-8585-49c4-a413-97403f9507ee", "objectuuid": "a56186b3-786f-407d-b814-959df21edc5d", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.grant', 'ff47de8b-2fa7-4fde-ba23-c2fece863dc0', 'INSERT', '{"uuid": "ff47de8b-2fa7-4fde-ba23-c2fece863dc0", "assumed": true, "ascendantuuid": "4096230e-1260-42b6-9eff-7ddb4f0a5f21", "descendantuuid": "b8cb9da6-8585-49c4-a413-97403f9507ee", "grantedbyroleuuid": null, "grantedbytriggerof": "a56186b3-786f-407d-b814-959df21edc5d"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.permission', '3a3da60f-2006-4806-9f93-16bd6da6b441', 'INSERT', '{"op": "UPDATE", "uuid": "3a3da60f-2006-4806-9f93-16bd6da6b441", "objectuuid": "a56186b3-786f-407d-b814-959df21edc5d", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.grant', '156b9f07-da01-4fda-a74f-67b823095f03', 'INSERT', '{"uuid": "156b9f07-da01-4fda-a74f-67b823095f03", "assumed": true, "ascendantuuid": "4096230e-1260-42b6-9eff-7ddb4f0a5f21", "descendantuuid": "3a3da60f-2006-4806-9f93-16bd6da6b441", "grantedbyroleuuid": null, "grantedbytriggerof": "a56186b3-786f-407d-b814-959df21edc5d"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.grant', '8f856bae-37f0-4e88-aca6-e683dc81118c', 'INSERT', '{"uuid": "8f856bae-37f0-4e88-aca6-e683dc81118c", "assumed": true, "ascendantuuid": "495c8c16-f7d9-459d-a7f2-ce7e3c42150c", "descendantuuid": "4096230e-1260-42b6-9eff-7ddb4f0a5f21", "grantedbyroleuuid": null, "grantedbytriggerof": "a56186b3-786f-407d-b814-959df21edc5d"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.grant', 'ee558090-29c1-476c-8a2a-6c0e59d769db', 'INSERT', '{"uuid": "ee558090-29c1-476c-8a2a-6c0e59d769db", "assumed": true, "ascendantuuid": "4096230e-1260-42b6-9eff-7ddb4f0a5f21", "descendantuuid": "a528582d-4f8b-46f8-80b1-0410c33a0755", "grantedbyroleuuid": null, "grantedbytriggerof": "a56186b3-786f-407d-b814-959df21edc5d"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.role', '54ff21e9-56e6-42dd-a17c-b6c4259a5523', 'INSERT', '{"uuid": "54ff21e9-56e6-42dd-a17c-b6c4259a5523", "roletype": "ADMIN", "objectuuid": "a56186b3-786f-407d-b814-959df21edc5d"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.permission', '6bed9fba-b6e1-4c28-bc93-cc0eb0b07e58', 'INSERT', '{"op": "SELECT", "uuid": "6bed9fba-b6e1-4c28-bc93-cc0eb0b07e58", "objectuuid": "a56186b3-786f-407d-b814-959df21edc5d", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.grant', '53fbb735-0063-4d42-915f-d616b70d202a', 'INSERT', '{"uuid": "53fbb735-0063-4d42-915f-d616b70d202a", "assumed": true, "ascendantuuid": "54ff21e9-56e6-42dd-a17c-b6c4259a5523", "descendantuuid": "6bed9fba-b6e1-4c28-bc93-cc0eb0b07e58", "grantedbyroleuuid": null, "grantedbytriggerof": "a56186b3-786f-407d-b814-959df21edc5d"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.grant', '4e907180-1eb5-4c58-9955-b5c13f7f95d1', 'INSERT', '{"uuid": "4e907180-1eb5-4c58-9955-b5c13f7f95d1", "assumed": true, "ascendantuuid": "4096230e-1260-42b6-9eff-7ddb4f0a5f21", "descendantuuid": "54ff21e9-56e6-42dd-a17c-b6c4259a5523", "grantedbyroleuuid": null, "grantedbytriggerof": "a56186b3-786f-407d-b814-959df21edc5d"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.grant', 'ed41be2b-541d-41a4-a0b3-df5993741e59', 'INSERT', '{"uuid": "ed41be2b-541d-41a4-a0b3-df5993741e59", "assumed": true, "ascendantuuid": "54ff21e9-56e6-42dd-a17c-b6c4259a5523", "descendantuuid": "a528582d-4f8b-46f8-80b1-0410c33a0755", "grantedbyroleuuid": null, "grantedbytriggerof": "a56186b3-786f-407d-b814-959df21edc5d"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.object', '1cbdd8c5-207a-43e2-98b9-af2265216c14', 'INSERT', '{"uuid": "1cbdd8c5-207a-43e2-98b9-af2265216c14", "serialid": 28, "objecttable": "rbactest.domain"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.role', '2c1a1a87-fff0-4970-b861-9560793314e4', 'INSERT', '{"uuid": "2c1a1a87-fff0-4970-b861-9560793314e4", "roletype": "OWNER", "objectuuid": "1cbdd8c5-207a-43e2-98b9-af2265216c14"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.permission', 'abed2f54-d15d-4290-b01b-b0697ac967ba', 'INSERT', '{"op": "DELETE", "uuid": "abed2f54-d15d-4290-b01b-b0697ac967ba", "objectuuid": "1cbdd8c5-207a-43e2-98b9-af2265216c14", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.grant', 'b06e20f2-f9f5-454e-8ec6-5330b707df19', 'INSERT', '{"uuid": "b06e20f2-f9f5-454e-8ec6-5330b707df19", "assumed": true, "ascendantuuid": "2c1a1a87-fff0-4970-b861-9560793314e4", "descendantuuid": "abed2f54-d15d-4290-b01b-b0697ac967ba", "grantedbyroleuuid": null, "grantedbytriggerof": "1cbdd8c5-207a-43e2-98b9-af2265216c14"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.permission', 'bc5bd07b-4f58-4477-86d6-99067ddc2082', 'INSERT', '{"op": "UPDATE", "uuid": "bc5bd07b-4f58-4477-86d6-99067ddc2082", "objectuuid": "1cbdd8c5-207a-43e2-98b9-af2265216c14", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.grant', '70860e26-c475-47e1-b2f8-0506d2ee7f78', 'INSERT', '{"uuid": "70860e26-c475-47e1-b2f8-0506d2ee7f78", "assumed": true, "ascendantuuid": "2c1a1a87-fff0-4970-b861-9560793314e4", "descendantuuid": "bc5bd07b-4f58-4477-86d6-99067ddc2082", "grantedbyroleuuid": null, "grantedbytriggerof": "1cbdd8c5-207a-43e2-98b9-af2265216c14"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.grant', '36f78d96-09c8-4b65-8428-a78c15b0ec0d', 'INSERT', '{"uuid": "36f78d96-09c8-4b65-8428-a78c15b0ec0d", "assumed": true, "ascendantuuid": "591c1bc7-7d2d-447f-880d-16615035ab72", "descendantuuid": "2c1a1a87-fff0-4970-b861-9560793314e4", "grantedbyroleuuid": null, "grantedbytriggerof": "1cbdd8c5-207a-43e2-98b9-af2265216c14"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.grant', 'a89520d6-5d78-4b13-aa21-20e75c557e50', 'INSERT', '{"uuid": "a89520d6-5d78-4b13-aa21-20e75c557e50", "assumed": true, "ascendantuuid": "2c1a1a87-fff0-4970-b861-9560793314e4", "descendantuuid": "7154af3b-c2cd-4dc2-a94a-83af7e05b44a", "grantedbyroleuuid": null, "grantedbytriggerof": "1cbdd8c5-207a-43e2-98b9-af2265216c14"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.role', '517ca825-fed2-44c5-ab7a-b95ee0350dbf', 'INSERT', '{"uuid": "517ca825-fed2-44c5-ab7a-b95ee0350dbf", "roletype": "ADMIN", "objectuuid": "1cbdd8c5-207a-43e2-98b9-af2265216c14"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.permission', 'ffca12ab-f74e-40cc-8c3b-bdd9ab68541d', 'INSERT', '{"op": "SELECT", "uuid": "ffca12ab-f74e-40cc-8c3b-bdd9ab68541d", "objectuuid": "1cbdd8c5-207a-43e2-98b9-af2265216c14", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.grant', '73bfc23e-eff5-4f6b-9d4d-8718d4c705c6', 'INSERT', '{"uuid": "73bfc23e-eff5-4f6b-9d4d-8718d4c705c6", "assumed": true, "ascendantuuid": "517ca825-fed2-44c5-ab7a-b95ee0350dbf", "descendantuuid": "ffca12ab-f74e-40cc-8c3b-bdd9ab68541d", "grantedbyroleuuid": null, "grantedbytriggerof": "1cbdd8c5-207a-43e2-98b9-af2265216c14"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.grant', '705cc74b-38e2-4e15-9cd9-a45e4e2fb5db', 'INSERT', '{"uuid": "705cc74b-38e2-4e15-9cd9-a45e4e2fb5db", "assumed": true, "ascendantuuid": "2c1a1a87-fff0-4970-b861-9560793314e4", "descendantuuid": "517ca825-fed2-44c5-ab7a-b95ee0350dbf", "grantedbyroleuuid": null, "grantedbytriggerof": "1cbdd8c5-207a-43e2-98b9-af2265216c14"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.grant', '2e3675a4-a8b8-4286-8604-f665b7e4424c', 'INSERT', '{"uuid": "2e3675a4-a8b8-4286-8604-f665b7e4424c", "assumed": true, "ascendantuuid": "517ca825-fed2-44c5-ab7a-b95ee0350dbf", "descendantuuid": "7154af3b-c2cd-4dc2-a94a-83af7e05b44a", "grantedbyroleuuid": null, "grantedbytriggerof": "1cbdd8c5-207a-43e2-98b9-af2265216c14"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.object', 'df500901-140d-48ae-9ce0-e20d3880db92', 'INSERT', '{"uuid": "df500901-140d-48ae-9ce0-e20d3880db92", "serialid": 29, "objecttable": "rbactest.domain"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.role', '99428858-c5de-4c13-b91e-8d01d93225b0', 'INSERT', '{"uuid": "99428858-c5de-4c13-b91e-8d01d93225b0", "roletype": "OWNER", "objectuuid": "df500901-140d-48ae-9ce0-e20d3880db92"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.permission', '402b3d48-c423-4319-8bd1-d20d128c6caf', 'INSERT', '{"op": "DELETE", "uuid": "402b3d48-c423-4319-8bd1-d20d128c6caf", "objectuuid": "df500901-140d-48ae-9ce0-e20d3880db92", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.grant', 'e51decb7-0107-4058-bb63-61a01d75bba7', 'INSERT', '{"uuid": "e51decb7-0107-4058-bb63-61a01d75bba7", "assumed": true, "ascendantuuid": "99428858-c5de-4c13-b91e-8d01d93225b0", "descendantuuid": "402b3d48-c423-4319-8bd1-d20d128c6caf", "grantedbyroleuuid": null, "grantedbytriggerof": "df500901-140d-48ae-9ce0-e20d3880db92"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.permission', '7613a6f1-04ab-46c4-8f13-d01d7b60b77d', 'INSERT', '{"op": "UPDATE", "uuid": "7613a6f1-04ab-46c4-8f13-d01d7b60b77d", "objectuuid": "df500901-140d-48ae-9ce0-e20d3880db92", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.grant', 'aa254a92-d23e-4f57-976f-870efb09478c', 'INSERT', '{"uuid": "aa254a92-d23e-4f57-976f-870efb09478c", "assumed": true, "ascendantuuid": "99428858-c5de-4c13-b91e-8d01d93225b0", "descendantuuid": "7613a6f1-04ab-46c4-8f13-d01d7b60b77d", "grantedbyroleuuid": null, "grantedbytriggerof": "df500901-140d-48ae-9ce0-e20d3880db92"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.grant', '013b39ad-9ae1-4742-afa4-e72cd45633b6', 'INSERT', '{"uuid": "013b39ad-9ae1-4742-afa4-e72cd45633b6", "assumed": true, "ascendantuuid": "591c1bc7-7d2d-447f-880d-16615035ab72", "descendantuuid": "99428858-c5de-4c13-b91e-8d01d93225b0", "grantedbyroleuuid": null, "grantedbytriggerof": "df500901-140d-48ae-9ce0-e20d3880db92"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.grant', '046e10f0-a067-4b24-9e42-a41290310ff3', 'INSERT', '{"uuid": "046e10f0-a067-4b24-9e42-a41290310ff3", "assumed": true, "ascendantuuid": "99428858-c5de-4c13-b91e-8d01d93225b0", "descendantuuid": "7154af3b-c2cd-4dc2-a94a-83af7e05b44a", "grantedbyroleuuid": null, "grantedbytriggerof": "df500901-140d-48ae-9ce0-e20d3880db92"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.role', '2b22b79f-b1f7-415d-b50b-5938ffba113a', 'INSERT', '{"uuid": "2b22b79f-b1f7-415d-b50b-5938ffba113a", "roletype": "ADMIN", "objectuuid": "df500901-140d-48ae-9ce0-e20d3880db92"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.permission', 'ab86dad6-efa6-4be8-8f07-97765e38df5a', 'INSERT', '{"op": "SELECT", "uuid": "ab86dad6-efa6-4be8-8f07-97765e38df5a", "objectuuid": "df500901-140d-48ae-9ce0-e20d3880db92", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.grant', '12503dd9-f23b-48d0-8e81-1ee92bcdd6f7', 'INSERT', '{"uuid": "12503dd9-f23b-48d0-8e81-1ee92bcdd6f7", "assumed": true, "ascendantuuid": "2b22b79f-b1f7-415d-b50b-5938ffba113a", "descendantuuid": "ab86dad6-efa6-4be8-8f07-97765e38df5a", "grantedbyroleuuid": null, "grantedbytriggerof": "df500901-140d-48ae-9ce0-e20d3880db92"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.grant', '2003b2a1-83fa-4ffc-b3ea-7be69d8f20c1', 'INSERT', '{"uuid": "2003b2a1-83fa-4ffc-b3ea-7be69d8f20c1", "assumed": true, "ascendantuuid": "99428858-c5de-4c13-b91e-8d01d93225b0", "descendantuuid": "2b22b79f-b1f7-415d-b50b-5938ffba113a", "grantedbyroleuuid": null, "grantedbytriggerof": "df500901-140d-48ae-9ce0-e20d3880db92"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.grant', '8a262e55-e6a9-4325-ade7-a4471c1468db', 'INSERT', '{"uuid": "8a262e55-e6a9-4325-ade7-a4471c1468db", "assumed": true, "ascendantuuid": "2b22b79f-b1f7-415d-b50b-5938ffba113a", "descendantuuid": "7154af3b-c2cd-4dc2-a94a-83af7e05b44a", "grantedbyroleuuid": null, "grantedbytriggerof": "df500901-140d-48ae-9ce0-e20d3880db92"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.object', '153715cb-8cb1-4f09-bd70-08be928534b7', 'INSERT', '{"uuid": "153715cb-8cb1-4f09-bd70-08be928534b7", "serialid": 30, "objecttable": "rbactest.domain"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.role', 'c7b0d4c7-17b3-42ed-b151-fd1d3cf1105c', 'INSERT', '{"uuid": "c7b0d4c7-17b3-42ed-b151-fd1d3cf1105c", "roletype": "OWNER", "objectuuid": "153715cb-8cb1-4f09-bd70-08be928534b7"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.permission', '0bf027e6-dd84-4c91-8dde-2e54189408d6', 'INSERT', '{"op": "DELETE", "uuid": "0bf027e6-dd84-4c91-8dde-2e54189408d6", "objectuuid": "153715cb-8cb1-4f09-bd70-08be928534b7", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.grant', 'dbc2a2af-5389-463c-9a74-34eb9bb078c2', 'INSERT', '{"uuid": "dbc2a2af-5389-463c-9a74-34eb9bb078c2", "assumed": true, "ascendantuuid": "c7b0d4c7-17b3-42ed-b151-fd1d3cf1105c", "descendantuuid": "0bf027e6-dd84-4c91-8dde-2e54189408d6", "grantedbyroleuuid": null, "grantedbytriggerof": "153715cb-8cb1-4f09-bd70-08be928534b7"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.permission', 'c34ff153-528b-4533-bb2a-6af4776d7d46', 'INSERT', '{"op": "UPDATE", "uuid": "c34ff153-528b-4533-bb2a-6af4776d7d46", "objectuuid": "153715cb-8cb1-4f09-bd70-08be928534b7", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.grant', 'e3b32a74-676b-4a84-9554-581523771bbd', 'INSERT', '{"uuid": "e3b32a74-676b-4a84-9554-581523771bbd", "assumed": true, "ascendantuuid": "c7b0d4c7-17b3-42ed-b151-fd1d3cf1105c", "descendantuuid": "c34ff153-528b-4533-bb2a-6af4776d7d46", "grantedbyroleuuid": null, "grantedbytriggerof": "153715cb-8cb1-4f09-bd70-08be928534b7"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.grant', '875bc16a-ca67-4bf5-954b-afb382ee466e', 'INSERT', '{"uuid": "875bc16a-ca67-4bf5-954b-afb382ee466e", "assumed": true, "ascendantuuid": "ad810d9e-7f6e-46ce-98cb-f4218ae41c70", "descendantuuid": "c7b0d4c7-17b3-42ed-b151-fd1d3cf1105c", "grantedbyroleuuid": null, "grantedbytriggerof": "153715cb-8cb1-4f09-bd70-08be928534b7"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.grant', '324ed287-8220-48da-8bed-a25948d02770', 'INSERT', '{"uuid": "324ed287-8220-48da-8bed-a25948d02770", "assumed": true, "ascendantuuid": "c7b0d4c7-17b3-42ed-b151-fd1d3cf1105c", "descendantuuid": "a6654910-2ada-4c04-8a67-773b4e4ab17f", "grantedbyroleuuid": null, "grantedbytriggerof": "153715cb-8cb1-4f09-bd70-08be928534b7"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.role', 'e439174f-b436-4675-8d59-a4c003301f75', 'INSERT', '{"uuid": "e439174f-b436-4675-8d59-a4c003301f75", "roletype": "ADMIN", "objectuuid": "153715cb-8cb1-4f09-bd70-08be928534b7"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.permission', 'a3d4c041-c32c-491e-9a04-cd00985f90d9', 'INSERT', '{"op": "SELECT", "uuid": "a3d4c041-c32c-491e-9a04-cd00985f90d9", "objectuuid": "153715cb-8cb1-4f09-bd70-08be928534b7", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.grant', '10ceb03a-590b-418d-85aa-0dd915f74559', 'INSERT', '{"uuid": "10ceb03a-590b-418d-85aa-0dd915f74559", "assumed": true, "ascendantuuid": "e439174f-b436-4675-8d59-a4c003301f75", "descendantuuid": "a3d4c041-c32c-491e-9a04-cd00985f90d9", "grantedbyroleuuid": null, "grantedbytriggerof": "153715cb-8cb1-4f09-bd70-08be928534b7"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.grant', '5a19d8e6-3936-485f-8564-3a580102187c', 'INSERT', '{"uuid": "5a19d8e6-3936-485f-8564-3a580102187c", "assumed": true, "ascendantuuid": "c7b0d4c7-17b3-42ed-b151-fd1d3cf1105c", "descendantuuid": "e439174f-b436-4675-8d59-a4c003301f75", "grantedbyroleuuid": null, "grantedbytriggerof": "153715cb-8cb1-4f09-bd70-08be928534b7"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.grant', 'b2f96cdc-2008-48a3-8f20-0961c29c3d87', 'INSERT', '{"uuid": "b2f96cdc-2008-48a3-8f20-0961c29c3d87", "assumed": true, "ascendantuuid": "e439174f-b436-4675-8d59-a4c003301f75", "descendantuuid": "a6654910-2ada-4c04-8a67-773b4e4ab17f", "grantedbyroleuuid": null, "grantedbytriggerof": "153715cb-8cb1-4f09-bd70-08be928534b7"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.object', '26642094-e1f4-464d-ab40-5234b4e0228d', 'INSERT', '{"uuid": "26642094-e1f4-464d-ab40-5234b4e0228d", "serialid": 31, "objecttable": "rbactest.domain"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.role', 'b34325fa-7c47-45a2-979b-d88eb8c4758e', 'INSERT', '{"uuid": "b34325fa-7c47-45a2-979b-d88eb8c4758e", "roletype": "OWNER", "objectuuid": "26642094-e1f4-464d-ab40-5234b4e0228d"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.permission', 'b463ee37-3d33-4330-b16f-7ab84a06658a', 'INSERT', '{"op": "DELETE", "uuid": "b463ee37-3d33-4330-b16f-7ab84a06658a", "objectuuid": "26642094-e1f4-464d-ab40-5234b4e0228d", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.grant', '38996d9c-7401-490e-9a4e-cad85f6744e3', 'INSERT', '{"uuid": "38996d9c-7401-490e-9a4e-cad85f6744e3", "assumed": true, "ascendantuuid": "b34325fa-7c47-45a2-979b-d88eb8c4758e", "descendantuuid": "b463ee37-3d33-4330-b16f-7ab84a06658a", "grantedbyroleuuid": null, "grantedbytriggerof": "26642094-e1f4-464d-ab40-5234b4e0228d"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.permission', '1a559ee1-da5d-4b85-b48f-ee15eb5069aa', 'INSERT', '{"op": "UPDATE", "uuid": "1a559ee1-da5d-4b85-b48f-ee15eb5069aa", "objectuuid": "26642094-e1f4-464d-ab40-5234b4e0228d", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.grant', '2d5ca653-185f-4a86-9590-06bc88dadb79', 'INSERT', '{"uuid": "2d5ca653-185f-4a86-9590-06bc88dadb79", "assumed": true, "ascendantuuid": "b34325fa-7c47-45a2-979b-d88eb8c4758e", "descendantuuid": "1a559ee1-da5d-4b85-b48f-ee15eb5069aa", "grantedbyroleuuid": null, "grantedbytriggerof": "26642094-e1f4-464d-ab40-5234b4e0228d"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.grant', '31a92c28-569f-4f37-b136-7767542676c4', 'INSERT', '{"uuid": "31a92c28-569f-4f37-b136-7767542676c4", "assumed": true, "ascendantuuid": "ad810d9e-7f6e-46ce-98cb-f4218ae41c70", "descendantuuid": "b34325fa-7c47-45a2-979b-d88eb8c4758e", "grantedbyroleuuid": null, "grantedbytriggerof": "26642094-e1f4-464d-ab40-5234b4e0228d"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.grant', 'ef25d6c9-7d6d-4a4c-a35f-462189db3863', 'INSERT', '{"uuid": "ef25d6c9-7d6d-4a4c-a35f-462189db3863", "assumed": true, "ascendantuuid": "b34325fa-7c47-45a2-979b-d88eb8c4758e", "descendantuuid": "a6654910-2ada-4c04-8a67-773b4e4ab17f", "grantedbyroleuuid": null, "grantedbytriggerof": "26642094-e1f4-464d-ab40-5234b4e0228d"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.role', '0c3fbe1e-ad08-40a2-a685-436ca0aec27e', 'INSERT', '{"uuid": "0c3fbe1e-ad08-40a2-a685-436ca0aec27e", "roletype": "ADMIN", "objectuuid": "26642094-e1f4-464d-ab40-5234b4e0228d"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.permission', '04c7e2df-fb54-4f6a-a529-0316d6ac8de2', 'INSERT', '{"op": "SELECT", "uuid": "04c7e2df-fb54-4f6a-a529-0316d6ac8de2", "objectuuid": "26642094-e1f4-464d-ab40-5234b4e0228d", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.grant', '7dbe54b6-e757-4ff4-a364-2460f1d62001', 'INSERT', '{"uuid": "7dbe54b6-e757-4ff4-a364-2460f1d62001", "assumed": true, "ascendantuuid": "0c3fbe1e-ad08-40a2-a685-436ca0aec27e", "descendantuuid": "04c7e2df-fb54-4f6a-a529-0316d6ac8de2", "grantedbyroleuuid": null, "grantedbytriggerof": "26642094-e1f4-464d-ab40-5234b4e0228d"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.grant', '0b9b3d31-2e41-421f-86b5-fbc40a1e19ca', 'INSERT', '{"uuid": "0b9b3d31-2e41-421f-86b5-fbc40a1e19ca", "assumed": true, "ascendantuuid": "b34325fa-7c47-45a2-979b-d88eb8c4758e", "descendantuuid": "0c3fbe1e-ad08-40a2-a685-436ca0aec27e", "grantedbyroleuuid": null, "grantedbytriggerof": "26642094-e1f4-464d-ab40-5234b4e0228d"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1021', 'rbac.grant', 'f6c5c0a3-9a98-4c0f-9fb8-dd79f401b39a', 'INSERT', '{"uuid": "f6c5c0a3-9a98-4c0f-9fb8-dd79f401b39a", "assumed": true, "ascendantuuid": "0c3fbe1e-ad08-40a2-a685-436ca0aec27e", "descendantuuid": "a6654910-2ada-4c04-8a67-773b4e4ab17f", "grantedbyroleuuid": null, "grantedbytriggerof": "26642094-e1f4-464d-ab40-5234b4e0228d"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.subject', '5de0a8e1-a0d7-400e-90a6-840705faaebc', 'INSERT', '{"name": "contact-admin@firstcontact.example.com", "uuid": "5de0a8e1-a0d7-400e-90a6-840705faaebc"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.object', 'e256cae4-99d8-44f3-961a-ecbffaeb17e4', 'INSERT', '{"uuid": "e256cae4-99d8-44f3-961a-ecbffaeb17e4", "serialid": 32, "objecttable": "hs_office.contact"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.grant', '09267516-abc0-45f4-b6bf-62eece18fbe6', 'INSERT', '{"uuid": "09267516-abc0-45f4-b6bf-62eece18fbe6", "assumed": true, "ascendantuuid": "e93073b3-d214-42fa-983f-da394322ea7d", "descendantuuid": "f3f56d40-e253-4848-8fb3-a89e123f9b6f", "grantedbyroleuuid": null, "grantedbytriggerof": "e256cae4-99d8-44f3-961a-ecbffaeb17e4"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.grant', '7ed8f3a9-d74b-4dd7-a675-72487aa3dbad', 'INSERT', '{"uuid": "7ed8f3a9-d74b-4dd7-a675-72487aa3dbad", "assumed": true, "ascendantuuid": "afc6a14a-f8c7-4c17-9b91-b615833bc002", "descendantuuid": "e93073b3-d214-42fa-983f-da394322ea7d", "grantedbyroleuuid": null, "grantedbytriggerof": "e256cae4-99d8-44f3-961a-ecbffaeb17e4"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.grant', 'efa4f68a-de41-4df1-af0a-756aca5464eb', 'INSERT', '{"uuid": "efa4f68a-de41-4df1-af0a-756aca5464eb", "assumed": true, "ascendantuuid": "5de0a8e1-a0d7-400e-90a6-840705faaebc", "descendantuuid": "e93073b3-d214-42fa-983f-da394322ea7d", "grantedbyroleuuid": "e93073b3-d214-42fa-983f-da394322ea7d", "grantedbytriggerof": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.role', 'cde57d67-7a2c-47d1-8408-46bb662a97e1', 'INSERT', '{"uuid": "cde57d67-7a2c-47d1-8408-46bb662a97e1", "roletype": "ADMIN", "objectuuid": "e256cae4-99d8-44f3-961a-ecbffaeb17e4"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.permission', '5aa6c37b-585a-4ff4-86f3-9c7b76bb09ab', 'INSERT', '{"op": "UPDATE", "uuid": "5aa6c37b-585a-4ff4-86f3-9c7b76bb09ab", "objectuuid": "e256cae4-99d8-44f3-961a-ecbffaeb17e4", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.grant', 'f78b9fff-a97c-4ad3-8f85-aa5afeb4bc21', 'INSERT', '{"uuid": "f78b9fff-a97c-4ad3-8f85-aa5afeb4bc21", "assumed": true, "ascendantuuid": "cde57d67-7a2c-47d1-8408-46bb662a97e1", "descendantuuid": "5aa6c37b-585a-4ff4-86f3-9c7b76bb09ab", "grantedbyroleuuid": null, "grantedbytriggerof": "e256cae4-99d8-44f3-961a-ecbffaeb17e4"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.grant', 'c48d8054-2d60-4d82-8dc3-6eeea4c41821', 'INSERT', '{"uuid": "c48d8054-2d60-4d82-8dc3-6eeea4c41821", "assumed": true, "ascendantuuid": "e93073b3-d214-42fa-983f-da394322ea7d", "descendantuuid": "cde57d67-7a2c-47d1-8408-46bb662a97e1", "grantedbyroleuuid": null, "grantedbytriggerof": "e256cae4-99d8-44f3-961a-ecbffaeb17e4"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.role', 'dfd9ff64-fab2-4f2e-ab9a-1e72780457bc', 'INSERT', '{"uuid": "dfd9ff64-fab2-4f2e-ab9a-1e72780457bc", "roletype": "REFERRER", "objectuuid": "e256cae4-99d8-44f3-961a-ecbffaeb17e4"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.permission', 'd9a38c00-a3b0-4f6e-9353-a4b1c6d03677', 'INSERT', '{"op": "SELECT", "uuid": "d9a38c00-a3b0-4f6e-9353-a4b1c6d03677", "objectuuid": "e256cae4-99d8-44f3-961a-ecbffaeb17e4", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.grant', 'a2c571ac-91b9-4b1b-b15f-86a8dec20b4b', 'INSERT', '{"uuid": "a2c571ac-91b9-4b1b-b15f-86a8dec20b4b", "assumed": true, "ascendantuuid": "dfd9ff64-fab2-4f2e-ab9a-1e72780457bc", "descendantuuid": "d9a38c00-a3b0-4f6e-9353-a4b1c6d03677", "grantedbyroleuuid": null, "grantedbytriggerof": "e256cae4-99d8-44f3-961a-ecbffaeb17e4"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.grant', '518fb187-d950-4399-8f50-5f533e5348e5', 'INSERT', '{"uuid": "518fb187-d950-4399-8f50-5f533e5348e5", "assumed": true, "ascendantuuid": "cde57d67-7a2c-47d1-8408-46bb662a97e1", "descendantuuid": "dfd9ff64-fab2-4f2e-ab9a-1e72780457bc", "grantedbyroleuuid": null, "grantedbytriggerof": "e256cae4-99d8-44f3-961a-ecbffaeb17e4"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'hs_office.contact', 'e256cae4-99d8-44f3-961a-ecbffaeb17e4', 'INSERT', '{"uuid": "e256cae4-99d8-44f3-961a-ecbffaeb17e4", "caption": "first contact", "version": 0, "phonenumbers": {"phone_office": "+49 123 1234567"}, "postaladdress": {"country": "Germany"}, "emailaddresses": {"main": "contact-admin@firstcontact.example.com"}}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.subject', '923b54ed-8d82-4612-8be0-4db6e9e8d532', 'INSERT', '{"name": "contact-admin@secondcontact.example.com", "uuid": "923b54ed-8d82-4612-8be0-4db6e9e8d532"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.object', 'a6db17a5-0427-4e3f-96e1-606127ad6d98', 'INSERT', '{"uuid": "a6db17a5-0427-4e3f-96e1-606127ad6d98", "serialid": 33, "objecttable": "hs_office.contact"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.role', '382d0e66-a8c7-42ef-ad45-8eed2bacab6f', 'INSERT', '{"uuid": "382d0e66-a8c7-42ef-ad45-8eed2bacab6f", "roletype": "OWNER", "objectuuid": "a6db17a5-0427-4e3f-96e1-606127ad6d98"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.permission', 'f07d8d65-42cb-4c05-911e-e1fcbbe1b03a', 'INSERT', '{"op": "DELETE", "uuid": "f07d8d65-42cb-4c05-911e-e1fcbbe1b03a", "objectuuid": "a6db17a5-0427-4e3f-96e1-606127ad6d98", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.grant', '9169db44-b030-472c-bd31-fbbfbccacc22', 'INSERT', '{"uuid": "9169db44-b030-472c-bd31-fbbfbccacc22", "assumed": true, "ascendantuuid": "382d0e66-a8c7-42ef-ad45-8eed2bacab6f", "descendantuuid": "f07d8d65-42cb-4c05-911e-e1fcbbe1b03a", "grantedbyroleuuid": null, "grantedbytriggerof": "a6db17a5-0427-4e3f-96e1-606127ad6d98"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.grant', '740ce96f-1e30-42d0-9dfd-9a0e3b1295ae', 'INSERT', '{"uuid": "740ce96f-1e30-42d0-9dfd-9a0e3b1295ae", "assumed": true, "ascendantuuid": "afc6a14a-f8c7-4c17-9b91-b615833bc002", "descendantuuid": "382d0e66-a8c7-42ef-ad45-8eed2bacab6f", "grantedbyroleuuid": null, "grantedbytriggerof": "a6db17a5-0427-4e3f-96e1-606127ad6d98"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.grant', 'e4ee34a8-fe43-4187-9b55-4c877c6b38ad', 'INSERT', '{"uuid": "e4ee34a8-fe43-4187-9b55-4c877c6b38ad", "assumed": true, "ascendantuuid": "923b54ed-8d82-4612-8be0-4db6e9e8d532", "descendantuuid": "382d0e66-a8c7-42ef-ad45-8eed2bacab6f", "grantedbyroleuuid": "382d0e66-a8c7-42ef-ad45-8eed2bacab6f", "grantedbytriggerof": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.role', 'c542f563-0c30-4023-a057-9aa2d95341c8', 'INSERT', '{"uuid": "c542f563-0c30-4023-a057-9aa2d95341c8", "roletype": "ADMIN", "objectuuid": "a6db17a5-0427-4e3f-96e1-606127ad6d98"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.permission', '6d2e3006-a7df-4670-b81a-420027c8626e', 'INSERT', '{"op": "UPDATE", "uuid": "6d2e3006-a7df-4670-b81a-420027c8626e", "objectuuid": "a6db17a5-0427-4e3f-96e1-606127ad6d98", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.grant', '79a907ac-3579-4d00-be87-e016cd492424', 'INSERT', '{"uuid": "79a907ac-3579-4d00-be87-e016cd492424", "assumed": true, "ascendantuuid": "c542f563-0c30-4023-a057-9aa2d95341c8", "descendantuuid": "6d2e3006-a7df-4670-b81a-420027c8626e", "grantedbyroleuuid": null, "grantedbytriggerof": "a6db17a5-0427-4e3f-96e1-606127ad6d98"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.grant', '391e9de9-49b9-4e5c-a859-b13ca7ce38e3', 'INSERT', '{"uuid": "391e9de9-49b9-4e5c-a859-b13ca7ce38e3", "assumed": true, "ascendantuuid": "382d0e66-a8c7-42ef-ad45-8eed2bacab6f", "descendantuuid": "c542f563-0c30-4023-a057-9aa2d95341c8", "grantedbyroleuuid": null, "grantedbytriggerof": "a6db17a5-0427-4e3f-96e1-606127ad6d98"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.role', '9dcd1cf4-2293-4352-9049-0b4d28c9f1cb', 'INSERT', '{"uuid": "9dcd1cf4-2293-4352-9049-0b4d28c9f1cb", "roletype": "REFERRER", "objectuuid": "a6db17a5-0427-4e3f-96e1-606127ad6d98"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.permission', '07849131-0aa5-42a1-8a96-4e36715ffcfe', 'INSERT', '{"op": "SELECT", "uuid": "07849131-0aa5-42a1-8a96-4e36715ffcfe", "objectuuid": "a6db17a5-0427-4e3f-96e1-606127ad6d98", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.grant', '5764489f-ce1f-4d31-b391-d7d064c3c1a4', 'INSERT', '{"uuid": "5764489f-ce1f-4d31-b391-d7d064c3c1a4", "assumed": true, "ascendantuuid": "9dcd1cf4-2293-4352-9049-0b4d28c9f1cb", "descendantuuid": "07849131-0aa5-42a1-8a96-4e36715ffcfe", "grantedbyroleuuid": null, "grantedbytriggerof": "a6db17a5-0427-4e3f-96e1-606127ad6d98"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.grant', '8ed040dc-fadc-4eac-affc-e8c7ac912552', 'INSERT', '{"uuid": "8ed040dc-fadc-4eac-affc-e8c7ac912552", "assumed": true, "ascendantuuid": "c542f563-0c30-4023-a057-9aa2d95341c8", "descendantuuid": "9dcd1cf4-2293-4352-9049-0b4d28c9f1cb", "grantedbyroleuuid": null, "grantedbytriggerof": "a6db17a5-0427-4e3f-96e1-606127ad6d98"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'hs_office.contact', 'a6db17a5-0427-4e3f-96e1-606127ad6d98', 'INSERT', '{"uuid": "a6db17a5-0427-4e3f-96e1-606127ad6d98", "caption": "second contact", "version": 0, "phonenumbers": {"phone_office": "+49 123 1234567"}, "postaladdress": {"country": "Germany"}, "emailaddresses": {"main": "contact-admin@secondcontact.example.com"}}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.role', '668acd12-3446-450c-b98e-585398b353f6', 'INSERT', '{"uuid": "668acd12-3446-450c-b98e-585398b353f6", "roletype": "OWNER", "objectuuid": "ae0320f6-d268-470e-8ded-142acddb2243"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.permission', 'c4b18fe6-5a32-4818-b3c1-98068b1eba45', 'INSERT', '{"op": "DELETE", "uuid": "c4b18fe6-5a32-4818-b3c1-98068b1eba45", "objectuuid": "ae0320f6-d268-470e-8ded-142acddb2243", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.grant', '3dab90c0-bdc6-471b-b1c9-8cc586da61d3', 'INSERT', '{"uuid": "3dab90c0-bdc6-471b-b1c9-8cc586da61d3", "assumed": true, "ascendantuuid": "668acd12-3446-450c-b98e-585398b353f6", "descendantuuid": "c4b18fe6-5a32-4818-b3c1-98068b1eba45", "grantedbyroleuuid": null, "grantedbytriggerof": "ae0320f6-d268-470e-8ded-142acddb2243"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.grant', 'dba7789e-c35c-4c32-bfb4-519927844e7c', 'INSERT', '{"uuid": "dba7789e-c35c-4c32-bfb4-519927844e7c", "assumed": true, "ascendantuuid": "afc6a14a-f8c7-4c17-9b91-b615833bc002", "descendantuuid": "668acd12-3446-450c-b98e-585398b353f6", "grantedbyroleuuid": null, "grantedbytriggerof": "ae0320f6-d268-470e-8ded-142acddb2243"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.grant', '4f67c306-0a8e-4c2d-a405-120057603ad5', 'INSERT', '{"uuid": "4f67c306-0a8e-4c2d-a405-120057603ad5", "assumed": true, "ascendantuuid": "6b27f6a4-2e7f-493e-a842-8c43f48a9c45", "descendantuuid": "668acd12-3446-450c-b98e-585398b353f6", "grantedbyroleuuid": "668acd12-3446-450c-b98e-585398b353f6", "grantedbytriggerof": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.role', '02ee24dd-092c-458d-81ed-5bcd06e946d7', 'INSERT', '{"uuid": "02ee24dd-092c-458d-81ed-5bcd06e946d7", "roletype": "ADMIN", "objectuuid": "ae0320f6-d268-470e-8ded-142acddb2243"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.permission', 'cabfa94d-1cf9-4880-b304-2aea50c6b1c4', 'INSERT', '{"op": "UPDATE", "uuid": "cabfa94d-1cf9-4880-b304-2aea50c6b1c4", "objectuuid": "ae0320f6-d268-470e-8ded-142acddb2243", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.grant', 'b45ff83c-c1c6-4978-9fe2-506b57b1f6ba', 'INSERT', '{"uuid": "b45ff83c-c1c6-4978-9fe2-506b57b1f6ba", "assumed": true, "ascendantuuid": "02ee24dd-092c-458d-81ed-5bcd06e946d7", "descendantuuid": "cabfa94d-1cf9-4880-b304-2aea50c6b1c4", "grantedbyroleuuid": null, "grantedbytriggerof": "ae0320f6-d268-470e-8ded-142acddb2243"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.grant', '24e6aed8-c5b0-4c0b-8157-a5ec6d88a839', 'INSERT', '{"uuid": "24e6aed8-c5b0-4c0b-8157-a5ec6d88a839", "assumed": true, "ascendantuuid": "668acd12-3446-450c-b98e-585398b353f6", "descendantuuid": "02ee24dd-092c-458d-81ed-5bcd06e946d7", "grantedbyroleuuid": null, "grantedbytriggerof": "ae0320f6-d268-470e-8ded-142acddb2243"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.role', '9b03c48b-38e5-42e7-97b1-83841034180d', 'INSERT', '{"uuid": "9b03c48b-38e5-42e7-97b1-83841034180d", "roletype": "REFERRER", "objectuuid": "ae0320f6-d268-470e-8ded-142acddb2243"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.permission', 'ded51145-aa1b-4bb8-9a90-22c7d274af9e', 'INSERT', '{"op": "SELECT", "uuid": "ded51145-aa1b-4bb8-9a90-22c7d274af9e", "objectuuid": "ae0320f6-d268-470e-8ded-142acddb2243", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.grant', 'fa7c9944-4880-455c-9b9a-aa04b75a697c', 'INSERT', '{"uuid": "fa7c9944-4880-455c-9b9a-aa04b75a697c", "assumed": true, "ascendantuuid": "9b03c48b-38e5-42e7-97b1-83841034180d", "descendantuuid": "ded51145-aa1b-4bb8-9a90-22c7d274af9e", "grantedbyroleuuid": null, "grantedbytriggerof": "ae0320f6-d268-470e-8ded-142acddb2243"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.grant', 'ffb41a48-9fc7-45ae-9e02-8ee819b975ee', 'INSERT', '{"uuid": "ffb41a48-9fc7-45ae-9e02-8ee819b975ee", "assumed": true, "ascendantuuid": "02ee24dd-092c-458d-81ed-5bcd06e946d7", "descendantuuid": "9b03c48b-38e5-42e7-97b1-83841034180d", "grantedbyroleuuid": null, "grantedbytriggerof": "ae0320f6-d268-470e-8ded-142acddb2243"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'hs_office.contact', 'ae0320f6-d268-470e-8ded-142acddb2243', 'INSERT', '{"uuid": "ae0320f6-d268-470e-8ded-142acddb2243", "caption": "third contact", "version": 0, "phonenumbers": {"phone_office": "+49 123 1234567"}, "postaladdress": {"country": "Germany"}, "emailaddresses": {"main": "contact-admin@thirdcontact.example.com"}}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.subject', '7879309d-c155-4d8c-9dcd-d4eacf27bc08', 'INSERT', '{"name": "contact-admin@fourthcontact.example.com", "uuid": "7879309d-c155-4d8c-9dcd-d4eacf27bc08"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.object', '1649730d-2c49-40e2-9000-7615a085477c', 'INSERT', '{"uuid": "1649730d-2c49-40e2-9000-7615a085477c", "serialid": 35, "objecttable": "hs_office.contact"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.role', 'd2c8882e-1bbb-41c2-b23a-a83fec8d90a5', 'INSERT', '{"uuid": "d2c8882e-1bbb-41c2-b23a-a83fec8d90a5", "roletype": "OWNER", "objectuuid": "1649730d-2c49-40e2-9000-7615a085477c"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.permission', '5391d28d-1734-4a8d-8dc0-d122fd748624', 'INSERT', '{"op": "DELETE", "uuid": "5391d28d-1734-4a8d-8dc0-d122fd748624", "objectuuid": "1649730d-2c49-40e2-9000-7615a085477c", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.grant', '8336f035-50a9-4671-9356-70d0efecad8e', 'INSERT', '{"uuid": "8336f035-50a9-4671-9356-70d0efecad8e", "assumed": true, "ascendantuuid": "d2c8882e-1bbb-41c2-b23a-a83fec8d90a5", "descendantuuid": "5391d28d-1734-4a8d-8dc0-d122fd748624", "grantedbyroleuuid": null, "grantedbytriggerof": "1649730d-2c49-40e2-9000-7615a085477c"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.grant', '57530c19-2d13-48c4-b09c-9b850e726294', 'INSERT', '{"uuid": "57530c19-2d13-48c4-b09c-9b850e726294", "assumed": true, "ascendantuuid": "afc6a14a-f8c7-4c17-9b91-b615833bc002", "descendantuuid": "d2c8882e-1bbb-41c2-b23a-a83fec8d90a5", "grantedbyroleuuid": null, "grantedbytriggerof": "1649730d-2c49-40e2-9000-7615a085477c"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.grant', 'd0510ec1-2583-4f16-b016-e054074b955e', 'INSERT', '{"uuid": "d0510ec1-2583-4f16-b016-e054074b955e", "assumed": true, "ascendantuuid": "7879309d-c155-4d8c-9dcd-d4eacf27bc08", "descendantuuid": "d2c8882e-1bbb-41c2-b23a-a83fec8d90a5", "grantedbyroleuuid": "d2c8882e-1bbb-41c2-b23a-a83fec8d90a5", "grantedbytriggerof": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.role', 'b4fc3672-18fa-4f25-aa48-e7a91d73902b', 'INSERT', '{"uuid": "b4fc3672-18fa-4f25-aa48-e7a91d73902b", "roletype": "ADMIN", "objectuuid": "1649730d-2c49-40e2-9000-7615a085477c"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.permission', 'a4bc590a-4be9-4c0f-862a-4780478f87bb', 'INSERT', '{"op": "UPDATE", "uuid": "a4bc590a-4be9-4c0f-862a-4780478f87bb", "objectuuid": "1649730d-2c49-40e2-9000-7615a085477c", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.grant', 'cd63a3d2-0d7b-4eaf-9e56-967b084d7743', 'INSERT', '{"uuid": "cd63a3d2-0d7b-4eaf-9e56-967b084d7743", "assumed": true, "ascendantuuid": "b4fc3672-18fa-4f25-aa48-e7a91d73902b", "descendantuuid": "a4bc590a-4be9-4c0f-862a-4780478f87bb", "grantedbyroleuuid": null, "grantedbytriggerof": "1649730d-2c49-40e2-9000-7615a085477c"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.grant', 'aa5f9ff0-fe73-4dd5-bcd6-ef802646e792', 'INSERT', '{"uuid": "aa5f9ff0-fe73-4dd5-bcd6-ef802646e792", "assumed": true, "ascendantuuid": "d2c8882e-1bbb-41c2-b23a-a83fec8d90a5", "descendantuuid": "b4fc3672-18fa-4f25-aa48-e7a91d73902b", "grantedbyroleuuid": null, "grantedbytriggerof": "1649730d-2c49-40e2-9000-7615a085477c"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.role', '19a6e99d-d08c-447d-8fae-d9ba39e5bcba', 'INSERT', '{"uuid": "19a6e99d-d08c-447d-8fae-d9ba39e5bcba", "roletype": "REFERRER", "objectuuid": "1649730d-2c49-40e2-9000-7615a085477c"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.permission', '9ca15a97-5677-4362-bcbb-857ea36142e2', 'INSERT', '{"op": "SELECT", "uuid": "9ca15a97-5677-4362-bcbb-857ea36142e2", "objectuuid": "1649730d-2c49-40e2-9000-7615a085477c", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.grant', '9ba258c3-39c5-4676-bf02-c3544bb1079d', 'INSERT', '{"uuid": "9ba258c3-39c5-4676-bf02-c3544bb1079d", "assumed": true, "ascendantuuid": "19a6e99d-d08c-447d-8fae-d9ba39e5bcba", "descendantuuid": "9ca15a97-5677-4362-bcbb-857ea36142e2", "grantedbyroleuuid": null, "grantedbytriggerof": "1649730d-2c49-40e2-9000-7615a085477c"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.grant', '010778c6-c218-4fff-aa11-585ea7df871e', 'INSERT', '{"uuid": "010778c6-c218-4fff-aa11-585ea7df871e", "assumed": true, "ascendantuuid": "b4fc3672-18fa-4f25-aa48-e7a91d73902b", "descendantuuid": "19a6e99d-d08c-447d-8fae-d9ba39e5bcba", "grantedbyroleuuid": null, "grantedbytriggerof": "1649730d-2c49-40e2-9000-7615a085477c"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'hs_office.contact', '1649730d-2c49-40e2-9000-7615a085477c', 'INSERT', '{"uuid": "1649730d-2c49-40e2-9000-7615a085477c", "caption": "fourth contact", "version": 0, "phonenumbers": {"phone_office": "+49 123 1234567"}, "postaladdress": {"country": "Germany"}, "emailaddresses": {"main": "contact-admin@fourthcontact.example.com"}}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.subject', '6bdaac0d-742f-44d0-a713-d1dcd4c86049', 'INSERT', '{"name": "contact-admin@fifthcontact.example.com", "uuid": "6bdaac0d-742f-44d0-a713-d1dcd4c86049"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.object', 'beda1946-685d-45a4-ad22-fd6842e14b54', 'INSERT', '{"uuid": "beda1946-685d-45a4-ad22-fd6842e14b54", "serialid": 36, "objecttable": "hs_office.contact"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.role', '05064d0d-0c3a-4691-af64-f011accc8f7e', 'INSERT', '{"uuid": "05064d0d-0c3a-4691-af64-f011accc8f7e", "roletype": "OWNER", "objectuuid": "beda1946-685d-45a4-ad22-fd6842e14b54"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.permission', 'a2a465dd-0284-4840-986b-c2237cd1bb5c', 'INSERT', '{"op": "DELETE", "uuid": "a2a465dd-0284-4840-986b-c2237cd1bb5c", "objectuuid": "beda1946-685d-45a4-ad22-fd6842e14b54", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.grant', '181a7597-621f-4bdb-aee0-fea0ae30103a', 'INSERT', '{"uuid": "181a7597-621f-4bdb-aee0-fea0ae30103a", "assumed": true, "ascendantuuid": "05064d0d-0c3a-4691-af64-f011accc8f7e", "descendantuuid": "a2a465dd-0284-4840-986b-c2237cd1bb5c", "grantedbyroleuuid": null, "grantedbytriggerof": "beda1946-685d-45a4-ad22-fd6842e14b54"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.grant', 'e233a1b5-d131-47ca-b58a-79fa9a56beaa', 'INSERT', '{"uuid": "e233a1b5-d131-47ca-b58a-79fa9a56beaa", "assumed": true, "ascendantuuid": "afc6a14a-f8c7-4c17-9b91-b615833bc002", "descendantuuid": "05064d0d-0c3a-4691-af64-f011accc8f7e", "grantedbyroleuuid": null, "grantedbytriggerof": "beda1946-685d-45a4-ad22-fd6842e14b54"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.grant', 'c6040de2-7b3b-424a-aa10-264511ceda40', 'INSERT', '{"uuid": "c6040de2-7b3b-424a-aa10-264511ceda40", "assumed": true, "ascendantuuid": "6bdaac0d-742f-44d0-a713-d1dcd4c86049", "descendantuuid": "05064d0d-0c3a-4691-af64-f011accc8f7e", "grantedbyroleuuid": "05064d0d-0c3a-4691-af64-f011accc8f7e", "grantedbytriggerof": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.role', '6af67ae0-05b5-40bd-aabd-50683bde22d3', 'INSERT', '{"uuid": "6af67ae0-05b5-40bd-aabd-50683bde22d3", "roletype": "ADMIN", "objectuuid": "beda1946-685d-45a4-ad22-fd6842e14b54"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.permission', '71d72963-9ab5-43c2-996b-8c6b53904b79', 'INSERT', '{"op": "UPDATE", "uuid": "71d72963-9ab5-43c2-996b-8c6b53904b79", "objectuuid": "beda1946-685d-45a4-ad22-fd6842e14b54", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.grant', '93e1e6b5-76c0-454b-b0b9-a39e6d6fbc93', 'INSERT', '{"uuid": "93e1e6b5-76c0-454b-b0b9-a39e6d6fbc93", "assumed": true, "ascendantuuid": "6af67ae0-05b5-40bd-aabd-50683bde22d3", "descendantuuid": "71d72963-9ab5-43c2-996b-8c6b53904b79", "grantedbyroleuuid": null, "grantedbytriggerof": "beda1946-685d-45a4-ad22-fd6842e14b54"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.grant', 'c73db288-3c79-4b20-bef2-816b6cad10c6', 'INSERT', '{"uuid": "c73db288-3c79-4b20-bef2-816b6cad10c6", "assumed": true, "ascendantuuid": "05064d0d-0c3a-4691-af64-f011accc8f7e", "descendantuuid": "6af67ae0-05b5-40bd-aabd-50683bde22d3", "grantedbyroleuuid": null, "grantedbytriggerof": "beda1946-685d-45a4-ad22-fd6842e14b54"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.role', '4372bb52-6554-4796-9625-36f48ad650d1', 'INSERT', '{"uuid": "4372bb52-6554-4796-9625-36f48ad650d1", "roletype": "REFERRER", "objectuuid": "beda1946-685d-45a4-ad22-fd6842e14b54"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.permission', 'df3b0e5e-1488-45eb-8c46-75b5d065765b', 'INSERT', '{"op": "SELECT", "uuid": "df3b0e5e-1488-45eb-8c46-75b5d065765b", "objectuuid": "beda1946-685d-45a4-ad22-fd6842e14b54", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.grant', 'a25178f0-13b4-44fa-928d-39db6ec7b634', 'INSERT', '{"uuid": "a25178f0-13b4-44fa-928d-39db6ec7b634", "assumed": true, "ascendantuuid": "4372bb52-6554-4796-9625-36f48ad650d1", "descendantuuid": "df3b0e5e-1488-45eb-8c46-75b5d065765b", "grantedbyroleuuid": null, "grantedbytriggerof": "beda1946-685d-45a4-ad22-fd6842e14b54"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.grant', '9370840f-4c08-4e2d-bf93-f008f6e675a8', 'INSERT', '{"uuid": "9370840f-4c08-4e2d-bf93-f008f6e675a8", "assumed": true, "ascendantuuid": "6af67ae0-05b5-40bd-aabd-50683bde22d3", "descendantuuid": "4372bb52-6554-4796-9625-36f48ad650d1", "grantedbyroleuuid": null, "grantedbytriggerof": "beda1946-685d-45a4-ad22-fd6842e14b54"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'hs_office.contact', 'beda1946-685d-45a4-ad22-fd6842e14b54', 'INSERT', '{"uuid": "beda1946-685d-45a4-ad22-fd6842e14b54", "caption": "fifth contact", "version": 0, "phonenumbers": {"phone_office": "+49 123 1234567"}, "postaladdress": {"country": "Germany"}, "emailaddresses": {"main": "contact-admin@fifthcontact.example.com"}}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.subject', '179421ab-cd83-42f9-8c66-062cf854a174', 'INSERT', '{"name": "contact-admin@sixthcontact.example.com", "uuid": "179421ab-cd83-42f9-8c66-062cf854a174"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.object', '6cdd8a31-27b3-4b0e-8297-67794b74cd5c', 'INSERT', '{"uuid": "6cdd8a31-27b3-4b0e-8297-67794b74cd5c", "serialid": 37, "objecttable": "hs_office.contact"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.role', '26bb0412-5199-4cd9-8536-334b7d530c6e', 'INSERT', '{"uuid": "26bb0412-5199-4cd9-8536-334b7d530c6e", "roletype": "OWNER", "objectuuid": "6cdd8a31-27b3-4b0e-8297-67794b74cd5c"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.permission', '968bac14-e972-4278-8553-325c9287c0f2', 'INSERT', '{"op": "DELETE", "uuid": "968bac14-e972-4278-8553-325c9287c0f2", "objectuuid": "6cdd8a31-27b3-4b0e-8297-67794b74cd5c", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.grant', 'd3318636-3d14-4708-95ae-9b41ba9b96cc', 'INSERT', '{"uuid": "d3318636-3d14-4708-95ae-9b41ba9b96cc", "assumed": true, "ascendantuuid": "26bb0412-5199-4cd9-8536-334b7d530c6e", "descendantuuid": "968bac14-e972-4278-8553-325c9287c0f2", "grantedbyroleuuid": null, "grantedbytriggerof": "6cdd8a31-27b3-4b0e-8297-67794b74cd5c"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.grant', '38a7ecc3-09e7-4f61-8fba-6d284f79608b', 'INSERT', '{"uuid": "38a7ecc3-09e7-4f61-8fba-6d284f79608b", "assumed": true, "ascendantuuid": "afc6a14a-f8c7-4c17-9b91-b615833bc002", "descendantuuid": "26bb0412-5199-4cd9-8536-334b7d530c6e", "grantedbyroleuuid": null, "grantedbytriggerof": "6cdd8a31-27b3-4b0e-8297-67794b74cd5c"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.grant', 'c39e2e9c-b259-4e67-a958-ad5eb782e1dd', 'INSERT', '{"uuid": "c39e2e9c-b259-4e67-a958-ad5eb782e1dd", "assumed": true, "ascendantuuid": "179421ab-cd83-42f9-8c66-062cf854a174", "descendantuuid": "26bb0412-5199-4cd9-8536-334b7d530c6e", "grantedbyroleuuid": "26bb0412-5199-4cd9-8536-334b7d530c6e", "grantedbytriggerof": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.role', 'c9a6bfde-87e6-47bd-bee8-49d7c3f46b08', 'INSERT', '{"uuid": "c9a6bfde-87e6-47bd-bee8-49d7c3f46b08", "roletype": "ADMIN", "objectuuid": "6cdd8a31-27b3-4b0e-8297-67794b74cd5c"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.permission', '58f6066c-61f5-470a-bf6d-1caca87ec950', 'INSERT', '{"op": "UPDATE", "uuid": "58f6066c-61f5-470a-bf6d-1caca87ec950", "objectuuid": "6cdd8a31-27b3-4b0e-8297-67794b74cd5c", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.grant', 'd04135bf-f03e-4f50-834d-3a58fa24c3f5', 'INSERT', '{"uuid": "d04135bf-f03e-4f50-834d-3a58fa24c3f5", "assumed": true, "ascendantuuid": "c9a6bfde-87e6-47bd-bee8-49d7c3f46b08", "descendantuuid": "58f6066c-61f5-470a-bf6d-1caca87ec950", "grantedbyroleuuid": null, "grantedbytriggerof": "6cdd8a31-27b3-4b0e-8297-67794b74cd5c"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.grant', '419229c3-c93d-41e5-8d59-6bcae7c3b9c1', 'INSERT', '{"uuid": "419229c3-c93d-41e5-8d59-6bcae7c3b9c1", "assumed": true, "ascendantuuid": "26bb0412-5199-4cd9-8536-334b7d530c6e", "descendantuuid": "c9a6bfde-87e6-47bd-bee8-49d7c3f46b08", "grantedbyroleuuid": null, "grantedbytriggerof": "6cdd8a31-27b3-4b0e-8297-67794b74cd5c"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.role', '90cd8d25-ed92-4fba-ae4a-0d3fa9ade2e2', 'INSERT', '{"uuid": "90cd8d25-ed92-4fba-ae4a-0d3fa9ade2e2", "roletype": "REFERRER", "objectuuid": "6cdd8a31-27b3-4b0e-8297-67794b74cd5c"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.permission', '59307614-cf25-4bce-a739-128357d00fb3', 'INSERT', '{"op": "SELECT", "uuid": "59307614-cf25-4bce-a739-128357d00fb3", "objectuuid": "6cdd8a31-27b3-4b0e-8297-67794b74cd5c", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.grant', '456ffa10-2881-4f3a-85aa-f5037bf48d7f', 'INSERT', '{"uuid": "456ffa10-2881-4f3a-85aa-f5037bf48d7f", "assumed": true, "ascendantuuid": "90cd8d25-ed92-4fba-ae4a-0d3fa9ade2e2", "descendantuuid": "59307614-cf25-4bce-a739-128357d00fb3", "grantedbyroleuuid": null, "grantedbytriggerof": "6cdd8a31-27b3-4b0e-8297-67794b74cd5c"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.grant', 'e06469c0-7b96-42f0-b600-95ca23e1d4f6', 'INSERT', '{"uuid": "e06469c0-7b96-42f0-b600-95ca23e1d4f6", "assumed": true, "ascendantuuid": "c9a6bfde-87e6-47bd-bee8-49d7c3f46b08", "descendantuuid": "90cd8d25-ed92-4fba-ae4a-0d3fa9ade2e2", "grantedbyroleuuid": null, "grantedbytriggerof": "6cdd8a31-27b3-4b0e-8297-67794b74cd5c"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'hs_office.contact', '6cdd8a31-27b3-4b0e-8297-67794b74cd5c', 'INSERT', '{"uuid": "6cdd8a31-27b3-4b0e-8297-67794b74cd5c", "caption": "sixth contact", "version": 0, "phonenumbers": {"phone_office": "+49 123 1234567"}, "postaladdress": {"country": "Germany"}, "emailaddresses": {"main": "contact-admin@sixthcontact.example.com"}}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.subject', 'aa06fc04-c789-432c-b257-5de1371a53ff', 'INSERT', '{"name": "contact-admin@seventhcontact.example.com", "uuid": "aa06fc04-c789-432c-b257-5de1371a53ff"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.object', '5336a6e7-2f9a-4f73-8385-04ac89c46f5e', 'INSERT', '{"uuid": "5336a6e7-2f9a-4f73-8385-04ac89c46f5e", "serialid": 38, "objecttable": "hs_office.contact"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.role', '55b3cfee-626d-48e5-8edf-76c71ff31135', 'INSERT', '{"uuid": "55b3cfee-626d-48e5-8edf-76c71ff31135", "roletype": "OWNER", "objectuuid": "5336a6e7-2f9a-4f73-8385-04ac89c46f5e"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.permission', 'ebf15e28-1fab-461e-a4d7-95ec44eeaf05', 'INSERT', '{"op": "DELETE", "uuid": "ebf15e28-1fab-461e-a4d7-95ec44eeaf05", "objectuuid": "5336a6e7-2f9a-4f73-8385-04ac89c46f5e", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.grant', '15359990-b5e5-40aa-bcca-aad5a8b8b843', 'INSERT', '{"uuid": "15359990-b5e5-40aa-bcca-aad5a8b8b843", "assumed": true, "ascendantuuid": "55b3cfee-626d-48e5-8edf-76c71ff31135", "descendantuuid": "ebf15e28-1fab-461e-a4d7-95ec44eeaf05", "grantedbyroleuuid": null, "grantedbytriggerof": "5336a6e7-2f9a-4f73-8385-04ac89c46f5e"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.grant', '3eb49348-9686-4fd3-938a-0c9cf27b9dcb', 'INSERT', '{"uuid": "3eb49348-9686-4fd3-938a-0c9cf27b9dcb", "assumed": true, "ascendantuuid": "afc6a14a-f8c7-4c17-9b91-b615833bc002", "descendantuuid": "55b3cfee-626d-48e5-8edf-76c71ff31135", "grantedbyroleuuid": null, "grantedbytriggerof": "5336a6e7-2f9a-4f73-8385-04ac89c46f5e"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.grant', 'b6698fe7-04d9-4a06-9532-012e4a64970e', 'INSERT', '{"uuid": "b6698fe7-04d9-4a06-9532-012e4a64970e", "assumed": true, "ascendantuuid": "aa06fc04-c789-432c-b257-5de1371a53ff", "descendantuuid": "55b3cfee-626d-48e5-8edf-76c71ff31135", "grantedbyroleuuid": "55b3cfee-626d-48e5-8edf-76c71ff31135", "grantedbytriggerof": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.role', 'ec5a8ce9-2c27-4bca-8274-4d59a0a4f4f4', 'INSERT', '{"uuid": "ec5a8ce9-2c27-4bca-8274-4d59a0a4f4f4", "roletype": "ADMIN", "objectuuid": "5336a6e7-2f9a-4f73-8385-04ac89c46f5e"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.permission', '4411d45c-358e-4b93-8923-917df409afbd', 'INSERT', '{"op": "UPDATE", "uuid": "4411d45c-358e-4b93-8923-917df409afbd", "objectuuid": "5336a6e7-2f9a-4f73-8385-04ac89c46f5e", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.grant', '8eefaf27-ee03-4d04-8351-5952fd621caa', 'INSERT', '{"uuid": "8eefaf27-ee03-4d04-8351-5952fd621caa", "assumed": true, "ascendantuuid": "ec5a8ce9-2c27-4bca-8274-4d59a0a4f4f4", "descendantuuid": "4411d45c-358e-4b93-8923-917df409afbd", "grantedbyroleuuid": null, "grantedbytriggerof": "5336a6e7-2f9a-4f73-8385-04ac89c46f5e"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.grant', '8a357d96-80cf-47b1-8eae-b9414234b435', 'INSERT', '{"uuid": "8a357d96-80cf-47b1-8eae-b9414234b435", "assumed": true, "ascendantuuid": "55b3cfee-626d-48e5-8edf-76c71ff31135", "descendantuuid": "ec5a8ce9-2c27-4bca-8274-4d59a0a4f4f4", "grantedbyroleuuid": null, "grantedbytriggerof": "5336a6e7-2f9a-4f73-8385-04ac89c46f5e"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.role', 'e630875c-03be-4f53-ad70-45687b1e8567', 'INSERT', '{"uuid": "e630875c-03be-4f53-ad70-45687b1e8567", "roletype": "REFERRER", "objectuuid": "5336a6e7-2f9a-4f73-8385-04ac89c46f5e"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.permission', '58f504e7-6122-4118-90ca-16726525820c', 'INSERT', '{"op": "SELECT", "uuid": "58f504e7-6122-4118-90ca-16726525820c", "objectuuid": "5336a6e7-2f9a-4f73-8385-04ac89c46f5e", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.grant', 'd531c6fc-dcac-4033-a5b0-e4e70b8e8d87', 'INSERT', '{"uuid": "d531c6fc-dcac-4033-a5b0-e4e70b8e8d87", "assumed": true, "ascendantuuid": "e630875c-03be-4f53-ad70-45687b1e8567", "descendantuuid": "58f504e7-6122-4118-90ca-16726525820c", "grantedbyroleuuid": null, "grantedbytriggerof": "5336a6e7-2f9a-4f73-8385-04ac89c46f5e"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.grant', '5b00c377-b17c-4094-a843-c05b0e81e989', 'INSERT', '{"uuid": "5b00c377-b17c-4094-a843-c05b0e81e989", "assumed": true, "ascendantuuid": "ec5a8ce9-2c27-4bca-8274-4d59a0a4f4f4", "descendantuuid": "e630875c-03be-4f53-ad70-45687b1e8567", "grantedbyroleuuid": null, "grantedbytriggerof": "5336a6e7-2f9a-4f73-8385-04ac89c46f5e"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'hs_office.contact', '5336a6e7-2f9a-4f73-8385-04ac89c46f5e', 'INSERT', '{"uuid": "5336a6e7-2f9a-4f73-8385-04ac89c46f5e", "caption": "seventh contact", "version": 0, "phonenumbers": {"phone_office": "+49 123 1234567"}, "postaladdress": {"country": "Germany"}, "emailaddresses": {"main": "contact-admin@seventhcontact.example.com"}}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.subject', 'c1c9dc75-a3ac-448f-a9a0-bfbc9a35b806', 'INSERT', '{"name": "contact-admin@eighthcontact.example.com", "uuid": "c1c9dc75-a3ac-448f-a9a0-bfbc9a35b806"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.object', '0fc7fedf-6a52-462e-85bb-689f4b2a8d2d', 'INSERT', '{"uuid": "0fc7fedf-6a52-462e-85bb-689f4b2a8d2d", "serialid": 39, "objecttable": "hs_office.contact"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.role', '3cea3e2a-cb3a-4036-87fd-9b13abafcd42', 'INSERT', '{"uuid": "3cea3e2a-cb3a-4036-87fd-9b13abafcd42", "roletype": "OWNER", "objectuuid": "0fc7fedf-6a52-462e-85bb-689f4b2a8d2d"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.permission', '899f7de8-415a-425b-8f6f-0e254f2fff25', 'INSERT', '{"op": "DELETE", "uuid": "899f7de8-415a-425b-8f6f-0e254f2fff25", "objectuuid": "0fc7fedf-6a52-462e-85bb-689f4b2a8d2d", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.grant', 'b3bc5c1e-a29d-4177-b30c-31c332dde78d', 'INSERT', '{"uuid": "b3bc5c1e-a29d-4177-b30c-31c332dde78d", "assumed": true, "ascendantuuid": "3cea3e2a-cb3a-4036-87fd-9b13abafcd42", "descendantuuid": "899f7de8-415a-425b-8f6f-0e254f2fff25", "grantedbyroleuuid": null, "grantedbytriggerof": "0fc7fedf-6a52-462e-85bb-689f4b2a8d2d"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.grant', '2f5f357f-d1a4-446a-849b-5348e2823b27', 'INSERT', '{"uuid": "2f5f357f-d1a4-446a-849b-5348e2823b27", "assumed": true, "ascendantuuid": "afc6a14a-f8c7-4c17-9b91-b615833bc002", "descendantuuid": "3cea3e2a-cb3a-4036-87fd-9b13abafcd42", "grantedbyroleuuid": null, "grantedbytriggerof": "0fc7fedf-6a52-462e-85bb-689f4b2a8d2d"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.grant', '0db0c7dc-6335-4ed2-95eb-cf09d559e93d', 'INSERT', '{"uuid": "0db0c7dc-6335-4ed2-95eb-cf09d559e93d", "assumed": true, "ascendantuuid": "c1c9dc75-a3ac-448f-a9a0-bfbc9a35b806", "descendantuuid": "3cea3e2a-cb3a-4036-87fd-9b13abafcd42", "grantedbyroleuuid": "3cea3e2a-cb3a-4036-87fd-9b13abafcd42", "grantedbytriggerof": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.role', 'c0a22860-2436-489d-95f5-d4876c9db692', 'INSERT', '{"uuid": "c0a22860-2436-489d-95f5-d4876c9db692", "roletype": "ADMIN", "objectuuid": "0fc7fedf-6a52-462e-85bb-689f4b2a8d2d"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.permission', '89a6eb87-3cd6-442d-8870-ee4a1febe2fe', 'INSERT', '{"op": "UPDATE", "uuid": "89a6eb87-3cd6-442d-8870-ee4a1febe2fe", "objectuuid": "0fc7fedf-6a52-462e-85bb-689f4b2a8d2d", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.grant', 'e45b824e-3c47-459b-a57f-6398fd338dd5', 'INSERT', '{"uuid": "e45b824e-3c47-459b-a57f-6398fd338dd5", "assumed": true, "ascendantuuid": "c0a22860-2436-489d-95f5-d4876c9db692", "descendantuuid": "89a6eb87-3cd6-442d-8870-ee4a1febe2fe", "grantedbyroleuuid": null, "grantedbytriggerof": "0fc7fedf-6a52-462e-85bb-689f4b2a8d2d"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.grant', 'a456122d-72c7-42b0-b8f4-7dbe4d0a28ec', 'INSERT', '{"uuid": "a456122d-72c7-42b0-b8f4-7dbe4d0a28ec", "assumed": true, "ascendantuuid": "3cea3e2a-cb3a-4036-87fd-9b13abafcd42", "descendantuuid": "c0a22860-2436-489d-95f5-d4876c9db692", "grantedbyroleuuid": null, "grantedbytriggerof": "0fc7fedf-6a52-462e-85bb-689f4b2a8d2d"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.role', '8adf733a-de6b-4896-afc6-22d594ab07cb', 'INSERT', '{"uuid": "8adf733a-de6b-4896-afc6-22d594ab07cb", "roletype": "REFERRER", "objectuuid": "0fc7fedf-6a52-462e-85bb-689f4b2a8d2d"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.permission', '88925521-a4b8-4893-954d-1183392463aa', 'INSERT', '{"op": "SELECT", "uuid": "88925521-a4b8-4893-954d-1183392463aa", "objectuuid": "0fc7fedf-6a52-462e-85bb-689f4b2a8d2d", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.grant', '4a30d5aa-3524-4951-85ca-f34c3d576918', 'INSERT', '{"uuid": "4a30d5aa-3524-4951-85ca-f34c3d576918", "assumed": true, "ascendantuuid": "8adf733a-de6b-4896-afc6-22d594ab07cb", "descendantuuid": "88925521-a4b8-4893-954d-1183392463aa", "grantedbyroleuuid": null, "grantedbytriggerof": "0fc7fedf-6a52-462e-85bb-689f4b2a8d2d"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.grant', 'ba671f41-1164-4ac3-95a8-c4bd3deb9843', 'INSERT', '{"uuid": "ba671f41-1164-4ac3-95a8-c4bd3deb9843", "assumed": true, "ascendantuuid": "c0a22860-2436-489d-95f5-d4876c9db692", "descendantuuid": "8adf733a-de6b-4896-afc6-22d594ab07cb", "grantedbyroleuuid": null, "grantedbytriggerof": "0fc7fedf-6a52-462e-85bb-689f4b2a8d2d"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'hs_office.contact', '0fc7fedf-6a52-462e-85bb-689f4b2a8d2d', 'INSERT', '{"uuid": "0fc7fedf-6a52-462e-85bb-689f4b2a8d2d", "caption": "eighth contact", "version": 0, "phonenumbers": {"phone_office": "+49 123 1234567"}, "postaladdress": {"country": "Germany"}, "emailaddresses": {"main": "contact-admin@eighthcontact.example.com"}}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.subject', 'c517afa2-4320-4612-b688-97863b263661', 'INSERT', '{"name": "contact-admin@ninthcontact.example.com", "uuid": "c517afa2-4320-4612-b688-97863b263661"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.object', 'fdf97406-0693-48dc-8bfe-185045a90437', 'INSERT', '{"uuid": "fdf97406-0693-48dc-8bfe-185045a90437", "serialid": 40, "objecttable": "hs_office.contact"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.role', '873ab1c2-55f1-4df4-910e-79fd1e1381ea', 'INSERT', '{"uuid": "873ab1c2-55f1-4df4-910e-79fd1e1381ea", "roletype": "OWNER", "objectuuid": "fdf97406-0693-48dc-8bfe-185045a90437"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.permission', '7780ce1c-74cd-4062-9c31-8ca350e72bbc', 'INSERT', '{"op": "DELETE", "uuid": "7780ce1c-74cd-4062-9c31-8ca350e72bbc", "objectuuid": "fdf97406-0693-48dc-8bfe-185045a90437", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.grant', 'bc3f9908-07af-4bcc-8984-e4543bffc924', 'INSERT', '{"uuid": "bc3f9908-07af-4bcc-8984-e4543bffc924", "assumed": true, "ascendantuuid": "873ab1c2-55f1-4df4-910e-79fd1e1381ea", "descendantuuid": "7780ce1c-74cd-4062-9c31-8ca350e72bbc", "grantedbyroleuuid": null, "grantedbytriggerof": "fdf97406-0693-48dc-8bfe-185045a90437"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.grant', '5297177d-eb89-4a39-8ddd-34de9161ea0b', 'INSERT', '{"uuid": "5297177d-eb89-4a39-8ddd-34de9161ea0b", "assumed": true, "ascendantuuid": "afc6a14a-f8c7-4c17-9b91-b615833bc002", "descendantuuid": "873ab1c2-55f1-4df4-910e-79fd1e1381ea", "grantedbyroleuuid": null, "grantedbytriggerof": "fdf97406-0693-48dc-8bfe-185045a90437"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.grant', '3afc1e76-4690-421a-b437-189c4be8ffb2', 'INSERT', '{"uuid": "3afc1e76-4690-421a-b437-189c4be8ffb2", "assumed": true, "ascendantuuid": "c517afa2-4320-4612-b688-97863b263661", "descendantuuid": "873ab1c2-55f1-4df4-910e-79fd1e1381ea", "grantedbyroleuuid": "873ab1c2-55f1-4df4-910e-79fd1e1381ea", "grantedbytriggerof": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.role', '1c3b60ad-277b-4442-a7bb-a142d197f5ed', 'INSERT', '{"uuid": "1c3b60ad-277b-4442-a7bb-a142d197f5ed", "roletype": "ADMIN", "objectuuid": "fdf97406-0693-48dc-8bfe-185045a90437"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.permission', '2c4784a4-f03a-4815-bec4-fa353a0fb781', 'INSERT', '{"op": "UPDATE", "uuid": "2c4784a4-f03a-4815-bec4-fa353a0fb781", "objectuuid": "fdf97406-0693-48dc-8bfe-185045a90437", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.grant', '1111e208-c25e-4642-8796-a430dbf44ebd', 'INSERT', '{"uuid": "1111e208-c25e-4642-8796-a430dbf44ebd", "assumed": true, "ascendantuuid": "1c3b60ad-277b-4442-a7bb-a142d197f5ed", "descendantuuid": "2c4784a4-f03a-4815-bec4-fa353a0fb781", "grantedbyroleuuid": null, "grantedbytriggerof": "fdf97406-0693-48dc-8bfe-185045a90437"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.grant', '3a8bf2cf-0b4d-4545-8ef9-140c5f106227', 'INSERT', '{"uuid": "3a8bf2cf-0b4d-4545-8ef9-140c5f106227", "assumed": true, "ascendantuuid": "873ab1c2-55f1-4df4-910e-79fd1e1381ea", "descendantuuid": "1c3b60ad-277b-4442-a7bb-a142d197f5ed", "grantedbyroleuuid": null, "grantedbytriggerof": "fdf97406-0693-48dc-8bfe-185045a90437"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.role', '31a7c342-90e0-4bd0-8e16-67a3fe705ea9', 'INSERT', '{"uuid": "31a7c342-90e0-4bd0-8e16-67a3fe705ea9", "roletype": "REFERRER", "objectuuid": "fdf97406-0693-48dc-8bfe-185045a90437"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.permission', '5e028ef1-9fd8-41fd-b3f4-82c16d106259', 'INSERT', '{"op": "SELECT", "uuid": "5e028ef1-9fd8-41fd-b3f4-82c16d106259", "objectuuid": "fdf97406-0693-48dc-8bfe-185045a90437", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.grant', 'a4a8ed58-8658-4a4e-aafe-a430796c91e9', 'INSERT', '{"uuid": "a4a8ed58-8658-4a4e-aafe-a430796c91e9", "assumed": true, "ascendantuuid": "31a7c342-90e0-4bd0-8e16-67a3fe705ea9", "descendantuuid": "5e028ef1-9fd8-41fd-b3f4-82c16d106259", "grantedbyroleuuid": null, "grantedbytriggerof": "fdf97406-0693-48dc-8bfe-185045a90437"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.grant', '0766668e-8706-4ab9-b57e-fb5062279308', 'INSERT', '{"uuid": "0766668e-8706-4ab9-b57e-fb5062279308", "assumed": true, "ascendantuuid": "1c3b60ad-277b-4442-a7bb-a142d197f5ed", "descendantuuid": "31a7c342-90e0-4bd0-8e16-67a3fe705ea9", "grantedbyroleuuid": null, "grantedbytriggerof": "fdf97406-0693-48dc-8bfe-185045a90437"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'hs_office.contact', 'fdf97406-0693-48dc-8bfe-185045a90437', 'INSERT', '{"uuid": "fdf97406-0693-48dc-8bfe-185045a90437", "caption": "ninth contact", "version": 0, "phonenumbers": {"phone_office": "+49 123 1234567"}, "postaladdress": {"country": "Germany"}, "emailaddresses": {"main": "contact-admin@ninthcontact.example.com"}}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.subject', '88964484-715a-4a24-82ca-90d75e19efdb', 'INSERT', '{"name": "contact-admin@tenthcontact.example.com", "uuid": "88964484-715a-4a24-82ca-90d75e19efdb"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.object', '6e689f4c-93d2-4a88-b3dd-8370cf3e8da4', 'INSERT', '{"uuid": "6e689f4c-93d2-4a88-b3dd-8370cf3e8da4", "serialid": 41, "objecttable": "hs_office.contact"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.role', '57c78d79-2143-42cd-90c8-8ee43f68c2b4', 'INSERT', '{"uuid": "57c78d79-2143-42cd-90c8-8ee43f68c2b4", "roletype": "OWNER", "objectuuid": "6e689f4c-93d2-4a88-b3dd-8370cf3e8da4"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.permission', '1632cbb0-5b47-4404-92cb-73a8d528952b', 'INSERT', '{"op": "DELETE", "uuid": "1632cbb0-5b47-4404-92cb-73a8d528952b", "objectuuid": "6e689f4c-93d2-4a88-b3dd-8370cf3e8da4", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.grant', 'd6bb28e4-4b56-45cd-883e-155f62df41c6', 'INSERT', '{"uuid": "d6bb28e4-4b56-45cd-883e-155f62df41c6", "assumed": true, "ascendantuuid": "57c78d79-2143-42cd-90c8-8ee43f68c2b4", "descendantuuid": "1632cbb0-5b47-4404-92cb-73a8d528952b", "grantedbyroleuuid": null, "grantedbytriggerof": "6e689f4c-93d2-4a88-b3dd-8370cf3e8da4"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.grant', '8a030f96-2491-492d-b4a4-014b64aeab53', 'INSERT', '{"uuid": "8a030f96-2491-492d-b4a4-014b64aeab53", "assumed": true, "ascendantuuid": "afc6a14a-f8c7-4c17-9b91-b615833bc002", "descendantuuid": "57c78d79-2143-42cd-90c8-8ee43f68c2b4", "grantedbyroleuuid": null, "grantedbytriggerof": "6e689f4c-93d2-4a88-b3dd-8370cf3e8da4"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.grant', 'b96b1f53-5f1c-457c-b844-d38e6be01b08', 'INSERT', '{"uuid": "b96b1f53-5f1c-457c-b844-d38e6be01b08", "assumed": true, "ascendantuuid": "88964484-715a-4a24-82ca-90d75e19efdb", "descendantuuid": "57c78d79-2143-42cd-90c8-8ee43f68c2b4", "grantedbyroleuuid": "57c78d79-2143-42cd-90c8-8ee43f68c2b4", "grantedbytriggerof": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.role', '5f972f73-4197-48c7-94c1-708285fad37f', 'INSERT', '{"uuid": "5f972f73-4197-48c7-94c1-708285fad37f", "roletype": "ADMIN", "objectuuid": "6e689f4c-93d2-4a88-b3dd-8370cf3e8da4"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.permission', 'f070d05f-67d6-4f81-9c7e-b24df55f3e6d', 'INSERT', '{"op": "UPDATE", "uuid": "f070d05f-67d6-4f81-9c7e-b24df55f3e6d", "objectuuid": "6e689f4c-93d2-4a88-b3dd-8370cf3e8da4", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.grant', '107e6878-8c15-41a3-a0ce-191bcdbbe0e4', 'INSERT', '{"uuid": "107e6878-8c15-41a3-a0ce-191bcdbbe0e4", "assumed": true, "ascendantuuid": "5f972f73-4197-48c7-94c1-708285fad37f", "descendantuuid": "f070d05f-67d6-4f81-9c7e-b24df55f3e6d", "grantedbyroleuuid": null, "grantedbytriggerof": "6e689f4c-93d2-4a88-b3dd-8370cf3e8da4"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.grant', '7e715db3-73a3-494c-a759-211af24a1667', 'INSERT', '{"uuid": "7e715db3-73a3-494c-a759-211af24a1667", "assumed": true, "ascendantuuid": "57c78d79-2143-42cd-90c8-8ee43f68c2b4", "descendantuuid": "5f972f73-4197-48c7-94c1-708285fad37f", "grantedbyroleuuid": null, "grantedbytriggerof": "6e689f4c-93d2-4a88-b3dd-8370cf3e8da4"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.role', '1a2cad1d-31c8-4f54-871a-1bfadc42a3ed', 'INSERT', '{"uuid": "1a2cad1d-31c8-4f54-871a-1bfadc42a3ed", "roletype": "REFERRER", "objectuuid": "6e689f4c-93d2-4a88-b3dd-8370cf3e8da4"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.permission', 'fd1c2063-58e7-45dd-b198-fc51d0397833', 'INSERT', '{"op": "SELECT", "uuid": "fd1c2063-58e7-45dd-b198-fc51d0397833", "objectuuid": "6e689f4c-93d2-4a88-b3dd-8370cf3e8da4", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.grant', '5ace1574-2029-44dc-9274-5d37b86d06dd', 'INSERT', '{"uuid": "5ace1574-2029-44dc-9274-5d37b86d06dd", "assumed": true, "ascendantuuid": "1a2cad1d-31c8-4f54-871a-1bfadc42a3ed", "descendantuuid": "fd1c2063-58e7-45dd-b198-fc51d0397833", "grantedbyroleuuid": null, "grantedbytriggerof": "6e689f4c-93d2-4a88-b3dd-8370cf3e8da4"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.grant', 'fb94d317-3281-437a-acbb-b8c6f6c75b33', 'INSERT', '{"uuid": "fb94d317-3281-437a-acbb-b8c6f6c75b33", "assumed": true, "ascendantuuid": "5f972f73-4197-48c7-94c1-708285fad37f", "descendantuuid": "1a2cad1d-31c8-4f54-871a-1bfadc42a3ed", "grantedbyroleuuid": null, "grantedbytriggerof": "6e689f4c-93d2-4a88-b3dd-8370cf3e8da4"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'hs_office.contact', '6e689f4c-93d2-4a88-b3dd-8370cf3e8da4', 'INSERT', '{"uuid": "6e689f4c-93d2-4a88-b3dd-8370cf3e8da4", "caption": "tenth contact", "version": 0, "phonenumbers": {"phone_office": "+49 123 1234567"}, "postaladdress": {"country": "Germany"}, "emailaddresses": {"main": "contact-admin@tenthcontact.example.com"}}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.subject', 'dae95481-b3ce-4678-8a89-eee8097a9dbf', 'INSERT', '{"name": "contact-admin@eleventhcontact.example.com", "uuid": "dae95481-b3ce-4678-8a89-eee8097a9dbf"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.object', '0c4e6c68-6f1f-4ea9-bcdd-1752763a3945', 'INSERT', '{"uuid": "0c4e6c68-6f1f-4ea9-bcdd-1752763a3945", "serialid": 42, "objecttable": "hs_office.contact"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.role', '799a8e31-f52f-4a53-9fca-bc8d1f4c9ae9', 'INSERT', '{"uuid": "799a8e31-f52f-4a53-9fca-bc8d1f4c9ae9", "roletype": "OWNER", "objectuuid": "0c4e6c68-6f1f-4ea9-bcdd-1752763a3945"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.permission', '1e7e133e-a662-4f39-98ba-c43e643f594d', 'INSERT', '{"op": "DELETE", "uuid": "1e7e133e-a662-4f39-98ba-c43e643f594d", "objectuuid": "0c4e6c68-6f1f-4ea9-bcdd-1752763a3945", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.grant', 'a35e5744-cfb4-431c-9c67-146a3c0ad982', 'INSERT', '{"uuid": "a35e5744-cfb4-431c-9c67-146a3c0ad982", "assumed": true, "ascendantuuid": "799a8e31-f52f-4a53-9fca-bc8d1f4c9ae9", "descendantuuid": "1e7e133e-a662-4f39-98ba-c43e643f594d", "grantedbyroleuuid": null, "grantedbytriggerof": "0c4e6c68-6f1f-4ea9-bcdd-1752763a3945"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.grant', '91767eff-198a-439e-83d5-c544e8706f71', 'INSERT', '{"uuid": "91767eff-198a-439e-83d5-c544e8706f71", "assumed": true, "ascendantuuid": "afc6a14a-f8c7-4c17-9b91-b615833bc002", "descendantuuid": "799a8e31-f52f-4a53-9fca-bc8d1f4c9ae9", "grantedbyroleuuid": null, "grantedbytriggerof": "0c4e6c68-6f1f-4ea9-bcdd-1752763a3945"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.grant', 'd92f2cba-4d03-48c8-95b0-b5735e2290e4', 'INSERT', '{"uuid": "d92f2cba-4d03-48c8-95b0-b5735e2290e4", "assumed": true, "ascendantuuid": "dae95481-b3ce-4678-8a89-eee8097a9dbf", "descendantuuid": "799a8e31-f52f-4a53-9fca-bc8d1f4c9ae9", "grantedbyroleuuid": "799a8e31-f52f-4a53-9fca-bc8d1f4c9ae9", "grantedbytriggerof": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.role', 'b7a059a7-5e66-4141-a7ee-a87a62f1bfd0', 'INSERT', '{"uuid": "b7a059a7-5e66-4141-a7ee-a87a62f1bfd0", "roletype": "ADMIN", "objectuuid": "0c4e6c68-6f1f-4ea9-bcdd-1752763a3945"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.permission', '4805d0b6-fb04-4216-883d-d0c3fb38ae12', 'INSERT', '{"op": "UPDATE", "uuid": "4805d0b6-fb04-4216-883d-d0c3fb38ae12", "objectuuid": "0c4e6c68-6f1f-4ea9-bcdd-1752763a3945", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.grant', 'a15e2326-8d73-4a09-994b-77726f26991b', 'INSERT', '{"uuid": "a15e2326-8d73-4a09-994b-77726f26991b", "assumed": true, "ascendantuuid": "b7a059a7-5e66-4141-a7ee-a87a62f1bfd0", "descendantuuid": "4805d0b6-fb04-4216-883d-d0c3fb38ae12", "grantedbyroleuuid": null, "grantedbytriggerof": "0c4e6c68-6f1f-4ea9-bcdd-1752763a3945"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.grant', '0a293387-a163-4ab5-bb94-5c1328c08c25', 'INSERT', '{"uuid": "0a293387-a163-4ab5-bb94-5c1328c08c25", "assumed": true, "ascendantuuid": "799a8e31-f52f-4a53-9fca-bc8d1f4c9ae9", "descendantuuid": "b7a059a7-5e66-4141-a7ee-a87a62f1bfd0", "grantedbyroleuuid": null, "grantedbytriggerof": "0c4e6c68-6f1f-4ea9-bcdd-1752763a3945"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.role', '52ff74c6-ad10-4dc0-aec1-5623cbd75c47', 'INSERT', '{"uuid": "52ff74c6-ad10-4dc0-aec1-5623cbd75c47", "roletype": "REFERRER", "objectuuid": "0c4e6c68-6f1f-4ea9-bcdd-1752763a3945"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.permission', '1921c901-c56e-46a1-8be5-a3299d4eb029', 'INSERT', '{"op": "SELECT", "uuid": "1921c901-c56e-46a1-8be5-a3299d4eb029", "objectuuid": "0c4e6c68-6f1f-4ea9-bcdd-1752763a3945", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.grant', '14d8bbb0-9a8c-4c54-8b7b-863d332cb617', 'INSERT', '{"uuid": "14d8bbb0-9a8c-4c54-8b7b-863d332cb617", "assumed": true, "ascendantuuid": "52ff74c6-ad10-4dc0-aec1-5623cbd75c47", "descendantuuid": "1921c901-c56e-46a1-8be5-a3299d4eb029", "grantedbyroleuuid": null, "grantedbytriggerof": "0c4e6c68-6f1f-4ea9-bcdd-1752763a3945"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.grant', 'e1cbac4d-8db5-4e6d-b51b-af8fa0d10977', 'INSERT', '{"uuid": "e1cbac4d-8db5-4e6d-b51b-af8fa0d10977", "assumed": true, "ascendantuuid": "b7a059a7-5e66-4141-a7ee-a87a62f1bfd0", "descendantuuid": "52ff74c6-ad10-4dc0-aec1-5623cbd75c47", "grantedbyroleuuid": null, "grantedbytriggerof": "0c4e6c68-6f1f-4ea9-bcdd-1752763a3945"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'hs_office.contact', '0c4e6c68-6f1f-4ea9-bcdd-1752763a3945', 'INSERT', '{"uuid": "0c4e6c68-6f1f-4ea9-bcdd-1752763a3945", "caption": "eleventh contact", "version": 0, "phonenumbers": {"phone_office": "+49 123 1234567"}, "postaladdress": {"country": "Germany"}, "emailaddresses": {"main": "contact-admin@eleventhcontact.example.com"}}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.subject', '1322621a-1dc8-4a3d-afa7-06a03c1035f7', 'INSERT', '{"name": "contact-admin@twelfthcontact.example.com", "uuid": "1322621a-1dc8-4a3d-afa7-06a03c1035f7"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.object', 'c24bfb2f-9b72-4754-9d9c-52be22cf01a6', 'INSERT', '{"uuid": "c24bfb2f-9b72-4754-9d9c-52be22cf01a6", "serialid": 43, "objecttable": "hs_office.contact"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.role', '45d8db35-1990-4e77-a977-458caa184037', 'INSERT', '{"uuid": "45d8db35-1990-4e77-a977-458caa184037", "roletype": "OWNER", "objectuuid": "c24bfb2f-9b72-4754-9d9c-52be22cf01a6"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.permission', '4ff09f9e-2bf5-4f96-98ef-396e7454991d', 'INSERT', '{"op": "DELETE", "uuid": "4ff09f9e-2bf5-4f96-98ef-396e7454991d", "objectuuid": "c24bfb2f-9b72-4754-9d9c-52be22cf01a6", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.grant', '3dbb752b-d56b-464e-b7fd-eb248ab38d58', 'INSERT', '{"uuid": "3dbb752b-d56b-464e-b7fd-eb248ab38d58", "assumed": true, "ascendantuuid": "45d8db35-1990-4e77-a977-458caa184037", "descendantuuid": "4ff09f9e-2bf5-4f96-98ef-396e7454991d", "grantedbyroleuuid": null, "grantedbytriggerof": "c24bfb2f-9b72-4754-9d9c-52be22cf01a6"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.grant', 'f25218c9-b346-4623-9621-a56ef32f4b12', 'INSERT', '{"uuid": "f25218c9-b346-4623-9621-a56ef32f4b12", "assumed": true, "ascendantuuid": "afc6a14a-f8c7-4c17-9b91-b615833bc002", "descendantuuid": "45d8db35-1990-4e77-a977-458caa184037", "grantedbyroleuuid": null, "grantedbytriggerof": "c24bfb2f-9b72-4754-9d9c-52be22cf01a6"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.grant', 'd665d723-7ab2-46a3-be43-df609037c51d', 'INSERT', '{"uuid": "d665d723-7ab2-46a3-be43-df609037c51d", "assumed": true, "ascendantuuid": "1322621a-1dc8-4a3d-afa7-06a03c1035f7", "descendantuuid": "45d8db35-1990-4e77-a977-458caa184037", "grantedbyroleuuid": "45d8db35-1990-4e77-a977-458caa184037", "grantedbytriggerof": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.role', 'cedd81b4-3981-4650-99ce-c35247fcc99d', 'INSERT', '{"uuid": "cedd81b4-3981-4650-99ce-c35247fcc99d", "roletype": "ADMIN", "objectuuid": "c24bfb2f-9b72-4754-9d9c-52be22cf01a6"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.permission', '913d80a9-9d41-4204-9cb3-498c0e36631c', 'INSERT', '{"op": "UPDATE", "uuid": "913d80a9-9d41-4204-9cb3-498c0e36631c", "objectuuid": "c24bfb2f-9b72-4754-9d9c-52be22cf01a6", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.grant', 'f3b12121-5758-4cf6-af74-4c9e57d21c00', 'INSERT', '{"uuid": "f3b12121-5758-4cf6-af74-4c9e57d21c00", "assumed": true, "ascendantuuid": "cedd81b4-3981-4650-99ce-c35247fcc99d", "descendantuuid": "913d80a9-9d41-4204-9cb3-498c0e36631c", "grantedbyroleuuid": null, "grantedbytriggerof": "c24bfb2f-9b72-4754-9d9c-52be22cf01a6"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.grant', 'dd16212f-2c78-47de-b6d4-b31880f869e7', 'INSERT', '{"uuid": "dd16212f-2c78-47de-b6d4-b31880f869e7", "assumed": true, "ascendantuuid": "45d8db35-1990-4e77-a977-458caa184037", "descendantuuid": "cedd81b4-3981-4650-99ce-c35247fcc99d", "grantedbyroleuuid": null, "grantedbytriggerof": "c24bfb2f-9b72-4754-9d9c-52be22cf01a6"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.role', '4e3d4dea-d586-4d87-8f65-9756f8c774e7', 'INSERT', '{"uuid": "4e3d4dea-d586-4d87-8f65-9756f8c774e7", "roletype": "REFERRER", "objectuuid": "c24bfb2f-9b72-4754-9d9c-52be22cf01a6"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.permission', '13e1b4af-d1b0-47c4-a86c-d23f81fa9db9', 'INSERT', '{"op": "SELECT", "uuid": "13e1b4af-d1b0-47c4-a86c-d23f81fa9db9", "objectuuid": "c24bfb2f-9b72-4754-9d9c-52be22cf01a6", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.grant', 'd2856c1e-db95-4f40-ba06-c37b98c9e8a3', 'INSERT', '{"uuid": "d2856c1e-db95-4f40-ba06-c37b98c9e8a3", "assumed": true, "ascendantuuid": "4e3d4dea-d586-4d87-8f65-9756f8c774e7", "descendantuuid": "13e1b4af-d1b0-47c4-a86c-d23f81fa9db9", "grantedbyroleuuid": null, "grantedbytriggerof": "c24bfb2f-9b72-4754-9d9c-52be22cf01a6"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'rbac.grant', '283f407e-fbd2-4c6f-a293-9149186f53c5', 'INSERT', '{"uuid": "283f407e-fbd2-4c6f-a293-9149186f53c5", "assumed": true, "ascendantuuid": "cedd81b4-3981-4650-99ce-c35247fcc99d", "descendantuuid": "4e3d4dea-d586-4d87-8f65-9756f8c774e7", "grantedbyroleuuid": null, "grantedbytriggerof": "c24bfb2f-9b72-4754-9d9c-52be22cf01a6"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1108', 'hs_office.contact', 'c24bfb2f-9b72-4754-9d9c-52be22cf01a6', 'INSERT', '{"uuid": "c24bfb2f-9b72-4754-9d9c-52be22cf01a6", "caption": "twelfth contact", "version": 0, "phonenumbers": {"phone_office": "+49 123 1234567"}, "postaladdress": {"country": "Germany"}, "emailaddresses": {"main": "contact-admin@twelfthcontact.example.com"}}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.subject', '72690aa1-2ebd-4922-8959-453aa0d076ed', 'INSERT', '{"name": "person-HostsharingeG@example.com", "uuid": "72690aa1-2ebd-4922-8959-453aa0d076ed"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.object', 'dbe89951-4cc8-40ac-97b3-49176567984d', 'INSERT', '{"uuid": "dbe89951-4cc8-40ac-97b3-49176567984d", "serialid": 44, "objecttable": "hs_office.person"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.role', 'd16c63e0-856f-4440-9498-1c266e893967', 'INSERT', '{"uuid": "d16c63e0-856f-4440-9498-1c266e893967", "roletype": "OWNER", "objectuuid": "dbe89951-4cc8-40ac-97b3-49176567984d"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.permission', 'abc45989-35de-4b24-a0ce-866e6aef5795', 'INSERT', '{"op": "DELETE", "uuid": "abc45989-35de-4b24-a0ce-866e6aef5795", "objectuuid": "dbe89951-4cc8-40ac-97b3-49176567984d", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.grant', '5cdbd298-7971-4dff-9f07-02963bd6fdd2', 'INSERT', '{"uuid": "5cdbd298-7971-4dff-9f07-02963bd6fdd2", "assumed": true, "ascendantuuid": "d16c63e0-856f-4440-9498-1c266e893967", "descendantuuid": "abc45989-35de-4b24-a0ce-866e6aef5795", "grantedbyroleuuid": null, "grantedbytriggerof": "dbe89951-4cc8-40ac-97b3-49176567984d"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.grant', '1b8cdb38-7ed5-49bd-8967-027c436975fd', 'INSERT', '{"uuid": "1b8cdb38-7ed5-49bd-8967-027c436975fd", "assumed": true, "ascendantuuid": "afc6a14a-f8c7-4c17-9b91-b615833bc002", "descendantuuid": "d16c63e0-856f-4440-9498-1c266e893967", "grantedbyroleuuid": null, "grantedbytriggerof": "dbe89951-4cc8-40ac-97b3-49176567984d"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.grant', '05205e76-bc42-4686-a1f6-ca5ca6ea607a', 'INSERT', '{"uuid": "05205e76-bc42-4686-a1f6-ca5ca6ea607a", "assumed": true, "ascendantuuid": "72690aa1-2ebd-4922-8959-453aa0d076ed", "descendantuuid": "d16c63e0-856f-4440-9498-1c266e893967", "grantedbyroleuuid": "d16c63e0-856f-4440-9498-1c266e893967", "grantedbytriggerof": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.role', '69976fc3-19a0-41a5-9976-3b0a62561f53', 'INSERT', '{"uuid": "69976fc3-19a0-41a5-9976-3b0a62561f53", "roletype": "ADMIN", "objectuuid": "dbe89951-4cc8-40ac-97b3-49176567984d"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.permission', '8c7a2fd3-4ee7-4ae3-9be1-297a0460a65f', 'INSERT', '{"op": "UPDATE", "uuid": "8c7a2fd3-4ee7-4ae3-9be1-297a0460a65f", "objectuuid": "dbe89951-4cc8-40ac-97b3-49176567984d", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.grant', '9e314fd9-bf66-4610-94e2-38b8574b9f0c', 'INSERT', '{"uuid": "9e314fd9-bf66-4610-94e2-38b8574b9f0c", "assumed": true, "ascendantuuid": "69976fc3-19a0-41a5-9976-3b0a62561f53", "descendantuuid": "8c7a2fd3-4ee7-4ae3-9be1-297a0460a65f", "grantedbyroleuuid": null, "grantedbytriggerof": "dbe89951-4cc8-40ac-97b3-49176567984d"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.grant', 'c2306eb5-f1c7-4241-8c7e-36f23271b6d0', 'INSERT', '{"uuid": "c2306eb5-f1c7-4241-8c7e-36f23271b6d0", "assumed": true, "ascendantuuid": "d16c63e0-856f-4440-9498-1c266e893967", "descendantuuid": "69976fc3-19a0-41a5-9976-3b0a62561f53", "grantedbyroleuuid": null, "grantedbytriggerof": "dbe89951-4cc8-40ac-97b3-49176567984d"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.role', '7654b8c5-6bcd-4153-b0d6-e32f400fff60', 'INSERT', '{"uuid": "7654b8c5-6bcd-4153-b0d6-e32f400fff60", "roletype": "REFERRER", "objectuuid": "dbe89951-4cc8-40ac-97b3-49176567984d"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.permission', '7d2e2a89-c04b-4a0b-858d-f1d00d8edd3d', 'INSERT', '{"op": "SELECT", "uuid": "7d2e2a89-c04b-4a0b-858d-f1d00d8edd3d", "objectuuid": "dbe89951-4cc8-40ac-97b3-49176567984d", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.grant', 'd7c01ec2-3125-4e57-80c7-39623d566315', 'INSERT', '{"uuid": "d7c01ec2-3125-4e57-80c7-39623d566315", "assumed": true, "ascendantuuid": "7654b8c5-6bcd-4153-b0d6-e32f400fff60", "descendantuuid": "7d2e2a89-c04b-4a0b-858d-f1d00d8edd3d", "grantedbyroleuuid": null, "grantedbytriggerof": "dbe89951-4cc8-40ac-97b3-49176567984d"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.grant', '922e22d1-cc30-454d-ab7c-63b3ecb2f6f9', 'INSERT', '{"uuid": "922e22d1-cc30-454d-ab7c-63b3ecb2f6f9", "assumed": true, "ascendantuuid": "69976fc3-19a0-41a5-9976-3b0a62561f53", "descendantuuid": "7654b8c5-6bcd-4153-b0d6-e32f400fff60", "grantedbyroleuuid": null, "grantedbytriggerof": "dbe89951-4cc8-40ac-97b3-49176567984d"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1350', 'rbac.object', '8d685609-a88e-4005-a265-994f34f28128', 'INSERT', '{"uuid": "8d685609-a88e-4005-a265-994f34f28128", "serialid": 79, "objecttable": "hs_office.partner"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'hs_office.person', 'dbe89951-4cc8-40ac-97b3-49176567984d', 'INSERT', '{"uuid": "dbe89951-4cc8-40ac-97b3-49176567984d", "title": null, "version": 0, "givenname": null, "tradename": "Hostsharing eG", "familyname": null, "persontype": "LP", "salutation": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.subject', 'a44c56fb-afb2-4b5f-a532-52d0e4ad839f', 'INSERT', '{"name": "person-FirstGmbH@example.com", "uuid": "a44c56fb-afb2-4b5f-a532-52d0e4ad839f"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.object', '37928681-5849-48f7-aa81-bbe2d68944f9', 'INSERT', '{"uuid": "37928681-5849-48f7-aa81-bbe2d68944f9", "serialid": 45, "objecttable": "hs_office.person"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.role', '7816aeaf-4e2d-40b2-b466-1cc5937c4198', 'INSERT', '{"uuid": "7816aeaf-4e2d-40b2-b466-1cc5937c4198", "roletype": "OWNER", "objectuuid": "37928681-5849-48f7-aa81-bbe2d68944f9"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.permission', 'a0d1bab6-d38f-40c1-87c0-be938c767c47', 'INSERT', '{"op": "DELETE", "uuid": "a0d1bab6-d38f-40c1-87c0-be938c767c47", "objectuuid": "37928681-5849-48f7-aa81-bbe2d68944f9", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.grant', '9a27fce9-5fa5-4376-a99f-d154ddfb7823', 'INSERT', '{"uuid": "9a27fce9-5fa5-4376-a99f-d154ddfb7823", "assumed": true, "ascendantuuid": "7816aeaf-4e2d-40b2-b466-1cc5937c4198", "descendantuuid": "a0d1bab6-d38f-40c1-87c0-be938c767c47", "grantedbyroleuuid": null, "grantedbytriggerof": "37928681-5849-48f7-aa81-bbe2d68944f9"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.grant', 'd20658da-a298-417c-b646-7e333e46b512', 'INSERT', '{"uuid": "d20658da-a298-417c-b646-7e333e46b512", "assumed": true, "ascendantuuid": "afc6a14a-f8c7-4c17-9b91-b615833bc002", "descendantuuid": "7816aeaf-4e2d-40b2-b466-1cc5937c4198", "grantedbyroleuuid": null, "grantedbytriggerof": "37928681-5849-48f7-aa81-bbe2d68944f9"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.grant', '6900e633-c806-46cd-ac2a-04ab86d3be97', 'INSERT', '{"uuid": "6900e633-c806-46cd-ac2a-04ab86d3be97", "assumed": true, "ascendantuuid": "a44c56fb-afb2-4b5f-a532-52d0e4ad839f", "descendantuuid": "7816aeaf-4e2d-40b2-b466-1cc5937c4198", "grantedbyroleuuid": "7816aeaf-4e2d-40b2-b466-1cc5937c4198", "grantedbytriggerof": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.role', '21452821-c69d-4615-aa75-1a9af5fb904d', 'INSERT', '{"uuid": "21452821-c69d-4615-aa75-1a9af5fb904d", "roletype": "ADMIN", "objectuuid": "37928681-5849-48f7-aa81-bbe2d68944f9"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.permission', 'b52d07f1-b3c7-41ef-8596-e56cf76eb631', 'INSERT', '{"op": "UPDATE", "uuid": "b52d07f1-b3c7-41ef-8596-e56cf76eb631", "objectuuid": "37928681-5849-48f7-aa81-bbe2d68944f9", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.grant', 'b259ee78-ef22-44fb-a0a0-2f11aeb781ec', 'INSERT', '{"uuid": "b259ee78-ef22-44fb-a0a0-2f11aeb781ec", "assumed": true, "ascendantuuid": "21452821-c69d-4615-aa75-1a9af5fb904d", "descendantuuid": "b52d07f1-b3c7-41ef-8596-e56cf76eb631", "grantedbyroleuuid": null, "grantedbytriggerof": "37928681-5849-48f7-aa81-bbe2d68944f9"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.grant', 'e2a26b82-77c1-4d20-a1c3-7e0da0a301d3', 'INSERT', '{"uuid": "e2a26b82-77c1-4d20-a1c3-7e0da0a301d3", "assumed": true, "ascendantuuid": "7816aeaf-4e2d-40b2-b466-1cc5937c4198", "descendantuuid": "21452821-c69d-4615-aa75-1a9af5fb904d", "grantedbyroleuuid": null, "grantedbytriggerof": "37928681-5849-48f7-aa81-bbe2d68944f9"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.role', '35ee3fcb-0a9a-4944-8344-344cb501f277', 'INSERT', '{"uuid": "35ee3fcb-0a9a-4944-8344-344cb501f277", "roletype": "REFERRER", "objectuuid": "37928681-5849-48f7-aa81-bbe2d68944f9"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.permission', 'a7901be2-d3f0-4aaf-ac50-97c4910542d8', 'INSERT', '{"op": "SELECT", "uuid": "a7901be2-d3f0-4aaf-ac50-97c4910542d8", "objectuuid": "37928681-5849-48f7-aa81-bbe2d68944f9", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.grant', '7b298298-a70d-4859-ad77-0f3acd074b33', 'INSERT', '{"uuid": "7b298298-a70d-4859-ad77-0f3acd074b33", "assumed": true, "ascendantuuid": "35ee3fcb-0a9a-4944-8344-344cb501f277", "descendantuuid": "a7901be2-d3f0-4aaf-ac50-97c4910542d8", "grantedbyroleuuid": null, "grantedbytriggerof": "37928681-5849-48f7-aa81-bbe2d68944f9"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.grant', '974d0c6c-a7b4-4e51-9b6d-6555e0caae9b', 'INSERT', '{"uuid": "974d0c6c-a7b4-4e51-9b6d-6555e0caae9b", "assumed": true, "ascendantuuid": "21452821-c69d-4615-aa75-1a9af5fb904d", "descendantuuid": "35ee3fcb-0a9a-4944-8344-344cb501f277", "grantedbyroleuuid": null, "grantedbytriggerof": "37928681-5849-48f7-aa81-bbe2d68944f9"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'hs_office.person', '37928681-5849-48f7-aa81-bbe2d68944f9', 'INSERT', '{"uuid": "37928681-5849-48f7-aa81-bbe2d68944f9", "title": null, "version": 0, "givenname": null, "tradename": "First GmbH", "familyname": null, "persontype": "LP", "salutation": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.subject', '9a4b60ab-9b9d-4f4e-a597-5b22ec2d44fd', 'INSERT', '{"name": "person-FirbySusan@example.com", "uuid": "9a4b60ab-9b9d-4f4e-a597-5b22ec2d44fd"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.object', 'b4566b68-3318-4bd2-b1cb-a9c58ae91b6e', 'INSERT', '{"uuid": "b4566b68-3318-4bd2-b1cb-a9c58ae91b6e", "serialid": 46, "objecttable": "hs_office.person"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.role', 'fcf6c65d-17e0-46e7-bd0c-b58f47f8be61', 'INSERT', '{"uuid": "fcf6c65d-17e0-46e7-bd0c-b58f47f8be61", "roletype": "OWNER", "objectuuid": "b4566b68-3318-4bd2-b1cb-a9c58ae91b6e"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.permission', '79de24ea-b0b2-4e50-80a4-f85bec336c17', 'INSERT', '{"op": "DELETE", "uuid": "79de24ea-b0b2-4e50-80a4-f85bec336c17", "objectuuid": "b4566b68-3318-4bd2-b1cb-a9c58ae91b6e", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.grant', 'c6f418c2-c645-4804-9a44-03eb81cf7caa', 'INSERT', '{"uuid": "c6f418c2-c645-4804-9a44-03eb81cf7caa", "assumed": true, "ascendantuuid": "fcf6c65d-17e0-46e7-bd0c-b58f47f8be61", "descendantuuid": "79de24ea-b0b2-4e50-80a4-f85bec336c17", "grantedbyroleuuid": null, "grantedbytriggerof": "b4566b68-3318-4bd2-b1cb-a9c58ae91b6e"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.grant', 'e9082f43-21a0-4f23-bd12-bc75def34658', 'INSERT', '{"uuid": "e9082f43-21a0-4f23-bd12-bc75def34658", "assumed": true, "ascendantuuid": "afc6a14a-f8c7-4c17-9b91-b615833bc002", "descendantuuid": "fcf6c65d-17e0-46e7-bd0c-b58f47f8be61", "grantedbyroleuuid": null, "grantedbytriggerof": "b4566b68-3318-4bd2-b1cb-a9c58ae91b6e"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.grant', '3c924136-5c6c-4f9e-b61d-ba65bb84c854', 'INSERT', '{"uuid": "3c924136-5c6c-4f9e-b61d-ba65bb84c854", "assumed": true, "ascendantuuid": "9a4b60ab-9b9d-4f4e-a597-5b22ec2d44fd", "descendantuuid": "fcf6c65d-17e0-46e7-bd0c-b58f47f8be61", "grantedbyroleuuid": "fcf6c65d-17e0-46e7-bd0c-b58f47f8be61", "grantedbytriggerof": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.role', '83395c0b-6e2c-4597-95a3-28734150bf68', 'INSERT', '{"uuid": "83395c0b-6e2c-4597-95a3-28734150bf68", "roletype": "ADMIN", "objectuuid": "b4566b68-3318-4bd2-b1cb-a9c58ae91b6e"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.permission', '9511a1de-0795-4bb2-833f-6aba775dd055', 'INSERT', '{"op": "UPDATE", "uuid": "9511a1de-0795-4bb2-833f-6aba775dd055", "objectuuid": "b4566b68-3318-4bd2-b1cb-a9c58ae91b6e", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.grant', 'a12b5ee3-86e9-477c-8f04-2cff340473a7', 'INSERT', '{"uuid": "a12b5ee3-86e9-477c-8f04-2cff340473a7", "assumed": true, "ascendantuuid": "83395c0b-6e2c-4597-95a3-28734150bf68", "descendantuuid": "9511a1de-0795-4bb2-833f-6aba775dd055", "grantedbyroleuuid": null, "grantedbytriggerof": "b4566b68-3318-4bd2-b1cb-a9c58ae91b6e"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.grant', '9eaba077-87cc-451d-9c4d-83d0fab324e7', 'INSERT', '{"uuid": "9eaba077-87cc-451d-9c4d-83d0fab324e7", "assumed": true, "ascendantuuid": "fcf6c65d-17e0-46e7-bd0c-b58f47f8be61", "descendantuuid": "83395c0b-6e2c-4597-95a3-28734150bf68", "grantedbyroleuuid": null, "grantedbytriggerof": "b4566b68-3318-4bd2-b1cb-a9c58ae91b6e"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.role', '34041b9b-8453-492b-ae4b-7f94658d0952', 'INSERT', '{"uuid": "34041b9b-8453-492b-ae4b-7f94658d0952", "roletype": "REFERRER", "objectuuid": "b4566b68-3318-4bd2-b1cb-a9c58ae91b6e"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.permission', '4af33648-7cf2-48bf-a42a-14ac004dd7e6', 'INSERT', '{"op": "SELECT", "uuid": "4af33648-7cf2-48bf-a42a-14ac004dd7e6", "objectuuid": "b4566b68-3318-4bd2-b1cb-a9c58ae91b6e", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.grant', 'd3816ad2-98cd-4c8f-bc30-8550ac676384', 'INSERT', '{"uuid": "d3816ad2-98cd-4c8f-bc30-8550ac676384", "assumed": true, "ascendantuuid": "34041b9b-8453-492b-ae4b-7f94658d0952", "descendantuuid": "4af33648-7cf2-48bf-a42a-14ac004dd7e6", "grantedbyroleuuid": null, "grantedbytriggerof": "b4566b68-3318-4bd2-b1cb-a9c58ae91b6e"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.grant', '19161128-4b94-409c-9309-bf78e6ffa179', 'INSERT', '{"uuid": "19161128-4b94-409c-9309-bf78e6ffa179", "assumed": true, "ascendantuuid": "83395c0b-6e2c-4597-95a3-28734150bf68", "descendantuuid": "34041b9b-8453-492b-ae4b-7f94658d0952", "grantedbyroleuuid": null, "grantedbytriggerof": "b4566b68-3318-4bd2-b1cb-a9c58ae91b6e"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'hs_office.person', 'b4566b68-3318-4bd2-b1cb-a9c58ae91b6e', 'INSERT', '{"uuid": "b4566b68-3318-4bd2-b1cb-a9c58ae91b6e", "title": null, "version": 0, "givenname": "Susan", "tradename": null, "familyname": "Firby", "persontype": "NP", "salutation": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.subject', '5fa5c7c7-07dc-45f0-b6ac-eeba221016d4', 'INSERT', '{"name": "person-SmithPeter@example.com", "uuid": "5fa5c7c7-07dc-45f0-b6ac-eeba221016d4"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.object', 'a5bdcdee-bc0e-4340-aaf3-d3d7d43dcc1a', 'INSERT', '{"uuid": "a5bdcdee-bc0e-4340-aaf3-d3d7d43dcc1a", "serialid": 47, "objecttable": "hs_office.person"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.role', 'e1ac62e2-35ae-4f1f-9c23-b546035628ac', 'INSERT', '{"uuid": "e1ac62e2-35ae-4f1f-9c23-b546035628ac", "roletype": "OWNER", "objectuuid": "a5bdcdee-bc0e-4340-aaf3-d3d7d43dcc1a"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.permission', '532cc7a0-1735-4f4f-9cc4-93772b608b7d', 'INSERT', '{"op": "DELETE", "uuid": "532cc7a0-1735-4f4f-9cc4-93772b608b7d", "objectuuid": "a5bdcdee-bc0e-4340-aaf3-d3d7d43dcc1a", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.grant', 'a88e6707-4ad1-4a15-9da6-f19adc9f6955', 'INSERT', '{"uuid": "a88e6707-4ad1-4a15-9da6-f19adc9f6955", "assumed": true, "ascendantuuid": "e1ac62e2-35ae-4f1f-9c23-b546035628ac", "descendantuuid": "532cc7a0-1735-4f4f-9cc4-93772b608b7d", "grantedbyroleuuid": null, "grantedbytriggerof": "a5bdcdee-bc0e-4340-aaf3-d3d7d43dcc1a"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.grant', 'f40640ee-5498-443b-b273-9ba25957323b', 'INSERT', '{"uuid": "f40640ee-5498-443b-b273-9ba25957323b", "assumed": true, "ascendantuuid": "afc6a14a-f8c7-4c17-9b91-b615833bc002", "descendantuuid": "e1ac62e2-35ae-4f1f-9c23-b546035628ac", "grantedbyroleuuid": null, "grantedbytriggerof": "a5bdcdee-bc0e-4340-aaf3-d3d7d43dcc1a"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.grant', '21abf062-9cac-4a63-bdb7-2fc46eeb174c', 'INSERT', '{"uuid": "21abf062-9cac-4a63-bdb7-2fc46eeb174c", "assumed": true, "ascendantuuid": "5fa5c7c7-07dc-45f0-b6ac-eeba221016d4", "descendantuuid": "e1ac62e2-35ae-4f1f-9c23-b546035628ac", "grantedbyroleuuid": "e1ac62e2-35ae-4f1f-9c23-b546035628ac", "grantedbytriggerof": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.role', 'f5edf9d3-e506-41e9-8c02-0be4d3bbd494', 'INSERT', '{"uuid": "f5edf9d3-e506-41e9-8c02-0be4d3bbd494", "roletype": "ADMIN", "objectuuid": "a5bdcdee-bc0e-4340-aaf3-d3d7d43dcc1a"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.permission', '68fa1c11-6877-4c90-aed7-e08c4facabfd', 'INSERT', '{"op": "UPDATE", "uuid": "68fa1c11-6877-4c90-aed7-e08c4facabfd", "objectuuid": "a5bdcdee-bc0e-4340-aaf3-d3d7d43dcc1a", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.grant', '6fa192e4-5851-41d5-b85c-ee86ee9d2bdf', 'INSERT', '{"uuid": "6fa192e4-5851-41d5-b85c-ee86ee9d2bdf", "assumed": true, "ascendantuuid": "f5edf9d3-e506-41e9-8c02-0be4d3bbd494", "descendantuuid": "68fa1c11-6877-4c90-aed7-e08c4facabfd", "grantedbyroleuuid": null, "grantedbytriggerof": "a5bdcdee-bc0e-4340-aaf3-d3d7d43dcc1a"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.grant', '6ddd82e5-daa6-4369-b108-488a3df80629', 'INSERT', '{"uuid": "6ddd82e5-daa6-4369-b108-488a3df80629", "assumed": true, "ascendantuuid": "e1ac62e2-35ae-4f1f-9c23-b546035628ac", "descendantuuid": "f5edf9d3-e506-41e9-8c02-0be4d3bbd494", "grantedbyroleuuid": null, "grantedbytriggerof": "a5bdcdee-bc0e-4340-aaf3-d3d7d43dcc1a"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.role', 'a5f8ffa9-00a4-4229-a9d5-95ff9e671309', 'INSERT', '{"uuid": "a5f8ffa9-00a4-4229-a9d5-95ff9e671309", "roletype": "REFERRER", "objectuuid": "a5bdcdee-bc0e-4340-aaf3-d3d7d43dcc1a"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.permission', '12502278-cd64-4750-bad4-5facf1ef26fd', 'INSERT', '{"op": "SELECT", "uuid": "12502278-cd64-4750-bad4-5facf1ef26fd", "objectuuid": "a5bdcdee-bc0e-4340-aaf3-d3d7d43dcc1a", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.grant', '8beb7e8f-0838-476d-9d1d-f73d5d2df199', 'INSERT', '{"uuid": "8beb7e8f-0838-476d-9d1d-f73d5d2df199", "assumed": true, "ascendantuuid": "a5f8ffa9-00a4-4229-a9d5-95ff9e671309", "descendantuuid": "12502278-cd64-4750-bad4-5facf1ef26fd", "grantedbyroleuuid": null, "grantedbytriggerof": "a5bdcdee-bc0e-4340-aaf3-d3d7d43dcc1a"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.grant', '962131c2-9e0e-4270-9877-dae74383e6cd', 'INSERT', '{"uuid": "962131c2-9e0e-4270-9877-dae74383e6cd", "assumed": true, "ascendantuuid": "f5edf9d3-e506-41e9-8c02-0be4d3bbd494", "descendantuuid": "a5f8ffa9-00a4-4229-a9d5-95ff9e671309", "grantedbyroleuuid": null, "grantedbytriggerof": "a5bdcdee-bc0e-4340-aaf3-d3d7d43dcc1a"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'hs_office.person', 'a5bdcdee-bc0e-4340-aaf3-d3d7d43dcc1a', 'INSERT', '{"uuid": "a5bdcdee-bc0e-4340-aaf3-d3d7d43dcc1a", "title": null, "version": 0, "givenname": "Peter", "tradename": null, "familyname": "Smith", "persontype": "NP", "salutation": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.subject', 'c6ddc7b6-4afe-4c7a-a5d4-9aeae9940761', 'INSERT', '{"name": "person-TuckerJack@example.com", "uuid": "c6ddc7b6-4afe-4c7a-a5d4-9aeae9940761"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.object', '43cf65a6-59e5-44d6-bf66-0fcf7266404a', 'INSERT', '{"uuid": "43cf65a6-59e5-44d6-bf66-0fcf7266404a", "serialid": 48, "objecttable": "hs_office.person"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.role', '3b2f81e8-4337-4f5e-a023-2f2370309cfc', 'INSERT', '{"uuid": "3b2f81e8-4337-4f5e-a023-2f2370309cfc", "roletype": "OWNER", "objectuuid": "43cf65a6-59e5-44d6-bf66-0fcf7266404a"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.permission', '87c70e01-fb62-46c0-9fe3-ec351c381617', 'INSERT', '{"op": "DELETE", "uuid": "87c70e01-fb62-46c0-9fe3-ec351c381617", "objectuuid": "43cf65a6-59e5-44d6-bf66-0fcf7266404a", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.grant', '777593a7-fb80-4c48-800a-bc3bb9aceade', 'INSERT', '{"uuid": "777593a7-fb80-4c48-800a-bc3bb9aceade", "assumed": true, "ascendantuuid": "3b2f81e8-4337-4f5e-a023-2f2370309cfc", "descendantuuid": "87c70e01-fb62-46c0-9fe3-ec351c381617", "grantedbyroleuuid": null, "grantedbytriggerof": "43cf65a6-59e5-44d6-bf66-0fcf7266404a"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.grant', '0602fce3-ff74-4397-93ec-349893db5545', 'INSERT', '{"uuid": "0602fce3-ff74-4397-93ec-349893db5545", "assumed": true, "ascendantuuid": "afc6a14a-f8c7-4c17-9b91-b615833bc002", "descendantuuid": "3b2f81e8-4337-4f5e-a023-2f2370309cfc", "grantedbyroleuuid": null, "grantedbytriggerof": "43cf65a6-59e5-44d6-bf66-0fcf7266404a"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.grant', '4e54f2d1-0b1e-4e39-94f5-7e639ea786d7', 'INSERT', '{"uuid": "4e54f2d1-0b1e-4e39-94f5-7e639ea786d7", "assumed": true, "ascendantuuid": "c6ddc7b6-4afe-4c7a-a5d4-9aeae9940761", "descendantuuid": "3b2f81e8-4337-4f5e-a023-2f2370309cfc", "grantedbyroleuuid": "3b2f81e8-4337-4f5e-a023-2f2370309cfc", "grantedbytriggerof": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.role', '9f40ec38-70ad-426e-aa26-2b0dd2afee2e', 'INSERT', '{"uuid": "9f40ec38-70ad-426e-aa26-2b0dd2afee2e", "roletype": "ADMIN", "objectuuid": "43cf65a6-59e5-44d6-bf66-0fcf7266404a"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.permission', '95820ab0-b42c-4de0-abac-cee8f5c6a608', 'INSERT', '{"op": "UPDATE", "uuid": "95820ab0-b42c-4de0-abac-cee8f5c6a608", "objectuuid": "43cf65a6-59e5-44d6-bf66-0fcf7266404a", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.grant', 'cd3d9282-65cf-470b-ab0c-fb18a8714e14', 'INSERT', '{"uuid": "cd3d9282-65cf-470b-ab0c-fb18a8714e14", "assumed": true, "ascendantuuid": "9f40ec38-70ad-426e-aa26-2b0dd2afee2e", "descendantuuid": "95820ab0-b42c-4de0-abac-cee8f5c6a608", "grantedbyroleuuid": null, "grantedbytriggerof": "43cf65a6-59e5-44d6-bf66-0fcf7266404a"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.permission', '249b68db-c1ef-4aa2-95f5-cb9404909c53', 'INSERT', '{"op": "UPDATE", "uuid": "249b68db-c1ef-4aa2-95f5-cb9404909c53", "objectuuid": "a2bdfd07-bbc1-417b-b91e-a567641d19c2", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.grant', '5b4d2e3b-a838-4cc1-b4f0-2eea8851a83d', 'INSERT', '{"uuid": "5b4d2e3b-a838-4cc1-b4f0-2eea8851a83d", "assumed": true, "ascendantuuid": "3b2f81e8-4337-4f5e-a023-2f2370309cfc", "descendantuuid": "9f40ec38-70ad-426e-aa26-2b0dd2afee2e", "grantedbyroleuuid": null, "grantedbytriggerof": "43cf65a6-59e5-44d6-bf66-0fcf7266404a"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.role', '51be412d-854a-4a70-82e9-e4f9e34a4834', 'INSERT', '{"uuid": "51be412d-854a-4a70-82e9-e4f9e34a4834", "roletype": "REFERRER", "objectuuid": "43cf65a6-59e5-44d6-bf66-0fcf7266404a"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.permission', 'd7b81343-d5c9-4c3a-8a56-e0a9357320e8', 'INSERT', '{"op": "SELECT", "uuid": "d7b81343-d5c9-4c3a-8a56-e0a9357320e8", "objectuuid": "43cf65a6-59e5-44d6-bf66-0fcf7266404a", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.grant', '5ee21d6a-2010-477b-9e28-8994fe4966e4', 'INSERT', '{"uuid": "5ee21d6a-2010-477b-9e28-8994fe4966e4", "assumed": true, "ascendantuuid": "51be412d-854a-4a70-82e9-e4f9e34a4834", "descendantuuid": "d7b81343-d5c9-4c3a-8a56-e0a9357320e8", "grantedbyroleuuid": null, "grantedbytriggerof": "43cf65a6-59e5-44d6-bf66-0fcf7266404a"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.grant', 'b9dd43a1-c9d2-4de2-8668-ffd1a23beafe', 'INSERT', '{"uuid": "b9dd43a1-c9d2-4de2-8668-ffd1a23beafe", "assumed": true, "ascendantuuid": "9f40ec38-70ad-426e-aa26-2b0dd2afee2e", "descendantuuid": "51be412d-854a-4a70-82e9-e4f9e34a4834", "grantedbyroleuuid": null, "grantedbytriggerof": "43cf65a6-59e5-44d6-bf66-0fcf7266404a"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'hs_office.person', '43cf65a6-59e5-44d6-bf66-0fcf7266404a', 'INSERT', '{"uuid": "43cf65a6-59e5-44d6-bf66-0fcf7266404a", "title": null, "version": 0, "givenname": "Jack", "tradename": null, "familyname": "Tucker", "persontype": "NP", "salutation": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.subject', '7bbd7271-69b4-4b72-9472-5d1fd5cc2f7d', 'INSERT', '{"name": "person-FoulerEllie@example.com", "uuid": "7bbd7271-69b4-4b72-9472-5d1fd5cc2f7d"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.object', '958aa7a0-2531-4661-9444-5e00207fb8c4', 'INSERT', '{"uuid": "958aa7a0-2531-4661-9444-5e00207fb8c4", "serialid": 49, "objecttable": "hs_office.person"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.role', '9fda353a-fddf-424a-a857-a9b6327cd608', 'INSERT', '{"uuid": "9fda353a-fddf-424a-a857-a9b6327cd608", "roletype": "OWNER", "objectuuid": "958aa7a0-2531-4661-9444-5e00207fb8c4"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.permission', '56ecf20e-0e1a-4d79-a632-e26d3d2c8c0d', 'INSERT', '{"op": "DELETE", "uuid": "56ecf20e-0e1a-4d79-a632-e26d3d2c8c0d", "objectuuid": "958aa7a0-2531-4661-9444-5e00207fb8c4", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.grant', 'b4fae488-90b0-4299-a3ac-deab40cbb5d1', 'INSERT', '{"uuid": "b4fae488-90b0-4299-a3ac-deab40cbb5d1", "assumed": true, "ascendantuuid": "9fda353a-fddf-424a-a857-a9b6327cd608", "descendantuuid": "56ecf20e-0e1a-4d79-a632-e26d3d2c8c0d", "grantedbyroleuuid": null, "grantedbytriggerof": "958aa7a0-2531-4661-9444-5e00207fb8c4"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.grant', 'f06f9667-5e48-4ee9-b195-afc93cd378cf', 'INSERT', '{"uuid": "f06f9667-5e48-4ee9-b195-afc93cd378cf", "assumed": true, "ascendantuuid": "afc6a14a-f8c7-4c17-9b91-b615833bc002", "descendantuuid": "9fda353a-fddf-424a-a857-a9b6327cd608", "grantedbyroleuuid": null, "grantedbytriggerof": "958aa7a0-2531-4661-9444-5e00207fb8c4"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.grant', '65143566-5742-4713-8857-29a0e3a85a18', 'INSERT', '{"uuid": "65143566-5742-4713-8857-29a0e3a85a18", "assumed": true, "ascendantuuid": "7bbd7271-69b4-4b72-9472-5d1fd5cc2f7d", "descendantuuid": "9fda353a-fddf-424a-a857-a9b6327cd608", "grantedbyroleuuid": "9fda353a-fddf-424a-a857-a9b6327cd608", "grantedbytriggerof": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.role', '5a2b3a18-5711-4823-9dbb-d5391a6d8563', 'INSERT', '{"uuid": "5a2b3a18-5711-4823-9dbb-d5391a6d8563", "roletype": "ADMIN", "objectuuid": "958aa7a0-2531-4661-9444-5e00207fb8c4"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.permission', 'a598e5fb-719c-4c08-9e5d-821b296abddc', 'INSERT', '{"op": "UPDATE", "uuid": "a598e5fb-719c-4c08-9e5d-821b296abddc", "objectuuid": "958aa7a0-2531-4661-9444-5e00207fb8c4", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.grant', 'b38f7156-0e5b-4518-ad8d-583e08d546dd', 'INSERT', '{"uuid": "b38f7156-0e5b-4518-ad8d-583e08d546dd", "assumed": true, "ascendantuuid": "5a2b3a18-5711-4823-9dbb-d5391a6d8563", "descendantuuid": "a598e5fb-719c-4c08-9e5d-821b296abddc", "grantedbyroleuuid": null, "grantedbytriggerof": "958aa7a0-2531-4661-9444-5e00207fb8c4"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.grant', '3b97eec3-83c4-4d1b-b3ed-fc625ab42f66', 'INSERT', '{"uuid": "3b97eec3-83c4-4d1b-b3ed-fc625ab42f66", "assumed": true, "ascendantuuid": "9fda353a-fddf-424a-a857-a9b6327cd608", "descendantuuid": "5a2b3a18-5711-4823-9dbb-d5391a6d8563", "grantedbyroleuuid": null, "grantedbytriggerof": "958aa7a0-2531-4661-9444-5e00207fb8c4"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.role', '32f84cbf-a88f-4a85-86c7-ef8dacb65f13', 'INSERT', '{"uuid": "32f84cbf-a88f-4a85-86c7-ef8dacb65f13", "roletype": "REFERRER", "objectuuid": "958aa7a0-2531-4661-9444-5e00207fb8c4"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.permission', '2c322336-be01-4450-a782-35fa22c2a195', 'INSERT', '{"op": "SELECT", "uuid": "2c322336-be01-4450-a782-35fa22c2a195", "objectuuid": "958aa7a0-2531-4661-9444-5e00207fb8c4", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.grant', 'b299f163-a316-458b-b8fb-df413bb014f6', 'INSERT', '{"uuid": "b299f163-a316-458b-b8fb-df413bb014f6", "assumed": true, "ascendantuuid": "32f84cbf-a88f-4a85-86c7-ef8dacb65f13", "descendantuuid": "2c322336-be01-4450-a782-35fa22c2a195", "grantedbyroleuuid": null, "grantedbytriggerof": "958aa7a0-2531-4661-9444-5e00207fb8c4"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.grant', '2139349d-2d44-4c01-93f3-0c1aa04327c0', 'INSERT', '{"uuid": "2139349d-2d44-4c01-93f3-0c1aa04327c0", "assumed": true, "ascendantuuid": "5a2b3a18-5711-4823-9dbb-d5391a6d8563", "descendantuuid": "32f84cbf-a88f-4a85-86c7-ef8dacb65f13", "grantedbyroleuuid": null, "grantedbytriggerof": "958aa7a0-2531-4661-9444-5e00207fb8c4"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'hs_office.person', '958aa7a0-2531-4661-9444-5e00207fb8c4', 'INSERT', '{"uuid": "958aa7a0-2531-4661-9444-5e00207fb8c4", "title": null, "version": 0, "givenname": "Ellie", "tradename": null, "familyname": "Fouler", "persontype": "NP", "salutation": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.subject', '552ab094-a7d4-4b79-a02e-15f78954bfbf', 'INSERT', '{"name": "person-PeterSmith-TheSecondHandandThrif@example.com", "uuid": "552ab094-a7d4-4b79-a02e-15f78954bfbf"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.object', 'a2bdfd07-bbc1-417b-b91e-a567641d19c2', 'INSERT', '{"uuid": "a2bdfd07-bbc1-417b-b91e-a567641d19c2", "serialid": 50, "objecttable": "hs_office.person"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.role', 'bfa6fc54-b363-4a47-bcf7-b27d84669531', 'INSERT', '{"uuid": "bfa6fc54-b363-4a47-bcf7-b27d84669531", "roletype": "OWNER", "objectuuid": "a2bdfd07-bbc1-417b-b91e-a567641d19c2"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.permission', '5f180362-48d7-4fef-b049-b5f0947da2c0', 'INSERT', '{"op": "DELETE", "uuid": "5f180362-48d7-4fef-b049-b5f0947da2c0", "objectuuid": "a2bdfd07-bbc1-417b-b91e-a567641d19c2", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.grant', 'd595473f-8ce7-4adf-ae3e-87ccc56eac4a', 'INSERT', '{"uuid": "d595473f-8ce7-4adf-ae3e-87ccc56eac4a", "assumed": true, "ascendantuuid": "bfa6fc54-b363-4a47-bcf7-b27d84669531", "descendantuuid": "5f180362-48d7-4fef-b049-b5f0947da2c0", "grantedbyroleuuid": null, "grantedbytriggerof": "a2bdfd07-bbc1-417b-b91e-a567641d19c2"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.grant', 'a84c6db4-0bcc-4767-8670-e8555fa7d9c8', 'INSERT', '{"uuid": "a84c6db4-0bcc-4767-8670-e8555fa7d9c8", "assumed": true, "ascendantuuid": "afc6a14a-f8c7-4c17-9b91-b615833bc002", "descendantuuid": "bfa6fc54-b363-4a47-bcf7-b27d84669531", "grantedbyroleuuid": null, "grantedbytriggerof": "a2bdfd07-bbc1-417b-b91e-a567641d19c2"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.grant', 'f6b48dc9-5d32-43c1-90dc-c35a2b63f559', 'INSERT', '{"uuid": "f6b48dc9-5d32-43c1-90dc-c35a2b63f559", "assumed": true, "ascendantuuid": "552ab094-a7d4-4b79-a02e-15f78954bfbf", "descendantuuid": "bfa6fc54-b363-4a47-bcf7-b27d84669531", "grantedbyroleuuid": "bfa6fc54-b363-4a47-bcf7-b27d84669531", "grantedbytriggerof": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.role', '9724cc00-bf80-4ad3-9889-323600c10eb4', 'INSERT', '{"uuid": "9724cc00-bf80-4ad3-9889-323600c10eb4", "roletype": "ADMIN", "objectuuid": "a2bdfd07-bbc1-417b-b91e-a567641d19c2"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.grant', '36f1d93b-c153-44dd-8e74-cd3bc15ecae5', 'INSERT', '{"uuid": "36f1d93b-c153-44dd-8e74-cd3bc15ecae5", "assumed": true, "ascendantuuid": "9724cc00-bf80-4ad3-9889-323600c10eb4", "descendantuuid": "249b68db-c1ef-4aa2-95f5-cb9404909c53", "grantedbyroleuuid": null, "grantedbytriggerof": "a2bdfd07-bbc1-417b-b91e-a567641d19c2"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.grant', '807e4104-ecca-49d9-8a04-9cb7ce966b30', 'INSERT', '{"uuid": "807e4104-ecca-49d9-8a04-9cb7ce966b30", "assumed": true, "ascendantuuid": "bfa6fc54-b363-4a47-bcf7-b27d84669531", "descendantuuid": "9724cc00-bf80-4ad3-9889-323600c10eb4", "grantedbyroleuuid": null, "grantedbytriggerof": "a2bdfd07-bbc1-417b-b91e-a567641d19c2"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.role', 'a70cbda3-6a50-481d-98b5-d780eb50fdfc', 'INSERT', '{"uuid": "a70cbda3-6a50-481d-98b5-d780eb50fdfc", "roletype": "REFERRER", "objectuuid": "a2bdfd07-bbc1-417b-b91e-a567641d19c2"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.permission', 'ccc64280-0b0b-4f41-a1cb-bd37612a1baa', 'INSERT', '{"op": "SELECT", "uuid": "ccc64280-0b0b-4f41-a1cb-bd37612a1baa", "objectuuid": "a2bdfd07-bbc1-417b-b91e-a567641d19c2", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.grant', 'a4de5823-a294-4da3-a1de-b770774c8cb2', 'INSERT', '{"uuid": "a4de5823-a294-4da3-a1de-b770774c8cb2", "assumed": true, "ascendantuuid": "a70cbda3-6a50-481d-98b5-d780eb50fdfc", "descendantuuid": "ccc64280-0b0b-4f41-a1cb-bd37612a1baa", "grantedbyroleuuid": null, "grantedbytriggerof": "a2bdfd07-bbc1-417b-b91e-a567641d19c2"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.grant', '8b2ee87b-a7c2-40ef-9c30-85f3a15dec60', 'INSERT', '{"uuid": "8b2ee87b-a7c2-40ef-9c30-85f3a15dec60", "assumed": true, "ascendantuuid": "9724cc00-bf80-4ad3-9889-323600c10eb4", "descendantuuid": "a70cbda3-6a50-481d-98b5-d780eb50fdfc", "grantedbyroleuuid": null, "grantedbytriggerof": "a2bdfd07-bbc1-417b-b91e-a567641d19c2"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'hs_office.person', 'a2bdfd07-bbc1-417b-b91e-a567641d19c2', 'INSERT', '{"uuid": "a2bdfd07-bbc1-417b-b91e-a567641d19c2", "title": null, "version": 0, "givenname": "Peter", "tradename": "Peter Smith - The Second Hand and Thrift Stores-n-Shipping e.K.", "familyname": "Smith", "persontype": "LP", "salutation": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.subject', '27c48121-45ee-43d8-8efc-e69381125139', 'INSERT', '{"name": "person-ThirdOHG@example.com", "uuid": "27c48121-45ee-43d8-8efc-e69381125139"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.object', '2ddcf68b-eb88-45e7-a6aa-3da9c32115a1', 'INSERT', '{"uuid": "2ddcf68b-eb88-45e7-a6aa-3da9c32115a1", "serialid": 51, "objecttable": "hs_office.person"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.role', '5be17991-149b-484b-8386-01fc83b53a10', 'INSERT', '{"uuid": "5be17991-149b-484b-8386-01fc83b53a10", "roletype": "OWNER", "objectuuid": "2ddcf68b-eb88-45e7-a6aa-3da9c32115a1"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.permission', 'fe53df6e-c9a5-46e1-a571-c3c0062cd655', 'INSERT', '{"op": "DELETE", "uuid": "fe53df6e-c9a5-46e1-a571-c3c0062cd655", "objectuuid": "2ddcf68b-eb88-45e7-a6aa-3da9c32115a1", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.grant', 'c7b748e1-6d92-4f7f-bcd1-e7e740136225', 'INSERT', '{"uuid": "c7b748e1-6d92-4f7f-bcd1-e7e740136225", "assumed": true, "ascendantuuid": "5be17991-149b-484b-8386-01fc83b53a10", "descendantuuid": "fe53df6e-c9a5-46e1-a571-c3c0062cd655", "grantedbyroleuuid": null, "grantedbytriggerof": "2ddcf68b-eb88-45e7-a6aa-3da9c32115a1"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.grant', 'c9092908-9690-4ef5-abc2-73c70fc304d3', 'INSERT', '{"uuid": "c9092908-9690-4ef5-abc2-73c70fc304d3", "assumed": true, "ascendantuuid": "afc6a14a-f8c7-4c17-9b91-b615833bc002", "descendantuuid": "5be17991-149b-484b-8386-01fc83b53a10", "grantedbyroleuuid": null, "grantedbytriggerof": "2ddcf68b-eb88-45e7-a6aa-3da9c32115a1"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.grant', 'c3ad6f0c-826d-464a-8e12-655487e2aa5d', 'INSERT', '{"uuid": "c3ad6f0c-826d-464a-8e12-655487e2aa5d", "assumed": true, "ascendantuuid": "27c48121-45ee-43d8-8efc-e69381125139", "descendantuuid": "5be17991-149b-484b-8386-01fc83b53a10", "grantedbyroleuuid": "5be17991-149b-484b-8386-01fc83b53a10", "grantedbytriggerof": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.role', 'ccd7a35d-4c6f-461d-8b9a-ca95a1f86172', 'INSERT', '{"uuid": "ccd7a35d-4c6f-461d-8b9a-ca95a1f86172", "roletype": "ADMIN", "objectuuid": "2ddcf68b-eb88-45e7-a6aa-3da9c32115a1"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.permission', '4c248fa5-c31d-49d4-a7e6-97b496b777e0', 'INSERT', '{"op": "UPDATE", "uuid": "4c248fa5-c31d-49d4-a7e6-97b496b777e0", "objectuuid": "2ddcf68b-eb88-45e7-a6aa-3da9c32115a1", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.grant', '01100595-742d-4517-bf85-c6dd505c0823', 'INSERT', '{"uuid": "01100595-742d-4517-bf85-c6dd505c0823", "assumed": true, "ascendantuuid": "ccd7a35d-4c6f-461d-8b9a-ca95a1f86172", "descendantuuid": "4c248fa5-c31d-49d4-a7e6-97b496b777e0", "grantedbyroleuuid": null, "grantedbytriggerof": "2ddcf68b-eb88-45e7-a6aa-3da9c32115a1"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.grant', 'c0a704b5-c0fe-4552-a98c-5e48122b3e0d', 'INSERT', '{"uuid": "c0a704b5-c0fe-4552-a98c-5e48122b3e0d", "assumed": true, "ascendantuuid": "5be17991-149b-484b-8386-01fc83b53a10", "descendantuuid": "ccd7a35d-4c6f-461d-8b9a-ca95a1f86172", "grantedbyroleuuid": null, "grantedbytriggerof": "2ddcf68b-eb88-45e7-a6aa-3da9c32115a1"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.role', 'c7c42e30-f5fa-4eae-9c26-35d0756423af', 'INSERT', '{"uuid": "c7c42e30-f5fa-4eae-9c26-35d0756423af", "roletype": "REFERRER", "objectuuid": "2ddcf68b-eb88-45e7-a6aa-3da9c32115a1"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.permission', '0c7bf875-e45c-4336-952f-a611c8383f29', 'INSERT', '{"op": "SELECT", "uuid": "0c7bf875-e45c-4336-952f-a611c8383f29", "objectuuid": "2ddcf68b-eb88-45e7-a6aa-3da9c32115a1", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.grant', 'c48fed90-b98b-4f86-956b-edf5b51f3aba', 'INSERT', '{"uuid": "c48fed90-b98b-4f86-956b-edf5b51f3aba", "assumed": true, "ascendantuuid": "c7c42e30-f5fa-4eae-9c26-35d0756423af", "descendantuuid": "0c7bf875-e45c-4336-952f-a611c8383f29", "grantedbyroleuuid": null, "grantedbytriggerof": "2ddcf68b-eb88-45e7-a6aa-3da9c32115a1"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.grant', 'f738db12-77c4-48bb-9058-a8fec2c160fa', 'INSERT', '{"uuid": "f738db12-77c4-48bb-9058-a8fec2c160fa", "assumed": true, "ascendantuuid": "ccd7a35d-4c6f-461d-8b9a-ca95a1f86172", "descendantuuid": "c7c42e30-f5fa-4eae-9c26-35d0756423af", "grantedbyroleuuid": null, "grantedbytriggerof": "2ddcf68b-eb88-45e7-a6aa-3da9c32115a1"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'hs_office.person', '2ddcf68b-eb88-45e7-a6aa-3da9c32115a1', 'INSERT', '{"uuid": "2ddcf68b-eb88-45e7-a6aa-3da9c32115a1", "title": null, "version": 0, "givenname": null, "tradename": "Third OHG", "familyname": null, "persontype": "IF", "salutation": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.subject', '79154a1d-1d55-4012-be4f-b214206ddfd6', 'INSERT', '{"name": "person-FourtheG@example.com", "uuid": "79154a1d-1d55-4012-be4f-b214206ddfd6"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.object', '8931b7ef-2f89-44c5-b7c2-730b898f2227', 'INSERT', '{"uuid": "8931b7ef-2f89-44c5-b7c2-730b898f2227", "serialid": 52, "objecttable": "hs_office.person"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.role', '21f302be-fb10-48c6-92ce-c01f854e5a59', 'INSERT', '{"uuid": "21f302be-fb10-48c6-92ce-c01f854e5a59", "roletype": "OWNER", "objectuuid": "8931b7ef-2f89-44c5-b7c2-730b898f2227"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.permission', 'db868607-e90d-4c4d-95ed-4a272e20b1b3', 'INSERT', '{"op": "DELETE", "uuid": "db868607-e90d-4c4d-95ed-4a272e20b1b3", "objectuuid": "8931b7ef-2f89-44c5-b7c2-730b898f2227", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.grant', '06360110-10a3-49b7-9dd2-d1fd81f17f79', 'INSERT', '{"uuid": "06360110-10a3-49b7-9dd2-d1fd81f17f79", "assumed": true, "ascendantuuid": "21f302be-fb10-48c6-92ce-c01f854e5a59", "descendantuuid": "db868607-e90d-4c4d-95ed-4a272e20b1b3", "grantedbyroleuuid": null, "grantedbytriggerof": "8931b7ef-2f89-44c5-b7c2-730b898f2227"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.grant', '2b3de20e-04ea-4c0a-9fef-2d65d3af2a8a', 'INSERT', '{"uuid": "2b3de20e-04ea-4c0a-9fef-2d65d3af2a8a", "assumed": true, "ascendantuuid": "afc6a14a-f8c7-4c17-9b91-b615833bc002", "descendantuuid": "21f302be-fb10-48c6-92ce-c01f854e5a59", "grantedbyroleuuid": null, "grantedbytriggerof": "8931b7ef-2f89-44c5-b7c2-730b898f2227"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.object', '195ef8b7-3c56-4ef4-8db6-47b4cf15d572', 'INSERT', '{"uuid": "195ef8b7-3c56-4ef4-8db6-47b4cf15d572", "serialid": 56, "objecttable": "hs_office.person"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.grant', '644be55e-d766-4e77-ba8f-916fee31e9f1', 'INSERT', '{"uuid": "644be55e-d766-4e77-ba8f-916fee31e9f1", "assumed": true, "ascendantuuid": "79154a1d-1d55-4012-be4f-b214206ddfd6", "descendantuuid": "21f302be-fb10-48c6-92ce-c01f854e5a59", "grantedbyroleuuid": "21f302be-fb10-48c6-92ce-c01f854e5a59", "grantedbytriggerof": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.role', '2d941ad9-f2fe-4971-9825-2d921c2faa55', 'INSERT', '{"uuid": "2d941ad9-f2fe-4971-9825-2d921c2faa55", "roletype": "ADMIN", "objectuuid": "8931b7ef-2f89-44c5-b7c2-730b898f2227"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.permission', '4b6a2695-e4f5-4192-80bb-c90655e08afc', 'INSERT', '{"op": "UPDATE", "uuid": "4b6a2695-e4f5-4192-80bb-c90655e08afc", "objectuuid": "8931b7ef-2f89-44c5-b7c2-730b898f2227", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.grant', 'a97c2f16-707c-4335-b430-e5cf3bb05af6', 'INSERT', '{"uuid": "a97c2f16-707c-4335-b430-e5cf3bb05af6", "assumed": true, "ascendantuuid": "2d941ad9-f2fe-4971-9825-2d921c2faa55", "descendantuuid": "4b6a2695-e4f5-4192-80bb-c90655e08afc", "grantedbyroleuuid": null, "grantedbytriggerof": "8931b7ef-2f89-44c5-b7c2-730b898f2227"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.grant', '49c3f880-5afd-4cab-9684-2f29217504d1', 'INSERT', '{"uuid": "49c3f880-5afd-4cab-9684-2f29217504d1", "assumed": true, "ascendantuuid": "21f302be-fb10-48c6-92ce-c01f854e5a59", "descendantuuid": "2d941ad9-f2fe-4971-9825-2d921c2faa55", "grantedbyroleuuid": null, "grantedbytriggerof": "8931b7ef-2f89-44c5-b7c2-730b898f2227"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.role', '420a6c52-7ac3-4919-8d82-db86daccdf7c', 'INSERT', '{"uuid": "420a6c52-7ac3-4919-8d82-db86daccdf7c", "roletype": "REFERRER", "objectuuid": "8931b7ef-2f89-44c5-b7c2-730b898f2227"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.permission', '85f13df2-ace9-49db-8f95-09abe7ec42f3', 'INSERT', '{"op": "SELECT", "uuid": "85f13df2-ace9-49db-8f95-09abe7ec42f3", "objectuuid": "8931b7ef-2f89-44c5-b7c2-730b898f2227", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.grant', '800591c1-ec4f-4d5f-9342-c764737180f7', 'INSERT', '{"uuid": "800591c1-ec4f-4d5f-9342-c764737180f7", "assumed": true, "ascendantuuid": "420a6c52-7ac3-4919-8d82-db86daccdf7c", "descendantuuid": "85f13df2-ace9-49db-8f95-09abe7ec42f3", "grantedbyroleuuid": null, "grantedbytriggerof": "8931b7ef-2f89-44c5-b7c2-730b898f2227"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.grant', '25a6124f-2b71-4c3a-91e2-2c8f586fa6ab', 'INSERT', '{"uuid": "25a6124f-2b71-4c3a-91e2-2c8f586fa6ab", "assumed": true, "ascendantuuid": "2d941ad9-f2fe-4971-9825-2d921c2faa55", "descendantuuid": "420a6c52-7ac3-4919-8d82-db86daccdf7c", "grantedbyroleuuid": null, "grantedbytriggerof": "8931b7ef-2f89-44c5-b7c2-730b898f2227"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'hs_office.person', '8931b7ef-2f89-44c5-b7c2-730b898f2227', 'INSERT', '{"uuid": "8931b7ef-2f89-44c5-b7c2-730b898f2227", "title": null, "version": 0, "givenname": null, "tradename": "Fourth eG", "familyname": null, "persontype": "LP", "salutation": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.subject', 'fd90820d-a08a-456d-ae81-53d384530c68', 'INSERT', '{"name": "person-ErbenBesslerMelBessler@example.com", "uuid": "fd90820d-a08a-456d-ae81-53d384530c68"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.object', '6d226408-de6e-497a-abbb-7a9c66cee762', 'INSERT', '{"uuid": "6d226408-de6e-497a-abbb-7a9c66cee762", "serialid": 53, "objecttable": "hs_office.person"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.role', '07a54611-1eaf-47b5-a60a-cd5daa940457', 'INSERT', '{"uuid": "07a54611-1eaf-47b5-a60a-cd5daa940457", "roletype": "OWNER", "objectuuid": "6d226408-de6e-497a-abbb-7a9c66cee762"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.permission', '0938e4de-6cc4-456c-808f-74559536537e', 'INSERT', '{"op": "DELETE", "uuid": "0938e4de-6cc4-456c-808f-74559536537e", "objectuuid": "6d226408-de6e-497a-abbb-7a9c66cee762", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.grant', 'ea17742c-2de7-41f2-8918-f57fe9e4b617', 'INSERT', '{"uuid": "ea17742c-2de7-41f2-8918-f57fe9e4b617", "assumed": true, "ascendantuuid": "07a54611-1eaf-47b5-a60a-cd5daa940457", "descendantuuid": "0938e4de-6cc4-456c-808f-74559536537e", "grantedbyroleuuid": null, "grantedbytriggerof": "6d226408-de6e-497a-abbb-7a9c66cee762"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.grant', 'f5900e07-54c5-44c6-924d-3ac0fc9e1d9f', 'INSERT', '{"uuid": "f5900e07-54c5-44c6-924d-3ac0fc9e1d9f", "assumed": true, "ascendantuuid": "afc6a14a-f8c7-4c17-9b91-b615833bc002", "descendantuuid": "07a54611-1eaf-47b5-a60a-cd5daa940457", "grantedbyroleuuid": null, "grantedbytriggerof": "6d226408-de6e-497a-abbb-7a9c66cee762"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.grant', '323d54e2-cb01-464e-a51d-7c46d23d6c34', 'INSERT', '{"uuid": "323d54e2-cb01-464e-a51d-7c46d23d6c34", "assumed": true, "ascendantuuid": "fd90820d-a08a-456d-ae81-53d384530c68", "descendantuuid": "07a54611-1eaf-47b5-a60a-cd5daa940457", "grantedbyroleuuid": "07a54611-1eaf-47b5-a60a-cd5daa940457", "grantedbytriggerof": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.role', '589444d1-ddc3-4c41-b153-1ccfce6f2586', 'INSERT', '{"uuid": "589444d1-ddc3-4c41-b153-1ccfce6f2586", "roletype": "ADMIN", "objectuuid": "6d226408-de6e-497a-abbb-7a9c66cee762"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.permission', 'c6be536b-27a3-4a27-8e9a-29a63502e10b', 'INSERT', '{"op": "UPDATE", "uuid": "c6be536b-27a3-4a27-8e9a-29a63502e10b", "objectuuid": "6d226408-de6e-497a-abbb-7a9c66cee762", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.grant', '2b688d8e-d63b-41ad-9b60-d83a526c86d3', 'INSERT', '{"uuid": "2b688d8e-d63b-41ad-9b60-d83a526c86d3", "assumed": true, "ascendantuuid": "589444d1-ddc3-4c41-b153-1ccfce6f2586", "descendantuuid": "c6be536b-27a3-4a27-8e9a-29a63502e10b", "grantedbyroleuuid": null, "grantedbytriggerof": "6d226408-de6e-497a-abbb-7a9c66cee762"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.grant', '1097a17e-5a9b-4075-be4d-1203f3bcfe64', 'INSERT', '{"uuid": "1097a17e-5a9b-4075-be4d-1203f3bcfe64", "assumed": true, "ascendantuuid": "07a54611-1eaf-47b5-a60a-cd5daa940457", "descendantuuid": "589444d1-ddc3-4c41-b153-1ccfce6f2586", "grantedbyroleuuid": null, "grantedbytriggerof": "6d226408-de6e-497a-abbb-7a9c66cee762"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.role', 'd9ced1a5-6178-4a6e-9290-b5caadfa9a56', 'INSERT', '{"uuid": "d9ced1a5-6178-4a6e-9290-b5caadfa9a56", "roletype": "REFERRER", "objectuuid": "6d226408-de6e-497a-abbb-7a9c66cee762"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.permission', '1d96f733-ce69-43d5-a96e-70795d90717f', 'INSERT', '{"op": "SELECT", "uuid": "1d96f733-ce69-43d5-a96e-70795d90717f", "objectuuid": "6d226408-de6e-497a-abbb-7a9c66cee762", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.grant', 'daace39b-9ea2-4f1e-8586-5e254ad8cea2', 'INSERT', '{"uuid": "daace39b-9ea2-4f1e-8586-5e254ad8cea2", "assumed": true, "ascendantuuid": "d9ced1a5-6178-4a6e-9290-b5caadfa9a56", "descendantuuid": "1d96f733-ce69-43d5-a96e-70795d90717f", "grantedbyroleuuid": null, "grantedbytriggerof": "6d226408-de6e-497a-abbb-7a9c66cee762"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.grant', '3af5af9b-8832-4f4d-8262-c69125d2300c', 'INSERT', '{"uuid": "3af5af9b-8832-4f4d-8262-c69125d2300c", "assumed": true, "ascendantuuid": "589444d1-ddc3-4c41-b153-1ccfce6f2586", "descendantuuid": "d9ced1a5-6178-4a6e-9290-b5caadfa9a56", "grantedbyroleuuid": null, "grantedbytriggerof": "6d226408-de6e-497a-abbb-7a9c66cee762"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'hs_office.person', '6d226408-de6e-497a-abbb-7a9c66cee762', 'INSERT', '{"uuid": "6d226408-de6e-497a-abbb-7a9c66cee762", "title": null, "version": 0, "givenname": "Bessler", "tradename": "Erben Bessler", "familyname": "Mel", "persontype": "UF", "salutation": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.subject', '1d51b7f2-30bf-4561-a584-079ab1c6f096', 'INSERT', '{"name": "person-BesslerAnita@example.com", "uuid": "1d51b7f2-30bf-4561-a584-079ab1c6f096"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.object', 'eea4f215-2c8a-4d14-a9e7-82860faa5a42', 'INSERT', '{"uuid": "eea4f215-2c8a-4d14-a9e7-82860faa5a42", "serialid": 54, "objecttable": "hs_office.person"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.role', '0d3bdf04-c0b4-4e4d-823d-f0b748b80460', 'INSERT', '{"uuid": "0d3bdf04-c0b4-4e4d-823d-f0b748b80460", "roletype": "OWNER", "objectuuid": "eea4f215-2c8a-4d14-a9e7-82860faa5a42"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.permission', '3533f183-c696-483e-b6e0-26255a21a8e4', 'INSERT', '{"op": "DELETE", "uuid": "3533f183-c696-483e-b6e0-26255a21a8e4", "objectuuid": "eea4f215-2c8a-4d14-a9e7-82860faa5a42", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.grant', '0e8bdd6d-2b46-4f53-bf88-d1063f770973', 'INSERT', '{"uuid": "0e8bdd6d-2b46-4f53-bf88-d1063f770973", "assumed": true, "ascendantuuid": "0d3bdf04-c0b4-4e4d-823d-f0b748b80460", "descendantuuid": "3533f183-c696-483e-b6e0-26255a21a8e4", "grantedbyroleuuid": null, "grantedbytriggerof": "eea4f215-2c8a-4d14-a9e7-82860faa5a42"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.grant', '21160b6c-1ca5-421d-8a40-18b1ce64551d', 'INSERT', '{"uuid": "21160b6c-1ca5-421d-8a40-18b1ce64551d", "assumed": true, "ascendantuuid": "afc6a14a-f8c7-4c17-9b91-b615833bc002", "descendantuuid": "0d3bdf04-c0b4-4e4d-823d-f0b748b80460", "grantedbyroleuuid": null, "grantedbytriggerof": "eea4f215-2c8a-4d14-a9e7-82860faa5a42"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.grant', '61680a8b-2dd7-4c60-980a-1a2851ece69c', 'INSERT', '{"uuid": "61680a8b-2dd7-4c60-980a-1a2851ece69c", "assumed": true, "ascendantuuid": "1d51b7f2-30bf-4561-a584-079ab1c6f096", "descendantuuid": "0d3bdf04-c0b4-4e4d-823d-f0b748b80460", "grantedbyroleuuid": "0d3bdf04-c0b4-4e4d-823d-f0b748b80460", "grantedbytriggerof": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.role', '61a014d9-88cf-4966-a6db-df32fc6c0ab1', 'INSERT', '{"uuid": "61a014d9-88cf-4966-a6db-df32fc6c0ab1", "roletype": "ADMIN", "objectuuid": "eea4f215-2c8a-4d14-a9e7-82860faa5a42"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.permission', '666482c0-4cfb-4ba3-ae6f-6b1844493eb1', 'INSERT', '{"op": "UPDATE", "uuid": "666482c0-4cfb-4ba3-ae6f-6b1844493eb1", "objectuuid": "eea4f215-2c8a-4d14-a9e7-82860faa5a42", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.grant', '6209ec69-22da-45ff-adf3-9d0eba1d1168', 'INSERT', '{"uuid": "6209ec69-22da-45ff-adf3-9d0eba1d1168", "assumed": true, "ascendantuuid": "61a014d9-88cf-4966-a6db-df32fc6c0ab1", "descendantuuid": "666482c0-4cfb-4ba3-ae6f-6b1844493eb1", "grantedbyroleuuid": null, "grantedbytriggerof": "eea4f215-2c8a-4d14-a9e7-82860faa5a42"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.grant', 'b6b1f658-1f78-4840-9b19-9ce7bb932466', 'INSERT', '{"uuid": "b6b1f658-1f78-4840-9b19-9ce7bb932466", "assumed": true, "ascendantuuid": "0d3bdf04-c0b4-4e4d-823d-f0b748b80460", "descendantuuid": "61a014d9-88cf-4966-a6db-df32fc6c0ab1", "grantedbyroleuuid": null, "grantedbytriggerof": "eea4f215-2c8a-4d14-a9e7-82860faa5a42"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.role', '10892e70-ab5a-45a1-b5f8-86a5b0a13812', 'INSERT', '{"uuid": "10892e70-ab5a-45a1-b5f8-86a5b0a13812", "roletype": "REFERRER", "objectuuid": "eea4f215-2c8a-4d14-a9e7-82860faa5a42"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.permission', '4dc9b3e7-a8ad-402a-9743-192752197e9f', 'INSERT', '{"op": "SELECT", "uuid": "4dc9b3e7-a8ad-402a-9743-192752197e9f", "objectuuid": "eea4f215-2c8a-4d14-a9e7-82860faa5a42", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.grant', '07256ddc-4f05-4fc0-88b0-03b04091edfd', 'INSERT', '{"uuid": "07256ddc-4f05-4fc0-88b0-03b04091edfd", "assumed": true, "ascendantuuid": "10892e70-ab5a-45a1-b5f8-86a5b0a13812", "descendantuuid": "4dc9b3e7-a8ad-402a-9743-192752197e9f", "grantedbyroleuuid": null, "grantedbytriggerof": "eea4f215-2c8a-4d14-a9e7-82860faa5a42"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.grant', 'b9bee4ab-aa02-4328-b9da-e5e2cf5ac3cb', 'INSERT', '{"uuid": "b9bee4ab-aa02-4328-b9da-e5e2cf5ac3cb", "assumed": true, "ascendantuuid": "61a014d9-88cf-4966-a6db-df32fc6c0ab1", "descendantuuid": "10892e70-ab5a-45a1-b5f8-86a5b0a13812", "grantedbyroleuuid": null, "grantedbytriggerof": "eea4f215-2c8a-4d14-a9e7-82860faa5a42"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'hs_office.person', 'eea4f215-2c8a-4d14-a9e7-82860faa5a42', 'INSERT', '{"uuid": "eea4f215-2c8a-4d14-a9e7-82860faa5a42", "title": null, "version": 0, "givenname": "Anita", "tradename": null, "familyname": "Bessler", "persontype": "NP", "salutation": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.subject', '4f915955-263f-43f4-8556-4770f2227498', 'INSERT', '{"name": "person-BesslerBert@example.com", "uuid": "4f915955-263f-43f4-8556-4770f2227498"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.object', '6d1a20f7-2fd0-4c62-a304-1fc1eeedb59d', 'INSERT', '{"uuid": "6d1a20f7-2fd0-4c62-a304-1fc1eeedb59d", "serialid": 55, "objecttable": "hs_office.person"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.role', 'd0386fb6-0911-4534-9b64-d622e9940c5f', 'INSERT', '{"uuid": "d0386fb6-0911-4534-9b64-d622e9940c5f", "roletype": "OWNER", "objectuuid": "6d1a20f7-2fd0-4c62-a304-1fc1eeedb59d"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.permission', '87f63786-04ee-4b28-81ec-14a90047dd07', 'INSERT', '{"op": "DELETE", "uuid": "87f63786-04ee-4b28-81ec-14a90047dd07", "objectuuid": "6d1a20f7-2fd0-4c62-a304-1fc1eeedb59d", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.grant', 'ddc0d30f-049b-4e19-937d-17d078554641', 'INSERT', '{"uuid": "ddc0d30f-049b-4e19-937d-17d078554641", "assumed": true, "ascendantuuid": "d0386fb6-0911-4534-9b64-d622e9940c5f", "descendantuuid": "87f63786-04ee-4b28-81ec-14a90047dd07", "grantedbyroleuuid": null, "grantedbytriggerof": "6d1a20f7-2fd0-4c62-a304-1fc1eeedb59d"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.grant', '491e17b6-0dfd-4d61-8730-9a5a0fcd42bc', 'INSERT', '{"uuid": "491e17b6-0dfd-4d61-8730-9a5a0fcd42bc", "assumed": true, "ascendantuuid": "afc6a14a-f8c7-4c17-9b91-b615833bc002", "descendantuuid": "d0386fb6-0911-4534-9b64-d622e9940c5f", "grantedbyroleuuid": null, "grantedbytriggerof": "6d1a20f7-2fd0-4c62-a304-1fc1eeedb59d"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.grant', '53db5925-1832-4642-ae1d-0cd8bfe22228', 'INSERT', '{"uuid": "53db5925-1832-4642-ae1d-0cd8bfe22228", "assumed": true, "ascendantuuid": "4f915955-263f-43f4-8556-4770f2227498", "descendantuuid": "d0386fb6-0911-4534-9b64-d622e9940c5f", "grantedbyroleuuid": "d0386fb6-0911-4534-9b64-d622e9940c5f", "grantedbytriggerof": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.role', 'ce54837c-5f96-4cc2-bfb2-ae2d648cbd13', 'INSERT', '{"uuid": "ce54837c-5f96-4cc2-bfb2-ae2d648cbd13", "roletype": "ADMIN", "objectuuid": "6d1a20f7-2fd0-4c62-a304-1fc1eeedb59d"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.permission', '17f44032-ab36-4531-8c16-0762a497a6a5', 'INSERT', '{"op": "UPDATE", "uuid": "17f44032-ab36-4531-8c16-0762a497a6a5", "objectuuid": "6d1a20f7-2fd0-4c62-a304-1fc1eeedb59d", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.grant', '5202ed62-ceff-4929-bed1-4a4889bcf55c', 'INSERT', '{"uuid": "5202ed62-ceff-4929-bed1-4a4889bcf55c", "assumed": true, "ascendantuuid": "ce54837c-5f96-4cc2-bfb2-ae2d648cbd13", "descendantuuid": "17f44032-ab36-4531-8c16-0762a497a6a5", "grantedbyroleuuid": null, "grantedbytriggerof": "6d1a20f7-2fd0-4c62-a304-1fc1eeedb59d"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.grant', '37647124-6356-4805-89fc-48a20adefcaf', 'INSERT', '{"uuid": "37647124-6356-4805-89fc-48a20adefcaf", "assumed": true, "ascendantuuid": "d0386fb6-0911-4534-9b64-d622e9940c5f", "descendantuuid": "ce54837c-5f96-4cc2-bfb2-ae2d648cbd13", "grantedbyroleuuid": null, "grantedbytriggerof": "6d1a20f7-2fd0-4c62-a304-1fc1eeedb59d"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.role', 'd04744da-b54e-4f1c-babb-40a5392dd7ad', 'INSERT', '{"uuid": "d04744da-b54e-4f1c-babb-40a5392dd7ad", "roletype": "REFERRER", "objectuuid": "6d1a20f7-2fd0-4c62-a304-1fc1eeedb59d"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.permission', 'f9d798ba-a93f-49d7-99c8-2bfd6b8c9000', 'INSERT', '{"op": "SELECT", "uuid": "f9d798ba-a93f-49d7-99c8-2bfd6b8c9000", "objectuuid": "6d1a20f7-2fd0-4c62-a304-1fc1eeedb59d", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.grant', '80e61b35-5eed-40a7-8c7f-334cc1c359a7', 'INSERT', '{"uuid": "80e61b35-5eed-40a7-8c7f-334cc1c359a7", "assumed": true, "ascendantuuid": "d04744da-b54e-4f1c-babb-40a5392dd7ad", "descendantuuid": "f9d798ba-a93f-49d7-99c8-2bfd6b8c9000", "grantedbyroleuuid": null, "grantedbytriggerof": "6d1a20f7-2fd0-4c62-a304-1fc1eeedb59d"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.grant', '26f815bc-ca53-41fb-824d-e62a9535cba2', 'INSERT', '{"uuid": "26f815bc-ca53-41fb-824d-e62a9535cba2", "assumed": true, "ascendantuuid": "ce54837c-5f96-4cc2-bfb2-ae2d648cbd13", "descendantuuid": "d04744da-b54e-4f1c-babb-40a5392dd7ad", "grantedbyroleuuid": null, "grantedbytriggerof": "6d1a20f7-2fd0-4c62-a304-1fc1eeedb59d"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'hs_office.person', '6d1a20f7-2fd0-4c62-a304-1fc1eeedb59d', 'INSERT', '{"uuid": "6d1a20f7-2fd0-4c62-a304-1fc1eeedb59d", "title": null, "version": 0, "givenname": "Bert", "tradename": null, "familyname": "Bessler", "persontype": "NP", "salutation": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.subject', '072d9a7b-e602-431d-af72-be391ac7c711', 'INSERT', '{"name": "person-WinklerPaul@example.com", "uuid": "072d9a7b-e602-431d-af72-be391ac7c711"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.role', '45fbb4e3-92da-4a60-8437-9f7fc5289f19', 'INSERT', '{"uuid": "45fbb4e3-92da-4a60-8437-9f7fc5289f19", "roletype": "OWNER", "objectuuid": "195ef8b7-3c56-4ef4-8db6-47b4cf15d572"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.permission', '3548e5cc-735d-4416-96a9-16edb44a2033', 'INSERT', '{"op": "DELETE", "uuid": "3548e5cc-735d-4416-96a9-16edb44a2033", "objectuuid": "195ef8b7-3c56-4ef4-8db6-47b4cf15d572", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.grant', 'f1dcf187-1cd6-4887-a86d-b6b1c0df68d8', 'INSERT', '{"uuid": "f1dcf187-1cd6-4887-a86d-b6b1c0df68d8", "assumed": true, "ascendantuuid": "45fbb4e3-92da-4a60-8437-9f7fc5289f19", "descendantuuid": "3548e5cc-735d-4416-96a9-16edb44a2033", "grantedbyroleuuid": null, "grantedbytriggerof": "195ef8b7-3c56-4ef4-8db6-47b4cf15d572"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.grant', '791c6ab3-007d-4d99-abd6-b14eb8de8680', 'INSERT', '{"uuid": "791c6ab3-007d-4d99-abd6-b14eb8de8680", "assumed": true, "ascendantuuid": "afc6a14a-f8c7-4c17-9b91-b615833bc002", "descendantuuid": "45fbb4e3-92da-4a60-8437-9f7fc5289f19", "grantedbyroleuuid": null, "grantedbytriggerof": "195ef8b7-3c56-4ef4-8db6-47b4cf15d572"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.grant', '26a19cea-9eb9-42fa-9151-e516303334e5', 'INSERT', '{"uuid": "26a19cea-9eb9-42fa-9151-e516303334e5", "assumed": true, "ascendantuuid": "072d9a7b-e602-431d-af72-be391ac7c711", "descendantuuid": "45fbb4e3-92da-4a60-8437-9f7fc5289f19", "grantedbyroleuuid": "45fbb4e3-92da-4a60-8437-9f7fc5289f19", "grantedbytriggerof": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.role', '35c41304-1b36-43b0-ba77-14f3b9202ccc', 'INSERT', '{"uuid": "35c41304-1b36-43b0-ba77-14f3b9202ccc", "roletype": "ADMIN", "objectuuid": "195ef8b7-3c56-4ef4-8db6-47b4cf15d572"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.permission', 'c6767463-d297-4e51-9fd0-52e5fe81fb75', 'INSERT', '{"op": "UPDATE", "uuid": "c6767463-d297-4e51-9fd0-52e5fe81fb75", "objectuuid": "195ef8b7-3c56-4ef4-8db6-47b4cf15d572", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.grant', '8193d7b1-95f6-4e00-9fa5-9e01c6eb23ca', 'INSERT', '{"uuid": "8193d7b1-95f6-4e00-9fa5-9e01c6eb23ca", "assumed": true, "ascendantuuid": "35c41304-1b36-43b0-ba77-14f3b9202ccc", "descendantuuid": "c6767463-d297-4e51-9fd0-52e5fe81fb75", "grantedbyroleuuid": null, "grantedbytriggerof": "195ef8b7-3c56-4ef4-8db6-47b4cf15d572"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.grant', '8d0f19f0-50bd-41b1-be2b-3f6591e3f754', 'INSERT', '{"uuid": "8d0f19f0-50bd-41b1-be2b-3f6591e3f754", "assumed": true, "ascendantuuid": "45fbb4e3-92da-4a60-8437-9f7fc5289f19", "descendantuuid": "35c41304-1b36-43b0-ba77-14f3b9202ccc", "grantedbyroleuuid": null, "grantedbytriggerof": "195ef8b7-3c56-4ef4-8db6-47b4cf15d572"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.role', '82a82410-5192-4cea-ac2d-698df4513de9', 'INSERT', '{"uuid": "82a82410-5192-4cea-ac2d-698df4513de9", "roletype": "REFERRER", "objectuuid": "195ef8b7-3c56-4ef4-8db6-47b4cf15d572"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.permission', '8d11fb25-d2b6-49e1-9382-a8ac1417e982', 'INSERT', '{"op": "SELECT", "uuid": "8d11fb25-d2b6-49e1-9382-a8ac1417e982", "objectuuid": "195ef8b7-3c56-4ef4-8db6-47b4cf15d572", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.grant', '9cefe255-44d1-4373-acc9-5f1343c56043', 'INSERT', '{"uuid": "9cefe255-44d1-4373-acc9-5f1343c56043", "assumed": true, "ascendantuuid": "82a82410-5192-4cea-ac2d-698df4513de9", "descendantuuid": "8d11fb25-d2b6-49e1-9382-a8ac1417e982", "grantedbyroleuuid": null, "grantedbytriggerof": "195ef8b7-3c56-4ef4-8db6-47b4cf15d572"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'rbac.grant', '806cb72e-8dce-4306-a3de-3f2114ec4095', 'INSERT', '{"uuid": "806cb72e-8dce-4306-a3de-3f2114ec4095", "assumed": true, "ascendantuuid": "35c41304-1b36-43b0-ba77-14f3b9202ccc", "descendantuuid": "82a82410-5192-4cea-ac2d-698df4513de9", "grantedbyroleuuid": null, "grantedbytriggerof": "195ef8b7-3c56-4ef4-8db6-47b4cf15d572"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1164', 'hs_office.person', '195ef8b7-3c56-4ef4-8db6-47b4cf15d572', 'INSERT', '{"uuid": "195ef8b7-3c56-4ef4-8db6-47b4cf15d572", "title": null, "version": 0, "givenname": "Paul", "tradename": null, "familyname": "Winkler", "persontype": "NP", "salutation": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1219', 'rbac.permission', 'cbff1b28-ba34-4af2-9b72-ac7c2ee64923', 'INSERT', '{"op": "INSERT", "uuid": "cbff1b28-ba34-4af2-9b72-ac7c2ee64923", "objectuuid": "dbe89951-4cc8-40ac-97b3-49176567984d", "optablename": "hs_office.relation"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1219', 'rbac.grant', '3bb1079b-ba5e-4cf9-ba15-3954219b5400', 'INSERT', '{"uuid": "3bb1079b-ba5e-4cf9-ba15-3954219b5400", "assumed": true, "ascendantuuid": "69976fc3-19a0-41a5-9976-3b0a62561f53", "descendantuuid": "cbff1b28-ba34-4af2-9b72-ac7c2ee64923", "grantedbyroleuuid": null, "grantedbytriggerof": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1219', 'rbac.permission', '479e6c05-3384-4674-9ba6-73169af0fdc2', 'INSERT', '{"op": "INSERT", "uuid": "479e6c05-3384-4674-9ba6-73169af0fdc2", "objectuuid": "37928681-5849-48f7-aa81-bbe2d68944f9", "optablename": "hs_office.relation"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1219', 'rbac.grant', '5c64a17a-fdc6-4125-b78b-367b737f0393', 'INSERT', '{"uuid": "5c64a17a-fdc6-4125-b78b-367b737f0393", "assumed": true, "ascendantuuid": "21452821-c69d-4615-aa75-1a9af5fb904d", "descendantuuid": "479e6c05-3384-4674-9ba6-73169af0fdc2", "grantedbyroleuuid": null, "grantedbytriggerof": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1219', 'rbac.permission', 'c39a8975-d05e-413f-ab05-9232d2ece52b', 'INSERT', '{"op": "INSERT", "uuid": "c39a8975-d05e-413f-ab05-9232d2ece52b", "objectuuid": "b4566b68-3318-4bd2-b1cb-a9c58ae91b6e", "optablename": "hs_office.relation"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1219', 'rbac.grant', '2f0a7e27-06ac-4994-981d-83e3b611e6a3', 'INSERT', '{"uuid": "2f0a7e27-06ac-4994-981d-83e3b611e6a3", "assumed": true, "ascendantuuid": "83395c0b-6e2c-4597-95a3-28734150bf68", "descendantuuid": "c39a8975-d05e-413f-ab05-9232d2ece52b", "grantedbyroleuuid": null, "grantedbytriggerof": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1219', 'rbac.permission', 'e7de223c-8cae-4c61-b278-773043bc7b45', 'INSERT', '{"op": "INSERT", "uuid": "e7de223c-8cae-4c61-b278-773043bc7b45", "objectuuid": "a5bdcdee-bc0e-4340-aaf3-d3d7d43dcc1a", "optablename": "hs_office.relation"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1219', 'rbac.grant', '7767aacb-266e-43a8-8f40-3abf68a62f2d', 'INSERT', '{"uuid": "7767aacb-266e-43a8-8f40-3abf68a62f2d", "assumed": true, "ascendantuuid": "f5edf9d3-e506-41e9-8c02-0be4d3bbd494", "descendantuuid": "e7de223c-8cae-4c61-b278-773043bc7b45", "grantedbyroleuuid": null, "grantedbytriggerof": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1219', 'rbac.permission', 'a993fe9d-b75d-41f3-b5ce-f3c23d4b10bc', 'INSERT', '{"op": "INSERT", "uuid": "a993fe9d-b75d-41f3-b5ce-f3c23d4b10bc", "objectuuid": "43cf65a6-59e5-44d6-bf66-0fcf7266404a", "optablename": "hs_office.relation"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1219', 'rbac.grant', 'c3c8d96f-ed78-4537-9106-0ac5a93b9c18', 'INSERT', '{"uuid": "c3c8d96f-ed78-4537-9106-0ac5a93b9c18", "assumed": true, "ascendantuuid": "9f40ec38-70ad-426e-aa26-2b0dd2afee2e", "descendantuuid": "a993fe9d-b75d-41f3-b5ce-f3c23d4b10bc", "grantedbyroleuuid": null, "grantedbytriggerof": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1219', 'rbac.permission', 'b208da56-8b31-461e-af6b-782c47e743d9', 'INSERT', '{"op": "INSERT", "uuid": "b208da56-8b31-461e-af6b-782c47e743d9", "objectuuid": "958aa7a0-2531-4661-9444-5e00207fb8c4", "optablename": "hs_office.relation"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1219', 'rbac.grant', '797fab56-0ca0-4186-a41e-3e3504c9c56d', 'INSERT', '{"uuid": "797fab56-0ca0-4186-a41e-3e3504c9c56d", "assumed": true, "ascendantuuid": "5a2b3a18-5711-4823-9dbb-d5391a6d8563", "descendantuuid": "b208da56-8b31-461e-af6b-782c47e743d9", "grantedbyroleuuid": null, "grantedbytriggerof": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1219', 'rbac.permission', '70f14bc1-0f85-4c75-8d00-79f4312f1fc9', 'INSERT', '{"op": "INSERT", "uuid": "70f14bc1-0f85-4c75-8d00-79f4312f1fc9", "objectuuid": "a2bdfd07-bbc1-417b-b91e-a567641d19c2", "optablename": "hs_office.relation"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1219', 'rbac.grant', '2d0783d5-43f0-41dc-bfe9-b5f9c8041f70', 'INSERT', '{"uuid": "2d0783d5-43f0-41dc-bfe9-b5f9c8041f70", "assumed": true, "ascendantuuid": "9724cc00-bf80-4ad3-9889-323600c10eb4", "descendantuuid": "70f14bc1-0f85-4c75-8d00-79f4312f1fc9", "grantedbyroleuuid": null, "grantedbytriggerof": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1219', 'rbac.permission', 'e5c6ab9b-6407-4f6d-a496-b03464b1ceb4', 'INSERT', '{"op": "INSERT", "uuid": "e5c6ab9b-6407-4f6d-a496-b03464b1ceb4", "objectuuid": "2ddcf68b-eb88-45e7-a6aa-3da9c32115a1", "optablename": "hs_office.relation"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1219', 'rbac.grant', '67b44a0b-a9c3-4854-a82a-593a2c923da4', 'INSERT', '{"uuid": "67b44a0b-a9c3-4854-a82a-593a2c923da4", "assumed": true, "ascendantuuid": "ccd7a35d-4c6f-461d-8b9a-ca95a1f86172", "descendantuuid": "e5c6ab9b-6407-4f6d-a496-b03464b1ceb4", "grantedbyroleuuid": null, "grantedbytriggerof": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1219', 'rbac.permission', '658d0402-c0a8-45cd-99ad-3fa3e8e950b0', 'INSERT', '{"op": "INSERT", "uuid": "658d0402-c0a8-45cd-99ad-3fa3e8e950b0", "objectuuid": "8931b7ef-2f89-44c5-b7c2-730b898f2227", "optablename": "hs_office.relation"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1219', 'rbac.grant', '865bb693-260d-487c-bf6e-a7e26899561f', 'INSERT', '{"uuid": "865bb693-260d-487c-bf6e-a7e26899561f", "assumed": true, "ascendantuuid": "2d941ad9-f2fe-4971-9825-2d921c2faa55", "descendantuuid": "658d0402-c0a8-45cd-99ad-3fa3e8e950b0", "grantedbyroleuuid": null, "grantedbytriggerof": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1219', 'rbac.permission', '40c16524-d542-45e7-ab2d-9e30cb00ce28', 'INSERT', '{"op": "INSERT", "uuid": "40c16524-d542-45e7-ab2d-9e30cb00ce28", "objectuuid": "6d226408-de6e-497a-abbb-7a9c66cee762", "optablename": "hs_office.relation"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1219', 'rbac.grant', '4f07002f-dffe-45f0-a2d5-756fea9353d3', 'INSERT', '{"uuid": "4f07002f-dffe-45f0-a2d5-756fea9353d3", "assumed": true, "ascendantuuid": "589444d1-ddc3-4c41-b153-1ccfce6f2586", "descendantuuid": "40c16524-d542-45e7-ab2d-9e30cb00ce28", "grantedbyroleuuid": null, "grantedbytriggerof": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1219', 'rbac.permission', '99e22069-e338-499d-9ba7-096402a0b262', 'INSERT', '{"op": "INSERT", "uuid": "99e22069-e338-499d-9ba7-096402a0b262", "objectuuid": "eea4f215-2c8a-4d14-a9e7-82860faa5a42", "optablename": "hs_office.relation"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1219', 'rbac.grant', 'b6c05730-01ed-4711-9e27-f6fc0e30247a', 'INSERT', '{"uuid": "b6c05730-01ed-4711-9e27-f6fc0e30247a", "assumed": true, "ascendantuuid": "61a014d9-88cf-4966-a6db-df32fc6c0ab1", "descendantuuid": "99e22069-e338-499d-9ba7-096402a0b262", "grantedbyroleuuid": null, "grantedbytriggerof": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1219', 'rbac.permission', '7fa170cc-11d6-45fd-a82c-8c77d3a4db2f', 'INSERT', '{"op": "INSERT", "uuid": "7fa170cc-11d6-45fd-a82c-8c77d3a4db2f", "objectuuid": "6d1a20f7-2fd0-4c62-a304-1fc1eeedb59d", "optablename": "hs_office.relation"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1219', 'rbac.grant', 'a044ed9f-c839-4bc8-9436-60a113550ae8', 'INSERT', '{"uuid": "a044ed9f-c839-4bc8-9436-60a113550ae8", "assumed": true, "ascendantuuid": "ce54837c-5f96-4cc2-bfb2-ae2d648cbd13", "descendantuuid": "7fa170cc-11d6-45fd-a82c-8c77d3a4db2f", "grantedbyroleuuid": null, "grantedbytriggerof": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1219', 'rbac.permission', 'c4d90988-1bcc-4afe-aff5-dedb58694561', 'INSERT', '{"op": "INSERT", "uuid": "c4d90988-1bcc-4afe-aff5-dedb58694561", "objectuuid": "195ef8b7-3c56-4ef4-8db6-47b4cf15d572", "optablename": "hs_office.relation"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1219', 'rbac.grant', '59eee408-a852-4f85-be4a-930dbf1fe439', 'INSERT', '{"uuid": "59eee408-a852-4f85-be4a-930dbf1fe439", "assumed": true, "ascendantuuid": "35c41304-1b36-43b0-ba77-14f3b9202ccc", "descendantuuid": "c4d90988-1bcc-4afe-aff5-dedb58694561", "grantedbyroleuuid": null, "grantedbytriggerof": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.object', '4ce59c0d-417c-4676-8de5-25aafd780613', 'INSERT', '{"uuid": "4ce59c0d-417c-4676-8de5-25aafd780613", "serialid": 57, "objecttable": "hs_office.relation"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.role', '926a19f7-ea40-407c-a9a7-36933143cf32', 'INSERT', '{"uuid": "926a19f7-ea40-407c-a9a7-36933143cf32", "roletype": "OWNER", "objectuuid": "4ce59c0d-417c-4676-8de5-25aafd780613"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.permission', 'd5a6734f-bcc9-4d02-8444-8744f975e996', 'INSERT', '{"op": "DELETE", "uuid": "d5a6734f-bcc9-4d02-8444-8744f975e996", "objectuuid": "4ce59c0d-417c-4676-8de5-25aafd780613", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', '3982a3f5-0fb3-490c-b2de-3f7f2c58d21b', 'INSERT', '{"uuid": "3982a3f5-0fb3-490c-b2de-3f7f2c58d21b", "assumed": true, "ascendantuuid": "926a19f7-ea40-407c-a9a7-36933143cf32", "descendantuuid": "d5a6734f-bcc9-4d02-8444-8744f975e996", "grantedbyroleuuid": null, "grantedbytriggerof": "4ce59c0d-417c-4676-8de5-25aafd780613"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', 'd11c8690-f637-439d-8ca5-825c956f49bd', 'INSERT', '{"uuid": "d11c8690-f637-439d-8ca5-825c956f49bd", "assumed": true, "ascendantuuid": "afc6a14a-f8c7-4c17-9b91-b615833bc002", "descendantuuid": "926a19f7-ea40-407c-a9a7-36933143cf32", "grantedbyroleuuid": null, "grantedbytriggerof": "4ce59c0d-417c-4676-8de5-25aafd780613"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', 'dc4755f5-a711-48c6-8c27-1b24740b5ee5', 'INSERT', '{"uuid": "dc4755f5-a711-48c6-8c27-1b24740b5ee5", "assumed": true, "ascendantuuid": "bdcc7fef-52e9-4b4c-a0ad-1950d6a1aec4", "descendantuuid": "926a19f7-ea40-407c-a9a7-36933143cf32", "grantedbyroleuuid": "926a19f7-ea40-407c-a9a7-36933143cf32", "grantedbytriggerof": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.role', '943de460-96b3-40e9-a59f-5be6fb8dca03', 'INSERT', '{"uuid": "943de460-96b3-40e9-a59f-5be6fb8dca03", "roletype": "ADMIN", "objectuuid": "4ce59c0d-417c-4676-8de5-25aafd780613"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.permission', '3ca84253-aede-4954-8974-4406048ae2e9', 'INSERT', '{"op": "UPDATE", "uuid": "3ca84253-aede-4954-8974-4406048ae2e9", "objectuuid": "4ce59c0d-417c-4676-8de5-25aafd780613", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', '511677bf-a401-485e-9dee-a49ad0e32f08', 'INSERT', '{"uuid": "511677bf-a401-485e-9dee-a49ad0e32f08", "assumed": true, "ascendantuuid": "943de460-96b3-40e9-a59f-5be6fb8dca03", "descendantuuid": "3ca84253-aede-4954-8974-4406048ae2e9", "grantedbyroleuuid": null, "grantedbytriggerof": "4ce59c0d-417c-4676-8de5-25aafd780613"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', 'a07a7b89-3dad-46ad-aa38-479dd519caf9', 'INSERT', '{"uuid": "a07a7b89-3dad-46ad-aa38-479dd519caf9", "assumed": true, "ascendantuuid": "926a19f7-ea40-407c-a9a7-36933143cf32", "descendantuuid": "943de460-96b3-40e9-a59f-5be6fb8dca03", "grantedbyroleuuid": null, "grantedbytriggerof": "4ce59c0d-417c-4676-8de5-25aafd780613"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.role', '399b4c7e-93e2-4886-9fda-61b988a5ae29', 'INSERT', '{"uuid": "399b4c7e-93e2-4886-9fda-61b988a5ae29", "roletype": "AGENT", "objectuuid": "4ce59c0d-417c-4676-8de5-25aafd780613"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', 'f5fcc8a8-d2df-453f-89db-fc6ec9817988', 'INSERT', '{"uuid": "f5fcc8a8-d2df-453f-89db-fc6ec9817988", "assumed": true, "ascendantuuid": "943de460-96b3-40e9-a59f-5be6fb8dca03", "descendantuuid": "399b4c7e-93e2-4886-9fda-61b988a5ae29", "grantedbyroleuuid": null, "grantedbytriggerof": "4ce59c0d-417c-4676-8de5-25aafd780613"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.role', 'ddab9e9f-db0b-4a8c-a7be-117fc2c963ec', 'INSERT', '{"uuid": "ddab9e9f-db0b-4a8c-a7be-117fc2c963ec", "roletype": "TENANT", "objectuuid": "4ce59c0d-417c-4676-8de5-25aafd780613"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.permission', '59c0e046-8833-4a00-b530-2b0cda55ee9d', 'INSERT', '{"op": "SELECT", "uuid": "59c0e046-8833-4a00-b530-2b0cda55ee9d", "objectuuid": "4ce59c0d-417c-4676-8de5-25aafd780613", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', '268f35e2-1fec-43b4-b732-e16af766fa2f', 'INSERT', '{"uuid": "268f35e2-1fec-43b4-b732-e16af766fa2f", "assumed": true, "ascendantuuid": "ddab9e9f-db0b-4a8c-a7be-117fc2c963ec", "descendantuuid": "59c0e046-8833-4a00-b530-2b0cda55ee9d", "grantedbyroleuuid": null, "grantedbytriggerof": "4ce59c0d-417c-4676-8de5-25aafd780613"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', 'f4b6e554-5d3a-4e83-8f92-f49ff392bed2', 'INSERT', '{"uuid": "f4b6e554-5d3a-4e83-8f92-f49ff392bed2", "assumed": true, "ascendantuuid": "cde57d67-7a2c-47d1-8408-46bb662a97e1", "descendantuuid": "ddab9e9f-db0b-4a8c-a7be-117fc2c963ec", "grantedbyroleuuid": null, "grantedbytriggerof": "4ce59c0d-417c-4676-8de5-25aafd780613"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', '3415b503-0c54-4c38-b8cc-e2bd8c2569db', 'INSERT', '{"uuid": "3415b503-0c54-4c38-b8cc-e2bd8c2569db", "assumed": true, "ascendantuuid": "399b4c7e-93e2-4886-9fda-61b988a5ae29", "descendantuuid": "ddab9e9f-db0b-4a8c-a7be-117fc2c963ec", "grantedbyroleuuid": null, "grantedbytriggerof": "4ce59c0d-417c-4676-8de5-25aafd780613"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.role', '87fb27a9-3d42-4ea2-89cb-b1d21f87d5eb', 'INSERT', '{"uuid": "87fb27a9-3d42-4ea2-89cb-b1d21f87d5eb", "roletype": "OWNER", "objectuuid": "cefb9d07-7142-4a0e-a924-310534a2a516"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', '399d21a6-6c60-4f2d-bc02-d18a18661af8', 'INSERT', '{"uuid": "399d21a6-6c60-4f2d-bc02-d18a18661af8", "assumed": true, "ascendantuuid": "ddab9e9f-db0b-4a8c-a7be-117fc2c963ec", "descendantuuid": "dfd9ff64-fab2-4f2e-ab9a-1e72780457bc", "grantedbyroleuuid": null, "grantedbytriggerof": "4ce59c0d-417c-4676-8de5-25aafd780613"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', '5121e04a-ed3f-417f-84bb-d5c71e393e33', 'INSERT', '{"uuid": "5121e04a-ed3f-417f-84bb-d5c71e393e33", "assumed": true, "ascendantuuid": "ddab9e9f-db0b-4a8c-a7be-117fc2c963ec", "descendantuuid": "7654b8c5-6bcd-4153-b0d6-e32f400fff60", "grantedbyroleuuid": null, "grantedbytriggerof": "4ce59c0d-417c-4676-8de5-25aafd780613"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', '06b1d876-d74a-4ef8-a44b-1e1c3292bdd0', 'INSERT', '{"uuid": "06b1d876-d74a-4ef8-a44b-1e1c3292bdd0", "assumed": true, "ascendantuuid": "ddab9e9f-db0b-4a8c-a7be-117fc2c963ec", "descendantuuid": "35ee3fcb-0a9a-4944-8344-344cb501f277", "grantedbyroleuuid": null, "grantedbytriggerof": "4ce59c0d-417c-4676-8de5-25aafd780613"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', '6b6135dd-4677-4f4c-b79a-538b42c5ed67', 'INSERT', '{"uuid": "6b6135dd-4677-4f4c-b79a-538b42c5ed67", "assumed": true, "ascendantuuid": "21452821-c69d-4615-aa75-1a9af5fb904d", "descendantuuid": "399b4c7e-93e2-4886-9fda-61b988a5ae29", "grantedbyroleuuid": null, "grantedbytriggerof": "4ce59c0d-417c-4676-8de5-25aafd780613"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', '713aa6c5-bec3-438f-8f21-a18a2b50b604', 'INSERT', '{"uuid": "713aa6c5-bec3-438f-8f21-a18a2b50b604", "assumed": true, "ascendantuuid": "69976fc3-19a0-41a5-9976-3b0a62561f53", "descendantuuid": "926a19f7-ea40-407c-a9a7-36933143cf32", "grantedbyroleuuid": null, "grantedbytriggerof": "4ce59c0d-417c-4676-8de5-25aafd780613"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'hs_office.relation', '4ce59c0d-417c-4676-8de5-25aafd780613', 'INSERT', '{"mark": null, "type": "PARTNER", "uuid": "4ce59c0d-417c-4676-8de5-25aafd780613", "version": 0, "anchoruuid": "dbe89951-4cc8-40ac-97b3-49176567984d", "holderuuid": "37928681-5849-48f7-aa81-bbe2d68944f9", "contactuuid": "e256cae4-99d8-44f3-961a-ecbffaeb17e4"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.object', '9090accb-cae9-4f85-8380-2c6d740b6520', 'INSERT', '{"uuid": "9090accb-cae9-4f85-8380-2c6d740b6520", "serialid": 58, "objecttable": "hs_office.relation"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.role', 'ad50f362-4459-42aa-841e-b3534ace763f', 'INSERT', '{"uuid": "ad50f362-4459-42aa-841e-b3534ace763f", "roletype": "OWNER", "objectuuid": "9090accb-cae9-4f85-8380-2c6d740b6520"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.permission', 'c59c6253-8950-42e4-a1a2-bff8770d91d5', 'INSERT', '{"op": "DELETE", "uuid": "c59c6253-8950-42e4-a1a2-bff8770d91d5", "objectuuid": "9090accb-cae9-4f85-8380-2c6d740b6520", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', '0fbababe-2f2d-4c31-b56c-3f06ec49503c', 'INSERT', '{"uuid": "0fbababe-2f2d-4c31-b56c-3f06ec49503c", "assumed": true, "ascendantuuid": "ad50f362-4459-42aa-841e-b3534ace763f", "descendantuuid": "c59c6253-8950-42e4-a1a2-bff8770d91d5", "grantedbyroleuuid": null, "grantedbytriggerof": "9090accb-cae9-4f85-8380-2c6d740b6520"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', 'a9b3380d-515d-4fc6-a0e7-461823ed0f95', 'INSERT', '{"uuid": "a9b3380d-515d-4fc6-a0e7-461823ed0f95", "assumed": true, "ascendantuuid": "afc6a14a-f8c7-4c17-9b91-b615833bc002", "descendantuuid": "ad50f362-4459-42aa-841e-b3534ace763f", "grantedbyroleuuid": null, "grantedbytriggerof": "9090accb-cae9-4f85-8380-2c6d740b6520"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', '13a75317-a964-4e83-a424-04d3c4d0bf3e', 'INSERT', '{"uuid": "13a75317-a964-4e83-a424-04d3c4d0bf3e", "assumed": true, "ascendantuuid": "bdcc7fef-52e9-4b4c-a0ad-1950d6a1aec4", "descendantuuid": "ad50f362-4459-42aa-841e-b3534ace763f", "grantedbyroleuuid": "ad50f362-4459-42aa-841e-b3534ace763f", "grantedbytriggerof": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.role', 'bf4c3c93-ba70-4e1e-adc5-4bc2a3ef17a6', 'INSERT', '{"uuid": "bf4c3c93-ba70-4e1e-adc5-4bc2a3ef17a6", "roletype": "ADMIN", "objectuuid": "9090accb-cae9-4f85-8380-2c6d740b6520"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.permission', 'b31d5cbc-86c6-4d56-803f-0f78966635d2', 'INSERT', '{"op": "UPDATE", "uuid": "b31d5cbc-86c6-4d56-803f-0f78966635d2", "objectuuid": "9090accb-cae9-4f85-8380-2c6d740b6520", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', '54e0883e-2d7e-40ba-be7e-cb8dacf51cb3', 'INSERT', '{"uuid": "54e0883e-2d7e-40ba-be7e-cb8dacf51cb3", "assumed": true, "ascendantuuid": "bf4c3c93-ba70-4e1e-adc5-4bc2a3ef17a6", "descendantuuid": "b31d5cbc-86c6-4d56-803f-0f78966635d2", "grantedbyroleuuid": null, "grantedbytriggerof": "9090accb-cae9-4f85-8380-2c6d740b6520"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', '9a644e5f-a345-4021-94e2-e48e2d5bb028', 'INSERT', '{"uuid": "9a644e5f-a345-4021-94e2-e48e2d5bb028", "assumed": true, "ascendantuuid": "ad50f362-4459-42aa-841e-b3534ace763f", "descendantuuid": "bf4c3c93-ba70-4e1e-adc5-4bc2a3ef17a6", "grantedbyroleuuid": null, "grantedbytriggerof": "9090accb-cae9-4f85-8380-2c6d740b6520"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.role', '27f496a9-f1f6-4cf0-a394-582a3c2ec244', 'INSERT', '{"uuid": "27f496a9-f1f6-4cf0-a394-582a3c2ec244", "roletype": "AGENT", "objectuuid": "9090accb-cae9-4f85-8380-2c6d740b6520"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', '9422d6b2-d2c2-4c0c-81b7-12a385129ab8', 'INSERT', '{"uuid": "9422d6b2-d2c2-4c0c-81b7-12a385129ab8", "assumed": true, "ascendantuuid": "bf4c3c93-ba70-4e1e-adc5-4bc2a3ef17a6", "descendantuuid": "27f496a9-f1f6-4cf0-a394-582a3c2ec244", "grantedbyroleuuid": null, "grantedbytriggerof": "9090accb-cae9-4f85-8380-2c6d740b6520"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.role', 'f19bdc0c-eb49-4740-a446-b35384d5d689', 'INSERT', '{"uuid": "f19bdc0c-eb49-4740-a446-b35384d5d689", "roletype": "TENANT", "objectuuid": "9090accb-cae9-4f85-8380-2c6d740b6520"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.permission', 'fabe799c-72f9-48d8-b037-9d219b3b5b8a', 'INSERT', '{"op": "SELECT", "uuid": "fabe799c-72f9-48d8-b037-9d219b3b5b8a", "objectuuid": "9090accb-cae9-4f85-8380-2c6d740b6520", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', '15026565-f047-401e-857b-793c3ae97ecf', 'INSERT', '{"uuid": "15026565-f047-401e-857b-793c3ae97ecf", "assumed": true, "ascendantuuid": "f19bdc0c-eb49-4740-a446-b35384d5d689", "descendantuuid": "fabe799c-72f9-48d8-b037-9d219b3b5b8a", "grantedbyroleuuid": null, "grantedbytriggerof": "9090accb-cae9-4f85-8380-2c6d740b6520"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', '590a6275-2060-43e5-b5e5-9400c2807d56', 'INSERT', '{"uuid": "590a6275-2060-43e5-b5e5-9400c2807d56", "assumed": true, "ascendantuuid": "cde57d67-7a2c-47d1-8408-46bb662a97e1", "descendantuuid": "f19bdc0c-eb49-4740-a446-b35384d5d689", "grantedbyroleuuid": null, "grantedbytriggerof": "9090accb-cae9-4f85-8380-2c6d740b6520"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', 'ec649d8a-6ae2-4c83-8fc0-93f95c5c08c4', 'INSERT', '{"uuid": "ec649d8a-6ae2-4c83-8fc0-93f95c5c08c4", "assumed": true, "ascendantuuid": "27f496a9-f1f6-4cf0-a394-582a3c2ec244", "descendantuuid": "f19bdc0c-eb49-4740-a446-b35384d5d689", "grantedbyroleuuid": null, "grantedbytriggerof": "9090accb-cae9-4f85-8380-2c6d740b6520"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', 'e7cc8e01-1777-44e7-91ee-4833cfb8cc78', 'INSERT', '{"uuid": "e7cc8e01-1777-44e7-91ee-4833cfb8cc78", "assumed": true, "ascendantuuid": "f19bdc0c-eb49-4740-a446-b35384d5d689", "descendantuuid": "dfd9ff64-fab2-4f2e-ab9a-1e72780457bc", "grantedbyroleuuid": null, "grantedbytriggerof": "9090accb-cae9-4f85-8380-2c6d740b6520"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', 'd8c6387d-fbe2-4f25-9a08-82e8c732dbcd', 'INSERT', '{"uuid": "d8c6387d-fbe2-4f25-9a08-82e8c732dbcd", "assumed": true, "ascendantuuid": "f19bdc0c-eb49-4740-a446-b35384d5d689", "descendantuuid": "35ee3fcb-0a9a-4944-8344-344cb501f277", "grantedbyroleuuid": null, "grantedbytriggerof": "9090accb-cae9-4f85-8380-2c6d740b6520"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', 'ed59af9c-6de0-4422-9939-b868f2fcaabb', 'INSERT', '{"uuid": "ed59af9c-6de0-4422-9939-b868f2fcaabb", "assumed": true, "ascendantuuid": "f19bdc0c-eb49-4740-a446-b35384d5d689", "descendantuuid": "34041b9b-8453-492b-ae4b-7f94658d0952", "grantedbyroleuuid": null, "grantedbytriggerof": "9090accb-cae9-4f85-8380-2c6d740b6520"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.permission', '5303cc15-a309-44cd-9f15-ffa596d65070', 'INSERT', '{"op": "DELETE", "uuid": "5303cc15-a309-44cd-9f15-ffa596d65070", "objectuuid": "cefb9d07-7142-4a0e-a924-310534a2a516", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', 'e7b2a4c0-6a8d-4742-b66e-6c13741db19a', 'INSERT', '{"uuid": "e7b2a4c0-6a8d-4742-b66e-6c13741db19a", "assumed": true, "ascendantuuid": "bf4c3c93-ba70-4e1e-adc5-4bc2a3ef17a6", "descendantuuid": "7816aeaf-4e2d-40b2-b466-1cc5937c4198", "grantedbyroleuuid": null, "grantedbytriggerof": "9090accb-cae9-4f85-8380-2c6d740b6520"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', 'd2555417-48ed-4ecc-8378-b22dc5fa584e', 'INSERT', '{"uuid": "d2555417-48ed-4ecc-8378-b22dc5fa584e", "assumed": true, "ascendantuuid": "21452821-c69d-4615-aa75-1a9af5fb904d", "descendantuuid": "27f496a9-f1f6-4cf0-a394-582a3c2ec244", "grantedbyroleuuid": null, "grantedbytriggerof": "9090accb-cae9-4f85-8380-2c6d740b6520"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', 'f6ac971e-e350-4342-889e-f1635666317f', 'INSERT', '{"uuid": "f6ac971e-e350-4342-889e-f1635666317f", "assumed": true, "ascendantuuid": "83395c0b-6e2c-4597-95a3-28734150bf68", "descendantuuid": "ad50f362-4459-42aa-841e-b3534ace763f", "grantedbyroleuuid": null, "grantedbytriggerof": "9090accb-cae9-4f85-8380-2c6d740b6520"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'hs_office.relation', '9090accb-cae9-4f85-8380-2c6d740b6520', 'INSERT', '{"mark": null, "type": "REPRESENTATIVE", "uuid": "9090accb-cae9-4f85-8380-2c6d740b6520", "version": 0, "anchoruuid": "37928681-5849-48f7-aa81-bbe2d68944f9", "holderuuid": "b4566b68-3318-4bd2-b1cb-a9c58ae91b6e", "contactuuid": "e256cae4-99d8-44f3-961a-ecbffaeb17e4"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.object', '7db0877f-0116-430f-9db3-c35a2b693d00', 'INSERT', '{"uuid": "7db0877f-0116-430f-9db3-c35a2b693d00", "serialid": 59, "objecttable": "hs_office.relation"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.role', '5fa8de94-9c00-455d-9655-d0409224971e', 'INSERT', '{"uuid": "5fa8de94-9c00-455d-9655-d0409224971e", "roletype": "OWNER", "objectuuid": "7db0877f-0116-430f-9db3-c35a2b693d00"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.permission', 'eb7472ef-fa8d-4bbc-918d-72bb1383ce1d', 'INSERT', '{"op": "DELETE", "uuid": "eb7472ef-fa8d-4bbc-918d-72bb1383ce1d", "objectuuid": "7db0877f-0116-430f-9db3-c35a2b693d00", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', '88e9bcc6-5312-4a27-894f-3e746dd5bd2e', 'INSERT', '{"uuid": "88e9bcc6-5312-4a27-894f-3e746dd5bd2e", "assumed": true, "ascendantuuid": "5fa8de94-9c00-455d-9655-d0409224971e", "descendantuuid": "eb7472ef-fa8d-4bbc-918d-72bb1383ce1d", "grantedbyroleuuid": null, "grantedbytriggerof": "7db0877f-0116-430f-9db3-c35a2b693d00"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', '80bb1f1f-cf7e-4787-b64b-9c81f6e8f91e', 'INSERT', '{"uuid": "80bb1f1f-cf7e-4787-b64b-9c81f6e8f91e", "assumed": true, "ascendantuuid": "afc6a14a-f8c7-4c17-9b91-b615833bc002", "descendantuuid": "5fa8de94-9c00-455d-9655-d0409224971e", "grantedbyroleuuid": null, "grantedbytriggerof": "7db0877f-0116-430f-9db3-c35a2b693d00"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', '796dcd4a-bb7d-495c-81b0-415a6c98e8e2', 'INSERT', '{"uuid": "796dcd4a-bb7d-495c-81b0-415a6c98e8e2", "assumed": true, "ascendantuuid": "bdcc7fef-52e9-4b4c-a0ad-1950d6a1aec4", "descendantuuid": "5fa8de94-9c00-455d-9655-d0409224971e", "grantedbyroleuuid": "5fa8de94-9c00-455d-9655-d0409224971e", "grantedbytriggerof": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.role', '83a1630d-c711-4dd0-a467-5ed87feee835', 'INSERT', '{"uuid": "83a1630d-c711-4dd0-a467-5ed87feee835", "roletype": "ADMIN", "objectuuid": "7db0877f-0116-430f-9db3-c35a2b693d00"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.permission', 'a81e8ff5-c7b4-4daf-b066-a7210060b489', 'INSERT', '{"op": "UPDATE", "uuid": "a81e8ff5-c7b4-4daf-b066-a7210060b489", "objectuuid": "7db0877f-0116-430f-9db3-c35a2b693d00", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', 'debda381-4262-4afe-b5f2-7853aa6bcc45', 'INSERT', '{"uuid": "debda381-4262-4afe-b5f2-7853aa6bcc45", "assumed": true, "ascendantuuid": "83a1630d-c711-4dd0-a467-5ed87feee835", "descendantuuid": "a81e8ff5-c7b4-4daf-b066-a7210060b489", "grantedbyroleuuid": null, "grantedbytriggerof": "7db0877f-0116-430f-9db3-c35a2b693d00"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', '7336dbf6-453b-4d3d-8a55-c14802c86998', 'INSERT', '{"uuid": "7336dbf6-453b-4d3d-8a55-c14802c86998", "assumed": true, "ascendantuuid": "5fa8de94-9c00-455d-9655-d0409224971e", "descendantuuid": "83a1630d-c711-4dd0-a467-5ed87feee835", "grantedbyroleuuid": null, "grantedbytriggerof": "7db0877f-0116-430f-9db3-c35a2b693d00"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.role', 'db2ecdbd-608e-4af8-898a-4c789ec60993', 'INSERT', '{"uuid": "db2ecdbd-608e-4af8-898a-4c789ec60993", "roletype": "AGENT", "objectuuid": "7db0877f-0116-430f-9db3-c35a2b693d00"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', 'fd06e7b2-a293-44ee-ad08-b2c23185500e', 'INSERT', '{"uuid": "fd06e7b2-a293-44ee-ad08-b2c23185500e", "assumed": true, "ascendantuuid": "83a1630d-c711-4dd0-a467-5ed87feee835", "descendantuuid": "db2ecdbd-608e-4af8-898a-4c789ec60993", "grantedbyroleuuid": null, "grantedbytriggerof": "7db0877f-0116-430f-9db3-c35a2b693d00"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.role', '95af5ad8-b74d-4cdc-9931-583c5e3d68f8', 'INSERT', '{"uuid": "95af5ad8-b74d-4cdc-9931-583c5e3d68f8", "roletype": "TENANT", "objectuuid": "7db0877f-0116-430f-9db3-c35a2b693d00"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.permission', '9db735c2-4447-4768-a4aa-b90769c534ec', 'INSERT', '{"op": "SELECT", "uuid": "9db735c2-4447-4768-a4aa-b90769c534ec", "objectuuid": "7db0877f-0116-430f-9db3-c35a2b693d00", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', '2a77263e-d397-45eb-83d4-31121a0b5aef', 'INSERT', '{"uuid": "2a77263e-d397-45eb-83d4-31121a0b5aef", "assumed": true, "ascendantuuid": "95af5ad8-b74d-4cdc-9931-583c5e3d68f8", "descendantuuid": "9db735c2-4447-4768-a4aa-b90769c534ec", "grantedbyroleuuid": null, "grantedbytriggerof": "7db0877f-0116-430f-9db3-c35a2b693d00"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', 'a592f3e4-927a-4596-9925-a452dff257a3', 'INSERT', '{"uuid": "a592f3e4-927a-4596-9925-a452dff257a3", "assumed": true, "ascendantuuid": "cde57d67-7a2c-47d1-8408-46bb662a97e1", "descendantuuid": "95af5ad8-b74d-4cdc-9931-583c5e3d68f8", "grantedbyroleuuid": null, "grantedbytriggerof": "7db0877f-0116-430f-9db3-c35a2b693d00"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', '4f215d51-895c-4899-aa70-3c4306725b1a', 'INSERT', '{"uuid": "4f215d51-895c-4899-aa70-3c4306725b1a", "assumed": true, "ascendantuuid": "db2ecdbd-608e-4af8-898a-4c789ec60993", "descendantuuid": "95af5ad8-b74d-4cdc-9931-583c5e3d68f8", "grantedbyroleuuid": null, "grantedbytriggerof": "7db0877f-0116-430f-9db3-c35a2b693d00"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', '9088aa1a-9e51-4f8b-a320-b8187127ea52', 'INSERT', '{"uuid": "9088aa1a-9e51-4f8b-a320-b8187127ea52", "assumed": true, "ascendantuuid": "95af5ad8-b74d-4cdc-9931-583c5e3d68f8", "descendantuuid": "dfd9ff64-fab2-4f2e-ab9a-1e72780457bc", "grantedbyroleuuid": null, "grantedbytriggerof": "7db0877f-0116-430f-9db3-c35a2b693d00"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', '1541a206-e20d-4fcf-bf5e-a9bac7504d08', 'INSERT', '{"uuid": "1541a206-e20d-4fcf-bf5e-a9bac7504d08", "assumed": true, "ascendantuuid": "95af5ad8-b74d-4cdc-9931-583c5e3d68f8", "descendantuuid": "35ee3fcb-0a9a-4944-8344-344cb501f277", "grantedbyroleuuid": null, "grantedbytriggerof": "7db0877f-0116-430f-9db3-c35a2b693d00"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', 'ed1a4314-f779-407a-ba1a-313f8dbd4663', 'INSERT', '{"uuid": "ed1a4314-f779-407a-ba1a-313f8dbd4663", "assumed": true, "ascendantuuid": "21452821-c69d-4615-aa75-1a9af5fb904d", "descendantuuid": "db2ecdbd-608e-4af8-898a-4c789ec60993", "grantedbyroleuuid": null, "grantedbytriggerof": "7db0877f-0116-430f-9db3-c35a2b693d00"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', '63725828-b6c6-4029-9891-9b9ca308caf4', 'INSERT', '{"uuid": "63725828-b6c6-4029-9891-9b9ca308caf4", "assumed": true, "ascendantuuid": "21452821-c69d-4615-aa75-1a9af5fb904d", "descendantuuid": "5fa8de94-9c00-455d-9655-d0409224971e", "grantedbyroleuuid": null, "grantedbytriggerof": "7db0877f-0116-430f-9db3-c35a2b693d00"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'hs_office.relation', '7db0877f-0116-430f-9db3-c35a2b693d00', 'INSERT', '{"mark": null, "type": "DEBITOR", "uuid": "7db0877f-0116-430f-9db3-c35a2b693d00", "version": 0, "anchoruuid": "37928681-5849-48f7-aa81-bbe2d68944f9", "holderuuid": "37928681-5849-48f7-aa81-bbe2d68944f9", "contactuuid": "e256cae4-99d8-44f3-961a-ecbffaeb17e4"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.object', 'cefb9d07-7142-4a0e-a924-310534a2a516', 'INSERT', '{"uuid": "cefb9d07-7142-4a0e-a924-310534a2a516", "serialid": 60, "objecttable": "hs_office.relation"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', 'ab20d3df-ad2a-4e90-9047-e350dad3a7e0', 'INSERT', '{"uuid": "ab20d3df-ad2a-4e90-9047-e350dad3a7e0", "assumed": true, "ascendantuuid": "87fb27a9-3d42-4ea2-89cb-b1d21f87d5eb", "descendantuuid": "5303cc15-a309-44cd-9f15-ffa596d65070", "grantedbyroleuuid": null, "grantedbytriggerof": "cefb9d07-7142-4a0e-a924-310534a2a516"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', '6f702508-e886-4a29-9aae-0a36fc8bfa0b', 'INSERT', '{"uuid": "6f702508-e886-4a29-9aae-0a36fc8bfa0b", "assumed": true, "ascendantuuid": "afc6a14a-f8c7-4c17-9b91-b615833bc002", "descendantuuid": "87fb27a9-3d42-4ea2-89cb-b1d21f87d5eb", "grantedbyroleuuid": null, "grantedbytriggerof": "cefb9d07-7142-4a0e-a924-310534a2a516"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', '8112ef62-b4c8-401c-81cd-4162cf2e1b57', 'INSERT', '{"uuid": "8112ef62-b4c8-401c-81cd-4162cf2e1b57", "assumed": true, "ascendantuuid": "bdcc7fef-52e9-4b4c-a0ad-1950d6a1aec4", "descendantuuid": "87fb27a9-3d42-4ea2-89cb-b1d21f87d5eb", "grantedbyroleuuid": "87fb27a9-3d42-4ea2-89cb-b1d21f87d5eb", "grantedbytriggerof": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.role', '45e9ba6d-f4d9-4d24-bed3-09207ae0db40', 'INSERT', '{"uuid": "45e9ba6d-f4d9-4d24-bed3-09207ae0db40", "roletype": "ADMIN", "objectuuid": "cefb9d07-7142-4a0e-a924-310534a2a516"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.permission', 'f68de70c-8733-440d-93c5-596306d359d0', 'INSERT', '{"op": "UPDATE", "uuid": "f68de70c-8733-440d-93c5-596306d359d0", "objectuuid": "cefb9d07-7142-4a0e-a924-310534a2a516", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', '8214f4e5-0bf3-4937-93df-3a83f997f5ae', 'INSERT', '{"uuid": "8214f4e5-0bf3-4937-93df-3a83f997f5ae", "assumed": true, "ascendantuuid": "45e9ba6d-f4d9-4d24-bed3-09207ae0db40", "descendantuuid": "f68de70c-8733-440d-93c5-596306d359d0", "grantedbyroleuuid": null, "grantedbytriggerof": "cefb9d07-7142-4a0e-a924-310534a2a516"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', 'de16a0d4-3ad4-4dc8-831a-79a6f1cc5ca1', 'INSERT', '{"uuid": "de16a0d4-3ad4-4dc8-831a-79a6f1cc5ca1", "assumed": true, "ascendantuuid": "87fb27a9-3d42-4ea2-89cb-b1d21f87d5eb", "descendantuuid": "45e9ba6d-f4d9-4d24-bed3-09207ae0db40", "grantedbyroleuuid": null, "grantedbytriggerof": "cefb9d07-7142-4a0e-a924-310534a2a516"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.role', '7da9eb31-516f-488d-831f-0c25585aedc7', 'INSERT', '{"uuid": "7da9eb31-516f-488d-831f-0c25585aedc7", "roletype": "AGENT", "objectuuid": "cefb9d07-7142-4a0e-a924-310534a2a516"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', '768d59f1-9fd3-4d19-8634-382630f9d7a2', 'INSERT', '{"uuid": "768d59f1-9fd3-4d19-8634-382630f9d7a2", "assumed": true, "ascendantuuid": "45e9ba6d-f4d9-4d24-bed3-09207ae0db40", "descendantuuid": "7da9eb31-516f-488d-831f-0c25585aedc7", "grantedbyroleuuid": null, "grantedbytriggerof": "cefb9d07-7142-4a0e-a924-310534a2a516"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.role', 'b5ab545c-b649-4c68-ac44-69349ebe8036', 'INSERT', '{"uuid": "b5ab545c-b649-4c68-ac44-69349ebe8036", "roletype": "TENANT", "objectuuid": "cefb9d07-7142-4a0e-a924-310534a2a516"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.permission', '423112db-0d7a-4670-892a-738460ac58d5', 'INSERT', '{"op": "SELECT", "uuid": "423112db-0d7a-4670-892a-738460ac58d5", "objectuuid": "cefb9d07-7142-4a0e-a924-310534a2a516", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', 'c3d23901-001a-469f-9ca6-c66ff3b413f7', 'INSERT', '{"uuid": "c3d23901-001a-469f-9ca6-c66ff3b413f7", "assumed": true, "ascendantuuid": "b5ab545c-b649-4c68-ac44-69349ebe8036", "descendantuuid": "423112db-0d7a-4670-892a-738460ac58d5", "grantedbyroleuuid": null, "grantedbytriggerof": "cefb9d07-7142-4a0e-a924-310534a2a516"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', '64aa5905-3739-4b87-9b77-e49d24c4d62c', 'INSERT', '{"uuid": "64aa5905-3739-4b87-9b77-e49d24c4d62c", "assumed": true, "ascendantuuid": "c542f563-0c30-4023-a057-9aa2d95341c8", "descendantuuid": "b5ab545c-b649-4c68-ac44-69349ebe8036", "grantedbyroleuuid": null, "grantedbytriggerof": "cefb9d07-7142-4a0e-a924-310534a2a516"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', 'c501554c-ce02-40a4-b77d-891032d404fc', 'INSERT', '{"uuid": "c501554c-ce02-40a4-b77d-891032d404fc", "assumed": true, "ascendantuuid": "7da9eb31-516f-488d-831f-0c25585aedc7", "descendantuuid": "b5ab545c-b649-4c68-ac44-69349ebe8036", "grantedbyroleuuid": null, "grantedbytriggerof": "cefb9d07-7142-4a0e-a924-310534a2a516"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', '85d19e1d-7119-4e93-a133-2add089b7794', 'INSERT', '{"uuid": "85d19e1d-7119-4e93-a133-2add089b7794", "assumed": true, "ascendantuuid": "b5ab545c-b649-4c68-ac44-69349ebe8036", "descendantuuid": "9dcd1cf4-2293-4352-9049-0b4d28c9f1cb", "grantedbyroleuuid": null, "grantedbytriggerof": "cefb9d07-7142-4a0e-a924-310534a2a516"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', '207dc983-8505-4b6e-9146-7e77db8677ed', 'INSERT', '{"uuid": "207dc983-8505-4b6e-9146-7e77db8677ed", "assumed": true, "ascendantuuid": "b5ab545c-b649-4c68-ac44-69349ebe8036", "descendantuuid": "7654b8c5-6bcd-4153-b0d6-e32f400fff60", "grantedbyroleuuid": null, "grantedbytriggerof": "cefb9d07-7142-4a0e-a924-310534a2a516"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', '7f5b43e8-4c00-4aac-bd64-ad80dd445bb3', 'INSERT', '{"uuid": "7f5b43e8-4c00-4aac-bd64-ad80dd445bb3", "assumed": true, "ascendantuuid": "b5ab545c-b649-4c68-ac44-69349ebe8036", "descendantuuid": "a70cbda3-6a50-481d-98b5-d780eb50fdfc", "grantedbyroleuuid": null, "grantedbytriggerof": "cefb9d07-7142-4a0e-a924-310534a2a516"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', '3b3ab8b9-3b82-454d-b87c-9c11395397fb', 'INSERT', '{"uuid": "3b3ab8b9-3b82-454d-b87c-9c11395397fb", "assumed": true, "ascendantuuid": "9724cc00-bf80-4ad3-9889-323600c10eb4", "descendantuuid": "7da9eb31-516f-488d-831f-0c25585aedc7", "grantedbyroleuuid": null, "grantedbytriggerof": "cefb9d07-7142-4a0e-a924-310534a2a516"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', '2fc16a06-1c62-4dbc-ad1e-efeb04f9edff', 'INSERT', '{"uuid": "2fc16a06-1c62-4dbc-ad1e-efeb04f9edff", "assumed": true, "ascendantuuid": "69976fc3-19a0-41a5-9976-3b0a62561f53", "descendantuuid": "87fb27a9-3d42-4ea2-89cb-b1d21f87d5eb", "grantedbyroleuuid": null, "grantedbytriggerof": "cefb9d07-7142-4a0e-a924-310534a2a516"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'hs_office.relation', 'cefb9d07-7142-4a0e-a924-310534a2a516', 'INSERT', '{"mark": null, "type": "PARTNER", "uuid": "cefb9d07-7142-4a0e-a924-310534a2a516", "version": 0, "anchoruuid": "dbe89951-4cc8-40ac-97b3-49176567984d", "holderuuid": "a2bdfd07-bbc1-417b-b91e-a567641d19c2", "contactuuid": "a6db17a5-0427-4e3f-96e1-606127ad6d98"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.object', '74ca4b73-4a8e-4658-8924-5bad48e77e71', 'INSERT', '{"uuid": "74ca4b73-4a8e-4658-8924-5bad48e77e71", "serialid": 61, "objecttable": "hs_office.relation"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.role', '3a7f4942-6f62-46e5-9dc4-3d95e645f46a', 'INSERT', '{"uuid": "3a7f4942-6f62-46e5-9dc4-3d95e645f46a", "roletype": "OWNER", "objectuuid": "74ca4b73-4a8e-4658-8924-5bad48e77e71"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.permission', '41b9adb1-6754-42ce-a8c3-07cb2a7d74be', 'INSERT', '{"op": "DELETE", "uuid": "41b9adb1-6754-42ce-a8c3-07cb2a7d74be", "objectuuid": "74ca4b73-4a8e-4658-8924-5bad48e77e71", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', '6fb1a410-b9a4-4241-a78f-b7cf70e8a943', 'INSERT', '{"uuid": "6fb1a410-b9a4-4241-a78f-b7cf70e8a943", "assumed": true, "ascendantuuid": "3a7f4942-6f62-46e5-9dc4-3d95e645f46a", "descendantuuid": "41b9adb1-6754-42ce-a8c3-07cb2a7d74be", "grantedbyroleuuid": null, "grantedbytriggerof": "74ca4b73-4a8e-4658-8924-5bad48e77e71"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', '756ed4c2-44d0-4b7e-8a27-237db593c71d', 'INSERT', '{"uuid": "756ed4c2-44d0-4b7e-8a27-237db593c71d", "assumed": true, "ascendantuuid": "afc6a14a-f8c7-4c17-9b91-b615833bc002", "descendantuuid": "3a7f4942-6f62-46e5-9dc4-3d95e645f46a", "grantedbyroleuuid": null, "grantedbytriggerof": "74ca4b73-4a8e-4658-8924-5bad48e77e71"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', '50b642a4-6fa5-441f-aca1-3ee1de15f581', 'INSERT', '{"uuid": "50b642a4-6fa5-441f-aca1-3ee1de15f581", "assumed": true, "ascendantuuid": "bdcc7fef-52e9-4b4c-a0ad-1950d6a1aec4", "descendantuuid": "3a7f4942-6f62-46e5-9dc4-3d95e645f46a", "grantedbyroleuuid": "3a7f4942-6f62-46e5-9dc4-3d95e645f46a", "grantedbytriggerof": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.role', '69d0b389-2dd0-40f8-9802-ffc66a5d3291', 'INSERT', '{"uuid": "69d0b389-2dd0-40f8-9802-ffc66a5d3291", "roletype": "ADMIN", "objectuuid": "74ca4b73-4a8e-4658-8924-5bad48e77e71"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.permission', 'e89394f7-13bd-490a-a8af-b56f04be9ac8', 'INSERT', '{"op": "UPDATE", "uuid": "e89394f7-13bd-490a-a8af-b56f04be9ac8", "objectuuid": "74ca4b73-4a8e-4658-8924-5bad48e77e71", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', 'c893276f-332d-480d-b90a-783d4bbeddef', 'INSERT', '{"uuid": "c893276f-332d-480d-b90a-783d4bbeddef", "assumed": true, "ascendantuuid": "69d0b389-2dd0-40f8-9802-ffc66a5d3291", "descendantuuid": "e89394f7-13bd-490a-a8af-b56f04be9ac8", "grantedbyroleuuid": null, "grantedbytriggerof": "74ca4b73-4a8e-4658-8924-5bad48e77e71"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', '9acd4441-7858-4212-8275-6b4ae4f82ed4', 'INSERT', '{"uuid": "9acd4441-7858-4212-8275-6b4ae4f82ed4", "assumed": true, "ascendantuuid": "3a7f4942-6f62-46e5-9dc4-3d95e645f46a", "descendantuuid": "69d0b389-2dd0-40f8-9802-ffc66a5d3291", "grantedbyroleuuid": null, "grantedbytriggerof": "74ca4b73-4a8e-4658-8924-5bad48e77e71"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.role', '6530e1d9-eb2c-4fd9-b002-853f89affeec', 'INSERT', '{"uuid": "6530e1d9-eb2c-4fd9-b002-853f89affeec", "roletype": "AGENT", "objectuuid": "74ca4b73-4a8e-4658-8924-5bad48e77e71"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', '60af06c0-3e0a-4d3c-9f38-3e3c59688447', 'INSERT', '{"uuid": "60af06c0-3e0a-4d3c-9f38-3e3c59688447", "assumed": true, "ascendantuuid": "69d0b389-2dd0-40f8-9802-ffc66a5d3291", "descendantuuid": "6530e1d9-eb2c-4fd9-b002-853f89affeec", "grantedbyroleuuid": null, "grantedbytriggerof": "74ca4b73-4a8e-4658-8924-5bad48e77e71"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.role', '69f0ff8f-54f0-48bc-b5a0-0d1e0c69e2b5', 'INSERT', '{"uuid": "69f0ff8f-54f0-48bc-b5a0-0d1e0c69e2b5", "roletype": "TENANT", "objectuuid": "74ca4b73-4a8e-4658-8924-5bad48e77e71"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.permission', 'd4ad5233-6ac5-404f-9c04-5e333d77145d', 'INSERT', '{"op": "SELECT", "uuid": "d4ad5233-6ac5-404f-9c04-5e333d77145d", "objectuuid": "74ca4b73-4a8e-4658-8924-5bad48e77e71", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', '991323c4-c619-4015-a345-f22e28129a49', 'INSERT', '{"uuid": "991323c4-c619-4015-a345-f22e28129a49", "assumed": true, "ascendantuuid": "69f0ff8f-54f0-48bc-b5a0-0d1e0c69e2b5", "descendantuuid": "d4ad5233-6ac5-404f-9c04-5e333d77145d", "grantedbyroleuuid": null, "grantedbytriggerof": "74ca4b73-4a8e-4658-8924-5bad48e77e71"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', 'f0b23831-bd90-4252-8881-d99b9b3f80e1', 'INSERT', '{"uuid": "f0b23831-bd90-4252-8881-d99b9b3f80e1", "assumed": true, "ascendantuuid": "c542f563-0c30-4023-a057-9aa2d95341c8", "descendantuuid": "69f0ff8f-54f0-48bc-b5a0-0d1e0c69e2b5", "grantedbyroleuuid": null, "grantedbytriggerof": "74ca4b73-4a8e-4658-8924-5bad48e77e71"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', 'b7462b2e-041f-46e2-a518-8c62f3d8a9a8', 'INSERT', '{"uuid": "b7462b2e-041f-46e2-a518-8c62f3d8a9a8", "assumed": true, "ascendantuuid": "6530e1d9-eb2c-4fd9-b002-853f89affeec", "descendantuuid": "69f0ff8f-54f0-48bc-b5a0-0d1e0c69e2b5", "grantedbyroleuuid": null, "grantedbytriggerof": "74ca4b73-4a8e-4658-8924-5bad48e77e71"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', '6efb86d5-fac0-46c0-ad39-b7791f30b462', 'INSERT', '{"uuid": "6efb86d5-fac0-46c0-ad39-b7791f30b462", "assumed": true, "ascendantuuid": "69f0ff8f-54f0-48bc-b5a0-0d1e0c69e2b5", "descendantuuid": "9dcd1cf4-2293-4352-9049-0b4d28c9f1cb", "grantedbyroleuuid": null, "grantedbytriggerof": "74ca4b73-4a8e-4658-8924-5bad48e77e71"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', 'cfb42ef4-2edf-4e92-8214-08a88f8fdff8', 'INSERT', '{"uuid": "cfb42ef4-2edf-4e92-8214-08a88f8fdff8", "assumed": true, "ascendantuuid": "69f0ff8f-54f0-48bc-b5a0-0d1e0c69e2b5", "descendantuuid": "a70cbda3-6a50-481d-98b5-d780eb50fdfc", "grantedbyroleuuid": null, "grantedbytriggerof": "74ca4b73-4a8e-4658-8924-5bad48e77e71"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', '6517c01b-8f3a-4382-b331-d3cebcb49ac9', 'INSERT', '{"uuid": "6517c01b-8f3a-4382-b331-d3cebcb49ac9", "assumed": true, "ascendantuuid": "69f0ff8f-54f0-48bc-b5a0-0d1e0c69e2b5", "descendantuuid": "a5f8ffa9-00a4-4229-a9d5-95ff9e671309", "grantedbyroleuuid": null, "grantedbytriggerof": "74ca4b73-4a8e-4658-8924-5bad48e77e71"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', '62434e06-a430-4695-ac64-8b4e96432760', 'INSERT', '{"uuid": "62434e06-a430-4695-ac64-8b4e96432760", "assumed": true, "ascendantuuid": "69d0b389-2dd0-40f8-9802-ffc66a5d3291", "descendantuuid": "bfa6fc54-b363-4a47-bcf7-b27d84669531", "grantedbyroleuuid": null, "grantedbytriggerof": "74ca4b73-4a8e-4658-8924-5bad48e77e71"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', 'f874c73e-75e9-4833-9f1f-2ab3a0ce3e91', 'INSERT', '{"uuid": "f874c73e-75e9-4833-9f1f-2ab3a0ce3e91", "assumed": true, "ascendantuuid": "9724cc00-bf80-4ad3-9889-323600c10eb4", "descendantuuid": "6530e1d9-eb2c-4fd9-b002-853f89affeec", "grantedbyroleuuid": null, "grantedbytriggerof": "74ca4b73-4a8e-4658-8924-5bad48e77e71"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', '22dde36d-6a49-4695-b5b2-69dfb9074d43', 'INSERT', '{"uuid": "22dde36d-6a49-4695-b5b2-69dfb9074d43", "assumed": true, "ascendantuuid": "f5edf9d3-e506-41e9-8c02-0be4d3bbd494", "descendantuuid": "3a7f4942-6f62-46e5-9dc4-3d95e645f46a", "grantedbyroleuuid": null, "grantedbytriggerof": "74ca4b73-4a8e-4658-8924-5bad48e77e71"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'hs_office.relation', '74ca4b73-4a8e-4658-8924-5bad48e77e71', 'INSERT', '{"mark": null, "type": "REPRESENTATIVE", "uuid": "74ca4b73-4a8e-4658-8924-5bad48e77e71", "version": 0, "anchoruuid": "a2bdfd07-bbc1-417b-b91e-a567641d19c2", "holderuuid": "a5bdcdee-bc0e-4340-aaf3-d3d7d43dcc1a", "contactuuid": "a6db17a5-0427-4e3f-96e1-606127ad6d98"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.object', 'bcee4fcb-c7a5-4191-8d4e-6b1d9dfe23c3', 'INSERT', '{"uuid": "bcee4fcb-c7a5-4191-8d4e-6b1d9dfe23c3", "serialid": 62, "objecttable": "hs_office.relation"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.role', '8bba1df2-a018-4f08-ac0c-bb9d1fcac6d3', 'INSERT', '{"uuid": "8bba1df2-a018-4f08-ac0c-bb9d1fcac6d3", "roletype": "OWNER", "objectuuid": "bcee4fcb-c7a5-4191-8d4e-6b1d9dfe23c3"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.permission', 'a26bcc60-b205-4477-96ea-bb515b25807c', 'INSERT', '{"op": "DELETE", "uuid": "a26bcc60-b205-4477-96ea-bb515b25807c", "objectuuid": "bcee4fcb-c7a5-4191-8d4e-6b1d9dfe23c3", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', '2174ce1a-e7fb-4265-9fbd-9632606f3a07', 'INSERT', '{"uuid": "2174ce1a-e7fb-4265-9fbd-9632606f3a07", "assumed": true, "ascendantuuid": "8bba1df2-a018-4f08-ac0c-bb9d1fcac6d3", "descendantuuid": "a26bcc60-b205-4477-96ea-bb515b25807c", "grantedbyroleuuid": null, "grantedbytriggerof": "bcee4fcb-c7a5-4191-8d4e-6b1d9dfe23c3"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', '8841b4ad-89eb-4689-a142-3ff1b88114b2', 'INSERT', '{"uuid": "8841b4ad-89eb-4689-a142-3ff1b88114b2", "assumed": true, "ascendantuuid": "afc6a14a-f8c7-4c17-9b91-b615833bc002", "descendantuuid": "8bba1df2-a018-4f08-ac0c-bb9d1fcac6d3", "grantedbyroleuuid": null, "grantedbytriggerof": "bcee4fcb-c7a5-4191-8d4e-6b1d9dfe23c3"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', '55d4a867-fd7a-4c7d-929d-4c420c032a1a', 'INSERT', '{"uuid": "55d4a867-fd7a-4c7d-929d-4c420c032a1a", "assumed": true, "ascendantuuid": "bdcc7fef-52e9-4b4c-a0ad-1950d6a1aec4", "descendantuuid": "8bba1df2-a018-4f08-ac0c-bb9d1fcac6d3", "grantedbyroleuuid": "8bba1df2-a018-4f08-ac0c-bb9d1fcac6d3", "grantedbytriggerof": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.role', '4a5bed60-bc5c-4131-9f5e-4d8fe0c1612e', 'INSERT', '{"uuid": "4a5bed60-bc5c-4131-9f5e-4d8fe0c1612e", "roletype": "ADMIN", "objectuuid": "bcee4fcb-c7a5-4191-8d4e-6b1d9dfe23c3"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.permission', '8d94ac7b-7755-4edc-a272-3af5a3ae9f26', 'INSERT', '{"op": "UPDATE", "uuid": "8d94ac7b-7755-4edc-a272-3af5a3ae9f26", "objectuuid": "bcee4fcb-c7a5-4191-8d4e-6b1d9dfe23c3", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', '48451c17-6751-4b18-853e-4e5ccebccb8b', 'INSERT', '{"uuid": "48451c17-6751-4b18-853e-4e5ccebccb8b", "assumed": true, "ascendantuuid": "4a5bed60-bc5c-4131-9f5e-4d8fe0c1612e", "descendantuuid": "8d94ac7b-7755-4edc-a272-3af5a3ae9f26", "grantedbyroleuuid": null, "grantedbytriggerof": "bcee4fcb-c7a5-4191-8d4e-6b1d9dfe23c3"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', '5904d555-cf48-4cbc-ab88-c1231da60173', 'INSERT', '{"uuid": "5904d555-cf48-4cbc-ab88-c1231da60173", "assumed": true, "ascendantuuid": "8bba1df2-a018-4f08-ac0c-bb9d1fcac6d3", "descendantuuid": "4a5bed60-bc5c-4131-9f5e-4d8fe0c1612e", "grantedbyroleuuid": null, "grantedbytriggerof": "bcee4fcb-c7a5-4191-8d4e-6b1d9dfe23c3"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.role', '0fe24c9a-08a0-43f8-939e-e867af52bece', 'INSERT', '{"uuid": "0fe24c9a-08a0-43f8-939e-e867af52bece", "roletype": "AGENT", "objectuuid": "bcee4fcb-c7a5-4191-8d4e-6b1d9dfe23c3"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', 'b056fe8e-169a-47d9-bed7-e775ace4eb58', 'INSERT', '{"uuid": "b056fe8e-169a-47d9-bed7-e775ace4eb58", "assumed": true, "ascendantuuid": "4a5bed60-bc5c-4131-9f5e-4d8fe0c1612e", "descendantuuid": "0fe24c9a-08a0-43f8-939e-e867af52bece", "grantedbyroleuuid": null, "grantedbytriggerof": "bcee4fcb-c7a5-4191-8d4e-6b1d9dfe23c3"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.role', '5062fecc-90b8-4ef4-b336-fcbe9a73a6e0', 'INSERT', '{"uuid": "5062fecc-90b8-4ef4-b336-fcbe9a73a6e0", "roletype": "TENANT", "objectuuid": "bcee4fcb-c7a5-4191-8d4e-6b1d9dfe23c3"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.permission', '046aed6f-a51a-413d-a9d1-f0ea3f35f742', 'INSERT', '{"op": "SELECT", "uuid": "046aed6f-a51a-413d-a9d1-f0ea3f35f742", "objectuuid": "bcee4fcb-c7a5-4191-8d4e-6b1d9dfe23c3", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', '236881ae-607b-42c9-842a-7828448c4d10', 'INSERT', '{"uuid": "236881ae-607b-42c9-842a-7828448c4d10", "assumed": true, "ascendantuuid": "5062fecc-90b8-4ef4-b336-fcbe9a73a6e0", "descendantuuid": "046aed6f-a51a-413d-a9d1-f0ea3f35f742", "grantedbyroleuuid": null, "grantedbytriggerof": "bcee4fcb-c7a5-4191-8d4e-6b1d9dfe23c3"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', '69555107-ec02-4caf-a2c4-14a11800b679', 'INSERT', '{"uuid": "69555107-ec02-4caf-a2c4-14a11800b679", "assumed": true, "ascendantuuid": "c542f563-0c30-4023-a057-9aa2d95341c8", "descendantuuid": "5062fecc-90b8-4ef4-b336-fcbe9a73a6e0", "grantedbyroleuuid": null, "grantedbytriggerof": "bcee4fcb-c7a5-4191-8d4e-6b1d9dfe23c3"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', '224a2961-c375-49c2-ac43-5089ebb596ee', 'INSERT', '{"uuid": "224a2961-c375-49c2-ac43-5089ebb596ee", "assumed": true, "ascendantuuid": "0fe24c9a-08a0-43f8-939e-e867af52bece", "descendantuuid": "5062fecc-90b8-4ef4-b336-fcbe9a73a6e0", "grantedbyroleuuid": null, "grantedbytriggerof": "bcee4fcb-c7a5-4191-8d4e-6b1d9dfe23c3"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', 'ad10cd97-8ae5-4796-ab87-fadb79da04f8', 'INSERT', '{"uuid": "ad10cd97-8ae5-4796-ab87-fadb79da04f8", "assumed": true, "ascendantuuid": "5062fecc-90b8-4ef4-b336-fcbe9a73a6e0", "descendantuuid": "9dcd1cf4-2293-4352-9049-0b4d28c9f1cb", "grantedbyroleuuid": null, "grantedbytriggerof": "bcee4fcb-c7a5-4191-8d4e-6b1d9dfe23c3"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', '4a5a64bb-f8ef-432b-9a42-f18854cd35c7', 'INSERT', '{"uuid": "4a5a64bb-f8ef-432b-9a42-f18854cd35c7", "assumed": true, "ascendantuuid": "5062fecc-90b8-4ef4-b336-fcbe9a73a6e0", "descendantuuid": "a70cbda3-6a50-481d-98b5-d780eb50fdfc", "grantedbyroleuuid": null, "grantedbytriggerof": "bcee4fcb-c7a5-4191-8d4e-6b1d9dfe23c3"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', 'cea010b7-7716-48ba-9e1b-9cf11fc53141', 'INSERT', '{"uuid": "cea010b7-7716-48ba-9e1b-9cf11fc53141", "assumed": true, "ascendantuuid": "9724cc00-bf80-4ad3-9889-323600c10eb4", "descendantuuid": "0fe24c9a-08a0-43f8-939e-e867af52bece", "grantedbyroleuuid": null, "grantedbytriggerof": "bcee4fcb-c7a5-4191-8d4e-6b1d9dfe23c3"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', '1771c460-f36d-4dc8-98ce-a7527ba0309b', 'INSERT', '{"uuid": "1771c460-f36d-4dc8-98ce-a7527ba0309b", "assumed": true, "ascendantuuid": "9724cc00-bf80-4ad3-9889-323600c10eb4", "descendantuuid": "8bba1df2-a018-4f08-ac0c-bb9d1fcac6d3", "grantedbyroleuuid": null, "grantedbytriggerof": "bcee4fcb-c7a5-4191-8d4e-6b1d9dfe23c3"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'hs_office.relation', 'bcee4fcb-c7a5-4191-8d4e-6b1d9dfe23c3', 'INSERT', '{"mark": null, "type": "DEBITOR", "uuid": "bcee4fcb-c7a5-4191-8d4e-6b1d9dfe23c3", "version": 0, "anchoruuid": "a2bdfd07-bbc1-417b-b91e-a567641d19c2", "holderuuid": "a2bdfd07-bbc1-417b-b91e-a567641d19c2", "contactuuid": "a6db17a5-0427-4e3f-96e1-606127ad6d98"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.object', '5c0f9fee-6087-4b83-bcb7-da8a525b8662', 'INSERT', '{"uuid": "5c0f9fee-6087-4b83-bcb7-da8a525b8662", "serialid": 63, "objecttable": "hs_office.relation"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.role', 'de8f642d-37c0-4498-8d2e-54ba4cddbd17', 'INSERT', '{"uuid": "de8f642d-37c0-4498-8d2e-54ba4cddbd17", "roletype": "OWNER", "objectuuid": "5c0f9fee-6087-4b83-bcb7-da8a525b8662"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.permission', '448f3ff1-2606-4627-b798-b00b024ebecd', 'INSERT', '{"op": "DELETE", "uuid": "448f3ff1-2606-4627-b798-b00b024ebecd", "objectuuid": "5c0f9fee-6087-4b83-bcb7-da8a525b8662", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', 'b91ea2cd-91cb-42af-8a97-15870d6690c3', 'INSERT', '{"uuid": "b91ea2cd-91cb-42af-8a97-15870d6690c3", "assumed": true, "ascendantuuid": "de8f642d-37c0-4498-8d2e-54ba4cddbd17", "descendantuuid": "448f3ff1-2606-4627-b798-b00b024ebecd", "grantedbyroleuuid": null, "grantedbytriggerof": "5c0f9fee-6087-4b83-bcb7-da8a525b8662"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', '58bed239-8e58-44c9-82cb-4b4168a013a0', 'INSERT', '{"uuid": "58bed239-8e58-44c9-82cb-4b4168a013a0", "assumed": true, "ascendantuuid": "afc6a14a-f8c7-4c17-9b91-b615833bc002", "descendantuuid": "de8f642d-37c0-4498-8d2e-54ba4cddbd17", "grantedbyroleuuid": null, "grantedbytriggerof": "5c0f9fee-6087-4b83-bcb7-da8a525b8662"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', 'ed304961-aefa-431d-867a-45f732211407', 'INSERT', '{"uuid": "ed304961-aefa-431d-867a-45f732211407", "assumed": true, "ascendantuuid": "bdcc7fef-52e9-4b4c-a0ad-1950d6a1aec4", "descendantuuid": "de8f642d-37c0-4498-8d2e-54ba4cddbd17", "grantedbyroleuuid": "de8f642d-37c0-4498-8d2e-54ba4cddbd17", "grantedbytriggerof": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.role', '260d863e-eb9f-441d-96d6-5a767f2e8973', 'INSERT', '{"uuid": "260d863e-eb9f-441d-96d6-5a767f2e8973", "roletype": "ADMIN", "objectuuid": "5c0f9fee-6087-4b83-bcb7-da8a525b8662"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.permission', '8e6515ac-362e-4e37-af76-9b48fce00d6f', 'INSERT', '{"op": "UPDATE", "uuid": "8e6515ac-362e-4e37-af76-9b48fce00d6f", "objectuuid": "5c0f9fee-6087-4b83-bcb7-da8a525b8662", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', '1e5bc6b8-f469-4902-912d-4ae93a8d4674', 'INSERT', '{"uuid": "1e5bc6b8-f469-4902-912d-4ae93a8d4674", "assumed": true, "ascendantuuid": "260d863e-eb9f-441d-96d6-5a767f2e8973", "descendantuuid": "8e6515ac-362e-4e37-af76-9b48fce00d6f", "grantedbyroleuuid": null, "grantedbytriggerof": "5c0f9fee-6087-4b83-bcb7-da8a525b8662"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', '4b26f82e-2a6c-4e88-ab7c-8900bece9515', 'INSERT', '{"uuid": "4b26f82e-2a6c-4e88-ab7c-8900bece9515", "assumed": true, "ascendantuuid": "de8f642d-37c0-4498-8d2e-54ba4cddbd17", "descendantuuid": "260d863e-eb9f-441d-96d6-5a767f2e8973", "grantedbyroleuuid": null, "grantedbytriggerof": "5c0f9fee-6087-4b83-bcb7-da8a525b8662"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.role', '60ee51bd-f34c-4a9b-b692-c2476ab44de5', 'INSERT', '{"uuid": "60ee51bd-f34c-4a9b-b692-c2476ab44de5", "roletype": "AGENT", "objectuuid": "5c0f9fee-6087-4b83-bcb7-da8a525b8662"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', '51c38685-aa0e-4226-9568-92690cf7b5cb', 'INSERT', '{"uuid": "51c38685-aa0e-4226-9568-92690cf7b5cb", "assumed": true, "ascendantuuid": "260d863e-eb9f-441d-96d6-5a767f2e8973", "descendantuuid": "60ee51bd-f34c-4a9b-b692-c2476ab44de5", "grantedbyroleuuid": null, "grantedbytriggerof": "5c0f9fee-6087-4b83-bcb7-da8a525b8662"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.role', '898325ca-b5e0-4c70-b301-3b9a141931c8', 'INSERT', '{"uuid": "898325ca-b5e0-4c70-b301-3b9a141931c8", "roletype": "TENANT", "objectuuid": "5c0f9fee-6087-4b83-bcb7-da8a525b8662"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.permission', 'd3b44be0-0045-4d62-ad2c-9d8b6694c2f7', 'INSERT', '{"op": "SELECT", "uuid": "d3b44be0-0045-4d62-ad2c-9d8b6694c2f7", "objectuuid": "5c0f9fee-6087-4b83-bcb7-da8a525b8662", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', 'c2eab40b-64e3-4caa-be2c-0299100bb339', 'INSERT', '{"uuid": "c2eab40b-64e3-4caa-be2c-0299100bb339", "assumed": true, "ascendantuuid": "898325ca-b5e0-4c70-b301-3b9a141931c8", "descendantuuid": "d3b44be0-0045-4d62-ad2c-9d8b6694c2f7", "grantedbyroleuuid": null, "grantedbytriggerof": "5c0f9fee-6087-4b83-bcb7-da8a525b8662"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.permission', '5c55efce-7166-4997-b3e9-f64d26dbf612', 'INSERT', '{"op": "DELETE", "uuid": "5c55efce-7166-4997-b3e9-f64d26dbf612", "objectuuid": "c49b0faf-016d-4079-9ce2-2f0d3047f1ac", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', '2def35ca-267d-41c5-98c0-edd262f25483', 'INSERT', '{"uuid": "2def35ca-267d-41c5-98c0-edd262f25483", "assumed": true, "ascendantuuid": "02ee24dd-092c-458d-81ed-5bcd06e946d7", "descendantuuid": "898325ca-b5e0-4c70-b301-3b9a141931c8", "grantedbyroleuuid": null, "grantedbytriggerof": "5c0f9fee-6087-4b83-bcb7-da8a525b8662"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', 'ba1fb7d7-f21d-45f0-b733-6afae9f2544b', 'INSERT', '{"uuid": "ba1fb7d7-f21d-45f0-b733-6afae9f2544b", "assumed": true, "ascendantuuid": "60ee51bd-f34c-4a9b-b692-c2476ab44de5", "descendantuuid": "898325ca-b5e0-4c70-b301-3b9a141931c8", "grantedbyroleuuid": null, "grantedbytriggerof": "5c0f9fee-6087-4b83-bcb7-da8a525b8662"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', '0282b8fc-9b81-4f14-8305-75404b9c23bc', 'INSERT', '{"uuid": "0282b8fc-9b81-4f14-8305-75404b9c23bc", "assumed": true, "ascendantuuid": "898325ca-b5e0-4c70-b301-3b9a141931c8", "descendantuuid": "9b03c48b-38e5-42e7-97b1-83841034180d", "grantedbyroleuuid": null, "grantedbytriggerof": "5c0f9fee-6087-4b83-bcb7-da8a525b8662"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', 'c5c6262a-5f66-41db-a0e1-70fbe04c208e', 'INSERT', '{"uuid": "c5c6262a-5f66-41db-a0e1-70fbe04c208e", "assumed": true, "ascendantuuid": "898325ca-b5e0-4c70-b301-3b9a141931c8", "descendantuuid": "7654b8c5-6bcd-4153-b0d6-e32f400fff60", "grantedbyroleuuid": null, "grantedbytriggerof": "5c0f9fee-6087-4b83-bcb7-da8a525b8662"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', 'b646d7c2-b243-4d42-bf46-88db3de1b552', 'INSERT', '{"uuid": "b646d7c2-b243-4d42-bf46-88db3de1b552", "assumed": true, "ascendantuuid": "898325ca-b5e0-4c70-b301-3b9a141931c8", "descendantuuid": "c7c42e30-f5fa-4eae-9c26-35d0756423af", "grantedbyroleuuid": null, "grantedbytriggerof": "5c0f9fee-6087-4b83-bcb7-da8a525b8662"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', 'ddc769be-6ee0-4c20-9e21-f0496b3132ab', 'INSERT', '{"uuid": "ddc769be-6ee0-4c20-9e21-f0496b3132ab", "assumed": true, "ascendantuuid": "ccd7a35d-4c6f-461d-8b9a-ca95a1f86172", "descendantuuid": "60ee51bd-f34c-4a9b-b692-c2476ab44de5", "grantedbyroleuuid": null, "grantedbytriggerof": "5c0f9fee-6087-4b83-bcb7-da8a525b8662"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', 'f4e8304d-77f8-4437-9ad0-b0195ddb351e', 'INSERT', '{"uuid": "f4e8304d-77f8-4437-9ad0-b0195ddb351e", "assumed": true, "ascendantuuid": "69976fc3-19a0-41a5-9976-3b0a62561f53", "descendantuuid": "de8f642d-37c0-4498-8d2e-54ba4cddbd17", "grantedbyroleuuid": null, "grantedbytriggerof": "5c0f9fee-6087-4b83-bcb7-da8a525b8662"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'hs_office.relation', '5c0f9fee-6087-4b83-bcb7-da8a525b8662', 'INSERT', '{"mark": null, "type": "PARTNER", "uuid": "5c0f9fee-6087-4b83-bcb7-da8a525b8662", "version": 0, "anchoruuid": "dbe89951-4cc8-40ac-97b3-49176567984d", "holderuuid": "2ddcf68b-eb88-45e7-a6aa-3da9c32115a1", "contactuuid": "ae0320f6-d268-470e-8ded-142acddb2243"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.object', '7a6b8585-8bcc-4bcc-a1f6-a905bfd2cb05', 'INSERT', '{"uuid": "7a6b8585-8bcc-4bcc-a1f6-a905bfd2cb05", "serialid": 64, "objecttable": "hs_office.relation"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.role', '572f4a8b-8aae-40cb-9a68-d561b297b2fe', 'INSERT', '{"uuid": "572f4a8b-8aae-40cb-9a68-d561b297b2fe", "roletype": "OWNER", "objectuuid": "7a6b8585-8bcc-4bcc-a1f6-a905bfd2cb05"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.permission', 'ce68396e-a8a3-4eaf-a724-a6204d6ec27f', 'INSERT', '{"op": "DELETE", "uuid": "ce68396e-a8a3-4eaf-a724-a6204d6ec27f", "objectuuid": "7a6b8585-8bcc-4bcc-a1f6-a905bfd2cb05", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', 'e1f18bc3-3505-4a9f-8d30-73aeea84308c', 'INSERT', '{"uuid": "e1f18bc3-3505-4a9f-8d30-73aeea84308c", "assumed": true, "ascendantuuid": "572f4a8b-8aae-40cb-9a68-d561b297b2fe", "descendantuuid": "ce68396e-a8a3-4eaf-a724-a6204d6ec27f", "grantedbyroleuuid": null, "grantedbytriggerof": "7a6b8585-8bcc-4bcc-a1f6-a905bfd2cb05"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', 'e270a5a5-00c5-4544-a1e7-0dc0d6db552c', 'INSERT', '{"uuid": "e270a5a5-00c5-4544-a1e7-0dc0d6db552c", "assumed": true, "ascendantuuid": "afc6a14a-f8c7-4c17-9b91-b615833bc002", "descendantuuid": "572f4a8b-8aae-40cb-9a68-d561b297b2fe", "grantedbyroleuuid": null, "grantedbytriggerof": "7a6b8585-8bcc-4bcc-a1f6-a905bfd2cb05"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', '1ef67c1b-6207-4f7b-9e4c-d4e1a1391684', 'INSERT', '{"uuid": "1ef67c1b-6207-4f7b-9e4c-d4e1a1391684", "assumed": true, "ascendantuuid": "bdcc7fef-52e9-4b4c-a0ad-1950d6a1aec4", "descendantuuid": "572f4a8b-8aae-40cb-9a68-d561b297b2fe", "grantedbyroleuuid": "572f4a8b-8aae-40cb-9a68-d561b297b2fe", "grantedbytriggerof": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.role', 'ad4f7acf-c896-4e7b-8d99-a2d936999af8', 'INSERT', '{"uuid": "ad4f7acf-c896-4e7b-8d99-a2d936999af8", "roletype": "ADMIN", "objectuuid": "7a6b8585-8bcc-4bcc-a1f6-a905bfd2cb05"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.permission', '04f4c547-9f70-4cc0-874c-73924e4a0c8c', 'INSERT', '{"op": "UPDATE", "uuid": "04f4c547-9f70-4cc0-874c-73924e4a0c8c", "objectuuid": "7a6b8585-8bcc-4bcc-a1f6-a905bfd2cb05", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', 'a55d86c1-7074-4095-9092-aa70396cb4ff', 'INSERT', '{"uuid": "a55d86c1-7074-4095-9092-aa70396cb4ff", "assumed": true, "ascendantuuid": "ad4f7acf-c896-4e7b-8d99-a2d936999af8", "descendantuuid": "04f4c547-9f70-4cc0-874c-73924e4a0c8c", "grantedbyroleuuid": null, "grantedbytriggerof": "7a6b8585-8bcc-4bcc-a1f6-a905bfd2cb05"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', 'b40ac1cc-be86-4844-8ae2-1283c6fd5f10', 'INSERT', '{"uuid": "b40ac1cc-be86-4844-8ae2-1283c6fd5f10", "assumed": true, "ascendantuuid": "572f4a8b-8aae-40cb-9a68-d561b297b2fe", "descendantuuid": "ad4f7acf-c896-4e7b-8d99-a2d936999af8", "grantedbyroleuuid": null, "grantedbytriggerof": "7a6b8585-8bcc-4bcc-a1f6-a905bfd2cb05"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.role', '49c014a2-4be5-482a-80c7-04d13ab81402', 'INSERT', '{"uuid": "49c014a2-4be5-482a-80c7-04d13ab81402", "roletype": "AGENT", "objectuuid": "7a6b8585-8bcc-4bcc-a1f6-a905bfd2cb05"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', 'da438057-0207-46a8-ad3d-0838c6a14ef6', 'INSERT', '{"uuid": "da438057-0207-46a8-ad3d-0838c6a14ef6", "assumed": true, "ascendantuuid": "ad4f7acf-c896-4e7b-8d99-a2d936999af8", "descendantuuid": "49c014a2-4be5-482a-80c7-04d13ab81402", "grantedbyroleuuid": null, "grantedbytriggerof": "7a6b8585-8bcc-4bcc-a1f6-a905bfd2cb05"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.role', '288a3a2c-fc5c-4aa4-b14e-ede529d02bef', 'INSERT', '{"uuid": "288a3a2c-fc5c-4aa4-b14e-ede529d02bef", "roletype": "TENANT", "objectuuid": "7a6b8585-8bcc-4bcc-a1f6-a905bfd2cb05"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.permission', '686a425a-bf28-46da-b5ef-674d0a641214', 'INSERT', '{"op": "SELECT", "uuid": "686a425a-bf28-46da-b5ef-674d0a641214", "objectuuid": "7a6b8585-8bcc-4bcc-a1f6-a905bfd2cb05", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', '075704a3-217b-48f9-a3ce-b932ef7da095', 'INSERT', '{"uuid": "075704a3-217b-48f9-a3ce-b932ef7da095", "assumed": true, "ascendantuuid": "288a3a2c-fc5c-4aa4-b14e-ede529d02bef", "descendantuuid": "686a425a-bf28-46da-b5ef-674d0a641214", "grantedbyroleuuid": null, "grantedbytriggerof": "7a6b8585-8bcc-4bcc-a1f6-a905bfd2cb05"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', '2b70e355-e124-43a1-8cc3-0050e1379196', 'INSERT', '{"uuid": "2b70e355-e124-43a1-8cc3-0050e1379196", "assumed": true, "ascendantuuid": "02ee24dd-092c-458d-81ed-5bcd06e946d7", "descendantuuid": "288a3a2c-fc5c-4aa4-b14e-ede529d02bef", "grantedbyroleuuid": null, "grantedbytriggerof": "7a6b8585-8bcc-4bcc-a1f6-a905bfd2cb05"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', '396b35ae-0db5-42de-a850-72c82720cecd', 'INSERT', '{"uuid": "396b35ae-0db5-42de-a850-72c82720cecd", "assumed": true, "ascendantuuid": "49c014a2-4be5-482a-80c7-04d13ab81402", "descendantuuid": "288a3a2c-fc5c-4aa4-b14e-ede529d02bef", "grantedbyroleuuid": null, "grantedbytriggerof": "7a6b8585-8bcc-4bcc-a1f6-a905bfd2cb05"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', '62d4884f-1f37-447d-90ad-a7592e684f7a', 'INSERT', '{"uuid": "62d4884f-1f37-447d-90ad-a7592e684f7a", "assumed": true, "ascendantuuid": "288a3a2c-fc5c-4aa4-b14e-ede529d02bef", "descendantuuid": "9b03c48b-38e5-42e7-97b1-83841034180d", "grantedbyroleuuid": null, "grantedbytriggerof": "7a6b8585-8bcc-4bcc-a1f6-a905bfd2cb05"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.role', 'c5077142-d0a8-4fd2-b617-4856c6ceebc2', 'INSERT', '{"uuid": "c5077142-d0a8-4fd2-b617-4856c6ceebc2", "roletype": "AGENT", "objectuuid": "63ab696c-163c-44b6-bd79-e82630923af2"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', 'a0c821e5-4966-461f-b10a-1d46f4395a0c', 'INSERT', '{"uuid": "a0c821e5-4966-461f-b10a-1d46f4395a0c", "assumed": true, "ascendantuuid": "288a3a2c-fc5c-4aa4-b14e-ede529d02bef", "descendantuuid": "c7c42e30-f5fa-4eae-9c26-35d0756423af", "grantedbyroleuuid": null, "grantedbytriggerof": "7a6b8585-8bcc-4bcc-a1f6-a905bfd2cb05"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', '5ef9bdb2-d55e-4fad-9a50-c4a291bb41b2', 'INSERT', '{"uuid": "5ef9bdb2-d55e-4fad-9a50-c4a291bb41b2", "assumed": true, "ascendantuuid": "288a3a2c-fc5c-4aa4-b14e-ede529d02bef", "descendantuuid": "51be412d-854a-4a70-82e9-e4f9e34a4834", "grantedbyroleuuid": null, "grantedbytriggerof": "7a6b8585-8bcc-4bcc-a1f6-a905bfd2cb05"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', 'df8a24b3-bfc5-4aef-b3ad-e521f1c610dc', 'INSERT', '{"uuid": "df8a24b3-bfc5-4aef-b3ad-e521f1c610dc", "assumed": true, "ascendantuuid": "ad4f7acf-c896-4e7b-8d99-a2d936999af8", "descendantuuid": "5be17991-149b-484b-8386-01fc83b53a10", "grantedbyroleuuid": null, "grantedbytriggerof": "7a6b8585-8bcc-4bcc-a1f6-a905bfd2cb05"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', '8f03a815-6487-4f82-b933-f79c599c13c3', 'INSERT', '{"uuid": "8f03a815-6487-4f82-b933-f79c599c13c3", "assumed": true, "ascendantuuid": "ccd7a35d-4c6f-461d-8b9a-ca95a1f86172", "descendantuuid": "49c014a2-4be5-482a-80c7-04d13ab81402", "grantedbyroleuuid": null, "grantedbytriggerof": "7a6b8585-8bcc-4bcc-a1f6-a905bfd2cb05"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', '00a69136-e5ca-4346-aa75-cb3d75b361ef', 'INSERT', '{"uuid": "00a69136-e5ca-4346-aa75-cb3d75b361ef", "assumed": true, "ascendantuuid": "9f40ec38-70ad-426e-aa26-2b0dd2afee2e", "descendantuuid": "572f4a8b-8aae-40cb-9a68-d561b297b2fe", "grantedbyroleuuid": null, "grantedbytriggerof": "7a6b8585-8bcc-4bcc-a1f6-a905bfd2cb05"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'hs_office.relation', '7a6b8585-8bcc-4bcc-a1f6-a905bfd2cb05', 'INSERT', '{"mark": null, "type": "REPRESENTATIVE", "uuid": "7a6b8585-8bcc-4bcc-a1f6-a905bfd2cb05", "version": 0, "anchoruuid": "2ddcf68b-eb88-45e7-a6aa-3da9c32115a1", "holderuuid": "43cf65a6-59e5-44d6-bf66-0fcf7266404a", "contactuuid": "ae0320f6-d268-470e-8ded-142acddb2243"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.object', '0eba2cf6-e74b-4f41-bac5-9c0292f8e9e1', 'INSERT', '{"uuid": "0eba2cf6-e74b-4f41-bac5-9c0292f8e9e1", "serialid": 65, "objecttable": "hs_office.relation"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.role', '2fe324b3-8ddf-4c56-98e1-511152108b2d', 'INSERT', '{"uuid": "2fe324b3-8ddf-4c56-98e1-511152108b2d", "roletype": "OWNER", "objectuuid": "0eba2cf6-e74b-4f41-bac5-9c0292f8e9e1"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.permission', 'b70ad539-728d-4ae7-829b-5aaf9f82a6ec', 'INSERT', '{"op": "DELETE", "uuid": "b70ad539-728d-4ae7-829b-5aaf9f82a6ec", "objectuuid": "0eba2cf6-e74b-4f41-bac5-9c0292f8e9e1", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', 'd62335f0-e3ad-4cad-8b4c-25376361ae14', 'INSERT', '{"uuid": "d62335f0-e3ad-4cad-8b4c-25376361ae14", "assumed": true, "ascendantuuid": "2fe324b3-8ddf-4c56-98e1-511152108b2d", "descendantuuid": "b70ad539-728d-4ae7-829b-5aaf9f82a6ec", "grantedbyroleuuid": null, "grantedbytriggerof": "0eba2cf6-e74b-4f41-bac5-9c0292f8e9e1"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', '5b9ac854-5eac-48ea-b1c0-2abbea9ebedb', 'INSERT', '{"uuid": "5b9ac854-5eac-48ea-b1c0-2abbea9ebedb", "assumed": true, "ascendantuuid": "afc6a14a-f8c7-4c17-9b91-b615833bc002", "descendantuuid": "2fe324b3-8ddf-4c56-98e1-511152108b2d", "grantedbyroleuuid": null, "grantedbytriggerof": "0eba2cf6-e74b-4f41-bac5-9c0292f8e9e1"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', '467f35b1-2c48-490a-a110-866b61fbc660', 'INSERT', '{"uuid": "467f35b1-2c48-490a-a110-866b61fbc660", "assumed": true, "ascendantuuid": "bdcc7fef-52e9-4b4c-a0ad-1950d6a1aec4", "descendantuuid": "2fe324b3-8ddf-4c56-98e1-511152108b2d", "grantedbyroleuuid": "2fe324b3-8ddf-4c56-98e1-511152108b2d", "grantedbytriggerof": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.role', '02616b32-c6fa-408b-97fc-d8fb1e8a641b', 'INSERT', '{"uuid": "02616b32-c6fa-408b-97fc-d8fb1e8a641b", "roletype": "ADMIN", "objectuuid": "0eba2cf6-e74b-4f41-bac5-9c0292f8e9e1"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.permission', '1718d6ec-bd44-4b4c-8b96-ab324206580a', 'INSERT', '{"op": "UPDATE", "uuid": "1718d6ec-bd44-4b4c-8b96-ab324206580a", "objectuuid": "0eba2cf6-e74b-4f41-bac5-9c0292f8e9e1", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', '822d854b-acf8-424e-862e-fafa2a906498', 'INSERT', '{"uuid": "822d854b-acf8-424e-862e-fafa2a906498", "assumed": true, "ascendantuuid": "02616b32-c6fa-408b-97fc-d8fb1e8a641b", "descendantuuid": "1718d6ec-bd44-4b4c-8b96-ab324206580a", "grantedbyroleuuid": null, "grantedbytriggerof": "0eba2cf6-e74b-4f41-bac5-9c0292f8e9e1"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', 'fc7c36ff-0f9e-4c3b-8957-7af4d3cf8964', 'INSERT', '{"uuid": "fc7c36ff-0f9e-4c3b-8957-7af4d3cf8964", "assumed": true, "ascendantuuid": "2fe324b3-8ddf-4c56-98e1-511152108b2d", "descendantuuid": "02616b32-c6fa-408b-97fc-d8fb1e8a641b", "grantedbyroleuuid": null, "grantedbytriggerof": "0eba2cf6-e74b-4f41-bac5-9c0292f8e9e1"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.role', 'e90b5799-82c7-4ee4-8e35-7f57cb523f94', 'INSERT', '{"uuid": "e90b5799-82c7-4ee4-8e35-7f57cb523f94", "roletype": "AGENT", "objectuuid": "0eba2cf6-e74b-4f41-bac5-9c0292f8e9e1"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', 'cd03b83f-c183-48c9-be97-04e716af9c6b', 'INSERT', '{"uuid": "cd03b83f-c183-48c9-be97-04e716af9c6b", "assumed": true, "ascendantuuid": "02616b32-c6fa-408b-97fc-d8fb1e8a641b", "descendantuuid": "e90b5799-82c7-4ee4-8e35-7f57cb523f94", "grantedbyroleuuid": null, "grantedbytriggerof": "0eba2cf6-e74b-4f41-bac5-9c0292f8e9e1"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.role', '998ff776-dd14-4180-9e73-a2ff618e08e6', 'INSERT', '{"uuid": "998ff776-dd14-4180-9e73-a2ff618e08e6", "roletype": "TENANT", "objectuuid": "0eba2cf6-e74b-4f41-bac5-9c0292f8e9e1"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.permission', '5828fda5-8474-4285-82d5-2188c65ab458', 'INSERT', '{"op": "SELECT", "uuid": "5828fda5-8474-4285-82d5-2188c65ab458", "objectuuid": "0eba2cf6-e74b-4f41-bac5-9c0292f8e9e1", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', '826ebe01-24a3-43ae-bad8-1ec42e5cfc98', 'INSERT', '{"uuid": "826ebe01-24a3-43ae-bad8-1ec42e5cfc98", "assumed": true, "ascendantuuid": "998ff776-dd14-4180-9e73-a2ff618e08e6", "descendantuuid": "5828fda5-8474-4285-82d5-2188c65ab458", "grantedbyroleuuid": null, "grantedbytriggerof": "0eba2cf6-e74b-4f41-bac5-9c0292f8e9e1"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', '461e2010-fa7d-4d47-992d-b18bcb28c6cc', 'INSERT', '{"uuid": "461e2010-fa7d-4d47-992d-b18bcb28c6cc", "assumed": true, "ascendantuuid": "02ee24dd-092c-458d-81ed-5bcd06e946d7", "descendantuuid": "998ff776-dd14-4180-9e73-a2ff618e08e6", "grantedbyroleuuid": null, "grantedbytriggerof": "0eba2cf6-e74b-4f41-bac5-9c0292f8e9e1"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', '5860cf35-2530-4c39-b17b-b1ac0f4c98e3', 'INSERT', '{"uuid": "5860cf35-2530-4c39-b17b-b1ac0f4c98e3", "assumed": true, "ascendantuuid": "e90b5799-82c7-4ee4-8e35-7f57cb523f94", "descendantuuid": "998ff776-dd14-4180-9e73-a2ff618e08e6", "grantedbyroleuuid": null, "grantedbytriggerof": "0eba2cf6-e74b-4f41-bac5-9c0292f8e9e1"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', '86f74cf4-5ceb-4749-851e-570a82339dba', 'INSERT', '{"uuid": "86f74cf4-5ceb-4749-851e-570a82339dba", "assumed": true, "ascendantuuid": "998ff776-dd14-4180-9e73-a2ff618e08e6", "descendantuuid": "9b03c48b-38e5-42e7-97b1-83841034180d", "grantedbyroleuuid": null, "grantedbytriggerof": "0eba2cf6-e74b-4f41-bac5-9c0292f8e9e1"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', '31552437-3c0f-403c-82c8-ae3d2d7bb854', 'INSERT', '{"uuid": "31552437-3c0f-403c-82c8-ae3d2d7bb854", "assumed": true, "ascendantuuid": "998ff776-dd14-4180-9e73-a2ff618e08e6", "descendantuuid": "c7c42e30-f5fa-4eae-9c26-35d0756423af", "grantedbyroleuuid": null, "grantedbytriggerof": "0eba2cf6-e74b-4f41-bac5-9c0292f8e9e1"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', '7d8b16f9-eead-4757-b7ec-8f1dcbb6662b', 'INSERT', '{"uuid": "7d8b16f9-eead-4757-b7ec-8f1dcbb6662b", "assumed": true, "ascendantuuid": "ccd7a35d-4c6f-461d-8b9a-ca95a1f86172", "descendantuuid": "e90b5799-82c7-4ee4-8e35-7f57cb523f94", "grantedbyroleuuid": null, "grantedbytriggerof": "0eba2cf6-e74b-4f41-bac5-9c0292f8e9e1"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1350', 'rbac.permission', '5390f731-c04f-4d6e-8482-6c623b51ddf3', 'INSERT', '{"op": "DELETE", "uuid": "5390f731-c04f-4d6e-8482-6c623b51ddf3", "objectuuid": "8d685609-a88e-4005-a265-994f34f28128", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', '1915f7b8-0ac7-4a5d-8ca3-4df9fb40c796', 'INSERT', '{"uuid": "1915f7b8-0ac7-4a5d-8ca3-4df9fb40c796", "assumed": true, "ascendantuuid": "ccd7a35d-4c6f-461d-8b9a-ca95a1f86172", "descendantuuid": "2fe324b3-8ddf-4c56-98e1-511152108b2d", "grantedbyroleuuid": null, "grantedbytriggerof": "0eba2cf6-e74b-4f41-bac5-9c0292f8e9e1"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'hs_office.relation', '0eba2cf6-e74b-4f41-bac5-9c0292f8e9e1', 'INSERT', '{"mark": null, "type": "DEBITOR", "uuid": "0eba2cf6-e74b-4f41-bac5-9c0292f8e9e1", "version": 0, "anchoruuid": "2ddcf68b-eb88-45e7-a6aa-3da9c32115a1", "holderuuid": "2ddcf68b-eb88-45e7-a6aa-3da9c32115a1", "contactuuid": "ae0320f6-d268-470e-8ded-142acddb2243"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.object', '83a4f8c9-9f65-4b7d-9ed6-963325a3ba7f', 'INSERT', '{"uuid": "83a4f8c9-9f65-4b7d-9ed6-963325a3ba7f", "serialid": 66, "objecttable": "hs_office.relation"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.role', '1d8f7150-b928-4f7e-90d9-faa9d64bf128', 'INSERT', '{"uuid": "1d8f7150-b928-4f7e-90d9-faa9d64bf128", "roletype": "OWNER", "objectuuid": "83a4f8c9-9f65-4b7d-9ed6-963325a3ba7f"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.permission', 'a2dd86a3-b678-4a1b-a258-f5d69d198767', 'INSERT', '{"op": "DELETE", "uuid": "a2dd86a3-b678-4a1b-a258-f5d69d198767", "objectuuid": "83a4f8c9-9f65-4b7d-9ed6-963325a3ba7f", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', '585b2274-15d4-4a63-b3f8-7aaae61ce9ea', 'INSERT', '{"uuid": "585b2274-15d4-4a63-b3f8-7aaae61ce9ea", "assumed": true, "ascendantuuid": "1d8f7150-b928-4f7e-90d9-faa9d64bf128", "descendantuuid": "a2dd86a3-b678-4a1b-a258-f5d69d198767", "grantedbyroleuuid": null, "grantedbytriggerof": "83a4f8c9-9f65-4b7d-9ed6-963325a3ba7f"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', 'cfe23f8d-826b-4c60-956c-ad550510eb51', 'INSERT', '{"uuid": "cfe23f8d-826b-4c60-956c-ad550510eb51", "assumed": true, "ascendantuuid": "afc6a14a-f8c7-4c17-9b91-b615833bc002", "descendantuuid": "1d8f7150-b928-4f7e-90d9-faa9d64bf128", "grantedbyroleuuid": null, "grantedbytriggerof": "83a4f8c9-9f65-4b7d-9ed6-963325a3ba7f"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', '28a7219f-7e9a-4c46-b419-c7e120b0ccc8', 'INSERT', '{"uuid": "28a7219f-7e9a-4c46-b419-c7e120b0ccc8", "assumed": true, "ascendantuuid": "bdcc7fef-52e9-4b4c-a0ad-1950d6a1aec4", "descendantuuid": "1d8f7150-b928-4f7e-90d9-faa9d64bf128", "grantedbyroleuuid": "1d8f7150-b928-4f7e-90d9-faa9d64bf128", "grantedbytriggerof": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.role', '4390cac7-7f27-4a60-8114-9d5e43045fbb', 'INSERT', '{"uuid": "4390cac7-7f27-4a60-8114-9d5e43045fbb", "roletype": "ADMIN", "objectuuid": "83a4f8c9-9f65-4b7d-9ed6-963325a3ba7f"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.permission', '78508ab6-9cc5-41d3-95d0-53ad967fe555', 'INSERT', '{"op": "UPDATE", "uuid": "78508ab6-9cc5-41d3-95d0-53ad967fe555", "objectuuid": "83a4f8c9-9f65-4b7d-9ed6-963325a3ba7f", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', '484d2e89-2ff0-4487-b47c-b1b90ed32751', 'INSERT', '{"uuid": "484d2e89-2ff0-4487-b47c-b1b90ed32751", "assumed": true, "ascendantuuid": "4390cac7-7f27-4a60-8114-9d5e43045fbb", "descendantuuid": "78508ab6-9cc5-41d3-95d0-53ad967fe555", "grantedbyroleuuid": null, "grantedbytriggerof": "83a4f8c9-9f65-4b7d-9ed6-963325a3ba7f"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', 'db5aaf89-ddd7-4486-b381-4c2f011dc5fb', 'INSERT', '{"uuid": "db5aaf89-ddd7-4486-b381-4c2f011dc5fb", "assumed": true, "ascendantuuid": "1d8f7150-b928-4f7e-90d9-faa9d64bf128", "descendantuuid": "4390cac7-7f27-4a60-8114-9d5e43045fbb", "grantedbyroleuuid": null, "grantedbytriggerof": "83a4f8c9-9f65-4b7d-9ed6-963325a3ba7f"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.role', '700a8e97-af5d-45a3-9a6b-0db0857b012d', 'INSERT', '{"uuid": "700a8e97-af5d-45a3-9a6b-0db0857b012d", "roletype": "AGENT", "objectuuid": "83a4f8c9-9f65-4b7d-9ed6-963325a3ba7f"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', '05471692-1260-49e1-babf-2c79cdafdfd7', 'INSERT', '{"uuid": "05471692-1260-49e1-babf-2c79cdafdfd7", "assumed": true, "ascendantuuid": "4390cac7-7f27-4a60-8114-9d5e43045fbb", "descendantuuid": "700a8e97-af5d-45a3-9a6b-0db0857b012d", "grantedbyroleuuid": null, "grantedbytriggerof": "83a4f8c9-9f65-4b7d-9ed6-963325a3ba7f"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.role', 'a8455ef5-5a4f-4ebb-bc28-dc7740e7523f', 'INSERT', '{"uuid": "a8455ef5-5a4f-4ebb-bc28-dc7740e7523f", "roletype": "TENANT", "objectuuid": "83a4f8c9-9f65-4b7d-9ed6-963325a3ba7f"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.permission', 'c0c4e7b4-147f-4677-9603-9df6b63bab19', 'INSERT', '{"op": "SELECT", "uuid": "c0c4e7b4-147f-4677-9603-9df6b63bab19", "objectuuid": "83a4f8c9-9f65-4b7d-9ed6-963325a3ba7f", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', '1b3ab27e-0ffb-430e-bffb-2a8631228655', 'INSERT', '{"uuid": "1b3ab27e-0ffb-430e-bffb-2a8631228655", "assumed": true, "ascendantuuid": "a8455ef5-5a4f-4ebb-bc28-dc7740e7523f", "descendantuuid": "c0c4e7b4-147f-4677-9603-9df6b63bab19", "grantedbyroleuuid": null, "grantedbytriggerof": "83a4f8c9-9f65-4b7d-9ed6-963325a3ba7f"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', '26a2bc21-f50d-4aff-bc71-d5c50ba9faf7', 'INSERT', '{"uuid": "26a2bc21-f50d-4aff-bc71-d5c50ba9faf7", "assumed": true, "ascendantuuid": "b4fc3672-18fa-4f25-aa48-e7a91d73902b", "descendantuuid": "a8455ef5-5a4f-4ebb-bc28-dc7740e7523f", "grantedbyroleuuid": null, "grantedbytriggerof": "83a4f8c9-9f65-4b7d-9ed6-963325a3ba7f"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', '196e8f74-058b-4ad5-89ec-4d3deb3b3cef', 'INSERT', '{"uuid": "196e8f74-058b-4ad5-89ec-4d3deb3b3cef", "assumed": true, "ascendantuuid": "700a8e97-af5d-45a3-9a6b-0db0857b012d", "descendantuuid": "a8455ef5-5a4f-4ebb-bc28-dc7740e7523f", "grantedbyroleuuid": null, "grantedbytriggerof": "83a4f8c9-9f65-4b7d-9ed6-963325a3ba7f"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', '7c23da11-3e19-4f33-8593-9aec6e3e1066', 'INSERT', '{"uuid": "7c23da11-3e19-4f33-8593-9aec6e3e1066", "assumed": true, "ascendantuuid": "a8455ef5-5a4f-4ebb-bc28-dc7740e7523f", "descendantuuid": "19a6e99d-d08c-447d-8fae-d9ba39e5bcba", "grantedbyroleuuid": null, "grantedbytriggerof": "83a4f8c9-9f65-4b7d-9ed6-963325a3ba7f"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', '5b023eb9-4288-49a6-8b47-3338d6307d70', 'INSERT', '{"uuid": "5b023eb9-4288-49a6-8b47-3338d6307d70", "assumed": true, "ascendantuuid": "a8455ef5-5a4f-4ebb-bc28-dc7740e7523f", "descendantuuid": "7654b8c5-6bcd-4153-b0d6-e32f400fff60", "grantedbyroleuuid": null, "grantedbytriggerof": "83a4f8c9-9f65-4b7d-9ed6-963325a3ba7f"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', '76309969-1622-4264-b2b3-7a68c59e67f1', 'INSERT', '{"uuid": "76309969-1622-4264-b2b3-7a68c59e67f1", "assumed": true, "ascendantuuid": "a8455ef5-5a4f-4ebb-bc28-dc7740e7523f", "descendantuuid": "420a6c52-7ac3-4919-8d82-db86daccdf7c", "grantedbyroleuuid": null, "grantedbytriggerof": "83a4f8c9-9f65-4b7d-9ed6-963325a3ba7f"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', '27737185-7455-430d-b444-3308d1edf885', 'INSERT', '{"uuid": "27737185-7455-430d-b444-3308d1edf885", "assumed": true, "ascendantuuid": "2d941ad9-f2fe-4971-9825-2d921c2faa55", "descendantuuid": "700a8e97-af5d-45a3-9a6b-0db0857b012d", "grantedbyroleuuid": null, "grantedbytriggerof": "83a4f8c9-9f65-4b7d-9ed6-963325a3ba7f"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', 'd99b8b7a-0d97-4a58-b15e-25984104efc0', 'INSERT', '{"uuid": "d99b8b7a-0d97-4a58-b15e-25984104efc0", "assumed": true, "ascendantuuid": "69976fc3-19a0-41a5-9976-3b0a62561f53", "descendantuuid": "1d8f7150-b928-4f7e-90d9-faa9d64bf128", "grantedbyroleuuid": null, "grantedbytriggerof": "83a4f8c9-9f65-4b7d-9ed6-963325a3ba7f"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'hs_office.relation', '83a4f8c9-9f65-4b7d-9ed6-963325a3ba7f', 'INSERT', '{"mark": null, "type": "PARTNER", "uuid": "83a4f8c9-9f65-4b7d-9ed6-963325a3ba7f", "version": 0, "anchoruuid": "dbe89951-4cc8-40ac-97b3-49176567984d", "holderuuid": "8931b7ef-2f89-44c5-b7c2-730b898f2227", "contactuuid": "1649730d-2c49-40e2-9000-7615a085477c"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.object', 'c49b0faf-016d-4079-9ce2-2f0d3047f1ac', 'INSERT', '{"uuid": "c49b0faf-016d-4079-9ce2-2f0d3047f1ac", "serialid": 67, "objecttable": "hs_office.relation"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.role', 'ea5a5579-6eaf-4c3d-9395-1fb7f36f4c54', 'INSERT', '{"uuid": "ea5a5579-6eaf-4c3d-9395-1fb7f36f4c54", "roletype": "OWNER", "objectuuid": "c49b0faf-016d-4079-9ce2-2f0d3047f1ac"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', '4bbec1e6-f896-4f4b-81f8-deddfd497af3', 'INSERT', '{"uuid": "4bbec1e6-f896-4f4b-81f8-deddfd497af3", "assumed": true, "ascendantuuid": "ea5a5579-6eaf-4c3d-9395-1fb7f36f4c54", "descendantuuid": "5c55efce-7166-4997-b3e9-f64d26dbf612", "grantedbyroleuuid": null, "grantedbytriggerof": "c49b0faf-016d-4079-9ce2-2f0d3047f1ac"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', '55d2deaf-c6fc-45d3-acf6-4b395e92ff56', 'INSERT', '{"uuid": "55d2deaf-c6fc-45d3-acf6-4b395e92ff56", "assumed": true, "ascendantuuid": "afc6a14a-f8c7-4c17-9b91-b615833bc002", "descendantuuid": "ea5a5579-6eaf-4c3d-9395-1fb7f36f4c54", "grantedbyroleuuid": null, "grantedbytriggerof": "c49b0faf-016d-4079-9ce2-2f0d3047f1ac"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', 'ff31db23-4450-4a30-bae7-143775055bf7', 'INSERT', '{"uuid": "ff31db23-4450-4a30-bae7-143775055bf7", "assumed": true, "ascendantuuid": "bdcc7fef-52e9-4b4c-a0ad-1950d6a1aec4", "descendantuuid": "ea5a5579-6eaf-4c3d-9395-1fb7f36f4c54", "grantedbyroleuuid": "ea5a5579-6eaf-4c3d-9395-1fb7f36f4c54", "grantedbytriggerof": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.role', '5142ed31-f21b-4877-a35f-8a09fa5fb14c', 'INSERT', '{"uuid": "5142ed31-f21b-4877-a35f-8a09fa5fb14c", "roletype": "ADMIN", "objectuuid": "c49b0faf-016d-4079-9ce2-2f0d3047f1ac"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.permission', '21b1f6f8-a34d-431b-a0b9-00259ac44618', 'INSERT', '{"op": "UPDATE", "uuid": "21b1f6f8-a34d-431b-a0b9-00259ac44618", "objectuuid": "c49b0faf-016d-4079-9ce2-2f0d3047f1ac", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', '029c8d49-f558-4314-80c8-c01e11baefc2', 'INSERT', '{"uuid": "029c8d49-f558-4314-80c8-c01e11baefc2", "assumed": true, "ascendantuuid": "5142ed31-f21b-4877-a35f-8a09fa5fb14c", "descendantuuid": "21b1f6f8-a34d-431b-a0b9-00259ac44618", "grantedbyroleuuid": null, "grantedbytriggerof": "c49b0faf-016d-4079-9ce2-2f0d3047f1ac"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', '131b208a-6bfd-418c-8994-a0cddc2fcc57', 'INSERT', '{"uuid": "131b208a-6bfd-418c-8994-a0cddc2fcc57", "assumed": true, "ascendantuuid": "ea5a5579-6eaf-4c3d-9395-1fb7f36f4c54", "descendantuuid": "5142ed31-f21b-4877-a35f-8a09fa5fb14c", "grantedbyroleuuid": null, "grantedbytriggerof": "c49b0faf-016d-4079-9ce2-2f0d3047f1ac"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.role', '4f513678-c6cb-4d42-b2d9-e44038104f0c', 'INSERT', '{"uuid": "4f513678-c6cb-4d42-b2d9-e44038104f0c", "roletype": "AGENT", "objectuuid": "c49b0faf-016d-4079-9ce2-2f0d3047f1ac"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', '4557b4a3-603c-48fc-bf33-08393498241a', 'INSERT', '{"uuid": "4557b4a3-603c-48fc-bf33-08393498241a", "assumed": true, "ascendantuuid": "5142ed31-f21b-4877-a35f-8a09fa5fb14c", "descendantuuid": "4f513678-c6cb-4d42-b2d9-e44038104f0c", "grantedbyroleuuid": null, "grantedbytriggerof": "c49b0faf-016d-4079-9ce2-2f0d3047f1ac"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.role', '43212e07-a99c-4ad3-91f5-a839d17fb4af', 'INSERT', '{"uuid": "43212e07-a99c-4ad3-91f5-a839d17fb4af", "roletype": "TENANT", "objectuuid": "c49b0faf-016d-4079-9ce2-2f0d3047f1ac"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.permission', '8e6bb31b-e266-4598-8780-18ad63ff6045', 'INSERT', '{"op": "SELECT", "uuid": "8e6bb31b-e266-4598-8780-18ad63ff6045", "objectuuid": "c49b0faf-016d-4079-9ce2-2f0d3047f1ac", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', '3dcf8618-e92a-4b11-8342-b6a0a47ce256', 'INSERT', '{"uuid": "3dcf8618-e92a-4b11-8342-b6a0a47ce256", "assumed": true, "ascendantuuid": "43212e07-a99c-4ad3-91f5-a839d17fb4af", "descendantuuid": "8e6bb31b-e266-4598-8780-18ad63ff6045", "grantedbyroleuuid": null, "grantedbytriggerof": "c49b0faf-016d-4079-9ce2-2f0d3047f1ac"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', 'da43b5af-bea9-4352-9530-d2ccba262380', 'INSERT', '{"uuid": "da43b5af-bea9-4352-9530-d2ccba262380", "assumed": true, "ascendantuuid": "b4fc3672-18fa-4f25-aa48-e7a91d73902b", "descendantuuid": "43212e07-a99c-4ad3-91f5-a839d17fb4af", "grantedbyroleuuid": null, "grantedbytriggerof": "c49b0faf-016d-4079-9ce2-2f0d3047f1ac"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', '793e6a38-bd62-4991-aa2d-a5e5dbcd976c', 'INSERT', '{"uuid": "793e6a38-bd62-4991-aa2d-a5e5dbcd976c", "assumed": true, "ascendantuuid": "4f513678-c6cb-4d42-b2d9-e44038104f0c", "descendantuuid": "43212e07-a99c-4ad3-91f5-a839d17fb4af", "grantedbyroleuuid": null, "grantedbytriggerof": "c49b0faf-016d-4079-9ce2-2f0d3047f1ac"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', 'de409a60-855a-4fcb-a080-e0464eb6bf4c', 'INSERT', '{"uuid": "de409a60-855a-4fcb-a080-e0464eb6bf4c", "assumed": true, "ascendantuuid": "43212e07-a99c-4ad3-91f5-a839d17fb4af", "descendantuuid": "19a6e99d-d08c-447d-8fae-d9ba39e5bcba", "grantedbyroleuuid": null, "grantedbytriggerof": "c49b0faf-016d-4079-9ce2-2f0d3047f1ac"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', 'a875512c-b41a-472d-a72c-fec8740750cd', 'INSERT', '{"uuid": "a875512c-b41a-472d-a72c-fec8740750cd", "assumed": true, "ascendantuuid": "43212e07-a99c-4ad3-91f5-a839d17fb4af", "descendantuuid": "420a6c52-7ac3-4919-8d82-db86daccdf7c", "grantedbyroleuuid": null, "grantedbytriggerof": "c49b0faf-016d-4079-9ce2-2f0d3047f1ac"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', 'fa12d6f6-4088-4ef3-adfc-cf804e12d439', 'INSERT', '{"uuid": "fa12d6f6-4088-4ef3-adfc-cf804e12d439", "assumed": true, "ascendantuuid": "43212e07-a99c-4ad3-91f5-a839d17fb4af", "descendantuuid": "32f84cbf-a88f-4a85-86c7-ef8dacb65f13", "grantedbyroleuuid": null, "grantedbytriggerof": "c49b0faf-016d-4079-9ce2-2f0d3047f1ac"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', '7e3ce650-18fc-42f5-b459-7f17d9ddef9e', 'INSERT', '{"uuid": "7e3ce650-18fc-42f5-b459-7f17d9ddef9e", "assumed": true, "ascendantuuid": "5142ed31-f21b-4877-a35f-8a09fa5fb14c", "descendantuuid": "21f302be-fb10-48c6-92ce-c01f854e5a59", "grantedbyroleuuid": null, "grantedbytriggerof": "c49b0faf-016d-4079-9ce2-2f0d3047f1ac"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', 'c2869d04-10d4-43c7-a376-8b240538de0f', 'INSERT', '{"uuid": "c2869d04-10d4-43c7-a376-8b240538de0f", "assumed": true, "ascendantuuid": "2d941ad9-f2fe-4971-9825-2d921c2faa55", "descendantuuid": "4f513678-c6cb-4d42-b2d9-e44038104f0c", "grantedbyroleuuid": null, "grantedbytriggerof": "c49b0faf-016d-4079-9ce2-2f0d3047f1ac"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', 'd424f560-79b8-47c6-af6a-7143a2148511', 'INSERT', '{"uuid": "d424f560-79b8-47c6-af6a-7143a2148511", "assumed": true, "ascendantuuid": "5a2b3a18-5711-4823-9dbb-d5391a6d8563", "descendantuuid": "ea5a5579-6eaf-4c3d-9395-1fb7f36f4c54", "grantedbyroleuuid": null, "grantedbytriggerof": "c49b0faf-016d-4079-9ce2-2f0d3047f1ac"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'hs_office.relation', 'c49b0faf-016d-4079-9ce2-2f0d3047f1ac', 'INSERT', '{"mark": null, "type": "REPRESENTATIVE", "uuid": "c49b0faf-016d-4079-9ce2-2f0d3047f1ac", "version": 0, "anchoruuid": "8931b7ef-2f89-44c5-b7c2-730b898f2227", "holderuuid": "958aa7a0-2531-4661-9444-5e00207fb8c4", "contactuuid": "1649730d-2c49-40e2-9000-7615a085477c"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.object', '667be660-c8ac-48a5-91cf-655ae049bf55', 'INSERT', '{"uuid": "667be660-c8ac-48a5-91cf-655ae049bf55", "serialid": 68, "objecttable": "hs_office.relation"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.role', '6f72f73e-7a63-45e3-b11b-97bf54a54f62', 'INSERT', '{"uuid": "6f72f73e-7a63-45e3-b11b-97bf54a54f62", "roletype": "OWNER", "objectuuid": "667be660-c8ac-48a5-91cf-655ae049bf55"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.permission', 'e5be077a-ed2f-444c-be8c-894c3809ad8b', 'INSERT', '{"op": "DELETE", "uuid": "e5be077a-ed2f-444c-be8c-894c3809ad8b", "objectuuid": "667be660-c8ac-48a5-91cf-655ae049bf55", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', 'be293bb2-aca9-4bd5-81bb-af8d247da2d5', 'INSERT', '{"uuid": "be293bb2-aca9-4bd5-81bb-af8d247da2d5", "assumed": true, "ascendantuuid": "6f72f73e-7a63-45e3-b11b-97bf54a54f62", "descendantuuid": "e5be077a-ed2f-444c-be8c-894c3809ad8b", "grantedbyroleuuid": null, "grantedbytriggerof": "667be660-c8ac-48a5-91cf-655ae049bf55"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', 'fb6100fa-154a-488e-b09a-e11d270ac3b0', 'INSERT', '{"uuid": "fb6100fa-154a-488e-b09a-e11d270ac3b0", "assumed": true, "ascendantuuid": "afc6a14a-f8c7-4c17-9b91-b615833bc002", "descendantuuid": "6f72f73e-7a63-45e3-b11b-97bf54a54f62", "grantedbyroleuuid": null, "grantedbytriggerof": "667be660-c8ac-48a5-91cf-655ae049bf55"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1398', 'rbac.object', '50b5215d-4fdc-48be-a196-22fbe9325efb', 'INSERT', '{"uuid": "50b5215d-4fdc-48be-a196-22fbe9325efb", "serialid": 82, "objecttable": "hs_office.bankaccount"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', '6ccfb0c6-b473-401e-87bd-60792003a16a', 'INSERT', '{"uuid": "6ccfb0c6-b473-401e-87bd-60792003a16a", "assumed": true, "ascendantuuid": "bdcc7fef-52e9-4b4c-a0ad-1950d6a1aec4", "descendantuuid": "6f72f73e-7a63-45e3-b11b-97bf54a54f62", "grantedbyroleuuid": "6f72f73e-7a63-45e3-b11b-97bf54a54f62", "grantedbytriggerof": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.role', 'd6b55eaa-193f-4fb9-9d4e-f0fa0f6db56d', 'INSERT', '{"uuid": "d6b55eaa-193f-4fb9-9d4e-f0fa0f6db56d", "roletype": "ADMIN", "objectuuid": "667be660-c8ac-48a5-91cf-655ae049bf55"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.permission', '96af8640-dd74-475e-9922-809949c45590', 'INSERT', '{"op": "UPDATE", "uuid": "96af8640-dd74-475e-9922-809949c45590", "objectuuid": "667be660-c8ac-48a5-91cf-655ae049bf55", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', '94daf21f-d536-417f-81a3-f6bbcd2fa076', 'INSERT', '{"uuid": "94daf21f-d536-417f-81a3-f6bbcd2fa076", "assumed": true, "ascendantuuid": "d6b55eaa-193f-4fb9-9d4e-f0fa0f6db56d", "descendantuuid": "96af8640-dd74-475e-9922-809949c45590", "grantedbyroleuuid": null, "grantedbytriggerof": "667be660-c8ac-48a5-91cf-655ae049bf55"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', 'f3d67e50-162d-4c71-9bb8-6d4b64b2ad8c', 'INSERT', '{"uuid": "f3d67e50-162d-4c71-9bb8-6d4b64b2ad8c", "assumed": true, "ascendantuuid": "6f72f73e-7a63-45e3-b11b-97bf54a54f62", "descendantuuid": "d6b55eaa-193f-4fb9-9d4e-f0fa0f6db56d", "grantedbyroleuuid": null, "grantedbytriggerof": "667be660-c8ac-48a5-91cf-655ae049bf55"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.role', '09200181-ee51-415f-8a01-b2c4c4f532a5', 'INSERT', '{"uuid": "09200181-ee51-415f-8a01-b2c4c4f532a5", "roletype": "AGENT", "objectuuid": "667be660-c8ac-48a5-91cf-655ae049bf55"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', '73dd1434-a2d3-4be8-8c74-ca886affdc75', 'INSERT', '{"uuid": "73dd1434-a2d3-4be8-8c74-ca886affdc75", "assumed": true, "ascendantuuid": "d6b55eaa-193f-4fb9-9d4e-f0fa0f6db56d", "descendantuuid": "09200181-ee51-415f-8a01-b2c4c4f532a5", "grantedbyroleuuid": null, "grantedbytriggerof": "667be660-c8ac-48a5-91cf-655ae049bf55"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.role', '469cbba3-724f-4e4e-b0a2-6b509d8537c7', 'INSERT', '{"uuid": "469cbba3-724f-4e4e-b0a2-6b509d8537c7", "roletype": "TENANT", "objectuuid": "667be660-c8ac-48a5-91cf-655ae049bf55"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.permission', '716139de-00aa-4069-a8d1-d7fdc73e892f', 'INSERT', '{"op": "SELECT", "uuid": "716139de-00aa-4069-a8d1-d7fdc73e892f", "objectuuid": "667be660-c8ac-48a5-91cf-655ae049bf55", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', 'ed14bc32-d151-4937-aa43-dc2f46553507', 'INSERT', '{"uuid": "ed14bc32-d151-4937-aa43-dc2f46553507", "assumed": true, "ascendantuuid": "469cbba3-724f-4e4e-b0a2-6b509d8537c7", "descendantuuid": "716139de-00aa-4069-a8d1-d7fdc73e892f", "grantedbyroleuuid": null, "grantedbytriggerof": "667be660-c8ac-48a5-91cf-655ae049bf55"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', 'd097fed6-9a77-43b8-9400-87488493c00a', 'INSERT', '{"uuid": "d097fed6-9a77-43b8-9400-87488493c00a", "assumed": true, "ascendantuuid": "b4fc3672-18fa-4f25-aa48-e7a91d73902b", "descendantuuid": "469cbba3-724f-4e4e-b0a2-6b509d8537c7", "grantedbyroleuuid": null, "grantedbytriggerof": "667be660-c8ac-48a5-91cf-655ae049bf55"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', '07dd1366-1fc0-4d2c-981b-cfd7b07c1345', 'INSERT', '{"uuid": "07dd1366-1fc0-4d2c-981b-cfd7b07c1345", "assumed": true, "ascendantuuid": "09200181-ee51-415f-8a01-b2c4c4f532a5", "descendantuuid": "469cbba3-724f-4e4e-b0a2-6b509d8537c7", "grantedbyroleuuid": null, "grantedbytriggerof": "667be660-c8ac-48a5-91cf-655ae049bf55"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', '16f21f0c-e1d9-4c55-8647-b9fc1f1e603f', 'INSERT', '{"uuid": "16f21f0c-e1d9-4c55-8647-b9fc1f1e603f", "assumed": true, "ascendantuuid": "469cbba3-724f-4e4e-b0a2-6b509d8537c7", "descendantuuid": "19a6e99d-d08c-447d-8fae-d9ba39e5bcba", "grantedbyroleuuid": null, "grantedbytriggerof": "667be660-c8ac-48a5-91cf-655ae049bf55"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', 'd77875d2-3433-41cd-ad76-69540e160257', 'INSERT', '{"uuid": "d77875d2-3433-41cd-ad76-69540e160257", "assumed": true, "ascendantuuid": "469cbba3-724f-4e4e-b0a2-6b509d8537c7", "descendantuuid": "420a6c52-7ac3-4919-8d82-db86daccdf7c", "grantedbyroleuuid": null, "grantedbytriggerof": "667be660-c8ac-48a5-91cf-655ae049bf55"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', '8f0890bf-b8fa-43bc-8989-688255ded9c8', 'INSERT', '{"uuid": "8f0890bf-b8fa-43bc-8989-688255ded9c8", "assumed": true, "ascendantuuid": "2d941ad9-f2fe-4971-9825-2d921c2faa55", "descendantuuid": "09200181-ee51-415f-8a01-b2c4c4f532a5", "grantedbyroleuuid": null, "grantedbytriggerof": "667be660-c8ac-48a5-91cf-655ae049bf55"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', 'da979804-6d68-471c-a429-f0ea8d0ab480', 'INSERT', '{"uuid": "da979804-6d68-471c-a429-f0ea8d0ab480", "assumed": true, "ascendantuuid": "2d941ad9-f2fe-4971-9825-2d921c2faa55", "descendantuuid": "6f72f73e-7a63-45e3-b11b-97bf54a54f62", "grantedbyroleuuid": null, "grantedbytriggerof": "667be660-c8ac-48a5-91cf-655ae049bf55"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'hs_office.relation', '667be660-c8ac-48a5-91cf-655ae049bf55', 'INSERT', '{"mark": null, "type": "DEBITOR", "uuid": "667be660-c8ac-48a5-91cf-655ae049bf55", "version": 0, "anchoruuid": "8931b7ef-2f89-44c5-b7c2-730b898f2227", "holderuuid": "8931b7ef-2f89-44c5-b7c2-730b898f2227", "contactuuid": "1649730d-2c49-40e2-9000-7615a085477c"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.object', '63ab696c-163c-44b6-bd79-e82630923af2', 'INSERT', '{"uuid": "63ab696c-163c-44b6-bd79-e82630923af2", "serialid": 69, "objecttable": "hs_office.relation"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.role', 'cb928673-376a-40de-900b-34021f7ede66', 'INSERT', '{"uuid": "cb928673-376a-40de-900b-34021f7ede66", "roletype": "OWNER", "objectuuid": "63ab696c-163c-44b6-bd79-e82630923af2"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.permission', '3fb55a5d-54f2-4a0d-ac05-b1eccc651f32', 'INSERT', '{"op": "DELETE", "uuid": "3fb55a5d-54f2-4a0d-ac05-b1eccc651f32", "objectuuid": "63ab696c-163c-44b6-bd79-e82630923af2", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', '021fe37a-1ef5-4c21-b86e-1942eb63e7d9', 'INSERT', '{"uuid": "021fe37a-1ef5-4c21-b86e-1942eb63e7d9", "assumed": true, "ascendantuuid": "cb928673-376a-40de-900b-34021f7ede66", "descendantuuid": "3fb55a5d-54f2-4a0d-ac05-b1eccc651f32", "grantedbyroleuuid": null, "grantedbytriggerof": "63ab696c-163c-44b6-bd79-e82630923af2"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', 'b470db3e-07f7-4016-927b-207c55cb48fc', 'INSERT', '{"uuid": "b470db3e-07f7-4016-927b-207c55cb48fc", "assumed": true, "ascendantuuid": "afc6a14a-f8c7-4c17-9b91-b615833bc002", "descendantuuid": "cb928673-376a-40de-900b-34021f7ede66", "grantedbyroleuuid": null, "grantedbytriggerof": "63ab696c-163c-44b6-bd79-e82630923af2"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', '1102c989-4767-41f8-97ba-13e492aacdec', 'INSERT', '{"uuid": "1102c989-4767-41f8-97ba-13e492aacdec", "assumed": true, "ascendantuuid": "bdcc7fef-52e9-4b4c-a0ad-1950d6a1aec4", "descendantuuid": "cb928673-376a-40de-900b-34021f7ede66", "grantedbyroleuuid": "cb928673-376a-40de-900b-34021f7ede66", "grantedbytriggerof": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.role', 'b0269de3-13ad-40de-8ab8-a11f99b1b2d8', 'INSERT', '{"uuid": "b0269de3-13ad-40de-8ab8-a11f99b1b2d8", "roletype": "ADMIN", "objectuuid": "63ab696c-163c-44b6-bd79-e82630923af2"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.permission', '74590ece-16ac-4e29-b51e-d2b36e77edc0', 'INSERT', '{"op": "UPDATE", "uuid": "74590ece-16ac-4e29-b51e-d2b36e77edc0", "objectuuid": "63ab696c-163c-44b6-bd79-e82630923af2", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', '47f6e41f-a5bd-4731-abe8-c6384a904238', 'INSERT', '{"uuid": "47f6e41f-a5bd-4731-abe8-c6384a904238", "assumed": true, "ascendantuuid": "b0269de3-13ad-40de-8ab8-a11f99b1b2d8", "descendantuuid": "74590ece-16ac-4e29-b51e-d2b36e77edc0", "grantedbyroleuuid": null, "grantedbytriggerof": "63ab696c-163c-44b6-bd79-e82630923af2"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', '81035fab-2ddb-45d7-878f-7a85ea3f8ee9', 'INSERT', '{"uuid": "81035fab-2ddb-45d7-878f-7a85ea3f8ee9", "assumed": true, "ascendantuuid": "cb928673-376a-40de-900b-34021f7ede66", "descendantuuid": "b0269de3-13ad-40de-8ab8-a11f99b1b2d8", "grantedbyroleuuid": null, "grantedbytriggerof": "63ab696c-163c-44b6-bd79-e82630923af2"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', 'c5034755-4ceb-40c2-bf51-a54ea13017c2', 'INSERT', '{"uuid": "c5034755-4ceb-40c2-bf51-a54ea13017c2", "assumed": true, "ascendantuuid": "b0269de3-13ad-40de-8ab8-a11f99b1b2d8", "descendantuuid": "c5077142-d0a8-4fd2-b617-4856c6ceebc2", "grantedbyroleuuid": null, "grantedbytriggerof": "63ab696c-163c-44b6-bd79-e82630923af2"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.role', '0cb05ed2-74ad-4f82-9670-6ee3928f134c', 'INSERT', '{"uuid": "0cb05ed2-74ad-4f82-9670-6ee3928f134c", "roletype": "TENANT", "objectuuid": "63ab696c-163c-44b6-bd79-e82630923af2"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.permission', 'bedf6cbe-c4ef-45fd-baf3-a43ee8f3a2eb', 'INSERT', '{"op": "SELECT", "uuid": "bedf6cbe-c4ef-45fd-baf3-a43ee8f3a2eb", "objectuuid": "63ab696c-163c-44b6-bd79-e82630923af2", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', '8481d61e-fff6-4c64-a131-2e0e8b9ef16b', 'INSERT', '{"uuid": "8481d61e-fff6-4c64-a131-2e0e8b9ef16b", "assumed": true, "ascendantuuid": "0cb05ed2-74ad-4f82-9670-6ee3928f134c", "descendantuuid": "bedf6cbe-c4ef-45fd-baf3-a43ee8f3a2eb", "grantedbyroleuuid": null, "grantedbytriggerof": "63ab696c-163c-44b6-bd79-e82630923af2"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', 'd07ffe0c-a1ed-4532-9fce-8711ddc69e6b', 'INSERT', '{"uuid": "d07ffe0c-a1ed-4532-9fce-8711ddc69e6b", "assumed": true, "ascendantuuid": "c9a6bfde-87e6-47bd-bee8-49d7c3f46b08", "descendantuuid": "0cb05ed2-74ad-4f82-9670-6ee3928f134c", "grantedbyroleuuid": null, "grantedbytriggerof": "63ab696c-163c-44b6-bd79-e82630923af2"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', 'c6f46a2f-ae8a-4baf-a88e-3e21fcdc388c', 'INSERT', '{"uuid": "c6f46a2f-ae8a-4baf-a88e-3e21fcdc388c", "assumed": true, "ascendantuuid": "c5077142-d0a8-4fd2-b617-4856c6ceebc2", "descendantuuid": "0cb05ed2-74ad-4f82-9670-6ee3928f134c", "grantedbyroleuuid": null, "grantedbytriggerof": "63ab696c-163c-44b6-bd79-e82630923af2"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', '63c0bdd6-c699-4cb5-ad74-1ae07c2c75dd', 'INSERT', '{"uuid": "63c0bdd6-c699-4cb5-ad74-1ae07c2c75dd", "assumed": true, "ascendantuuid": "0cb05ed2-74ad-4f82-9670-6ee3928f134c", "descendantuuid": "90cd8d25-ed92-4fba-ae4a-0d3fa9ade2e2", "grantedbyroleuuid": null, "grantedbytriggerof": "63ab696c-163c-44b6-bd79-e82630923af2"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', '8e782880-cc06-4bf8-8226-033aa1eba07a', 'INSERT', '{"uuid": "8e782880-cc06-4bf8-8226-033aa1eba07a", "assumed": true, "ascendantuuid": "0cb05ed2-74ad-4f82-9670-6ee3928f134c", "descendantuuid": "7654b8c5-6bcd-4153-b0d6-e32f400fff60", "grantedbyroleuuid": null, "grantedbytriggerof": "63ab696c-163c-44b6-bd79-e82630923af2"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', '9b218fb8-a24d-4e64-89ce-6ff7d9a7ca0e', 'INSERT', '{"uuid": "9b218fb8-a24d-4e64-89ce-6ff7d9a7ca0e", "assumed": true, "ascendantuuid": "0cb05ed2-74ad-4f82-9670-6ee3928f134c", "descendantuuid": "a5f8ffa9-00a4-4229-a9d5-95ff9e671309", "grantedbyroleuuid": null, "grantedbytriggerof": "63ab696c-163c-44b6-bd79-e82630923af2"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', 'e93c30b9-0b14-4c5b-9327-900365c23e5e', 'INSERT', '{"uuid": "e93c30b9-0b14-4c5b-9327-900365c23e5e", "assumed": true, "ascendantuuid": "f5edf9d3-e506-41e9-8c02-0be4d3bbd494", "descendantuuid": "c5077142-d0a8-4fd2-b617-4856c6ceebc2", "grantedbyroleuuid": null, "grantedbytriggerof": "63ab696c-163c-44b6-bd79-e82630923af2"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', '36d334f7-041a-4178-97e1-595b8c0d4b1c', 'INSERT', '{"uuid": "36d334f7-041a-4178-97e1-595b8c0d4b1c", "assumed": true, "ascendantuuid": "69976fc3-19a0-41a5-9976-3b0a62561f53", "descendantuuid": "cb928673-376a-40de-900b-34021f7ede66", "grantedbyroleuuid": null, "grantedbytriggerof": "63ab696c-163c-44b6-bd79-e82630923af2"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'hs_office.relation', '63ab696c-163c-44b6-bd79-e82630923af2', 'INSERT', '{"mark": null, "type": "PARTNER", "uuid": "63ab696c-163c-44b6-bd79-e82630923af2", "version": 0, "anchoruuid": "dbe89951-4cc8-40ac-97b3-49176567984d", "holderuuid": "a5bdcdee-bc0e-4340-aaf3-d3d7d43dcc1a", "contactuuid": "6cdd8a31-27b3-4b0e-8297-67794b74cd5c"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.object', '23c86f22-86df-46a1-bafb-816730494fe1', 'INSERT', '{"uuid": "23c86f22-86df-46a1-bafb-816730494fe1", "serialid": 70, "objecttable": "hs_office.relation"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.role', '45af5ae1-b7b4-4a19-93d6-612ca4898cb6', 'INSERT', '{"uuid": "45af5ae1-b7b4-4a19-93d6-612ca4898cb6", "roletype": "OWNER", "objectuuid": "23c86f22-86df-46a1-bafb-816730494fe1"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.permission', '63fd3409-f9b6-491e-a450-37e0e63f3dbc', 'INSERT', '{"op": "DELETE", "uuid": "63fd3409-f9b6-491e-a450-37e0e63f3dbc", "objectuuid": "23c86f22-86df-46a1-bafb-816730494fe1", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', 'd1d5bf05-9cf3-4b5c-9d58-b84b7b6ffe34', 'INSERT', '{"uuid": "d1d5bf05-9cf3-4b5c-9d58-b84b7b6ffe34", "assumed": true, "ascendantuuid": "45af5ae1-b7b4-4a19-93d6-612ca4898cb6", "descendantuuid": "63fd3409-f9b6-491e-a450-37e0e63f3dbc", "grantedbyroleuuid": null, "grantedbytriggerof": "23c86f22-86df-46a1-bafb-816730494fe1"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', '3bda2c3b-34ec-4074-abaa-c5e308f043a1', 'INSERT', '{"uuid": "3bda2c3b-34ec-4074-abaa-c5e308f043a1", "assumed": true, "ascendantuuid": "afc6a14a-f8c7-4c17-9b91-b615833bc002", "descendantuuid": "45af5ae1-b7b4-4a19-93d6-612ca4898cb6", "grantedbyroleuuid": null, "grantedbytriggerof": "23c86f22-86df-46a1-bafb-816730494fe1"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', 'ed88e147-3c02-4ac2-b2e8-d9587003937b', 'INSERT', '{"uuid": "ed88e147-3c02-4ac2-b2e8-d9587003937b", "assumed": true, "ascendantuuid": "bdcc7fef-52e9-4b4c-a0ad-1950d6a1aec4", "descendantuuid": "45af5ae1-b7b4-4a19-93d6-612ca4898cb6", "grantedbyroleuuid": "45af5ae1-b7b4-4a19-93d6-612ca4898cb6", "grantedbytriggerof": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.role', '79f17fd8-6bdc-4308-ad8a-525b66aa1202', 'INSERT', '{"uuid": "79f17fd8-6bdc-4308-ad8a-525b66aa1202", "roletype": "ADMIN", "objectuuid": "23c86f22-86df-46a1-bafb-816730494fe1"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.permission', 'b8f09985-647d-4396-b27e-d4937968db90', 'INSERT', '{"op": "UPDATE", "uuid": "b8f09985-647d-4396-b27e-d4937968db90", "objectuuid": "23c86f22-86df-46a1-bafb-816730494fe1", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', '7479d0e3-3ceb-4a58-85a3-1150aecc28c2', 'INSERT', '{"uuid": "7479d0e3-3ceb-4a58-85a3-1150aecc28c2", "assumed": true, "ascendantuuid": "79f17fd8-6bdc-4308-ad8a-525b66aa1202", "descendantuuid": "b8f09985-647d-4396-b27e-d4937968db90", "grantedbyroleuuid": null, "grantedbytriggerof": "23c86f22-86df-46a1-bafb-816730494fe1"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', 'ea81bcf6-984f-4eb8-8de1-903027fa7fc4', 'INSERT', '{"uuid": "ea81bcf6-984f-4eb8-8de1-903027fa7fc4", "assumed": true, "ascendantuuid": "45af5ae1-b7b4-4a19-93d6-612ca4898cb6", "descendantuuid": "79f17fd8-6bdc-4308-ad8a-525b66aa1202", "grantedbyroleuuid": null, "grantedbytriggerof": "23c86f22-86df-46a1-bafb-816730494fe1"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.role', '0699690f-54af-4635-9bf0-a2b2330467c2', 'INSERT', '{"uuid": "0699690f-54af-4635-9bf0-a2b2330467c2", "roletype": "AGENT", "objectuuid": "23c86f22-86df-46a1-bafb-816730494fe1"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', '742ec521-67f9-48dd-ba05-9e9698149048', 'INSERT', '{"uuid": "742ec521-67f9-48dd-ba05-9e9698149048", "assumed": true, "ascendantuuid": "79f17fd8-6bdc-4308-ad8a-525b66aa1202", "descendantuuid": "0699690f-54af-4635-9bf0-a2b2330467c2", "grantedbyroleuuid": null, "grantedbytriggerof": "23c86f22-86df-46a1-bafb-816730494fe1"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.role', 'e7d994d2-df71-4e54-9e3c-a6885909f43a', 'INSERT', '{"uuid": "e7d994d2-df71-4e54-9e3c-a6885909f43a", "roletype": "TENANT", "objectuuid": "23c86f22-86df-46a1-bafb-816730494fe1"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.permission', '1a2511c9-b0bd-4827-9722-f6c469da74db', 'INSERT', '{"op": "SELECT", "uuid": "1a2511c9-b0bd-4827-9722-f6c469da74db", "objectuuid": "23c86f22-86df-46a1-bafb-816730494fe1", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', '52d75709-6dec-4946-8ddf-c89e7bed165a', 'INSERT', '{"uuid": "52d75709-6dec-4946-8ddf-c89e7bed165a", "assumed": true, "ascendantuuid": "e7d994d2-df71-4e54-9e3c-a6885909f43a", "descendantuuid": "1a2511c9-b0bd-4827-9722-f6c469da74db", "grantedbyroleuuid": null, "grantedbytriggerof": "23c86f22-86df-46a1-bafb-816730494fe1"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', 'd24585de-d8f0-4a7d-9583-144cdb568574', 'INSERT', '{"uuid": "d24585de-d8f0-4a7d-9583-144cdb568574", "assumed": true, "ascendantuuid": "02ee24dd-092c-458d-81ed-5bcd06e946d7", "descendantuuid": "e7d994d2-df71-4e54-9e3c-a6885909f43a", "grantedbyroleuuid": null, "grantedbytriggerof": "23c86f22-86df-46a1-bafb-816730494fe1"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', '315cae36-e377-43f7-883d-06d46d5a13b4', 'INSERT', '{"uuid": "315cae36-e377-43f7-883d-06d46d5a13b4", "assumed": true, "ascendantuuid": "0699690f-54af-4635-9bf0-a2b2330467c2", "descendantuuid": "e7d994d2-df71-4e54-9e3c-a6885909f43a", "grantedbyroleuuid": null, "grantedbytriggerof": "23c86f22-86df-46a1-bafb-816730494fe1"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', 'ad5f9913-00cd-4a3c-9518-8a54bd4e5160', 'INSERT', '{"uuid": "ad5f9913-00cd-4a3c-9518-8a54bd4e5160", "assumed": true, "ascendantuuid": "e7d994d2-df71-4e54-9e3c-a6885909f43a", "descendantuuid": "9b03c48b-38e5-42e7-97b1-83841034180d", "grantedbyroleuuid": null, "grantedbytriggerof": "23c86f22-86df-46a1-bafb-816730494fe1"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', '03472eed-6080-48e9-b385-5b0346e30a09', 'INSERT', '{"uuid": "03472eed-6080-48e9-b385-5b0346e30a09", "assumed": true, "ascendantuuid": "e7d994d2-df71-4e54-9e3c-a6885909f43a", "descendantuuid": "a5f8ffa9-00a4-4229-a9d5-95ff9e671309", "grantedbyroleuuid": null, "grantedbytriggerof": "23c86f22-86df-46a1-bafb-816730494fe1"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', '7f702c8f-d55f-48eb-adad-8933a91ed142', 'INSERT', '{"uuid": "7f702c8f-d55f-48eb-adad-8933a91ed142", "assumed": true, "ascendantuuid": "f5edf9d3-e506-41e9-8c02-0be4d3bbd494", "descendantuuid": "0699690f-54af-4635-9bf0-a2b2330467c2", "grantedbyroleuuid": null, "grantedbytriggerof": "23c86f22-86df-46a1-bafb-816730494fe1"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', '2727314d-7847-4306-9674-b6ff7fa2e41e', 'INSERT', '{"uuid": "2727314d-7847-4306-9674-b6ff7fa2e41e", "assumed": true, "ascendantuuid": "f5edf9d3-e506-41e9-8c02-0be4d3bbd494", "descendantuuid": "45af5ae1-b7b4-4a19-93d6-612ca4898cb6", "grantedbyroleuuid": null, "grantedbytriggerof": "23c86f22-86df-46a1-bafb-816730494fe1"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'hs_office.relation', '23c86f22-86df-46a1-bafb-816730494fe1', 'INSERT', '{"mark": null, "type": "DEBITOR", "uuid": "23c86f22-86df-46a1-bafb-816730494fe1", "version": 0, "anchoruuid": "a5bdcdee-bc0e-4340-aaf3-d3d7d43dcc1a", "holderuuid": "a5bdcdee-bc0e-4340-aaf3-d3d7d43dcc1a", "contactuuid": "ae0320f6-d268-470e-8ded-142acddb2243"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.object', '5a3b6183-d4d8-4e54-a680-95725e168700', 'INSERT', '{"uuid": "5a3b6183-d4d8-4e54-a680-95725e168700", "serialid": 71, "objecttable": "hs_office.relation"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.role', '4b649075-2859-4ff0-8e51-f9c0694dd338', 'INSERT', '{"uuid": "4b649075-2859-4ff0-8e51-f9c0694dd338", "roletype": "OWNER", "objectuuid": "5a3b6183-d4d8-4e54-a680-95725e168700"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.permission', 'a9ab28fd-697a-4928-84f8-35eb331fe6bd', 'INSERT', '{"op": "DELETE", "uuid": "a9ab28fd-697a-4928-84f8-35eb331fe6bd", "objectuuid": "5a3b6183-d4d8-4e54-a680-95725e168700", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', '7cad3af1-be11-44c5-a9df-bf2dd6a807f9', 'INSERT', '{"uuid": "7cad3af1-be11-44c5-a9df-bf2dd6a807f9", "assumed": true, "ascendantuuid": "4b649075-2859-4ff0-8e51-f9c0694dd338", "descendantuuid": "a9ab28fd-697a-4928-84f8-35eb331fe6bd", "grantedbyroleuuid": null, "grantedbytriggerof": "5a3b6183-d4d8-4e54-a680-95725e168700"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', '0941997e-28a7-4267-a0eb-100168800550', 'INSERT', '{"uuid": "0941997e-28a7-4267-a0eb-100168800550", "assumed": true, "ascendantuuid": "afc6a14a-f8c7-4c17-9b91-b615833bc002", "descendantuuid": "4b649075-2859-4ff0-8e51-f9c0694dd338", "grantedbyroleuuid": null, "grantedbytriggerof": "5a3b6183-d4d8-4e54-a680-95725e168700"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', '91e35863-e3bd-4044-a12a-bba1abc30e4e', 'INSERT', '{"uuid": "91e35863-e3bd-4044-a12a-bba1abc30e4e", "assumed": true, "ascendantuuid": "bdcc7fef-52e9-4b4c-a0ad-1950d6a1aec4", "descendantuuid": "4b649075-2859-4ff0-8e51-f9c0694dd338", "grantedbyroleuuid": "4b649075-2859-4ff0-8e51-f9c0694dd338", "grantedbytriggerof": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.role', '3dfcf95b-4037-4149-a4ac-ec3160925485', 'INSERT', '{"uuid": "3dfcf95b-4037-4149-a4ac-ec3160925485", "roletype": "ADMIN", "objectuuid": "5a3b6183-d4d8-4e54-a680-95725e168700"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.permission', '2806e2a9-f6bc-4dc0-9dba-01e6fee95187', 'INSERT', '{"op": "UPDATE", "uuid": "2806e2a9-f6bc-4dc0-9dba-01e6fee95187", "objectuuid": "5a3b6183-d4d8-4e54-a680-95725e168700", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', 'cd36becc-e975-4087-95ee-6b3ba7e80989', 'INSERT', '{"uuid": "cd36becc-e975-4087-95ee-6b3ba7e80989", "assumed": true, "ascendantuuid": "3dfcf95b-4037-4149-a4ac-ec3160925485", "descendantuuid": "2806e2a9-f6bc-4dc0-9dba-01e6fee95187", "grantedbyroleuuid": null, "grantedbytriggerof": "5a3b6183-d4d8-4e54-a680-95725e168700"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', '1fdb382a-a92f-455c-8b8b-650dd4e0a155', 'INSERT', '{"uuid": "1fdb382a-a92f-455c-8b8b-650dd4e0a155", "assumed": true, "ascendantuuid": "4b649075-2859-4ff0-8e51-f9c0694dd338", "descendantuuid": "3dfcf95b-4037-4149-a4ac-ec3160925485", "grantedbyroleuuid": null, "grantedbytriggerof": "5a3b6183-d4d8-4e54-a680-95725e168700"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.role', '030849d0-70ac-48a3-adc7-d6025424194a', 'INSERT', '{"uuid": "030849d0-70ac-48a3-adc7-d6025424194a", "roletype": "AGENT", "objectuuid": "5a3b6183-d4d8-4e54-a680-95725e168700"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', '976373ec-ccd0-4285-9b72-79118ab6201d', 'INSERT', '{"uuid": "976373ec-ccd0-4285-9b72-79118ab6201d", "assumed": true, "ascendantuuid": "3dfcf95b-4037-4149-a4ac-ec3160925485", "descendantuuid": "030849d0-70ac-48a3-adc7-d6025424194a", "grantedbyroleuuid": null, "grantedbytriggerof": "5a3b6183-d4d8-4e54-a680-95725e168700"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.role', '92dda33e-1138-445c-bf13-9bbb69c8d69b', 'INSERT', '{"uuid": "92dda33e-1138-445c-bf13-9bbb69c8d69b", "roletype": "TENANT", "objectuuid": "5a3b6183-d4d8-4e54-a680-95725e168700"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.permission', 'cdca9ec3-0b0b-458e-b5c2-b0372b8f2d4e', 'INSERT', '{"op": "SELECT", "uuid": "cdca9ec3-0b0b-458e-b5c2-b0372b8f2d4e", "objectuuid": "5a3b6183-d4d8-4e54-a680-95725e168700", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', '177b8f50-3540-44e6-9808-5e815704e30e', 'INSERT', '{"uuid": "177b8f50-3540-44e6-9808-5e815704e30e", "assumed": true, "ascendantuuid": "92dda33e-1138-445c-bf13-9bbb69c8d69b", "descendantuuid": "cdca9ec3-0b0b-458e-b5c2-b0372b8f2d4e", "grantedbyroleuuid": null, "grantedbytriggerof": "5a3b6183-d4d8-4e54-a680-95725e168700"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', '7bdbee14-8cb3-4fd8-95e3-344edf4f6c02', 'INSERT', '{"uuid": "7bdbee14-8cb3-4fd8-95e3-344edf4f6c02", "assumed": true, "ascendantuuid": "02ee24dd-092c-458d-81ed-5bcd06e946d7", "descendantuuid": "92dda33e-1138-445c-bf13-9bbb69c8d69b", "grantedbyroleuuid": null, "grantedbytriggerof": "5a3b6183-d4d8-4e54-a680-95725e168700"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', '5c1a6d84-ebb2-4299-9b01-ae2514ee17a2', 'INSERT', '{"uuid": "5c1a6d84-ebb2-4299-9b01-ae2514ee17a2", "assumed": true, "ascendantuuid": "030849d0-70ac-48a3-adc7-d6025424194a", "descendantuuid": "92dda33e-1138-445c-bf13-9bbb69c8d69b", "grantedbyroleuuid": null, "grantedbytriggerof": "5a3b6183-d4d8-4e54-a680-95725e168700"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', 'd1268c21-3a51-4deb-b5df-2437ba2f0926', 'INSERT', '{"uuid": "d1268c21-3a51-4deb-b5df-2437ba2f0926", "assumed": true, "ascendantuuid": "92dda33e-1138-445c-bf13-9bbb69c8d69b", "descendantuuid": "9b03c48b-38e5-42e7-97b1-83841034180d", "grantedbyroleuuid": null, "grantedbytriggerof": "5a3b6183-d4d8-4e54-a680-95725e168700"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', 'c0708182-8cad-4438-a748-38b9d4bfff93', 'INSERT', '{"uuid": "c0708182-8cad-4438-a748-38b9d4bfff93", "assumed": true, "ascendantuuid": "92dda33e-1138-445c-bf13-9bbb69c8d69b", "descendantuuid": "c7c42e30-f5fa-4eae-9c26-35d0756423af", "grantedbyroleuuid": null, "grantedbytriggerof": "5a3b6183-d4d8-4e54-a680-95725e168700"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1398', 'rbac.role', '182d7845-e866-448a-b758-77c6b08c96d8', 'INSERT', '{"uuid": "182d7845-e866-448a-b758-77c6b08c96d8", "roletype": "OWNER", "objectuuid": "50b5215d-4fdc-48be-a196-22fbe9325efb"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', '14dd8217-c516-4eaa-918c-5c4f1738b75e', 'INSERT', '{"uuid": "14dd8217-c516-4eaa-918c-5c4f1738b75e", "assumed": true, "ascendantuuid": "92dda33e-1138-445c-bf13-9bbb69c8d69b", "descendantuuid": "a5f8ffa9-00a4-4229-a9d5-95ff9e671309", "grantedbyroleuuid": null, "grantedbytriggerof": "5a3b6183-d4d8-4e54-a680-95725e168700"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', 'c1f66f23-8e5a-440f-bc01-82c11893c086', 'INSERT', '{"uuid": "c1f66f23-8e5a-440f-bc01-82c11893c086", "assumed": true, "ascendantuuid": "f5edf9d3-e506-41e9-8c02-0be4d3bbd494", "descendantuuid": "030849d0-70ac-48a3-adc7-d6025424194a", "grantedbyroleuuid": null, "grantedbytriggerof": "5a3b6183-d4d8-4e54-a680-95725e168700"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'rbac.grant', 'f33cf7fb-a678-4539-8dfe-7eb2f105118d', 'INSERT', '{"uuid": "f33cf7fb-a678-4539-8dfe-7eb2f105118d", "assumed": true, "ascendantuuid": "ccd7a35d-4c6f-461d-8b9a-ca95a1f86172", "descendantuuid": "4b649075-2859-4ff0-8e51-f9c0694dd338", "grantedbyroleuuid": null, "grantedbytriggerof": "5a3b6183-d4d8-4e54-a680-95725e168700"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1244', 'hs_office.relation', '5a3b6183-d4d8-4e54-a680-95725e168700', 'INSERT', '{"mark": "members-announce", "type": "SUBSCRIBER", "uuid": "5a3b6183-d4d8-4e54-a680-95725e168700", "version": 0, "anchoruuid": "2ddcf68b-eb88-45e7-a6aa-3da9c32115a1", "holderuuid": "a5bdcdee-bc0e-4340-aaf3-d3d7d43dcc1a", "contactuuid": "ae0320f6-d268-470e-8ded-142acddb2243"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1309', 'rbac.permission', 'd31bc55a-3cef-46c4-8d10-1706ba3640ae', 'INSERT', '{"op": "INSERT", "uuid": "d31bc55a-3cef-46c4-8d10-1706ba3640ae", "objectuuid": "fb819667-b171-4b6e-ae3e-31c6a40d4be8", "optablename": "hs_office.partner"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1309', 'rbac.grant', 'c58bab25-d684-4fe7-9ce7-0e60ff1d9320', 'INSERT', '{"uuid": "c58bab25-d684-4fe7-9ce7-0e60ff1d9320", "assumed": true, "ascendantuuid": "afc6a14a-f8c7-4c17-9b91-b615833bc002", "descendantuuid": "d31bc55a-3cef-46c4-8d10-1706ba3640ae", "grantedbyroleuuid": null, "grantedbytriggerof": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1326', 'rbac.permission', '03c7b262-3dd4-4dd5-913d-95a54b7dc7ce', 'INSERT', '{"op": "INSERT", "uuid": "03c7b262-3dd4-4dd5-913d-95a54b7dc7ce", "objectuuid": "fb819667-b171-4b6e-ae3e-31c6a40d4be8", "optablename": "hs_office.partner_details"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1326', 'rbac.grant', 'dc001ced-07ca-4645-8c08-7d2aa82d79cd', 'INSERT', '{"uuid": "dc001ced-07ca-4645-8c08-7d2aa82d79cd", "assumed": true, "ascendantuuid": "afc6a14a-f8c7-4c17-9b91-b615833bc002", "descendantuuid": "03c7b262-3dd4-4dd5-913d-95a54b7dc7ce", "grantedbyroleuuid": null, "grantedbytriggerof": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1350', 'rbac.object', 'ef607549-e66b-4e42-ab70-dd0f7a4ee791', 'INSERT', '{"uuid": "ef607549-e66b-4e42-ab70-dd0f7a4ee791", "serialid": 72, "objecttable": "hs_office.partner_details"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1350', 'hs_office.partner_details', 'ef607549-e66b-4e42-ab70-dd0f7a4ee791', 'INSERT', '{"uuid": "ef607549-e66b-4e42-ab70-dd0f7a4ee791", "version": 0, "birthday": null, "birthname": null, "birthplace": null, "dateofdeath": null, "registrationnumber": "RegNo123456789", "registrationoffice": "Hamburg"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1350', 'rbac.object', 'c27d1b0c-7e43-4b64-ae69-4317f51023ba', 'INSERT', '{"uuid": "c27d1b0c-7e43-4b64-ae69-4317f51023ba", "serialid": 73, "objecttable": "hs_office.partner"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1350', 'rbac.permission', '9ffd0c37-7e38-467b-aa10-54fa4bea2b06', 'INSERT', '{"op": "DELETE", "uuid": "9ffd0c37-7e38-467b-aa10-54fa4bea2b06", "objectuuid": "c27d1b0c-7e43-4b64-ae69-4317f51023ba", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1350', 'rbac.grant', '3707a4ae-2858-49f5-af6e-6fea2397d860', 'INSERT', '{"uuid": "3707a4ae-2858-49f5-af6e-6fea2397d860", "assumed": true, "ascendantuuid": "926a19f7-ea40-407c-a9a7-36933143cf32", "descendantuuid": "9ffd0c37-7e38-467b-aa10-54fa4bea2b06", "grantedbyroleuuid": null, "grantedbytriggerof": "c27d1b0c-7e43-4b64-ae69-4317f51023ba"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1350', 'rbac.permission', '40ec5666-8ee0-4484-873c-cbf9367475d9', 'INSERT', '{"op": "SELECT", "uuid": "40ec5666-8ee0-4484-873c-cbf9367475d9", "objectuuid": "c27d1b0c-7e43-4b64-ae69-4317f51023ba", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1350', 'rbac.grant', '088b8db1-2bbb-47ce-8615-ce60a2576874', 'INSERT', '{"uuid": "088b8db1-2bbb-47ce-8615-ce60a2576874", "assumed": true, "ascendantuuid": "ddab9e9f-db0b-4a8c-a7be-117fc2c963ec", "descendantuuid": "40ec5666-8ee0-4484-873c-cbf9367475d9", "grantedbyroleuuid": null, "grantedbytriggerof": "c27d1b0c-7e43-4b64-ae69-4317f51023ba"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1350', 'rbac.permission', '9a565322-b9f9-4988-b0c6-22ccd045fb2e', 'INSERT', '{"op": "UPDATE", "uuid": "9a565322-b9f9-4988-b0c6-22ccd045fb2e", "objectuuid": "c27d1b0c-7e43-4b64-ae69-4317f51023ba", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1350', 'rbac.grant', 'ace80ee2-4fcd-4f56-9761-56eb66b1dbf6', 'INSERT', '{"uuid": "ace80ee2-4fcd-4f56-9761-56eb66b1dbf6", "assumed": true, "ascendantuuid": "943de460-96b3-40e9-a59f-5be6fb8dca03", "descendantuuid": "9a565322-b9f9-4988-b0c6-22ccd045fb2e", "grantedbyroleuuid": null, "grantedbytriggerof": "c27d1b0c-7e43-4b64-ae69-4317f51023ba"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1350', 'rbac.permission', 'd5df4b5f-2fec-4f6c-bf45-8bcc03ac0b66', 'INSERT', '{"op": "DELETE", "uuid": "d5df4b5f-2fec-4f6c-bf45-8bcc03ac0b66", "objectuuid": "ef607549-e66b-4e42-ab70-dd0f7a4ee791", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1350', 'rbac.grant', '1783d09c-f8a7-47fc-a06a-2be24aefcb57', 'INSERT', '{"uuid": "1783d09c-f8a7-47fc-a06a-2be24aefcb57", "assumed": true, "ascendantuuid": "926a19f7-ea40-407c-a9a7-36933143cf32", "descendantuuid": "d5df4b5f-2fec-4f6c-bf45-8bcc03ac0b66", "grantedbyroleuuid": null, "grantedbytriggerof": "c27d1b0c-7e43-4b64-ae69-4317f51023ba"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1350', 'rbac.permission', 'da0744f7-4d11-4520-a64a-96e38a10f227', 'INSERT', '{"op": "SELECT", "uuid": "da0744f7-4d11-4520-a64a-96e38a10f227", "objectuuid": "ef607549-e66b-4e42-ab70-dd0f7a4ee791", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1350', 'rbac.grant', '93d272b9-9780-4442-8701-0b4bbaf5167f', 'INSERT', '{"uuid": "93d272b9-9780-4442-8701-0b4bbaf5167f", "assumed": true, "ascendantuuid": "399b4c7e-93e2-4886-9fda-61b988a5ae29", "descendantuuid": "da0744f7-4d11-4520-a64a-96e38a10f227", "grantedbyroleuuid": null, "grantedbytriggerof": "c27d1b0c-7e43-4b64-ae69-4317f51023ba"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1350', 'rbac.permission', '28e1acb1-2a47-47b2-aa66-2b041d3a5fd5', 'INSERT', '{"op": "UPDATE", "uuid": "28e1acb1-2a47-47b2-aa66-2b041d3a5fd5", "objectuuid": "ef607549-e66b-4e42-ab70-dd0f7a4ee791", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1350', 'rbac.grant', 'cef15c93-59f5-44e4-a6c9-60620d1cab7a', 'INSERT', '{"uuid": "cef15c93-59f5-44e4-a6c9-60620d1cab7a", "assumed": true, "ascendantuuid": "399b4c7e-93e2-4886-9fda-61b988a5ae29", "descendantuuid": "28e1acb1-2a47-47b2-aa66-2b041d3a5fd5", "grantedbyroleuuid": null, "grantedbytriggerof": "c27d1b0c-7e43-4b64-ae69-4317f51023ba"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1350', 'hs_office.partner', 'c27d1b0c-7e43-4b64-ae69-4317f51023ba', 'INSERT', '{"uuid": "c27d1b0c-7e43-4b64-ae69-4317f51023ba", "version": 0, "detailsuuid": "ef607549-e66b-4e42-ab70-dd0f7a4ee791", "partnernumber": 10001, "partnerreluuid": "4ce59c0d-417c-4676-8de5-25aafd780613"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1350', 'rbac.object', '9cee97fc-5961-4b64-8888-6ee8d1ee34fc', 'INSERT', '{"uuid": "9cee97fc-5961-4b64-8888-6ee8d1ee34fc", "serialid": 74, "objecttable": "hs_office.partner_details"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1350', 'hs_office.partner_details', '9cee97fc-5961-4b64-8888-6ee8d1ee34fc', 'INSERT', '{"uuid": "9cee97fc-5961-4b64-8888-6ee8d1ee34fc", "version": 0, "birthday": null, "birthname": null, "birthplace": null, "dateofdeath": null, "registrationnumber": "RegNo123456789", "registrationoffice": "Hamburg"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1350', 'rbac.object', '11583dae-da71-4786-a61d-d70f51ce988e', 'INSERT', '{"uuid": "11583dae-da71-4786-a61d-d70f51ce988e", "serialid": 75, "objecttable": "hs_office.partner"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1350', 'rbac.permission', 'a1d673b3-7cad-4c76-ae04-6de8308add65', 'INSERT', '{"op": "DELETE", "uuid": "a1d673b3-7cad-4c76-ae04-6de8308add65", "objectuuid": "11583dae-da71-4786-a61d-d70f51ce988e", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1350', 'hs_office.partner_details', 'a297a917-aebe-4662-92fb-0729aa1c525c', 'INSERT', '{"uuid": "a297a917-aebe-4662-92fb-0729aa1c525c", "version": 0, "birthday": null, "birthname": null, "birthplace": null, "dateofdeath": null, "registrationnumber": "RegNo123456789", "registrationoffice": "Hamburg"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1350', 'rbac.grant', 'a7cfaa57-1341-4729-9d1f-2e8e610aeb10', 'INSERT', '{"uuid": "a7cfaa57-1341-4729-9d1f-2e8e610aeb10", "assumed": true, "ascendantuuid": "87fb27a9-3d42-4ea2-89cb-b1d21f87d5eb", "descendantuuid": "a1d673b3-7cad-4c76-ae04-6de8308add65", "grantedbyroleuuid": null, "grantedbytriggerof": "11583dae-da71-4786-a61d-d70f51ce988e"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1350', 'rbac.permission', '9131a4a7-61d9-4622-be21-0b9851343606', 'INSERT', '{"op": "SELECT", "uuid": "9131a4a7-61d9-4622-be21-0b9851343606", "objectuuid": "11583dae-da71-4786-a61d-d70f51ce988e", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1350', 'rbac.grant', 'e19687a6-a790-4b28-96b8-c8c215d5e4d7', 'INSERT', '{"uuid": "e19687a6-a790-4b28-96b8-c8c215d5e4d7", "assumed": true, "ascendantuuid": "b5ab545c-b649-4c68-ac44-69349ebe8036", "descendantuuid": "9131a4a7-61d9-4622-be21-0b9851343606", "grantedbyroleuuid": null, "grantedbytriggerof": "11583dae-da71-4786-a61d-d70f51ce988e"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1350', 'rbac.permission', 'f7f740ac-2f38-44fa-8277-55010581a205', 'INSERT', '{"op": "UPDATE", "uuid": "f7f740ac-2f38-44fa-8277-55010581a205", "objectuuid": "11583dae-da71-4786-a61d-d70f51ce988e", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1350', 'rbac.grant', 'da3fff79-1454-4e2d-8a58-b25a051fa3b1', 'INSERT', '{"uuid": "da3fff79-1454-4e2d-8a58-b25a051fa3b1", "assumed": true, "ascendantuuid": "45e9ba6d-f4d9-4d24-bed3-09207ae0db40", "descendantuuid": "f7f740ac-2f38-44fa-8277-55010581a205", "grantedbyroleuuid": null, "grantedbytriggerof": "11583dae-da71-4786-a61d-d70f51ce988e"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1350', 'rbac.permission', '1613d738-5907-4bc6-abce-911eddd3dc33', 'INSERT', '{"op": "DELETE", "uuid": "1613d738-5907-4bc6-abce-911eddd3dc33", "objectuuid": "9cee97fc-5961-4b64-8888-6ee8d1ee34fc", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1350', 'rbac.grant', '3433faf4-12ba-475e-a88c-12e275164095', 'INSERT', '{"uuid": "3433faf4-12ba-475e-a88c-12e275164095", "assumed": true, "ascendantuuid": "87fb27a9-3d42-4ea2-89cb-b1d21f87d5eb", "descendantuuid": "1613d738-5907-4bc6-abce-911eddd3dc33", "grantedbyroleuuid": null, "grantedbytriggerof": "11583dae-da71-4786-a61d-d70f51ce988e"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1350', 'rbac.permission', 'cbb47a7c-602c-4c34-aaab-1deb531147c6', 'INSERT', '{"op": "SELECT", "uuid": "cbb47a7c-602c-4c34-aaab-1deb531147c6", "objectuuid": "9cee97fc-5961-4b64-8888-6ee8d1ee34fc", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1350', 'rbac.grant', '91b19760-bfa5-4e06-a037-68d37321eab9', 'INSERT', '{"uuid": "91b19760-bfa5-4e06-a037-68d37321eab9", "assumed": true, "ascendantuuid": "7da9eb31-516f-488d-831f-0c25585aedc7", "descendantuuid": "cbb47a7c-602c-4c34-aaab-1deb531147c6", "grantedbyroleuuid": null, "grantedbytriggerof": "11583dae-da71-4786-a61d-d70f51ce988e"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1350', 'rbac.permission', '452dba8c-1dee-4ea2-be7a-6a1cf6ec53b8', 'INSERT', '{"op": "UPDATE", "uuid": "452dba8c-1dee-4ea2-be7a-6a1cf6ec53b8", "objectuuid": "9cee97fc-5961-4b64-8888-6ee8d1ee34fc", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1350', 'rbac.grant', '22b2c7d8-e16e-4742-8231-ca64fa8692e3', 'INSERT', '{"uuid": "22b2c7d8-e16e-4742-8231-ca64fa8692e3", "assumed": true, "ascendantuuid": "7da9eb31-516f-488d-831f-0c25585aedc7", "descendantuuid": "452dba8c-1dee-4ea2-be7a-6a1cf6ec53b8", "grantedbyroleuuid": null, "grantedbytriggerof": "11583dae-da71-4786-a61d-d70f51ce988e"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1350', 'hs_office.partner', '11583dae-da71-4786-a61d-d70f51ce988e', 'INSERT', '{"uuid": "11583dae-da71-4786-a61d-d70f51ce988e", "version": 0, "detailsuuid": "9cee97fc-5961-4b64-8888-6ee8d1ee34fc", "partnernumber": 10002, "partnerreluuid": "cefb9d07-7142-4a0e-a924-310534a2a516"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1350', 'rbac.object', '29234c1d-d128-4eb1-8efa-b9528d11b138', 'INSERT', '{"uuid": "29234c1d-d128-4eb1-8efa-b9528d11b138", "serialid": 76, "objecttable": "hs_office.partner_details"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1350', 'hs_office.partner_details', '29234c1d-d128-4eb1-8efa-b9528d11b138', 'INSERT', '{"uuid": "29234c1d-d128-4eb1-8efa-b9528d11b138", "version": 0, "birthday": null, "birthname": null, "birthplace": null, "dateofdeath": null, "registrationnumber": "RegNo123456789", "registrationoffice": "Hamburg"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1350', 'rbac.object', '7fe704c0-2e54-463e-891e-533f0274da76', 'INSERT', '{"uuid": "7fe704c0-2e54-463e-891e-533f0274da76", "serialid": 77, "objecttable": "hs_office.partner"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1350', 'rbac.permission', '90d8f778-a2f7-4727-a306-4477450e61a7', 'INSERT', '{"op": "DELETE", "uuid": "90d8f778-a2f7-4727-a306-4477450e61a7", "objectuuid": "7fe704c0-2e54-463e-891e-533f0274da76", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1350', 'rbac.grant', 'ab9e228f-11f3-43d0-b809-7939e7bbb9af', 'INSERT', '{"uuid": "ab9e228f-11f3-43d0-b809-7939e7bbb9af", "assumed": true, "ascendantuuid": "de8f642d-37c0-4498-8d2e-54ba4cddbd17", "descendantuuid": "90d8f778-a2f7-4727-a306-4477450e61a7", "grantedbyroleuuid": null, "grantedbytriggerof": "7fe704c0-2e54-463e-891e-533f0274da76"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1350', 'rbac.permission', 'e63dfaa5-0072-4df2-9689-58a2ae260903', 'INSERT', '{"op": "SELECT", "uuid": "e63dfaa5-0072-4df2-9689-58a2ae260903", "objectuuid": "7fe704c0-2e54-463e-891e-533f0274da76", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1350', 'rbac.grant', 'b9b1cd92-d6d2-4f37-a09d-ff58e8a318d0', 'INSERT', '{"uuid": "b9b1cd92-d6d2-4f37-a09d-ff58e8a318d0", "assumed": true, "ascendantuuid": "898325ca-b5e0-4c70-b301-3b9a141931c8", "descendantuuid": "e63dfaa5-0072-4df2-9689-58a2ae260903", "grantedbyroleuuid": null, "grantedbytriggerof": "7fe704c0-2e54-463e-891e-533f0274da76"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1350', 'rbac.permission', '06fa4a05-6359-4469-ba78-09876aedc34f', 'INSERT', '{"op": "UPDATE", "uuid": "06fa4a05-6359-4469-ba78-09876aedc34f", "objectuuid": "7fe704c0-2e54-463e-891e-533f0274da76", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1350', 'rbac.grant', '99da6a58-832c-48b9-b236-55a7c83ee30f', 'INSERT', '{"uuid": "99da6a58-832c-48b9-b236-55a7c83ee30f", "assumed": true, "ascendantuuid": "260d863e-eb9f-441d-96d6-5a767f2e8973", "descendantuuid": "06fa4a05-6359-4469-ba78-09876aedc34f", "grantedbyroleuuid": null, "grantedbytriggerof": "7fe704c0-2e54-463e-891e-533f0274da76"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1350', 'rbac.permission', '0f9f3667-041f-4266-a5e8-72c4a516ccbf', 'INSERT', '{"op": "DELETE", "uuid": "0f9f3667-041f-4266-a5e8-72c4a516ccbf", "objectuuid": "29234c1d-d128-4eb1-8efa-b9528d11b138", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1350', 'rbac.grant', '2102801d-93f4-43c1-9085-34c1455bb91d', 'INSERT', '{"uuid": "2102801d-93f4-43c1-9085-34c1455bb91d", "assumed": true, "ascendantuuid": "de8f642d-37c0-4498-8d2e-54ba4cddbd17", "descendantuuid": "0f9f3667-041f-4266-a5e8-72c4a516ccbf", "grantedbyroleuuid": null, "grantedbytriggerof": "7fe704c0-2e54-463e-891e-533f0274da76"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1350', 'rbac.permission', 'a6b33e97-a326-4d10-9d17-76c90e1c2012', 'INSERT', '{"op": "SELECT", "uuid": "a6b33e97-a326-4d10-9d17-76c90e1c2012", "objectuuid": "29234c1d-d128-4eb1-8efa-b9528d11b138", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1350', 'rbac.grant', 'c32f552f-bb54-4c5e-91e9-a14da21918ea', 'INSERT', '{"uuid": "c32f552f-bb54-4c5e-91e9-a14da21918ea", "assumed": true, "ascendantuuid": "60ee51bd-f34c-4a9b-b692-c2476ab44de5", "descendantuuid": "a6b33e97-a326-4d10-9d17-76c90e1c2012", "grantedbyroleuuid": null, "grantedbytriggerof": "7fe704c0-2e54-463e-891e-533f0274da76"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1350', 'rbac.permission', '654aa3c9-19af-4ee5-a294-0fde31eb1657', 'INSERT', '{"op": "UPDATE", "uuid": "654aa3c9-19af-4ee5-a294-0fde31eb1657", "objectuuid": "29234c1d-d128-4eb1-8efa-b9528d11b138", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1350', 'rbac.grant', '02d05ca6-9ddd-4bad-a445-e18fb2240c17', 'INSERT', '{"uuid": "02d05ca6-9ddd-4bad-a445-e18fb2240c17", "assumed": true, "ascendantuuid": "60ee51bd-f34c-4a9b-b692-c2476ab44de5", "descendantuuid": "654aa3c9-19af-4ee5-a294-0fde31eb1657", "grantedbyroleuuid": null, "grantedbytriggerof": "7fe704c0-2e54-463e-891e-533f0274da76"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1350', 'hs_office.partner', '7fe704c0-2e54-463e-891e-533f0274da76', 'INSERT', '{"uuid": "7fe704c0-2e54-463e-891e-533f0274da76", "version": 0, "detailsuuid": "29234c1d-d128-4eb1-8efa-b9528d11b138", "partnernumber": 10003, "partnerreluuid": "5c0f9fee-6087-4b83-bcb7-da8a525b8662"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1350', 'rbac.object', 'a297a917-aebe-4662-92fb-0729aa1c525c', 'INSERT', '{"uuid": "a297a917-aebe-4662-92fb-0729aa1c525c", "serialid": 78, "objecttable": "hs_office.partner_details"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1350', 'rbac.grant', 'f3ad9976-8ab6-42d0-b22f-ffc5de0975e9', 'INSERT', '{"uuid": "f3ad9976-8ab6-42d0-b22f-ffc5de0975e9", "assumed": true, "ascendantuuid": "1d8f7150-b928-4f7e-90d9-faa9d64bf128", "descendantuuid": "5390f731-c04f-4d6e-8482-6c623b51ddf3", "grantedbyroleuuid": null, "grantedbytriggerof": "8d685609-a88e-4005-a265-994f34f28128"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1350', 'rbac.permission', '2c3b2b5a-e8ed-4e3b-b0c0-660b0a4e554f', 'INSERT', '{"op": "SELECT", "uuid": "2c3b2b5a-e8ed-4e3b-b0c0-660b0a4e554f", "objectuuid": "8d685609-a88e-4005-a265-994f34f28128", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1350', 'rbac.grant', 'c87b067e-2231-488b-b050-8bb956eebf17', 'INSERT', '{"uuid": "c87b067e-2231-488b-b050-8bb956eebf17", "assumed": true, "ascendantuuid": "a8455ef5-5a4f-4ebb-bc28-dc7740e7523f", "descendantuuid": "2c3b2b5a-e8ed-4e3b-b0c0-660b0a4e554f", "grantedbyroleuuid": null, "grantedbytriggerof": "8d685609-a88e-4005-a265-994f34f28128"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1350', 'rbac.permission', '55320cf2-82ac-40c6-9066-7d03657e8919', 'INSERT', '{"op": "UPDATE", "uuid": "55320cf2-82ac-40c6-9066-7d03657e8919", "objectuuid": "8d685609-a88e-4005-a265-994f34f28128", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1350', 'rbac.grant', '659546a0-0cee-4444-801a-eb78b4c073c3', 'INSERT', '{"uuid": "659546a0-0cee-4444-801a-eb78b4c073c3", "assumed": true, "ascendantuuid": "4390cac7-7f27-4a60-8114-9d5e43045fbb", "descendantuuid": "55320cf2-82ac-40c6-9066-7d03657e8919", "grantedbyroleuuid": null, "grantedbytriggerof": "8d685609-a88e-4005-a265-994f34f28128"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1350', 'rbac.permission', 'c3a961d2-2f6e-4dcb-be4f-5c9adf192a14', 'INSERT', '{"op": "DELETE", "uuid": "c3a961d2-2f6e-4dcb-be4f-5c9adf192a14", "objectuuid": "a297a917-aebe-4662-92fb-0729aa1c525c", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1350', 'rbac.grant', '5c3f1dad-260a-4365-ace2-e8f1c086c9e0', 'INSERT', '{"uuid": "5c3f1dad-260a-4365-ace2-e8f1c086c9e0", "assumed": true, "ascendantuuid": "1d8f7150-b928-4f7e-90d9-faa9d64bf128", "descendantuuid": "c3a961d2-2f6e-4dcb-be4f-5c9adf192a14", "grantedbyroleuuid": null, "grantedbytriggerof": "8d685609-a88e-4005-a265-994f34f28128"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1350', 'rbac.permission', 'c6c2e373-d665-4fe0-bd36-5a9a738c183e', 'INSERT', '{"op": "SELECT", "uuid": "c6c2e373-d665-4fe0-bd36-5a9a738c183e", "objectuuid": "a297a917-aebe-4662-92fb-0729aa1c525c", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1350', 'rbac.grant', '60178c98-e593-4e72-906a-a2a1546c1f0d', 'INSERT', '{"uuid": "60178c98-e593-4e72-906a-a2a1546c1f0d", "assumed": true, "ascendantuuid": "700a8e97-af5d-45a3-9a6b-0db0857b012d", "descendantuuid": "c6c2e373-d665-4fe0-bd36-5a9a738c183e", "grantedbyroleuuid": null, "grantedbytriggerof": "8d685609-a88e-4005-a265-994f34f28128"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1350', 'rbac.permission', 'caa88278-934a-4006-9881-34bdf5aee37e', 'INSERT', '{"op": "UPDATE", "uuid": "caa88278-934a-4006-9881-34bdf5aee37e", "objectuuid": "a297a917-aebe-4662-92fb-0729aa1c525c", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1350', 'rbac.grant', '2f4109e2-ff4b-4a50-9b14-d5eb6fd8d2f1', 'INSERT', '{"uuid": "2f4109e2-ff4b-4a50-9b14-d5eb6fd8d2f1", "assumed": true, "ascendantuuid": "700a8e97-af5d-45a3-9a6b-0db0857b012d", "descendantuuid": "caa88278-934a-4006-9881-34bdf5aee37e", "grantedbyroleuuid": null, "grantedbytriggerof": "8d685609-a88e-4005-a265-994f34f28128"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1350', 'hs_office.partner', '8d685609-a88e-4005-a265-994f34f28128', 'INSERT', '{"uuid": "8d685609-a88e-4005-a265-994f34f28128", "version": 0, "detailsuuid": "a297a917-aebe-4662-92fb-0729aa1c525c", "partnernumber": 10004, "partnerreluuid": "83a4f8c9-9f65-4b7d-9ed6-963325a3ba7f"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1350', 'rbac.object', '92a9e974-65f6-4428-a410-8b44d33514a0', 'INSERT', '{"uuid": "92a9e974-65f6-4428-a410-8b44d33514a0", "serialid": 80, "objecttable": "hs_office.partner_details"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1350', 'hs_office.partner_details', '92a9e974-65f6-4428-a410-8b44d33514a0', 'INSERT', '{"uuid": "92a9e974-65f6-4428-a410-8b44d33514a0", "version": 0, "birthday": "1987-10-31", "birthname": "Meyer", "birthplace": "Hamburg", "dateofdeath": null, "registrationnumber": null, "registrationoffice": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1350', 'rbac.object', 'a48308b2-ab59-4bfc-ab21-eb0ff4389b18', 'INSERT', '{"uuid": "a48308b2-ab59-4bfc-ab21-eb0ff4389b18", "serialid": 81, "objecttable": "hs_office.partner"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1350', 'rbac.permission', '516c2804-5c3f-49bf-8cc0-a168796de948', 'INSERT', '{"op": "DELETE", "uuid": "516c2804-5c3f-49bf-8cc0-a168796de948", "objectuuid": "a48308b2-ab59-4bfc-ab21-eb0ff4389b18", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1350', 'rbac.grant', '1bb839c9-5872-4a0a-b895-6d5ffc53a0e0', 'INSERT', '{"uuid": "1bb839c9-5872-4a0a-b895-6d5ffc53a0e0", "assumed": true, "ascendantuuid": "cb928673-376a-40de-900b-34021f7ede66", "descendantuuid": "516c2804-5c3f-49bf-8cc0-a168796de948", "grantedbyroleuuid": null, "grantedbytriggerof": "a48308b2-ab59-4bfc-ab21-eb0ff4389b18"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1350', 'rbac.permission', '456557c7-f3e8-4eca-8ac9-40e9d85a133d', 'INSERT', '{"op": "SELECT", "uuid": "456557c7-f3e8-4eca-8ac9-40e9d85a133d", "objectuuid": "a48308b2-ab59-4bfc-ab21-eb0ff4389b18", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1350', 'rbac.grant', '31870eaf-52b1-4a98-8947-ff4b011eec3e', 'INSERT', '{"uuid": "31870eaf-52b1-4a98-8947-ff4b011eec3e", "assumed": true, "ascendantuuid": "0cb05ed2-74ad-4f82-9670-6ee3928f134c", "descendantuuid": "456557c7-f3e8-4eca-8ac9-40e9d85a133d", "grantedbyroleuuid": null, "grantedbytriggerof": "a48308b2-ab59-4bfc-ab21-eb0ff4389b18"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1350', 'rbac.permission', '6db4adc8-8f0b-4bdb-8103-a12bf33a6b14', 'INSERT', '{"op": "UPDATE", "uuid": "6db4adc8-8f0b-4bdb-8103-a12bf33a6b14", "objectuuid": "a48308b2-ab59-4bfc-ab21-eb0ff4389b18", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1350', 'rbac.grant', 'e65bbe39-7ba7-4132-9846-593c399ece59', 'INSERT', '{"uuid": "e65bbe39-7ba7-4132-9846-593c399ece59", "assumed": true, "ascendantuuid": "b0269de3-13ad-40de-8ab8-a11f99b1b2d8", "descendantuuid": "6db4adc8-8f0b-4bdb-8103-a12bf33a6b14", "grantedbyroleuuid": null, "grantedbytriggerof": "a48308b2-ab59-4bfc-ab21-eb0ff4389b18"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1350', 'rbac.permission', 'cacea311-52f7-4cd9-99b7-b3ac7b7b043f', 'INSERT', '{"op": "DELETE", "uuid": "cacea311-52f7-4cd9-99b7-b3ac7b7b043f", "objectuuid": "92a9e974-65f6-4428-a410-8b44d33514a0", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1350', 'rbac.grant', '4a713eb7-1278-40e9-a799-8122a0444c83', 'INSERT', '{"uuid": "4a713eb7-1278-40e9-a799-8122a0444c83", "assumed": true, "ascendantuuid": "cb928673-376a-40de-900b-34021f7ede66", "descendantuuid": "cacea311-52f7-4cd9-99b7-b3ac7b7b043f", "grantedbyroleuuid": null, "grantedbytriggerof": "a48308b2-ab59-4bfc-ab21-eb0ff4389b18"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1350', 'rbac.permission', '7a570fb0-5c2a-4f1c-a118-4294c625a681', 'INSERT', '{"op": "SELECT", "uuid": "7a570fb0-5c2a-4f1c-a118-4294c625a681", "objectuuid": "92a9e974-65f6-4428-a410-8b44d33514a0", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1350', 'rbac.grant', '420f2bba-3202-4eb7-b3df-cd2729c76215', 'INSERT', '{"uuid": "420f2bba-3202-4eb7-b3df-cd2729c76215", "assumed": true, "ascendantuuid": "c5077142-d0a8-4fd2-b617-4856c6ceebc2", "descendantuuid": "7a570fb0-5c2a-4f1c-a118-4294c625a681", "grantedbyroleuuid": null, "grantedbytriggerof": "a48308b2-ab59-4bfc-ab21-eb0ff4389b18"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1350', 'rbac.permission', 'f9f6d4d4-1d49-4a0e-b4ea-66d1a177ee75', 'INSERT', '{"op": "UPDATE", "uuid": "f9f6d4d4-1d49-4a0e-b4ea-66d1a177ee75", "objectuuid": "92a9e974-65f6-4428-a410-8b44d33514a0", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1350', 'rbac.grant', '37f3bb66-c2a2-41e0-86a7-6b8c33287bd7', 'INSERT', '{"uuid": "37f3bb66-c2a2-41e0-86a7-6b8c33287bd7", "assumed": true, "ascendantuuid": "c5077142-d0a8-4fd2-b617-4856c6ceebc2", "descendantuuid": "f9f6d4d4-1d49-4a0e-b4ea-66d1a177ee75", "grantedbyroleuuid": null, "grantedbytriggerof": "a48308b2-ab59-4bfc-ab21-eb0ff4389b18"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1350', 'hs_office.partner', 'a48308b2-ab59-4bfc-ab21-eb0ff4389b18', 'INSERT', '{"uuid": "a48308b2-ab59-4bfc-ab21-eb0ff4389b18", "version": 0, "detailsuuid": "92a9e974-65f6-4428-a410-8b44d33514a0", "partnernumber": 10010, "partnerreluuid": "63ab696c-163c-44b6-bd79-e82630923af2"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1398', 'rbac.subject', '4d8dee89-75e0-49a9-8078-2c4c478a9665', 'INSERT', '{"name": "bankaccount-admin@FirstGmbH.example.com", "uuid": "4d8dee89-75e0-49a9-8078-2c4c478a9665"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1398', 'rbac.permission', '6d0dbb52-af7f-4136-984e-f85ba9b5f588', 'INSERT', '{"op": "DELETE", "uuid": "6d0dbb52-af7f-4136-984e-f85ba9b5f588", "objectuuid": "50b5215d-4fdc-48be-a196-22fbe9325efb", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1398', 'rbac.grant', 'ca04f528-9759-45e3-8f65-7508a72240b7', 'INSERT', '{"uuid": "ca04f528-9759-45e3-8f65-7508a72240b7", "assumed": true, "ascendantuuid": "182d7845-e866-448a-b758-77c6b08c96d8", "descendantuuid": "6d0dbb52-af7f-4136-984e-f85ba9b5f588", "grantedbyroleuuid": null, "grantedbytriggerof": "50b5215d-4fdc-48be-a196-22fbe9325efb"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1398', 'rbac.grant', '3d289612-497e-4384-97a0-64af964ae9ce', 'INSERT', '{"uuid": "3d289612-497e-4384-97a0-64af964ae9ce", "assumed": true, "ascendantuuid": "afc6a14a-f8c7-4c17-9b91-b615833bc002", "descendantuuid": "182d7845-e866-448a-b758-77c6b08c96d8", "grantedbyroleuuid": null, "grantedbytriggerof": "50b5215d-4fdc-48be-a196-22fbe9325efb"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1398', 'rbac.grant', '46858e39-1c7f-4e57-a169-711acbd24aa0', 'INSERT', '{"uuid": "46858e39-1c7f-4e57-a169-711acbd24aa0", "assumed": true, "ascendantuuid": "4d8dee89-75e0-49a9-8078-2c4c478a9665", "descendantuuid": "182d7845-e866-448a-b758-77c6b08c96d8", "grantedbyroleuuid": "182d7845-e866-448a-b758-77c6b08c96d8", "grantedbytriggerof": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1398', 'rbac.role', '3fea832b-423c-46a7-8b58-20132f86a1f2', 'INSERT', '{"uuid": "3fea832b-423c-46a7-8b58-20132f86a1f2", "roletype": "ADMIN", "objectuuid": "50b5215d-4fdc-48be-a196-22fbe9325efb"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1398', 'rbac.permission', '615ac8b2-0862-47fd-9484-bc885086b26d', 'INSERT', '{"op": "UPDATE", "uuid": "615ac8b2-0862-47fd-9484-bc885086b26d", "objectuuid": "50b5215d-4fdc-48be-a196-22fbe9325efb", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1398', 'rbac.grant', '1b811a98-79b2-44b6-9373-f5457eaeb6d9', 'INSERT', '{"uuid": "1b811a98-79b2-44b6-9373-f5457eaeb6d9", "assumed": true, "ascendantuuid": "3fea832b-423c-46a7-8b58-20132f86a1f2", "descendantuuid": "615ac8b2-0862-47fd-9484-bc885086b26d", "grantedbyroleuuid": null, "grantedbytriggerof": "50b5215d-4fdc-48be-a196-22fbe9325efb"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1398', 'rbac.grant', '0a2ba812-33c7-4bde-ae41-12094589c943', 'INSERT', '{"uuid": "0a2ba812-33c7-4bde-ae41-12094589c943", "assumed": true, "ascendantuuid": "182d7845-e866-448a-b758-77c6b08c96d8", "descendantuuid": "3fea832b-423c-46a7-8b58-20132f86a1f2", "grantedbyroleuuid": null, "grantedbytriggerof": "50b5215d-4fdc-48be-a196-22fbe9325efb"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1398', 'rbac.role', '5765745b-dbca-4a60-b699-a2c1705aacf1', 'INSERT', '{"uuid": "5765745b-dbca-4a60-b699-a2c1705aacf1", "roletype": "REFERRER", "objectuuid": "50b5215d-4fdc-48be-a196-22fbe9325efb"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1398', 'rbac.permission', '7f38985a-9537-4c82-bd1c-4702e61de51f', 'INSERT', '{"op": "SELECT", "uuid": "7f38985a-9537-4c82-bd1c-4702e61de51f", "objectuuid": "50b5215d-4fdc-48be-a196-22fbe9325efb", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1398', 'rbac.grant', '56ccf032-3eb1-4dc7-b362-a064e048f2b2', 'INSERT', '{"uuid": "56ccf032-3eb1-4dc7-b362-a064e048f2b2", "assumed": true, "ascendantuuid": "5765745b-dbca-4a60-b699-a2c1705aacf1", "descendantuuid": "7f38985a-9537-4c82-bd1c-4702e61de51f", "grantedbyroleuuid": null, "grantedbytriggerof": "50b5215d-4fdc-48be-a196-22fbe9325efb"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1398', 'rbac.grant', '45d55215-5102-47b9-9499-d029cb3783c0', 'INSERT', '{"uuid": "45d55215-5102-47b9-9499-d029cb3783c0", "assumed": true, "ascendantuuid": "3fea832b-423c-46a7-8b58-20132f86a1f2", "descendantuuid": "5765745b-dbca-4a60-b699-a2c1705aacf1", "grantedbyroleuuid": null, "grantedbytriggerof": "50b5215d-4fdc-48be-a196-22fbe9325efb"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1398', 'hs_office.bankaccount', '50b5215d-4fdc-48be-a196-22fbe9325efb', 'INSERT', '{"bic": "BYLADEM1001", "iban": "DE02120300000000202051", "uuid": "50b5215d-4fdc-48be-a196-22fbe9325efb", "holder": "First GmbH", "version": 0}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1398', 'rbac.subject', '41cb1f57-77f0-4cf3-a877-680418e29e3b', 'INSERT', '{"name": "bankaccount-admin@PeterSmith.example.com", "uuid": "41cb1f57-77f0-4cf3-a877-680418e29e3b"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1398', 'rbac.object', 'ba3b7687-f7ca-4520-ae16-6d3701fc5df9', 'INSERT', '{"uuid": "ba3b7687-f7ca-4520-ae16-6d3701fc5df9", "serialid": 83, "objecttable": "hs_office.bankaccount"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1398', 'rbac.role', '17e4e882-d1be-4cb8-90ec-b00b30cd0c59', 'INSERT', '{"uuid": "17e4e882-d1be-4cb8-90ec-b00b30cd0c59", "roletype": "OWNER", "objectuuid": "ba3b7687-f7ca-4520-ae16-6d3701fc5df9"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1398', 'rbac.permission', '46ed17dd-faba-46c0-bff9-c0886ba335f7', 'INSERT', '{"op": "DELETE", "uuid": "46ed17dd-faba-46c0-bff9-c0886ba335f7", "objectuuid": "ba3b7687-f7ca-4520-ae16-6d3701fc5df9", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1398', 'rbac.grant', 'f0235837-9619-4b9d-b197-967ee549c6b0', 'INSERT', '{"uuid": "f0235837-9619-4b9d-b197-967ee549c6b0", "assumed": true, "ascendantuuid": "17e4e882-d1be-4cb8-90ec-b00b30cd0c59", "descendantuuid": "46ed17dd-faba-46c0-bff9-c0886ba335f7", "grantedbyroleuuid": null, "grantedbytriggerof": "ba3b7687-f7ca-4520-ae16-6d3701fc5df9"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1398', 'rbac.grant', '9f621077-25ed-4afd-a375-9f9dab83cff6', 'INSERT', '{"uuid": "9f621077-25ed-4afd-a375-9f9dab83cff6", "assumed": true, "ascendantuuid": "afc6a14a-f8c7-4c17-9b91-b615833bc002", "descendantuuid": "17e4e882-d1be-4cb8-90ec-b00b30cd0c59", "grantedbyroleuuid": null, "grantedbytriggerof": "ba3b7687-f7ca-4520-ae16-6d3701fc5df9"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1398', 'rbac.grant', 'c8ef3667-51f1-4779-8359-b89c6bd67bde', 'INSERT', '{"uuid": "c8ef3667-51f1-4779-8359-b89c6bd67bde", "assumed": true, "ascendantuuid": "41cb1f57-77f0-4cf3-a877-680418e29e3b", "descendantuuid": "17e4e882-d1be-4cb8-90ec-b00b30cd0c59", "grantedbyroleuuid": "17e4e882-d1be-4cb8-90ec-b00b30cd0c59", "grantedbytriggerof": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1398', 'rbac.role', '279700d9-00b9-45e3-b2d9-b20fa0b8810c', 'INSERT', '{"uuid": "279700d9-00b9-45e3-b2d9-b20fa0b8810c", "roletype": "ADMIN", "objectuuid": "ba3b7687-f7ca-4520-ae16-6d3701fc5df9"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1398', 'rbac.permission', '3067c987-609d-4df6-8f9a-6ea135f60afa', 'INSERT', '{"op": "UPDATE", "uuid": "3067c987-609d-4df6-8f9a-6ea135f60afa", "objectuuid": "ba3b7687-f7ca-4520-ae16-6d3701fc5df9", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1398', 'rbac.grant', '2408c493-9208-4ac2-ac1d-aa4d4cc9fddd', 'INSERT', '{"uuid": "2408c493-9208-4ac2-ac1d-aa4d4cc9fddd", "assumed": true, "ascendantuuid": "279700d9-00b9-45e3-b2d9-b20fa0b8810c", "descendantuuid": "3067c987-609d-4df6-8f9a-6ea135f60afa", "grantedbyroleuuid": null, "grantedbytriggerof": "ba3b7687-f7ca-4520-ae16-6d3701fc5df9"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1398', 'rbac.grant', 'b83bef60-b2a3-4d04-be28-d45a398c9d6f', 'INSERT', '{"uuid": "b83bef60-b2a3-4d04-be28-d45a398c9d6f", "assumed": true, "ascendantuuid": "17e4e882-d1be-4cb8-90ec-b00b30cd0c59", "descendantuuid": "279700d9-00b9-45e3-b2d9-b20fa0b8810c", "grantedbyroleuuid": null, "grantedbytriggerof": "ba3b7687-f7ca-4520-ae16-6d3701fc5df9"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1398', 'rbac.role', '9bd4c9b1-f8ae-4cf9-821c-a3ccc0fa36f6', 'INSERT', '{"uuid": "9bd4c9b1-f8ae-4cf9-821c-a3ccc0fa36f6", "roletype": "REFERRER", "objectuuid": "ba3b7687-f7ca-4520-ae16-6d3701fc5df9"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1398', 'rbac.permission', 'ec7e672d-f5df-407e-9050-92adba41d733', 'INSERT', '{"op": "SELECT", "uuid": "ec7e672d-f5df-407e-9050-92adba41d733", "objectuuid": "ba3b7687-f7ca-4520-ae16-6d3701fc5df9", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1398', 'rbac.grant', 'e959d301-6f38-48ce-816c-0a765e97654d', 'INSERT', '{"uuid": "e959d301-6f38-48ce-816c-0a765e97654d", "assumed": true, "ascendantuuid": "9bd4c9b1-f8ae-4cf9-821c-a3ccc0fa36f6", "descendantuuid": "ec7e672d-f5df-407e-9050-92adba41d733", "grantedbyroleuuid": null, "grantedbytriggerof": "ba3b7687-f7ca-4520-ae16-6d3701fc5df9"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1398', 'rbac.grant', '55a36540-8fbf-43a5-8741-4acaf4468fe4', 'INSERT', '{"uuid": "55a36540-8fbf-43a5-8741-4acaf4468fe4", "assumed": true, "ascendantuuid": "279700d9-00b9-45e3-b2d9-b20fa0b8810c", "descendantuuid": "9bd4c9b1-f8ae-4cf9-821c-a3ccc0fa36f6", "grantedbyroleuuid": null, "grantedbytriggerof": "ba3b7687-f7ca-4520-ae16-6d3701fc5df9"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1398', 'hs_office.bankaccount', 'ba3b7687-f7ca-4520-ae16-6d3701fc5df9', 'INSERT', '{"bic": "INGDDEFF", "iban": "DE02500105170137075030", "uuid": "ba3b7687-f7ca-4520-ae16-6d3701fc5df9", "holder": "Peter Smith", "version": 0}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1398', 'rbac.subject', 'b0818c50-a43b-4e5f-837c-6cd0bfa6f2c0', 'INSERT', '{"name": "bankaccount-admin@PeterSmith-TheSecondHandandThrif.example.com", "uuid": "b0818c50-a43b-4e5f-837c-6cd0bfa6f2c0"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1398', 'rbac.object', '33c27d3b-b8ea-4096-8d71-ee351ebed0a9', 'INSERT', '{"uuid": "33c27d3b-b8ea-4096-8d71-ee351ebed0a9", "serialid": 84, "objecttable": "hs_office.bankaccount"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1398', 'rbac.role', '8e7e5c39-f941-441c-aae2-2de5e160f6e4', 'INSERT', '{"uuid": "8e7e5c39-f941-441c-aae2-2de5e160f6e4", "roletype": "OWNER", "objectuuid": "33c27d3b-b8ea-4096-8d71-ee351ebed0a9"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1398', 'rbac.permission', 'bcc6e166-5595-4b00-baa1-766440aec048', 'INSERT', '{"op": "DELETE", "uuid": "bcc6e166-5595-4b00-baa1-766440aec048", "objectuuid": "33c27d3b-b8ea-4096-8d71-ee351ebed0a9", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1398', 'rbac.grant', 'b8fda796-0384-4167-9780-d51d6087b7bc', 'INSERT', '{"uuid": "b8fda796-0384-4167-9780-d51d6087b7bc", "assumed": true, "ascendantuuid": "8e7e5c39-f941-441c-aae2-2de5e160f6e4", "descendantuuid": "bcc6e166-5595-4b00-baa1-766440aec048", "grantedbyroleuuid": null, "grantedbytriggerof": "33c27d3b-b8ea-4096-8d71-ee351ebed0a9"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1398', 'rbac.grant', 'b35aa38f-7c37-43ab-a36f-4830f996a499', 'INSERT', '{"uuid": "b35aa38f-7c37-43ab-a36f-4830f996a499", "assumed": true, "ascendantuuid": "afc6a14a-f8c7-4c17-9b91-b615833bc002", "descendantuuid": "8e7e5c39-f941-441c-aae2-2de5e160f6e4", "grantedbyroleuuid": null, "grantedbytriggerof": "33c27d3b-b8ea-4096-8d71-ee351ebed0a9"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1398', 'rbac.grant', '67271ec3-7d0e-40e9-8281-f1af16e90102', 'INSERT', '{"uuid": "67271ec3-7d0e-40e9-8281-f1af16e90102", "assumed": true, "ascendantuuid": "b0818c50-a43b-4e5f-837c-6cd0bfa6f2c0", "descendantuuid": "8e7e5c39-f941-441c-aae2-2de5e160f6e4", "grantedbyroleuuid": "8e7e5c39-f941-441c-aae2-2de5e160f6e4", "grantedbytriggerof": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1398', 'rbac.role', '9b3278e9-9156-4fd3-aa57-b7ac12cc7b3c', 'INSERT', '{"uuid": "9b3278e9-9156-4fd3-aa57-b7ac12cc7b3c", "roletype": "ADMIN", "objectuuid": "33c27d3b-b8ea-4096-8d71-ee351ebed0a9"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1398', 'rbac.permission', '98d996e7-403f-4773-9fbe-4b51c991736c', 'INSERT', '{"op": "UPDATE", "uuid": "98d996e7-403f-4773-9fbe-4b51c991736c", "objectuuid": "33c27d3b-b8ea-4096-8d71-ee351ebed0a9", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1398', 'rbac.grant', '140fe527-e343-43c9-ba02-362cf05086cc', 'INSERT', '{"uuid": "140fe527-e343-43c9-ba02-362cf05086cc", "assumed": true, "ascendantuuid": "9b3278e9-9156-4fd3-aa57-b7ac12cc7b3c", "descendantuuid": "98d996e7-403f-4773-9fbe-4b51c991736c", "grantedbyroleuuid": null, "grantedbytriggerof": "33c27d3b-b8ea-4096-8d71-ee351ebed0a9"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1398', 'rbac.grant', '24d2731d-c7f7-4c65-970c-180d91982c37', 'INSERT', '{"uuid": "24d2731d-c7f7-4c65-970c-180d91982c37", "assumed": true, "ascendantuuid": "8e7e5c39-f941-441c-aae2-2de5e160f6e4", "descendantuuid": "9b3278e9-9156-4fd3-aa57-b7ac12cc7b3c", "grantedbyroleuuid": null, "grantedbytriggerof": "33c27d3b-b8ea-4096-8d71-ee351ebed0a9"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1398', 'rbac.role', 'fa5cdc5a-394a-44d3-a892-4e6485647527', 'INSERT', '{"uuid": "fa5cdc5a-394a-44d3-a892-4e6485647527", "roletype": "REFERRER", "objectuuid": "33c27d3b-b8ea-4096-8d71-ee351ebed0a9"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1398', 'rbac.permission', '25585475-81b8-4556-b433-60fd14aebc19', 'INSERT', '{"op": "SELECT", "uuid": "25585475-81b8-4556-b433-60fd14aebc19", "objectuuid": "33c27d3b-b8ea-4096-8d71-ee351ebed0a9", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1398', 'rbac.grant', '281a5ee0-1bc2-4c46-929e-6fed8bcfcdc1', 'INSERT', '{"uuid": "281a5ee0-1bc2-4c46-929e-6fed8bcfcdc1", "assumed": true, "ascendantuuid": "fa5cdc5a-394a-44d3-a892-4e6485647527", "descendantuuid": "25585475-81b8-4556-b433-60fd14aebc19", "grantedbyroleuuid": null, "grantedbytriggerof": "33c27d3b-b8ea-4096-8d71-ee351ebed0a9"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1398', 'rbac.grant', '2b86bffb-d516-4e81-8ac1-81f08b3b7304', 'INSERT', '{"uuid": "2b86bffb-d516-4e81-8ac1-81f08b3b7304", "assumed": true, "ascendantuuid": "9b3278e9-9156-4fd3-aa57-b7ac12cc7b3c", "descendantuuid": "fa5cdc5a-394a-44d3-a892-4e6485647527", "grantedbyroleuuid": null, "grantedbytriggerof": "33c27d3b-b8ea-4096-8d71-ee351ebed0a9"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1398', 'hs_office.bankaccount', '33c27d3b-b8ea-4096-8d71-ee351ebed0a9', 'INSERT', '{"bic": "BELADEBE", "iban": "DE02100500000054540402", "uuid": "33c27d3b-b8ea-4096-8d71-ee351ebed0a9", "holder": "Peter Smith - The Second Hand and Thrift Stores-n-Shipping e.K.", "version": 0}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1398', 'rbac.subject', '81536900-27e8-4b17-99f5-b957fd4a4426', 'INSERT', '{"name": "bankaccount-admin@ThirdOHG.example.com", "uuid": "81536900-27e8-4b17-99f5-b957fd4a4426"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1398', 'rbac.object', '754ac83e-c0bb-4391-bc56-14636708b9c4', 'INSERT', '{"uuid": "754ac83e-c0bb-4391-bc56-14636708b9c4", "serialid": 85, "objecttable": "hs_office.bankaccount"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1398', 'rbac.role', '18f90be5-7979-4f4b-a53e-326398e408a9', 'INSERT', '{"uuid": "18f90be5-7979-4f4b-a53e-326398e408a9", "roletype": "OWNER", "objectuuid": "754ac83e-c0bb-4391-bc56-14636708b9c4"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1398', 'rbac.permission', '83680b36-9bef-49fe-9461-ecff189b65f3', 'INSERT', '{"op": "DELETE", "uuid": "83680b36-9bef-49fe-9461-ecff189b65f3", "objectuuid": "754ac83e-c0bb-4391-bc56-14636708b9c4", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1398', 'rbac.grant', '2326183f-5f3a-4d59-a822-93c082fd74dc', 'INSERT', '{"uuid": "2326183f-5f3a-4d59-a822-93c082fd74dc", "assumed": true, "ascendantuuid": "18f90be5-7979-4f4b-a53e-326398e408a9", "descendantuuid": "83680b36-9bef-49fe-9461-ecff189b65f3", "grantedbyroleuuid": null, "grantedbytriggerof": "754ac83e-c0bb-4391-bc56-14636708b9c4"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1398', 'rbac.grant', 'd4f262dc-13c6-418d-8312-75803502a4eb', 'INSERT', '{"uuid": "d4f262dc-13c6-418d-8312-75803502a4eb", "assumed": true, "ascendantuuid": "afc6a14a-f8c7-4c17-9b91-b615833bc002", "descendantuuid": "18f90be5-7979-4f4b-a53e-326398e408a9", "grantedbyroleuuid": null, "grantedbytriggerof": "754ac83e-c0bb-4391-bc56-14636708b9c4"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1398', 'rbac.grant', '2cc29cd7-314a-4476-8cd0-4a7671eb226e', 'INSERT', '{"uuid": "2cc29cd7-314a-4476-8cd0-4a7671eb226e", "assumed": true, "ascendantuuid": "81536900-27e8-4b17-99f5-b957fd4a4426", "descendantuuid": "18f90be5-7979-4f4b-a53e-326398e408a9", "grantedbyroleuuid": "18f90be5-7979-4f4b-a53e-326398e408a9", "grantedbytriggerof": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1398', 'rbac.role', 'b244fa4b-d0ab-4e7b-b959-b6f15fa74b23', 'INSERT', '{"uuid": "b244fa4b-d0ab-4e7b-b959-b6f15fa74b23", "roletype": "ADMIN", "objectuuid": "754ac83e-c0bb-4391-bc56-14636708b9c4"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1398', 'rbac.permission', 'e2c30de4-1d2f-40af-90d6-8016e727b0d7', 'INSERT', '{"op": "UPDATE", "uuid": "e2c30de4-1d2f-40af-90d6-8016e727b0d7", "objectuuid": "754ac83e-c0bb-4391-bc56-14636708b9c4", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1398', 'rbac.grant', 'c154b450-28b7-44ce-9495-361465a452d8', 'INSERT', '{"uuid": "c154b450-28b7-44ce-9495-361465a452d8", "assumed": true, "ascendantuuid": "b244fa4b-d0ab-4e7b-b959-b6f15fa74b23", "descendantuuid": "e2c30de4-1d2f-40af-90d6-8016e727b0d7", "grantedbyroleuuid": null, "grantedbytriggerof": "754ac83e-c0bb-4391-bc56-14636708b9c4"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1398', 'rbac.grant', 'a2cc1a63-a4c2-4a76-a572-2d5baf82b1b7', 'INSERT', '{"uuid": "a2cc1a63-a4c2-4a76-a572-2d5baf82b1b7", "assumed": true, "ascendantuuid": "18f90be5-7979-4f4b-a53e-326398e408a9", "descendantuuid": "b244fa4b-d0ab-4e7b-b959-b6f15fa74b23", "grantedbyroleuuid": null, "grantedbytriggerof": "754ac83e-c0bb-4391-bc56-14636708b9c4"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1398', 'rbac.role', 'ecf437ed-5f47-4ffb-8bfb-456e929e5bce', 'INSERT', '{"uuid": "ecf437ed-5f47-4ffb-8bfb-456e929e5bce", "roletype": "REFERRER", "objectuuid": "754ac83e-c0bb-4391-bc56-14636708b9c4"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1398', 'rbac.permission', '9253682c-c8c3-4e13-ad39-4e559db2e6d2', 'INSERT', '{"op": "SELECT", "uuid": "9253682c-c8c3-4e13-ad39-4e559db2e6d2", "objectuuid": "754ac83e-c0bb-4391-bc56-14636708b9c4", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1398', 'rbac.grant', '9379a370-fe87-4be2-b0fa-fb0de3177124', 'INSERT', '{"uuid": "9379a370-fe87-4be2-b0fa-fb0de3177124", "assumed": true, "ascendantuuid": "ecf437ed-5f47-4ffb-8bfb-456e929e5bce", "descendantuuid": "9253682c-c8c3-4e13-ad39-4e559db2e6d2", "grantedbyroleuuid": null, "grantedbytriggerof": "754ac83e-c0bb-4391-bc56-14636708b9c4"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1398', 'rbac.grant', '39ed05b0-512f-4a8f-a8b3-c9d652c22960', 'INSERT', '{"uuid": "39ed05b0-512f-4a8f-a8b3-c9d652c22960", "assumed": true, "ascendantuuid": "b244fa4b-d0ab-4e7b-b959-b6f15fa74b23", "descendantuuid": "ecf437ed-5f47-4ffb-8bfb-456e929e5bce", "grantedbyroleuuid": null, "grantedbytriggerof": "754ac83e-c0bb-4391-bc56-14636708b9c4"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1398', 'hs_office.bankaccount', '754ac83e-c0bb-4391-bc56-14636708b9c4', 'INSERT', '{"bic": "CMCIDEDD", "iban": "DE02300209000106531065", "uuid": "754ac83e-c0bb-4391-bc56-14636708b9c4", "holder": "Third OHG", "version": 0}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1398', 'rbac.subject', '7f239c0c-707e-486d-b38b-e39d51a84f11', 'INSERT', '{"name": "bankaccount-admin@FourtheG.example.com", "uuid": "7f239c0c-707e-486d-b38b-e39d51a84f11"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1398', 'rbac.object', 'b0ad26e4-3b28-4450-8a51-72a63112baea', 'INSERT', '{"uuid": "b0ad26e4-3b28-4450-8a51-72a63112baea", "serialid": 86, "objecttable": "hs_office.bankaccount"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1398', 'rbac.role', 'a8c8215b-c170-49fe-9c7c-33ab0b46e1ef', 'INSERT', '{"uuid": "a8c8215b-c170-49fe-9c7c-33ab0b46e1ef", "roletype": "OWNER", "objectuuid": "b0ad26e4-3b28-4450-8a51-72a63112baea"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1398', 'rbac.permission', '5d7e738c-56d5-4d39-911e-9dd9372822bc', 'INSERT', '{"op": "DELETE", "uuid": "5d7e738c-56d5-4d39-911e-9dd9372822bc", "objectuuid": "b0ad26e4-3b28-4450-8a51-72a63112baea", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1398', 'rbac.grant', 'cd6c07f3-ef03-4617-b81c-07cc7622642e', 'INSERT', '{"uuid": "cd6c07f3-ef03-4617-b81c-07cc7622642e", "assumed": true, "ascendantuuid": "a8c8215b-c170-49fe-9c7c-33ab0b46e1ef", "descendantuuid": "5d7e738c-56d5-4d39-911e-9dd9372822bc", "grantedbyroleuuid": null, "grantedbytriggerof": "b0ad26e4-3b28-4450-8a51-72a63112baea"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1398', 'rbac.grant', 'ab5f03c6-31c5-4725-b032-f76e1013518f', 'INSERT', '{"uuid": "ab5f03c6-31c5-4725-b032-f76e1013518f", "assumed": true, "ascendantuuid": "afc6a14a-f8c7-4c17-9b91-b615833bc002", "descendantuuid": "a8c8215b-c170-49fe-9c7c-33ab0b46e1ef", "grantedbyroleuuid": null, "grantedbytriggerof": "b0ad26e4-3b28-4450-8a51-72a63112baea"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1398', 'rbac.grant', '7ed0733b-71b4-454e-bd73-21b551f1236d', 'INSERT', '{"uuid": "7ed0733b-71b4-454e-bd73-21b551f1236d", "assumed": true, "ascendantuuid": "7f239c0c-707e-486d-b38b-e39d51a84f11", "descendantuuid": "a8c8215b-c170-49fe-9c7c-33ab0b46e1ef", "grantedbyroleuuid": "a8c8215b-c170-49fe-9c7c-33ab0b46e1ef", "grantedbytriggerof": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1398', 'rbac.role', '9559f353-1187-4e4c-bec5-54216ce48cf8', 'INSERT', '{"uuid": "9559f353-1187-4e4c-bec5-54216ce48cf8", "roletype": "ADMIN", "objectuuid": "b0ad26e4-3b28-4450-8a51-72a63112baea"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1398', 'rbac.permission', 'fce58004-a8ee-49c5-9fef-72ef022d9696', 'INSERT', '{"op": "UPDATE", "uuid": "fce58004-a8ee-49c5-9fef-72ef022d9696", "objectuuid": "b0ad26e4-3b28-4450-8a51-72a63112baea", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1398', 'rbac.grant', 'b90eb493-79ce-44d7-b3bc-ff81647d69a7', 'INSERT', '{"uuid": "b90eb493-79ce-44d7-b3bc-ff81647d69a7", "assumed": true, "ascendantuuid": "9559f353-1187-4e4c-bec5-54216ce48cf8", "descendantuuid": "fce58004-a8ee-49c5-9fef-72ef022d9696", "grantedbyroleuuid": null, "grantedbytriggerof": "b0ad26e4-3b28-4450-8a51-72a63112baea"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1398', 'rbac.grant', '49ad491f-adc1-4abc-b7aa-7a9debf68ed0', 'INSERT', '{"uuid": "49ad491f-adc1-4abc-b7aa-7a9debf68ed0", "assumed": true, "ascendantuuid": "a8c8215b-c170-49fe-9c7c-33ab0b46e1ef", "descendantuuid": "9559f353-1187-4e4c-bec5-54216ce48cf8", "grantedbyroleuuid": null, "grantedbytriggerof": "b0ad26e4-3b28-4450-8a51-72a63112baea"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1398', 'rbac.role', 'c11f4188-22ab-408c-9b93-a10c1cdef357', 'INSERT', '{"uuid": "c11f4188-22ab-408c-9b93-a10c1cdef357", "roletype": "REFERRER", "objectuuid": "b0ad26e4-3b28-4450-8a51-72a63112baea"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1398', 'rbac.permission', 'c8204996-e351-4077-b607-8813595e9fb4', 'INSERT', '{"op": "SELECT", "uuid": "c8204996-e351-4077-b607-8813595e9fb4", "objectuuid": "b0ad26e4-3b28-4450-8a51-72a63112baea", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1398', 'rbac.grant', '019630a7-e2c9-46ee-9f6f-ecb324586b33', 'INSERT', '{"uuid": "019630a7-e2c9-46ee-9f6f-ecb324586b33", "assumed": true, "ascendantuuid": "c11f4188-22ab-408c-9b93-a10c1cdef357", "descendantuuid": "c8204996-e351-4077-b607-8813595e9fb4", "grantedbyroleuuid": null, "grantedbytriggerof": "b0ad26e4-3b28-4450-8a51-72a63112baea"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1398', 'rbac.grant', '723cc711-fd24-4b1a-a18f-0b34ff0e12a8', 'INSERT', '{"uuid": "723cc711-fd24-4b1a-a18f-0b34ff0e12a8", "assumed": true, "ascendantuuid": "9559f353-1187-4e4c-bec5-54216ce48cf8", "descendantuuid": "c11f4188-22ab-408c-9b93-a10c1cdef357", "grantedbyroleuuid": null, "grantedbytriggerof": "b0ad26e4-3b28-4450-8a51-72a63112baea"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1398', 'hs_office.bankaccount', 'b0ad26e4-3b28-4450-8a51-72a63112baea', 'INSERT', '{"bic": "HASPDEHH", "iban": "DE02200505501015871393", "uuid": "b0ad26e4-3b28-4450-8a51-72a63112baea", "holder": "Fourth eG", "version": 0}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1398', 'rbac.subject', 'b502c841-3b77-4a4f-b979-e3e0a708022c', 'INSERT', '{"name": "bankaccount-admin@MelBessler.example.com", "uuid": "b502c841-3b77-4a4f-b979-e3e0a708022c"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1398', 'rbac.object', '28813a5d-54c6-435e-b0a7-b78d858f874e', 'INSERT', '{"uuid": "28813a5d-54c6-435e-b0a7-b78d858f874e", "serialid": 87, "objecttable": "hs_office.bankaccount"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1398', 'rbac.role', '6d984b48-29de-4ac2-9c17-9d527510c936', 'INSERT', '{"uuid": "6d984b48-29de-4ac2-9c17-9d527510c936", "roletype": "OWNER", "objectuuid": "28813a5d-54c6-435e-b0a7-b78d858f874e"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1398', 'rbac.permission', '35e2783b-8489-40d2-bb9b-38bc50e72038', 'INSERT', '{"op": "DELETE", "uuid": "35e2783b-8489-40d2-bb9b-38bc50e72038", "objectuuid": "28813a5d-54c6-435e-b0a7-b78d858f874e", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1398', 'rbac.grant', '9d962519-e1bf-4f18-9682-5dce7e614607', 'INSERT', '{"uuid": "9d962519-e1bf-4f18-9682-5dce7e614607", "assumed": true, "ascendantuuid": "6d984b48-29de-4ac2-9c17-9d527510c936", "descendantuuid": "35e2783b-8489-40d2-bb9b-38bc50e72038", "grantedbyroleuuid": null, "grantedbytriggerof": "28813a5d-54c6-435e-b0a7-b78d858f874e"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1398', 'rbac.grant', '9186e29a-5913-451c-b312-b9f403f7c73b', 'INSERT', '{"uuid": "9186e29a-5913-451c-b312-b9f403f7c73b", "assumed": true, "ascendantuuid": "afc6a14a-f8c7-4c17-9b91-b615833bc002", "descendantuuid": "6d984b48-29de-4ac2-9c17-9d527510c936", "grantedbyroleuuid": null, "grantedbytriggerof": "28813a5d-54c6-435e-b0a7-b78d858f874e"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1398', 'rbac.grant', '599bc2ec-3b7e-47ee-a193-fdd6e8fef27e', 'INSERT', '{"uuid": "599bc2ec-3b7e-47ee-a193-fdd6e8fef27e", "assumed": true, "ascendantuuid": "b502c841-3b77-4a4f-b979-e3e0a708022c", "descendantuuid": "6d984b48-29de-4ac2-9c17-9d527510c936", "grantedbyroleuuid": "6d984b48-29de-4ac2-9c17-9d527510c936", "grantedbytriggerof": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1398', 'rbac.role', '2f98958a-f959-4f5e-9ca1-eced40ef5e68', 'INSERT', '{"uuid": "2f98958a-f959-4f5e-9ca1-eced40ef5e68", "roletype": "ADMIN", "objectuuid": "28813a5d-54c6-435e-b0a7-b78d858f874e"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1398', 'rbac.permission', '45ee7e96-1d79-483a-9349-5bfc1e79ded4', 'INSERT', '{"op": "UPDATE", "uuid": "45ee7e96-1d79-483a-9349-5bfc1e79ded4", "objectuuid": "28813a5d-54c6-435e-b0a7-b78d858f874e", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1398', 'rbac.grant', '3d7df1d1-5e98-4add-ab3b-31013d5a38ca', 'INSERT', '{"uuid": "3d7df1d1-5e98-4add-ab3b-31013d5a38ca", "assumed": true, "ascendantuuid": "2f98958a-f959-4f5e-9ca1-eced40ef5e68", "descendantuuid": "45ee7e96-1d79-483a-9349-5bfc1e79ded4", "grantedbyroleuuid": null, "grantedbytriggerof": "28813a5d-54c6-435e-b0a7-b78d858f874e"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1398', 'rbac.grant', '0a99bcc4-ef7a-4617-ad47-69c26ad2346b', 'INSERT', '{"uuid": "0a99bcc4-ef7a-4617-ad47-69c26ad2346b", "assumed": true, "ascendantuuid": "6d984b48-29de-4ac2-9c17-9d527510c936", "descendantuuid": "2f98958a-f959-4f5e-9ca1-eced40ef5e68", "grantedbyroleuuid": null, "grantedbytriggerof": "28813a5d-54c6-435e-b0a7-b78d858f874e"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1398', 'rbac.role', '91cf9d69-2998-4ee3-b666-17cbe2c5983e', 'INSERT', '{"uuid": "91cf9d69-2998-4ee3-b666-17cbe2c5983e", "roletype": "REFERRER", "objectuuid": "28813a5d-54c6-435e-b0a7-b78d858f874e"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1398', 'rbac.permission', '69cd0e18-d897-4959-b137-e79e9f82d913', 'INSERT', '{"op": "SELECT", "uuid": "69cd0e18-d897-4959-b137-e79e9f82d913", "objectuuid": "28813a5d-54c6-435e-b0a7-b78d858f874e", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1398', 'rbac.grant', 'bf7e5046-2e9a-4001-9590-67f0c410205f', 'INSERT', '{"uuid": "bf7e5046-2e9a-4001-9590-67f0c410205f", "assumed": true, "ascendantuuid": "91cf9d69-2998-4ee3-b666-17cbe2c5983e", "descendantuuid": "69cd0e18-d897-4959-b137-e79e9f82d913", "grantedbyroleuuid": null, "grantedbytriggerof": "28813a5d-54c6-435e-b0a7-b78d858f874e"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1398', 'rbac.grant', 'eb4d5f8c-2219-4fdf-ad0e-e2e5b5cba57d', 'INSERT', '{"uuid": "eb4d5f8c-2219-4fdf-ad0e-e2e5b5cba57d", "assumed": true, "ascendantuuid": "2f98958a-f959-4f5e-9ca1-eced40ef5e68", "descendantuuid": "91cf9d69-2998-4ee3-b666-17cbe2c5983e", "grantedbyroleuuid": null, "grantedbytriggerof": "28813a5d-54c6-435e-b0a7-b78d858f874e"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1398', 'hs_office.bankaccount', '28813a5d-54c6-435e-b0a7-b78d858f874e', 'INSERT', '{"bic": "PBNKDEFF", "iban": "DE02100100100006820101", "uuid": "28813a5d-54c6-435e-b0a7-b78d858f874e", "holder": "Mel Bessler", "version": 0}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1398', 'rbac.subject', '8891a19d-c2c7-4dd5-baff-60bad149012f', 'INSERT', '{"name": "bankaccount-admin@AnitaBessler.example.com", "uuid": "8891a19d-c2c7-4dd5-baff-60bad149012f"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1398', 'rbac.object', '8b6362a1-d6d5-437e-980e-f1fe4043de6a', 'INSERT', '{"uuid": "8b6362a1-d6d5-437e-980e-f1fe4043de6a", "serialid": 88, "objecttable": "hs_office.bankaccount"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1398', 'rbac.role', 'e6463959-eae0-4aa1-a09f-b143adc7280b', 'INSERT', '{"uuid": "e6463959-eae0-4aa1-a09f-b143adc7280b", "roletype": "OWNER", "objectuuid": "8b6362a1-d6d5-437e-980e-f1fe4043de6a"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1398', 'rbac.permission', 'adcde1cd-f82d-458f-8ee4-d7e94bc9fd73', 'INSERT', '{"op": "DELETE", "uuid": "adcde1cd-f82d-458f-8ee4-d7e94bc9fd73", "objectuuid": "8b6362a1-d6d5-437e-980e-f1fe4043de6a", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1398', 'rbac.grant', '381df64a-209e-477d-8a2b-542ef1e14920', 'INSERT', '{"uuid": "381df64a-209e-477d-8a2b-542ef1e14920", "assumed": true, "ascendantuuid": "e6463959-eae0-4aa1-a09f-b143adc7280b", "descendantuuid": "adcde1cd-f82d-458f-8ee4-d7e94bc9fd73", "grantedbyroleuuid": null, "grantedbytriggerof": "8b6362a1-d6d5-437e-980e-f1fe4043de6a"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1398', 'rbac.grant', '5e162221-5623-476e-9a99-51019edfb5ec', 'INSERT', '{"uuid": "5e162221-5623-476e-9a99-51019edfb5ec", "assumed": true, "ascendantuuid": "afc6a14a-f8c7-4c17-9b91-b615833bc002", "descendantuuid": "e6463959-eae0-4aa1-a09f-b143adc7280b", "grantedbyroleuuid": null, "grantedbytriggerof": "8b6362a1-d6d5-437e-980e-f1fe4043de6a"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1398', 'rbac.grant', '9b27d6fd-744f-4a4c-9248-13b0cc4ea507', 'INSERT', '{"uuid": "9b27d6fd-744f-4a4c-9248-13b0cc4ea507", "assumed": true, "ascendantuuid": "8891a19d-c2c7-4dd5-baff-60bad149012f", "descendantuuid": "e6463959-eae0-4aa1-a09f-b143adc7280b", "grantedbyroleuuid": "e6463959-eae0-4aa1-a09f-b143adc7280b", "grantedbytriggerof": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1398', 'rbac.role', 'd9570ae8-1703-4297-9b0b-e2119cb0de6a', 'INSERT', '{"uuid": "d9570ae8-1703-4297-9b0b-e2119cb0de6a", "roletype": "ADMIN", "objectuuid": "8b6362a1-d6d5-437e-980e-f1fe4043de6a"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1398', 'rbac.permission', '819cc93b-9c06-41ce-ac21-4cded12ce169', 'INSERT', '{"op": "UPDATE", "uuid": "819cc93b-9c06-41ce-ac21-4cded12ce169", "objectuuid": "8b6362a1-d6d5-437e-980e-f1fe4043de6a", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1398', 'rbac.grant', '42e57089-a10d-417c-bebc-edd9d77050cc', 'INSERT', '{"uuid": "42e57089-a10d-417c-bebc-edd9d77050cc", "assumed": true, "ascendantuuid": "d9570ae8-1703-4297-9b0b-e2119cb0de6a", "descendantuuid": "819cc93b-9c06-41ce-ac21-4cded12ce169", "grantedbyroleuuid": null, "grantedbytriggerof": "8b6362a1-d6d5-437e-980e-f1fe4043de6a"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1398', 'rbac.grant', '3b2c0457-9c99-44da-a394-aba611c1141b', 'INSERT', '{"uuid": "3b2c0457-9c99-44da-a394-aba611c1141b", "assumed": true, "ascendantuuid": "e6463959-eae0-4aa1-a09f-b143adc7280b", "descendantuuid": "d9570ae8-1703-4297-9b0b-e2119cb0de6a", "grantedbyroleuuid": null, "grantedbytriggerof": "8b6362a1-d6d5-437e-980e-f1fe4043de6a"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1398', 'rbac.role', '612cbbc2-83cc-4c76-aea0-3b041b610e25', 'INSERT', '{"uuid": "612cbbc2-83cc-4c76-aea0-3b041b610e25", "roletype": "REFERRER", "objectuuid": "8b6362a1-d6d5-437e-980e-f1fe4043de6a"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1398', 'rbac.permission', '4cde907f-26c9-4d3f-878f-4d101c4ea33b', 'INSERT', '{"op": "SELECT", "uuid": "4cde907f-26c9-4d3f-878f-4d101c4ea33b", "objectuuid": "8b6362a1-d6d5-437e-980e-f1fe4043de6a", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1398', 'rbac.grant', 'ce5ed046-76cd-44e0-a602-d6ce1b01dc4a', 'INSERT', '{"uuid": "ce5ed046-76cd-44e0-a602-d6ce1b01dc4a", "assumed": true, "ascendantuuid": "612cbbc2-83cc-4c76-aea0-3b041b610e25", "descendantuuid": "4cde907f-26c9-4d3f-878f-4d101c4ea33b", "grantedbyroleuuid": null, "grantedbytriggerof": "8b6362a1-d6d5-437e-980e-f1fe4043de6a"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1398', 'rbac.grant', '4f227c83-4d04-4844-abd3-32412b0e913f', 'INSERT', '{"uuid": "4f227c83-4d04-4844-abd3-32412b0e913f", "assumed": true, "ascendantuuid": "d9570ae8-1703-4297-9b0b-e2119cb0de6a", "descendantuuid": "612cbbc2-83cc-4c76-aea0-3b041b610e25", "grantedbyroleuuid": null, "grantedbytriggerof": "8b6362a1-d6d5-437e-980e-f1fe4043de6a"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1398', 'hs_office.bankaccount', '8b6362a1-d6d5-437e-980e-f1fe4043de6a', 'INSERT', '{"bic": "DAAEDEDD", "iban": "DE02300606010002474689", "uuid": "8b6362a1-d6d5-437e-980e-f1fe4043de6a", "holder": "Anita Bessler", "version": 0}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1398', 'rbac.subject', '0594c065-f593-4f3f-acb1-f372bd4346f3', 'INSERT', '{"name": "bankaccount-admin@PaulWinkler.example.com", "uuid": "0594c065-f593-4f3f-acb1-f372bd4346f3"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1398', 'rbac.object', '843b098d-12af-4980-b211-703a20192443', 'INSERT', '{"uuid": "843b098d-12af-4980-b211-703a20192443", "serialid": 89, "objecttable": "hs_office.bankaccount"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1398', 'rbac.role', '418ab944-42ba-4e3b-b7dc-c9ae17ec48b8', 'INSERT', '{"uuid": "418ab944-42ba-4e3b-b7dc-c9ae17ec48b8", "roletype": "OWNER", "objectuuid": "843b098d-12af-4980-b211-703a20192443"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1398', 'rbac.permission', '285d3725-e1bc-4581-b638-4df461746349', 'INSERT', '{"op": "DELETE", "uuid": "285d3725-e1bc-4581-b638-4df461746349", "objectuuid": "843b098d-12af-4980-b211-703a20192443", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1398', 'rbac.grant', 'a26fd15e-879b-4770-b200-0da1575310bb', 'INSERT', '{"uuid": "a26fd15e-879b-4770-b200-0da1575310bb", "assumed": true, "ascendantuuid": "418ab944-42ba-4e3b-b7dc-c9ae17ec48b8", "descendantuuid": "285d3725-e1bc-4581-b638-4df461746349", "grantedbyroleuuid": null, "grantedbytriggerof": "843b098d-12af-4980-b211-703a20192443"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1398', 'rbac.grant', 'ab4b34c9-3c59-4723-9252-4fe68c718c75', 'INSERT', '{"uuid": "ab4b34c9-3c59-4723-9252-4fe68c718c75", "assumed": true, "ascendantuuid": "afc6a14a-f8c7-4c17-9b91-b615833bc002", "descendantuuid": "418ab944-42ba-4e3b-b7dc-c9ae17ec48b8", "grantedbyroleuuid": null, "grantedbytriggerof": "843b098d-12af-4980-b211-703a20192443"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1398', 'rbac.grant', 'b5b37698-3aa0-4a28-8568-618aaa8f84f4', 'INSERT', '{"uuid": "b5b37698-3aa0-4a28-8568-618aaa8f84f4", "assumed": true, "ascendantuuid": "0594c065-f593-4f3f-acb1-f372bd4346f3", "descendantuuid": "418ab944-42ba-4e3b-b7dc-c9ae17ec48b8", "grantedbyroleuuid": "418ab944-42ba-4e3b-b7dc-c9ae17ec48b8", "grantedbytriggerof": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1398', 'rbac.role', 'b75a103b-9949-4d54-98e6-aca80190fa96', 'INSERT', '{"uuid": "b75a103b-9949-4d54-98e6-aca80190fa96", "roletype": "ADMIN", "objectuuid": "843b098d-12af-4980-b211-703a20192443"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1398', 'rbac.permission', 'dd28280d-ae72-42ea-985f-1f1de85993e2', 'INSERT', '{"op": "UPDATE", "uuid": "dd28280d-ae72-42ea-985f-1f1de85993e2", "objectuuid": "843b098d-12af-4980-b211-703a20192443", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1398', 'rbac.grant', 'dfe4c9b0-f79c-46c4-a14e-f6dd8760ce38', 'INSERT', '{"uuid": "dfe4c9b0-f79c-46c4-a14e-f6dd8760ce38", "assumed": true, "ascendantuuid": "b75a103b-9949-4d54-98e6-aca80190fa96", "descendantuuid": "dd28280d-ae72-42ea-985f-1f1de85993e2", "grantedbyroleuuid": null, "grantedbytriggerof": "843b098d-12af-4980-b211-703a20192443"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1398', 'rbac.grant', '8aa876ba-bc5f-44ef-b942-2d25af24737e', 'INSERT', '{"uuid": "8aa876ba-bc5f-44ef-b942-2d25af24737e", "assumed": true, "ascendantuuid": "418ab944-42ba-4e3b-b7dc-c9ae17ec48b8", "descendantuuid": "b75a103b-9949-4d54-98e6-aca80190fa96", "grantedbyroleuuid": null, "grantedbytriggerof": "843b098d-12af-4980-b211-703a20192443"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1398', 'rbac.role', '88bb00dd-0344-41b0-abaa-619f4779dc01', 'INSERT', '{"uuid": "88bb00dd-0344-41b0-abaa-619f4779dc01", "roletype": "REFERRER", "objectuuid": "843b098d-12af-4980-b211-703a20192443"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1398', 'rbac.permission', '85aba709-c42b-4cab-b8f7-f63d654e0170', 'INSERT', '{"op": "SELECT", "uuid": "85aba709-c42b-4cab-b8f7-f63d654e0170", "objectuuid": "843b098d-12af-4980-b211-703a20192443", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1398', 'rbac.grant', '65bc68d7-86f0-4e9b-88bd-b8592b59c4ee', 'INSERT', '{"uuid": "65bc68d7-86f0-4e9b-88bd-b8592b59c4ee", "assumed": true, "ascendantuuid": "88bb00dd-0344-41b0-abaa-619f4779dc01", "descendantuuid": "85aba709-c42b-4cab-b8f7-f63d654e0170", "grantedbyroleuuid": null, "grantedbytriggerof": "843b098d-12af-4980-b211-703a20192443"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1398', 'rbac.grant', 'e0e65d5a-7958-412a-9185-3778b732bde3', 'INSERT', '{"uuid": "e0e65d5a-7958-412a-9185-3778b732bde3", "assumed": true, "ascendantuuid": "b75a103b-9949-4d54-98e6-aca80190fa96", "descendantuuid": "88bb00dd-0344-41b0-abaa-619f4779dc01", "grantedbyroleuuid": null, "grantedbytriggerof": "843b098d-12af-4980-b211-703a20192443"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1398', 'hs_office.bankaccount', '843b098d-12af-4980-b211-703a20192443', 'INSERT', '{"bic": "SOLADEST600", "iban": "DE02600501010002034304", "uuid": "843b098d-12af-4980-b211-703a20192443", "holder": "Paul Winkler", "version": 0}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1438', 'rbac.permission', '8332f9ee-f387-4389-b9a0-8e95b7c4aa0e', 'INSERT', '{"op": "INSERT", "uuid": "8332f9ee-f387-4389-b9a0-8e95b7c4aa0e", "objectuuid": "fb819667-b171-4b6e-ae3e-31c6a40d4be8", "optablename": "hs_office.debitor"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1438', 'rbac.grant', '4a0b6a12-8198-4361-9b4f-e900cf8cec20', 'INSERT', '{"uuid": "4a0b6a12-8198-4361-9b4f-e900cf8cec20", "assumed": true, "ascendantuuid": "afc6a14a-f8c7-4c17-9b91-b615833bc002", "descendantuuid": "8332f9ee-f387-4389-b9a0-8e95b7c4aa0e", "grantedbyroleuuid": null, "grantedbytriggerof": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1451', 'rbac.object', '5b3529ca-f6da-495c-ad52-b0e4894a82b2', 'INSERT', '{"uuid": "5b3529ca-f6da-495c-ad52-b0e4894a82b2", "serialid": 90, "objecttable": "hs_office.debitor"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1451', 'rbac.grant', '9b950a63-701d-40f3-b1b8-3451c863bee9', 'INSERT', '{"uuid": "9b950a63-701d-40f3-b1b8-3451c863bee9", "assumed": true, "ascendantuuid": "db2ecdbd-608e-4af8-898a-4c789ec60993", "descendantuuid": "5765745b-dbca-4a60-b699-a2c1705aacf1", "grantedbyroleuuid": null, "grantedbytriggerof": "5b3529ca-f6da-495c-ad52-b0e4894a82b2"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1451', 'rbac.grant', '6e3d1beb-6783-424f-a2e2-51227f0616fd', 'INSERT', '{"uuid": "6e3d1beb-6783-424f-a2e2-51227f0616fd", "assumed": true, "ascendantuuid": "943de460-96b3-40e9-a59f-5be6fb8dca03", "descendantuuid": "83a1630d-c711-4dd0-a467-5ed87feee835", "grantedbyroleuuid": null, "grantedbytriggerof": "5b3529ca-f6da-495c-ad52-b0e4894a82b2"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1451', 'rbac.grant', '6fbe3765-74cb-44e6-b4a5-fadabaec147f', 'INSERT', '{"uuid": "6fbe3765-74cb-44e6-b4a5-fadabaec147f", "assumed": true, "ascendantuuid": "3fea832b-423c-46a7-8b58-20132f86a1f2", "descendantuuid": "db2ecdbd-608e-4af8-898a-4c789ec60993", "grantedbyroleuuid": null, "grantedbytriggerof": "5b3529ca-f6da-495c-ad52-b0e4894a82b2"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1451', 'rbac.grant', '382c785a-0697-4e92-879a-2f1ba894937f', 'INSERT', '{"uuid": "382c785a-0697-4e92-879a-2f1ba894937f", "assumed": true, "ascendantuuid": "399b4c7e-93e2-4886-9fda-61b988a5ae29", "descendantuuid": "db2ecdbd-608e-4af8-898a-4c789ec60993", "grantedbyroleuuid": null, "grantedbytriggerof": "5b3529ca-f6da-495c-ad52-b0e4894a82b2"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1451', 'rbac.grant', '9c9e798e-e66e-4522-84d7-8b1e0c8534ee', 'INSERT', '{"uuid": "9c9e798e-e66e-4522-84d7-8b1e0c8534ee", "assumed": true, "ascendantuuid": "db2ecdbd-608e-4af8-898a-4c789ec60993", "descendantuuid": "ddab9e9f-db0b-4a8c-a7be-117fc2c963ec", "grantedbyroleuuid": null, "grantedbytriggerof": "5b3529ca-f6da-495c-ad52-b0e4894a82b2"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1451', 'rbac.permission', '09450839-b8b4-40cd-bc96-163b03233ce5', 'INSERT', '{"op": "DELETE", "uuid": "09450839-b8b4-40cd-bc96-163b03233ce5", "objectuuid": "5b3529ca-f6da-495c-ad52-b0e4894a82b2", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1451', 'rbac.grant', '1bfd26ae-c000-4057-9c4c-dfd23b3bf7bd', 'INSERT', '{"uuid": "1bfd26ae-c000-4057-9c4c-dfd23b3bf7bd", "assumed": true, "ascendantuuid": "5fa8de94-9c00-455d-9655-d0409224971e", "descendantuuid": "09450839-b8b4-40cd-bc96-163b03233ce5", "grantedbyroleuuid": null, "grantedbytriggerof": "5b3529ca-f6da-495c-ad52-b0e4894a82b2"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1451', 'rbac.permission', 'e15b64af-92ce-4bef-aca5-20092a79c04f', 'INSERT', '{"op": "SELECT", "uuid": "e15b64af-92ce-4bef-aca5-20092a79c04f", "objectuuid": "5b3529ca-f6da-495c-ad52-b0e4894a82b2", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1451', 'rbac.grant', '71864b76-8926-484d-8565-e7d6a4b4f5f8', 'INSERT', '{"uuid": "71864b76-8926-484d-8565-e7d6a4b4f5f8", "assumed": true, "ascendantuuid": "95af5ad8-b74d-4cdc-9931-583c5e3d68f8", "descendantuuid": "e15b64af-92ce-4bef-aca5-20092a79c04f", "grantedbyroleuuid": null, "grantedbytriggerof": "5b3529ca-f6da-495c-ad52-b0e4894a82b2"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1451', 'rbac.permission', '77683856-587b-480a-9067-27bfaa3f80d1', 'INSERT', '{"op": "UPDATE", "uuid": "77683856-587b-480a-9067-27bfaa3f80d1", "objectuuid": "5b3529ca-f6da-495c-ad52-b0e4894a82b2", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1451', 'rbac.grant', '446e65e3-59f0-4fa5-b1c6-7051894fa653', 'INSERT', '{"uuid": "446e65e3-59f0-4fa5-b1c6-7051894fa653", "assumed": true, "ascendantuuid": "83a1630d-c711-4dd0-a467-5ed87feee835", "descendantuuid": "77683856-587b-480a-9067-27bfaa3f80d1", "grantedbyroleuuid": null, "grantedbytriggerof": "5b3529ca-f6da-495c-ad52-b0e4894a82b2"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1451', 'hs_office.debitor', '5b3529ca-f6da-495c-ad52-b0e4894a82b2', 'INSERT', '{"uuid": "5b3529ca-f6da-495c-ad52-b0e4894a82b2", "vatid": null, "version": 0, "billable": true, "vatbusiness": true, "defaultprefix": "fir", "debitorreluuid": "7db0877f-0116-430f-9db3-c35a2b693d00", "vatcountrycode": null, "vatreversecharge": false, "debitornumbersuffix": "11", "refundbankaccountuuid": "50b5215d-4fdc-48be-a196-22fbe9325efb"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1451', 'rbac.object', '5d5fa77a-455f-4603-8940-00af676b66aa', 'INSERT', '{"uuid": "5d5fa77a-455f-4603-8940-00af676b66aa", "serialid": 91, "objecttable": "hs_office.debitor"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1451', 'rbac.grant', 'a1803df8-8301-44fa-bbed-899e5818bc11', 'INSERT', '{"uuid": "a1803df8-8301-44fa-bbed-899e5818bc11", "assumed": true, "ascendantuuid": "0fe24c9a-08a0-43f8-939e-e867af52bece", "descendantuuid": "fa5cdc5a-394a-44d3-a892-4e6485647527", "grantedbyroleuuid": null, "grantedbytriggerof": "5d5fa77a-455f-4603-8940-00af676b66aa"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1451', 'rbac.grant', 'e38b20a7-3b99-493b-ba23-829a748d1adc', 'INSERT', '{"uuid": "e38b20a7-3b99-493b-ba23-829a748d1adc", "assumed": true, "ascendantuuid": "45e9ba6d-f4d9-4d24-bed3-09207ae0db40", "descendantuuid": "4a5bed60-bc5c-4131-9f5e-4d8fe0c1612e", "grantedbyroleuuid": null, "grantedbytriggerof": "5d5fa77a-455f-4603-8940-00af676b66aa"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1451', 'rbac.grant', '3afde772-08d5-415d-a417-7914b49e127a', 'INSERT', '{"uuid": "3afde772-08d5-415d-a417-7914b49e127a", "assumed": true, "ascendantuuid": "9b3278e9-9156-4fd3-aa57-b7ac12cc7b3c", "descendantuuid": "0fe24c9a-08a0-43f8-939e-e867af52bece", "grantedbyroleuuid": null, "grantedbytriggerof": "5d5fa77a-455f-4603-8940-00af676b66aa"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1451', 'rbac.grant', '6220ec9d-81ca-4a95-b069-3d2341e22032', 'INSERT', '{"uuid": "6220ec9d-81ca-4a95-b069-3d2341e22032", "assumed": true, "ascendantuuid": "7da9eb31-516f-488d-831f-0c25585aedc7", "descendantuuid": "0fe24c9a-08a0-43f8-939e-e867af52bece", "grantedbyroleuuid": null, "grantedbytriggerof": "5d5fa77a-455f-4603-8940-00af676b66aa"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1500', 'rbac.role', '5e1fde1e-8aa9-48b4-8069-9fb368391887', 'INSERT', '{"uuid": "5e1fde1e-8aa9-48b4-8069-9fb368391887", "roletype": "OWNER", "objectuuid": "2b5b7481-0bd4-43a7-bb97-1d96b1cbca68"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1451', 'rbac.grant', '92a9b146-22bb-4d12-bc73-56d8a594a6ac', 'INSERT', '{"uuid": "92a9b146-22bb-4d12-bc73-56d8a594a6ac", "assumed": true, "ascendantuuid": "0fe24c9a-08a0-43f8-939e-e867af52bece", "descendantuuid": "b5ab545c-b649-4c68-ac44-69349ebe8036", "grantedbyroleuuid": null, "grantedbytriggerof": "5d5fa77a-455f-4603-8940-00af676b66aa"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1451', 'rbac.permission', '443e3968-dbf6-46f1-aa7b-4303f87d6284', 'INSERT', '{"op": "DELETE", "uuid": "443e3968-dbf6-46f1-aa7b-4303f87d6284", "objectuuid": "5d5fa77a-455f-4603-8940-00af676b66aa", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1451', 'rbac.grant', '197b2e8c-2ad0-40a0-8737-19401969c5d1', 'INSERT', '{"uuid": "197b2e8c-2ad0-40a0-8737-19401969c5d1", "assumed": true, "ascendantuuid": "8bba1df2-a018-4f08-ac0c-bb9d1fcac6d3", "descendantuuid": "443e3968-dbf6-46f1-aa7b-4303f87d6284", "grantedbyroleuuid": null, "grantedbytriggerof": "5d5fa77a-455f-4603-8940-00af676b66aa"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1451', 'rbac.permission', 'b8e49a03-d0e5-4ab8-9c06-4635af28ac91', 'INSERT', '{"op": "SELECT", "uuid": "b8e49a03-d0e5-4ab8-9c06-4635af28ac91", "objectuuid": "5d5fa77a-455f-4603-8940-00af676b66aa", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1451', 'rbac.grant', 'd05617fd-392a-4e47-a0ea-6ba4ddf83a49', 'INSERT', '{"uuid": "d05617fd-392a-4e47-a0ea-6ba4ddf83a49", "assumed": true, "ascendantuuid": "5062fecc-90b8-4ef4-b336-fcbe9a73a6e0", "descendantuuid": "b8e49a03-d0e5-4ab8-9c06-4635af28ac91", "grantedbyroleuuid": null, "grantedbytriggerof": "5d5fa77a-455f-4603-8940-00af676b66aa"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1451', 'rbac.permission', '79b0400c-197f-4215-af56-c5a335adece4', 'INSERT', '{"op": "UPDATE", "uuid": "79b0400c-197f-4215-af56-c5a335adece4", "objectuuid": "5d5fa77a-455f-4603-8940-00af676b66aa", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1451', 'rbac.grant', '036d02db-fbe7-43db-90d7-c8b687d4a517', 'INSERT', '{"uuid": "036d02db-fbe7-43db-90d7-c8b687d4a517", "assumed": true, "ascendantuuid": "4a5bed60-bc5c-4131-9f5e-4d8fe0c1612e", "descendantuuid": "79b0400c-197f-4215-af56-c5a335adece4", "grantedbyroleuuid": null, "grantedbytriggerof": "5d5fa77a-455f-4603-8940-00af676b66aa"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1451', 'hs_office.debitor', '5d5fa77a-455f-4603-8940-00af676b66aa', 'INSERT', '{"uuid": "5d5fa77a-455f-4603-8940-00af676b66aa", "vatid": null, "version": 0, "billable": true, "vatbusiness": true, "defaultprefix": "sec", "debitorreluuid": "bcee4fcb-c7a5-4191-8d4e-6b1d9dfe23c3", "vatcountrycode": null, "vatreversecharge": false, "debitornumbersuffix": "12", "refundbankaccountuuid": "33c27d3b-b8ea-4096-8d71-ee351ebed0a9"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1451', 'rbac.object', 'd8cab65b-91be-4f1a-846b-887c95be1d38', 'INSERT', '{"uuid": "d8cab65b-91be-4f1a-846b-887c95be1d38", "serialid": 92, "objecttable": "hs_office.debitor"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1451', 'rbac.grant', '3544ebd0-e198-486f-b884-672f20e439ad', 'INSERT', '{"uuid": "3544ebd0-e198-486f-b884-672f20e439ad", "assumed": true, "ascendantuuid": "e90b5799-82c7-4ee4-8e35-7f57cb523f94", "descendantuuid": "ecf437ed-5f47-4ffb-8bfb-456e929e5bce", "grantedbyroleuuid": null, "grantedbytriggerof": "d8cab65b-91be-4f1a-846b-887c95be1d38"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1451', 'rbac.grant', '27dfa274-2a68-42c5-a3ba-87f97e477f0a', 'INSERT', '{"uuid": "27dfa274-2a68-42c5-a3ba-87f97e477f0a", "assumed": true, "ascendantuuid": "260d863e-eb9f-441d-96d6-5a767f2e8973", "descendantuuid": "02616b32-c6fa-408b-97fc-d8fb1e8a641b", "grantedbyroleuuid": null, "grantedbytriggerof": "d8cab65b-91be-4f1a-846b-887c95be1d38"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1451', 'rbac.grant', '0a10a481-a0b8-49d9-9df1-a176e411bbd4', 'INSERT', '{"uuid": "0a10a481-a0b8-49d9-9df1-a176e411bbd4", "assumed": true, "ascendantuuid": "b244fa4b-d0ab-4e7b-b959-b6f15fa74b23", "descendantuuid": "e90b5799-82c7-4ee4-8e35-7f57cb523f94", "grantedbyroleuuid": null, "grantedbytriggerof": "d8cab65b-91be-4f1a-846b-887c95be1d38"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1451', 'rbac.grant', 'dea08304-ec4e-4305-abb1-3c9e63d3d877', 'INSERT', '{"uuid": "dea08304-ec4e-4305-abb1-3c9e63d3d877", "assumed": true, "ascendantuuid": "60ee51bd-f34c-4a9b-b692-c2476ab44de5", "descendantuuid": "e90b5799-82c7-4ee4-8e35-7f57cb523f94", "grantedbyroleuuid": null, "grantedbytriggerof": "d8cab65b-91be-4f1a-846b-887c95be1d38"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1451', 'rbac.grant', 'ef5213f3-ecac-41ea-b6bf-4b80afdde619', 'INSERT', '{"uuid": "ef5213f3-ecac-41ea-b6bf-4b80afdde619", "assumed": true, "ascendantuuid": "e90b5799-82c7-4ee4-8e35-7f57cb523f94", "descendantuuid": "898325ca-b5e0-4c70-b301-3b9a141931c8", "grantedbyroleuuid": null, "grantedbytriggerof": "d8cab65b-91be-4f1a-846b-887c95be1d38"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1451', 'rbac.permission', '5c63b912-4157-4569-8f49-d3a814cf6829', 'INSERT', '{"op": "DELETE", "uuid": "5c63b912-4157-4569-8f49-d3a814cf6829", "objectuuid": "d8cab65b-91be-4f1a-846b-887c95be1d38", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1451', 'rbac.grant', 'b452915e-6ea7-41e1-9215-2b50187ed8bb', 'INSERT', '{"uuid": "b452915e-6ea7-41e1-9215-2b50187ed8bb", "assumed": true, "ascendantuuid": "2fe324b3-8ddf-4c56-98e1-511152108b2d", "descendantuuid": "5c63b912-4157-4569-8f49-d3a814cf6829", "grantedbyroleuuid": null, "grantedbytriggerof": "d8cab65b-91be-4f1a-846b-887c95be1d38"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1451', 'rbac.permission', '0279db2c-3f3e-4e94-8be6-60ac909da107', 'INSERT', '{"op": "SELECT", "uuid": "0279db2c-3f3e-4e94-8be6-60ac909da107", "objectuuid": "d8cab65b-91be-4f1a-846b-887c95be1d38", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1451', 'rbac.grant', 'ecfddd6d-b11a-4784-97bb-4f4f948b0c51', 'INSERT', '{"uuid": "ecfddd6d-b11a-4784-97bb-4f4f948b0c51", "assumed": true, "ascendantuuid": "998ff776-dd14-4180-9e73-a2ff618e08e6", "descendantuuid": "0279db2c-3f3e-4e94-8be6-60ac909da107", "grantedbyroleuuid": null, "grantedbytriggerof": "d8cab65b-91be-4f1a-846b-887c95be1d38"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1451', 'rbac.permission', '9b6c1276-e869-4fa8-842e-e7963c9aaea3', 'INSERT', '{"op": "UPDATE", "uuid": "9b6c1276-e869-4fa8-842e-e7963c9aaea3", "objectuuid": "d8cab65b-91be-4f1a-846b-887c95be1d38", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1451', 'rbac.grant', '62b7cf79-21b8-4bea-94c5-ecb36081e641', 'INSERT', '{"uuid": "62b7cf79-21b8-4bea-94c5-ecb36081e641", "assumed": true, "ascendantuuid": "02616b32-c6fa-408b-97fc-d8fb1e8a641b", "descendantuuid": "9b6c1276-e869-4fa8-842e-e7963c9aaea3", "grantedbyroleuuid": null, "grantedbytriggerof": "d8cab65b-91be-4f1a-846b-887c95be1d38"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1451', 'hs_office.debitor', 'd8cab65b-91be-4f1a-846b-887c95be1d38', 'INSERT', '{"uuid": "d8cab65b-91be-4f1a-846b-887c95be1d38", "vatid": null, "version": 0, "billable": true, "vatbusiness": true, "defaultprefix": "thi", "debitorreluuid": "0eba2cf6-e74b-4f41-bac5-9c0292f8e9e1", "vatcountrycode": null, "vatreversecharge": false, "debitornumbersuffix": "13", "refundbankaccountuuid": "754ac83e-c0bb-4391-bc56-14636708b9c4"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1472', 'rbac.permission', '8a87e2cb-1b22-4130-9ea9-000303fab945', 'INSERT', '{"op": "INSERT", "uuid": "8a87e2cb-1b22-4130-9ea9-000303fab945", "objectuuid": "7db0877f-0116-430f-9db3-c35a2b693d00", "optablename": "hs_office.sepamandate"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1472', 'rbac.grant', 'c7b578d3-6ceb-4ef0-9272-da818d218819', 'INSERT', '{"uuid": "c7b578d3-6ceb-4ef0-9272-da818d218819", "assumed": true, "ascendantuuid": "83a1630d-c711-4dd0-a467-5ed87feee835", "descendantuuid": "8a87e2cb-1b22-4130-9ea9-000303fab945", "grantedbyroleuuid": null, "grantedbytriggerof": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1472', 'rbac.permission', '09325b23-e854-4e4d-bf5a-89d54156c06b', 'INSERT', '{"op": "INSERT", "uuid": "09325b23-e854-4e4d-bf5a-89d54156c06b", "objectuuid": "bcee4fcb-c7a5-4191-8d4e-6b1d9dfe23c3", "optablename": "hs_office.sepamandate"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1472', 'rbac.grant', '683066c2-66df-41e8-801d-39eb9d253bd2', 'INSERT', '{"uuid": "683066c2-66df-41e8-801d-39eb9d253bd2", "assumed": true, "ascendantuuid": "4a5bed60-bc5c-4131-9f5e-4d8fe0c1612e", "descendantuuid": "09325b23-e854-4e4d-bf5a-89d54156c06b", "grantedbyroleuuid": null, "grantedbytriggerof": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1472', 'rbac.permission', '8c5a9229-036e-4014-b760-0dd84e71fc46', 'INSERT', '{"op": "INSERT", "uuid": "8c5a9229-036e-4014-b760-0dd84e71fc46", "objectuuid": "0eba2cf6-e74b-4f41-bac5-9c0292f8e9e1", "optablename": "hs_office.sepamandate"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1500', 'rbac.permission', 'df488bd9-41d5-42c4-a440-6c3010d4d436', 'INSERT', '{"op": "DELETE", "uuid": "df488bd9-41d5-42c4-a440-6c3010d4d436", "objectuuid": "2b5b7481-0bd4-43a7-bb97-1d96b1cbca68", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1472', 'rbac.grant', '19a5cad2-4d4b-47ac-8431-5a74eb75462a', 'INSERT', '{"uuid": "19a5cad2-4d4b-47ac-8431-5a74eb75462a", "assumed": true, "ascendantuuid": "02616b32-c6fa-408b-97fc-d8fb1e8a641b", "descendantuuid": "8c5a9229-036e-4014-b760-0dd84e71fc46", "grantedbyroleuuid": null, "grantedbytriggerof": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1472', 'rbac.permission', '3f44701d-2cd5-4a78-8f6b-472e73af5068', 'INSERT', '{"op": "INSERT", "uuid": "3f44701d-2cd5-4a78-8f6b-472e73af5068", "objectuuid": "667be660-c8ac-48a5-91cf-655ae049bf55", "optablename": "hs_office.sepamandate"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1472', 'rbac.grant', 'cf49b444-165c-4cc4-bc35-02298c0a1bf2', 'INSERT', '{"uuid": "cf49b444-165c-4cc4-bc35-02298c0a1bf2", "assumed": true, "ascendantuuid": "d6b55eaa-193f-4fb9-9d4e-f0fa0f6db56d", "descendantuuid": "3f44701d-2cd5-4a78-8f6b-472e73af5068", "grantedbyroleuuid": null, "grantedbytriggerof": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1472', 'rbac.permission', 'f6fe66ca-c5a9-4b21-ad37-a2716d4fee4c', 'INSERT', '{"op": "INSERT", "uuid": "f6fe66ca-c5a9-4b21-ad37-a2716d4fee4c", "objectuuid": "23c86f22-86df-46a1-bafb-816730494fe1", "optablename": "hs_office.sepamandate"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1472', 'rbac.grant', '00045e7f-1de6-44c4-bd71-4b59120cc1f3', 'INSERT', '{"uuid": "00045e7f-1de6-44c4-bd71-4b59120cc1f3", "assumed": true, "ascendantuuid": "79f17fd8-6bdc-4308-ad8a-525b66aa1202", "descendantuuid": "f6fe66ca-c5a9-4b21-ad37-a2716d4fee4c", "grantedbyroleuuid": null, "grantedbytriggerof": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1500', 'rbac.object', 'f1ce41de-5c44-4b5a-8c75-d32c9652df8c', 'INSERT', '{"uuid": "f1ce41de-5c44-4b5a-8c75-d32c9652df8c", "serialid": 93, "objecttable": "hs_office.sepamandate"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1500', 'rbac.role', 'e798f2a7-8f02-4657-81b3-a35445938928', 'INSERT', '{"uuid": "e798f2a7-8f02-4657-81b3-a35445938928", "roletype": "OWNER", "objectuuid": "f1ce41de-5c44-4b5a-8c75-d32c9652df8c"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1500', 'rbac.permission', '6fa7d3d9-a24f-4f38-b8ce-34262c867600', 'INSERT', '{"op": "DELETE", "uuid": "6fa7d3d9-a24f-4f38-b8ce-34262c867600", "objectuuid": "f1ce41de-5c44-4b5a-8c75-d32c9652df8c", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1500', 'rbac.grant', '58aaf740-db84-4bfc-8143-2b02b625194d', 'INSERT', '{"uuid": "58aaf740-db84-4bfc-8143-2b02b625194d", "assumed": true, "ascendantuuid": "e798f2a7-8f02-4657-81b3-a35445938928", "descendantuuid": "6fa7d3d9-a24f-4f38-b8ce-34262c867600", "grantedbyroleuuid": null, "grantedbytriggerof": "f1ce41de-5c44-4b5a-8c75-d32c9652df8c"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1500', 'rbac.grant', 'd16fee07-257e-4315-97ff-633404c5e018', 'INSERT', '{"uuid": "d16fee07-257e-4315-97ff-633404c5e018", "assumed": true, "ascendantuuid": "afc6a14a-f8c7-4c17-9b91-b615833bc002", "descendantuuid": "e798f2a7-8f02-4657-81b3-a35445938928", "grantedbyroleuuid": null, "grantedbytriggerof": "f1ce41de-5c44-4b5a-8c75-d32c9652df8c"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1500', 'rbac.grant', '079ea651-5b4a-4389-9a7b-b65487874b5d', 'INSERT', '{"uuid": "079ea651-5b4a-4389-9a7b-b65487874b5d", "assumed": true, "ascendantuuid": "bdcc7fef-52e9-4b4c-a0ad-1950d6a1aec4", "descendantuuid": "e798f2a7-8f02-4657-81b3-a35445938928", "grantedbyroleuuid": "e798f2a7-8f02-4657-81b3-a35445938928", "grantedbytriggerof": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1500', 'rbac.role', '655eb9fb-d2d6-4f72-b2c3-5a692e3204b9', 'INSERT', '{"uuid": "655eb9fb-d2d6-4f72-b2c3-5a692e3204b9", "roletype": "ADMIN", "objectuuid": "f1ce41de-5c44-4b5a-8c75-d32c9652df8c"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1500', 'rbac.permission', 'cf85031e-f790-44f0-8d22-679726d0cdab', 'INSERT', '{"op": "UPDATE", "uuid": "cf85031e-f790-44f0-8d22-679726d0cdab", "objectuuid": "f1ce41de-5c44-4b5a-8c75-d32c9652df8c", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1500', 'rbac.grant', '37d4787c-857b-4a57-a719-1bbb36c8535f', 'INSERT', '{"uuid": "37d4787c-857b-4a57-a719-1bbb36c8535f", "assumed": true, "ascendantuuid": "655eb9fb-d2d6-4f72-b2c3-5a692e3204b9", "descendantuuid": "cf85031e-f790-44f0-8d22-679726d0cdab", "grantedbyroleuuid": null, "grantedbytriggerof": "f1ce41de-5c44-4b5a-8c75-d32c9652df8c"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1500', 'rbac.grant', 'd9a5c43f-9f0d-41d7-8601-e498ceafd9bf', 'INSERT', '{"uuid": "d9a5c43f-9f0d-41d7-8601-e498ceafd9bf", "assumed": true, "ascendantuuid": "e798f2a7-8f02-4657-81b3-a35445938928", "descendantuuid": "655eb9fb-d2d6-4f72-b2c3-5a692e3204b9", "grantedbyroleuuid": null, "grantedbytriggerof": "f1ce41de-5c44-4b5a-8c75-d32c9652df8c"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1500', 'rbac.role', 'cbdd535b-122a-464a-8c5b-458897f9ac50', 'INSERT', '{"uuid": "cbdd535b-122a-464a-8c5b-458897f9ac50", "roletype": "AGENT", "objectuuid": "f1ce41de-5c44-4b5a-8c75-d32c9652df8c"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1500', 'rbac.grant', '704aecd9-ae42-40e0-8352-ade3b1650c0d', 'INSERT', '{"uuid": "704aecd9-ae42-40e0-8352-ade3b1650c0d", "assumed": true, "ascendantuuid": "655eb9fb-d2d6-4f72-b2c3-5a692e3204b9", "descendantuuid": "cbdd535b-122a-464a-8c5b-458897f9ac50", "grantedbyroleuuid": null, "grantedbytriggerof": "f1ce41de-5c44-4b5a-8c75-d32c9652df8c"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1500', 'rbac.grant', '76267b2f-6767-49af-afd5-53750be8fc28', 'INSERT', '{"uuid": "76267b2f-6767-49af-afd5-53750be8fc28", "assumed": true, "ascendantuuid": "cbdd535b-122a-464a-8c5b-458897f9ac50", "descendantuuid": "5765745b-dbca-4a60-b699-a2c1705aacf1", "grantedbyroleuuid": null, "grantedbytriggerof": "f1ce41de-5c44-4b5a-8c75-d32c9652df8c"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1500', 'rbac.grant', '596ffdf4-07b0-479e-85b0-3fede95ff35a', 'INSERT', '{"uuid": "596ffdf4-07b0-479e-85b0-3fede95ff35a", "assumed": true, "ascendantuuid": "cbdd535b-122a-464a-8c5b-458897f9ac50", "descendantuuid": "db2ecdbd-608e-4af8-898a-4c789ec60993", "grantedbyroleuuid": null, "grantedbytriggerof": "f1ce41de-5c44-4b5a-8c75-d32c9652df8c"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1500', 'rbac.role', 'ddd70217-d1b5-4c41-b1d2-5b970190bbc7', 'INSERT', '{"uuid": "ddd70217-d1b5-4c41-b1d2-5b970190bbc7", "roletype": "REFERRER", "objectuuid": "f1ce41de-5c44-4b5a-8c75-d32c9652df8c"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1500', 'rbac.permission', 'f4c7459e-3e76-4b4c-9294-cb3c35d86f2c', 'INSERT', '{"op": "SELECT", "uuid": "f4c7459e-3e76-4b4c-9294-cb3c35d86f2c", "objectuuid": "f1ce41de-5c44-4b5a-8c75-d32c9652df8c", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1500', 'rbac.grant', '6dac8b63-3fb2-4778-b749-e00515088a69', 'INSERT', '{"uuid": "6dac8b63-3fb2-4778-b749-e00515088a69", "assumed": true, "ascendantuuid": "ddd70217-d1b5-4c41-b1d2-5b970190bbc7", "descendantuuid": "f4c7459e-3e76-4b4c-9294-cb3c35d86f2c", "grantedbyroleuuid": null, "grantedbytriggerof": "f1ce41de-5c44-4b5a-8c75-d32c9652df8c"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1500', 'rbac.grant', 'aaf3c6b4-9ad1-4beb-b093-89c504d27c79', 'INSERT', '{"uuid": "aaf3c6b4-9ad1-4beb-b093-89c504d27c79", "assumed": true, "ascendantuuid": "3fea832b-423c-46a7-8b58-20132f86a1f2", "descendantuuid": "ddd70217-d1b5-4c41-b1d2-5b970190bbc7", "grantedbyroleuuid": null, "grantedbytriggerof": "f1ce41de-5c44-4b5a-8c75-d32c9652df8c"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1500', 'rbac.grant', '167728d5-4f86-4298-9fff-20dcdf8660f9', 'INSERT', '{"uuid": "167728d5-4f86-4298-9fff-20dcdf8660f9", "assumed": true, "ascendantuuid": "db2ecdbd-608e-4af8-898a-4c789ec60993", "descendantuuid": "ddd70217-d1b5-4c41-b1d2-5b970190bbc7", "grantedbyroleuuid": null, "grantedbytriggerof": "f1ce41de-5c44-4b5a-8c75-d32c9652df8c"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1500', 'rbac.grant', 'd8238ba0-3bd0-4322-89d8-a5e2a8bace41', 'INSERT', '{"uuid": "d8238ba0-3bd0-4322-89d8-a5e2a8bace41", "assumed": true, "ascendantuuid": "cbdd535b-122a-464a-8c5b-458897f9ac50", "descendantuuid": "ddd70217-d1b5-4c41-b1d2-5b970190bbc7", "grantedbyroleuuid": null, "grantedbytriggerof": "f1ce41de-5c44-4b5a-8c75-d32c9652df8c"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1500', 'rbac.grant', 'd47dbda5-26e3-4181-a581-43841ae8fc9a', 'INSERT', '{"uuid": "d47dbda5-26e3-4181-a581-43841ae8fc9a", "assumed": true, "ascendantuuid": "ddd70217-d1b5-4c41-b1d2-5b970190bbc7", "descendantuuid": "95af5ad8-b74d-4cdc-9931-583c5e3d68f8", "grantedbyroleuuid": null, "grantedbytriggerof": "f1ce41de-5c44-4b5a-8c75-d32c9652df8c"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1500', 'hs_office.sepamandate', 'f1ce41de-5c44-4b5a-8c75-d32c9652df8c', 'INSERT', '{"uuid": "f1ce41de-5c44-4b5a-8c75-d32c9652df8c", "version": 0, "validity": "[2022-10-01,2027-01-01)", "agreement": "2022-09-30", "reference": "ref-10001-11", "debitoruuid": "5b3529ca-f6da-495c-ad52-b0e4894a82b2", "bankaccountuuid": "50b5215d-4fdc-48be-a196-22fbe9325efb"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1500', 'rbac.object', '2b5b7481-0bd4-43a7-bb97-1d96b1cbca68', 'INSERT', '{"uuid": "2b5b7481-0bd4-43a7-bb97-1d96b1cbca68", "serialid": 94, "objecttable": "hs_office.sepamandate"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1500', 'rbac.grant', '911e9ab8-1c25-4e70-b1c8-4b5a20dca02d', 'INSERT', '{"uuid": "911e9ab8-1c25-4e70-b1c8-4b5a20dca02d", "assumed": true, "ascendantuuid": "5e1fde1e-8aa9-48b4-8069-9fb368391887", "descendantuuid": "df488bd9-41d5-42c4-a440-6c3010d4d436", "grantedbyroleuuid": null, "grantedbytriggerof": "2b5b7481-0bd4-43a7-bb97-1d96b1cbca68"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1500', 'rbac.grant', 'fb98ea0d-a0f3-4f22-b275-3ad751f85fa0', 'INSERT', '{"uuid": "fb98ea0d-a0f3-4f22-b275-3ad751f85fa0", "assumed": true, "ascendantuuid": "afc6a14a-f8c7-4c17-9b91-b615833bc002", "descendantuuid": "5e1fde1e-8aa9-48b4-8069-9fb368391887", "grantedbyroleuuid": null, "grantedbytriggerof": "2b5b7481-0bd4-43a7-bb97-1d96b1cbca68"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1500', 'rbac.grant', '2d91ab9a-9878-49e7-8455-6a4bbc1d0276', 'INSERT', '{"uuid": "2d91ab9a-9878-49e7-8455-6a4bbc1d0276", "assumed": true, "ascendantuuid": "bdcc7fef-52e9-4b4c-a0ad-1950d6a1aec4", "descendantuuid": "5e1fde1e-8aa9-48b4-8069-9fb368391887", "grantedbyroleuuid": "5e1fde1e-8aa9-48b4-8069-9fb368391887", "grantedbytriggerof": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1500', 'rbac.role', '9ceeccc9-b21d-44bb-ac4b-c430111e0297', 'INSERT', '{"uuid": "9ceeccc9-b21d-44bb-ac4b-c430111e0297", "roletype": "ADMIN", "objectuuid": "2b5b7481-0bd4-43a7-bb97-1d96b1cbca68"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1500', 'rbac.permission', '529a7657-de76-4e5d-a1d5-384947e8915d', 'INSERT', '{"op": "UPDATE", "uuid": "529a7657-de76-4e5d-a1d5-384947e8915d", "objectuuid": "2b5b7481-0bd4-43a7-bb97-1d96b1cbca68", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1500', 'rbac.grant', 'a43ec81c-d7bb-4f3d-aaea-687e17f1a4b1', 'INSERT', '{"uuid": "a43ec81c-d7bb-4f3d-aaea-687e17f1a4b1", "assumed": true, "ascendantuuid": "9ceeccc9-b21d-44bb-ac4b-c430111e0297", "descendantuuid": "529a7657-de76-4e5d-a1d5-384947e8915d", "grantedbyroleuuid": null, "grantedbytriggerof": "2b5b7481-0bd4-43a7-bb97-1d96b1cbca68"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1500', 'rbac.grant', '2eff9877-8022-430a-8f37-16dd45b5a7c1', 'INSERT', '{"uuid": "2eff9877-8022-430a-8f37-16dd45b5a7c1", "assumed": true, "ascendantuuid": "5e1fde1e-8aa9-48b4-8069-9fb368391887", "descendantuuid": "9ceeccc9-b21d-44bb-ac4b-c430111e0297", "grantedbyroleuuid": null, "grantedbytriggerof": "2b5b7481-0bd4-43a7-bb97-1d96b1cbca68"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1500', 'rbac.role', 'fc123ec2-56db-4df9-a31b-ddafa0d75ed2', 'INSERT', '{"uuid": "fc123ec2-56db-4df9-a31b-ddafa0d75ed2", "roletype": "AGENT", "objectuuid": "2b5b7481-0bd4-43a7-bb97-1d96b1cbca68"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1500', 'rbac.grant', 'b8a32e18-e2a7-4e81-9de3-aec60badbaa1', 'INSERT', '{"uuid": "b8a32e18-e2a7-4e81-9de3-aec60badbaa1", "assumed": true, "ascendantuuid": "9ceeccc9-b21d-44bb-ac4b-c430111e0297", "descendantuuid": "fc123ec2-56db-4df9-a31b-ddafa0d75ed2", "grantedbyroleuuid": null, "grantedbytriggerof": "2b5b7481-0bd4-43a7-bb97-1d96b1cbca68"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1500', 'rbac.grant', '76ac10db-f674-4095-b3f1-423d32e3d581', 'INSERT', '{"uuid": "76ac10db-f674-4095-b3f1-423d32e3d581", "assumed": true, "ascendantuuid": "fc123ec2-56db-4df9-a31b-ddafa0d75ed2", "descendantuuid": "fa5cdc5a-394a-44d3-a892-4e6485647527", "grantedbyroleuuid": null, "grantedbytriggerof": "2b5b7481-0bd4-43a7-bb97-1d96b1cbca68"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1500', 'rbac.grant', '2a73dc5f-67d6-4d95-bce7-8b7a6906fc16', 'INSERT', '{"uuid": "2a73dc5f-67d6-4d95-bce7-8b7a6906fc16", "assumed": true, "ascendantuuid": "fc123ec2-56db-4df9-a31b-ddafa0d75ed2", "descendantuuid": "0fe24c9a-08a0-43f8-939e-e867af52bece", "grantedbyroleuuid": null, "grantedbytriggerof": "2b5b7481-0bd4-43a7-bb97-1d96b1cbca68"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1500', 'rbac.role', '6149ac62-1f9a-4801-b995-a4a58d80e4e4', 'INSERT', '{"uuid": "6149ac62-1f9a-4801-b995-a4a58d80e4e4", "roletype": "REFERRER", "objectuuid": "2b5b7481-0bd4-43a7-bb97-1d96b1cbca68"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1500', 'rbac.permission', '7d222a98-94ad-41c4-8a40-0b17afaefe75', 'INSERT', '{"op": "SELECT", "uuid": "7d222a98-94ad-41c4-8a40-0b17afaefe75", "objectuuid": "2b5b7481-0bd4-43a7-bb97-1d96b1cbca68", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1500', 'rbac.grant', '3b32f724-8a1f-4db8-b066-02eed1f2dd4b', 'INSERT', '{"uuid": "3b32f724-8a1f-4db8-b066-02eed1f2dd4b", "assumed": true, "ascendantuuid": "6149ac62-1f9a-4801-b995-a4a58d80e4e4", "descendantuuid": "7d222a98-94ad-41c4-8a40-0b17afaefe75", "grantedbyroleuuid": null, "grantedbytriggerof": "2b5b7481-0bd4-43a7-bb97-1d96b1cbca68"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1500', 'rbac.grant', 'a02fb84f-87f7-48a1-96c8-e3811f11215e', 'INSERT', '{"uuid": "a02fb84f-87f7-48a1-96c8-e3811f11215e", "assumed": true, "ascendantuuid": "9b3278e9-9156-4fd3-aa57-b7ac12cc7b3c", "descendantuuid": "6149ac62-1f9a-4801-b995-a4a58d80e4e4", "grantedbyroleuuid": null, "grantedbytriggerof": "2b5b7481-0bd4-43a7-bb97-1d96b1cbca68"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1500', 'rbac.grant', '544beb0c-beb9-46ce-aea6-1c936da7b2e1', 'INSERT', '{"uuid": "544beb0c-beb9-46ce-aea6-1c936da7b2e1", "assumed": true, "ascendantuuid": "0fe24c9a-08a0-43f8-939e-e867af52bece", "descendantuuid": "6149ac62-1f9a-4801-b995-a4a58d80e4e4", "grantedbyroleuuid": null, "grantedbytriggerof": "2b5b7481-0bd4-43a7-bb97-1d96b1cbca68"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1500', 'rbac.grant', 'e15a07de-5066-43ad-a476-7976f4a9c58a', 'INSERT', '{"uuid": "e15a07de-5066-43ad-a476-7976f4a9c58a", "assumed": true, "ascendantuuid": "fc123ec2-56db-4df9-a31b-ddafa0d75ed2", "descendantuuid": "6149ac62-1f9a-4801-b995-a4a58d80e4e4", "grantedbyroleuuid": null, "grantedbytriggerof": "2b5b7481-0bd4-43a7-bb97-1d96b1cbca68"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1500', 'rbac.grant', 'f910429d-35c7-4bc8-a59f-0f6a939c7f27', 'INSERT', '{"uuid": "f910429d-35c7-4bc8-a59f-0f6a939c7f27", "assumed": true, "ascendantuuid": "6149ac62-1f9a-4801-b995-a4a58d80e4e4", "descendantuuid": "5062fecc-90b8-4ef4-b336-fcbe9a73a6e0", "grantedbyroleuuid": null, "grantedbytriggerof": "2b5b7481-0bd4-43a7-bb97-1d96b1cbca68"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1500', 'hs_office.sepamandate', '2b5b7481-0bd4-43a7-bb97-1d96b1cbca68', 'INSERT', '{"uuid": "2b5b7481-0bd4-43a7-bb97-1d96b1cbca68", "version": 0, "validity": "[2022-10-01,2027-01-01)", "agreement": "2022-09-30", "reference": "ref-10002-12", "debitoruuid": "5d5fa77a-455f-4603-8940-00af676b66aa", "bankaccountuuid": "33c27d3b-b8ea-4096-8d71-ee351ebed0a9"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1500', 'rbac.object', '3a909c22-3e39-47cc-bb75-22a69eeaf720', 'INSERT', '{"uuid": "3a909c22-3e39-47cc-bb75-22a69eeaf720", "serialid": 95, "objecttable": "hs_office.sepamandate"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1500', 'rbac.role', 'f8f17e79-3afe-424d-9eed-a72d71a8842c', 'INSERT', '{"uuid": "f8f17e79-3afe-424d-9eed-a72d71a8842c", "roletype": "OWNER", "objectuuid": "3a909c22-3e39-47cc-bb75-22a69eeaf720"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1500', 'rbac.permission', '69b25d5a-8337-4bc7-b0d2-cd37ecd14b4b', 'INSERT', '{"op": "DELETE", "uuid": "69b25d5a-8337-4bc7-b0d2-cd37ecd14b4b", "objectuuid": "3a909c22-3e39-47cc-bb75-22a69eeaf720", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1500', 'rbac.grant', 'dc38ef5f-98f3-4c9f-a5fd-81d40f7c8c7a', 'INSERT', '{"uuid": "dc38ef5f-98f3-4c9f-a5fd-81d40f7c8c7a", "assumed": true, "ascendantuuid": "f8f17e79-3afe-424d-9eed-a72d71a8842c", "descendantuuid": "69b25d5a-8337-4bc7-b0d2-cd37ecd14b4b", "grantedbyroleuuid": null, "grantedbytriggerof": "3a909c22-3e39-47cc-bb75-22a69eeaf720"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1500', 'rbac.grant', '86cc41a1-97fa-4dc9-b70b-f15b1479a313', 'INSERT', '{"uuid": "86cc41a1-97fa-4dc9-b70b-f15b1479a313", "assumed": true, "ascendantuuid": "afc6a14a-f8c7-4c17-9b91-b615833bc002", "descendantuuid": "f8f17e79-3afe-424d-9eed-a72d71a8842c", "grantedbyroleuuid": null, "grantedbytriggerof": "3a909c22-3e39-47cc-bb75-22a69eeaf720"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1500', 'rbac.grant', '1769c9f7-8cbc-4a5b-9ade-de1ea6e03ad4', 'INSERT', '{"uuid": "1769c9f7-8cbc-4a5b-9ade-de1ea6e03ad4", "assumed": true, "ascendantuuid": "bdcc7fef-52e9-4b4c-a0ad-1950d6a1aec4", "descendantuuid": "f8f17e79-3afe-424d-9eed-a72d71a8842c", "grantedbyroleuuid": "f8f17e79-3afe-424d-9eed-a72d71a8842c", "grantedbytriggerof": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1500', 'rbac.role', '2058a61c-6387-40de-8c01-224242db669a', 'INSERT', '{"uuid": "2058a61c-6387-40de-8c01-224242db669a", "roletype": "ADMIN", "objectuuid": "3a909c22-3e39-47cc-bb75-22a69eeaf720"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1500', 'rbac.permission', '91ae2adb-b9fb-4ef2-8c41-efef89fc0ea7', 'INSERT', '{"op": "UPDATE", "uuid": "91ae2adb-b9fb-4ef2-8c41-efef89fc0ea7", "objectuuid": "3a909c22-3e39-47cc-bb75-22a69eeaf720", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1500', 'rbac.grant', 'b3c421bc-3bf7-4152-8865-1597a64560ef', 'INSERT', '{"uuid": "b3c421bc-3bf7-4152-8865-1597a64560ef", "assumed": true, "ascendantuuid": "2058a61c-6387-40de-8c01-224242db669a", "descendantuuid": "91ae2adb-b9fb-4ef2-8c41-efef89fc0ea7", "grantedbyroleuuid": null, "grantedbytriggerof": "3a909c22-3e39-47cc-bb75-22a69eeaf720"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1500', 'rbac.grant', '269aed06-0825-4a4d-9899-9cafa57a19ea', 'INSERT', '{"uuid": "269aed06-0825-4a4d-9899-9cafa57a19ea", "assumed": true, "ascendantuuid": "f8f17e79-3afe-424d-9eed-a72d71a8842c", "descendantuuid": "2058a61c-6387-40de-8c01-224242db669a", "grantedbyroleuuid": null, "grantedbytriggerof": "3a909c22-3e39-47cc-bb75-22a69eeaf720"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1500', 'rbac.role', '54d32de5-96ad-4e11-81e1-7e21fee79e0f', 'INSERT', '{"uuid": "54d32de5-96ad-4e11-81e1-7e21fee79e0f", "roletype": "AGENT", "objectuuid": "3a909c22-3e39-47cc-bb75-22a69eeaf720"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1500', 'rbac.grant', '61e10eab-d6be-499c-b02c-69bdc5162bea', 'INSERT', '{"uuid": "61e10eab-d6be-499c-b02c-69bdc5162bea", "assumed": true, "ascendantuuid": "2058a61c-6387-40de-8c01-224242db669a", "descendantuuid": "54d32de5-96ad-4e11-81e1-7e21fee79e0f", "grantedbyroleuuid": null, "grantedbytriggerof": "3a909c22-3e39-47cc-bb75-22a69eeaf720"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1500', 'rbac.grant', 'bf254d94-7fe1-4fb6-9f47-36f7c540414a', 'INSERT', '{"uuid": "bf254d94-7fe1-4fb6-9f47-36f7c540414a", "assumed": true, "ascendantuuid": "54d32de5-96ad-4e11-81e1-7e21fee79e0f", "descendantuuid": "ecf437ed-5f47-4ffb-8bfb-456e929e5bce", "grantedbyroleuuid": null, "grantedbytriggerof": "3a909c22-3e39-47cc-bb75-22a69eeaf720"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1500', 'rbac.grant', '4cf3c878-6a67-4a71-b16f-53835c4d9419', 'INSERT', '{"uuid": "4cf3c878-6a67-4a71-b16f-53835c4d9419", "assumed": true, "ascendantuuid": "54d32de5-96ad-4e11-81e1-7e21fee79e0f", "descendantuuid": "e90b5799-82c7-4ee4-8e35-7f57cb523f94", "grantedbyroleuuid": null, "grantedbytriggerof": "3a909c22-3e39-47cc-bb75-22a69eeaf720"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1500', 'rbac.role', '20fb1b3b-31a9-4f66-901a-99fe4ee8bf44', 'INSERT', '{"uuid": "20fb1b3b-31a9-4f66-901a-99fe4ee8bf44", "roletype": "REFERRER", "objectuuid": "3a909c22-3e39-47cc-bb75-22a69eeaf720"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1500', 'rbac.permission', '42f3cf54-55dd-4352-8fc5-2727996f68cc', 'INSERT', '{"op": "SELECT", "uuid": "42f3cf54-55dd-4352-8fc5-2727996f68cc", "objectuuid": "3a909c22-3e39-47cc-bb75-22a69eeaf720", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1500', 'rbac.grant', 'de0a4b21-0d98-48ec-af68-2a71be36bc95', 'INSERT', '{"uuid": "de0a4b21-0d98-48ec-af68-2a71be36bc95", "assumed": true, "ascendantuuid": "20fb1b3b-31a9-4f66-901a-99fe4ee8bf44", "descendantuuid": "42f3cf54-55dd-4352-8fc5-2727996f68cc", "grantedbyroleuuid": null, "grantedbytriggerof": "3a909c22-3e39-47cc-bb75-22a69eeaf720"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1500', 'rbac.grant', 'c086d4bf-523d-419d-8f00-41ad8173a180', 'INSERT', '{"uuid": "c086d4bf-523d-419d-8f00-41ad8173a180", "assumed": true, "ascendantuuid": "b244fa4b-d0ab-4e7b-b959-b6f15fa74b23", "descendantuuid": "20fb1b3b-31a9-4f66-901a-99fe4ee8bf44", "grantedbyroleuuid": null, "grantedbytriggerof": "3a909c22-3e39-47cc-bb75-22a69eeaf720"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1500', 'rbac.grant', '890c7cac-cab6-43de-baed-ea129486b388', 'INSERT', '{"uuid": "890c7cac-cab6-43de-baed-ea129486b388", "assumed": true, "ascendantuuid": "e90b5799-82c7-4ee4-8e35-7f57cb523f94", "descendantuuid": "20fb1b3b-31a9-4f66-901a-99fe4ee8bf44", "grantedbyroleuuid": null, "grantedbytriggerof": "3a909c22-3e39-47cc-bb75-22a69eeaf720"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1500', 'rbac.grant', '5b447651-fb5b-4be6-aed7-6d11cd0c31ce', 'INSERT', '{"uuid": "5b447651-fb5b-4be6-aed7-6d11cd0c31ce", "assumed": true, "ascendantuuid": "54d32de5-96ad-4e11-81e1-7e21fee79e0f", "descendantuuid": "20fb1b3b-31a9-4f66-901a-99fe4ee8bf44", "grantedbyroleuuid": null, "grantedbytriggerof": "3a909c22-3e39-47cc-bb75-22a69eeaf720"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1500', 'rbac.grant', '12322e08-1d79-4f37-9491-bd01c4b1c810', 'INSERT', '{"uuid": "12322e08-1d79-4f37-9491-bd01c4b1c810", "assumed": true, "ascendantuuid": "20fb1b3b-31a9-4f66-901a-99fe4ee8bf44", "descendantuuid": "998ff776-dd14-4180-9e73-a2ff618e08e6", "grantedbyroleuuid": null, "grantedbytriggerof": "3a909c22-3e39-47cc-bb75-22a69eeaf720"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1500', 'hs_office.sepamandate', '3a909c22-3e39-47cc-bb75-22a69eeaf720', 'INSERT', '{"uuid": "3a909c22-3e39-47cc-bb75-22a69eeaf720", "version": 0, "validity": "[2022-10-01,2027-01-01)", "agreement": "2022-09-30", "reference": "ref-10003-13", "debitoruuid": "d8cab65b-91be-4f1a-846b-887c95be1d38", "bankaccountuuid": "754ac83e-c0bb-4391-bc56-14636708b9c4"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1521', 'rbac.permission', 'e9adbd81-d37f-4190-aeab-9a18bb71f057', 'INSERT', '{"op": "INSERT", "uuid": "e9adbd81-d37f-4190-aeab-9a18bb71f057", "objectuuid": "fb819667-b171-4b6e-ae3e-31c6a40d4be8", "optablename": "hs_office.membership"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1521', 'rbac.grant', '4cb29f9b-9f9d-4581-af04-3696fa34300f', 'INSERT', '{"uuid": "4cb29f9b-9f9d-4581-af04-3696fa34300f", "assumed": true, "ascendantuuid": "afc6a14a-f8c7-4c17-9b91-b615833bc002", "descendantuuid": "e9adbd81-d37f-4190-aeab-9a18bb71f057", "grantedbyroleuuid": null, "grantedbytriggerof": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1534', 'rbac.object', '4330e211-e36c-45ec-9332-f7593ff42811', 'INSERT', '{"uuid": "4330e211-e36c-45ec-9332-f7593ff42811", "serialid": 96, "objecttable": "hs_office.membership"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1534', 'rbac.role', '13d87b00-978a-45a5-9223-02389aeeb777', 'INSERT', '{"uuid": "13d87b00-978a-45a5-9223-02389aeeb777", "roletype": "OWNER", "objectuuid": "4330e211-e36c-45ec-9332-f7593ff42811"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1534', 'rbac.grant', 'f1d57805-8b32-48c3-a0c0-c67c43ce241c', 'INSERT', '{"uuid": "f1d57805-8b32-48c3-a0c0-c67c43ce241c", "assumed": true, "ascendantuuid": "bdcc7fef-52e9-4b4c-a0ad-1950d6a1aec4", "descendantuuid": "13d87b00-978a-45a5-9223-02389aeeb777", "grantedbyroleuuid": "13d87b00-978a-45a5-9223-02389aeeb777", "grantedbytriggerof": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1534', 'rbac.role', 'f4926d93-063a-4959-b6fc-1db4d0d5653e', 'INSERT', '{"uuid": "f4926d93-063a-4959-b6fc-1db4d0d5653e", "roletype": "ADMIN", "objectuuid": "4330e211-e36c-45ec-9332-f7593ff42811"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1534', 'rbac.permission', 'e8c3e08f-4e74-4db9-93aa-84d4191de467', 'INSERT', '{"op": "DELETE", "uuid": "e8c3e08f-4e74-4db9-93aa-84d4191de467", "objectuuid": "4330e211-e36c-45ec-9332-f7593ff42811", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1534', 'rbac.grant', '0bb4e5c9-1adc-48c3-b525-94f9f1d16c80', 'INSERT', '{"uuid": "0bb4e5c9-1adc-48c3-b525-94f9f1d16c80", "assumed": true, "ascendantuuid": "f4926d93-063a-4959-b6fc-1db4d0d5653e", "descendantuuid": "e8c3e08f-4e74-4db9-93aa-84d4191de467", "grantedbyroleuuid": null, "grantedbytriggerof": "4330e211-e36c-45ec-9332-f7593ff42811"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1534', 'rbac.permission', 'ec76a594-0f58-44cc-8bc8-0e878f4c221b', 'INSERT', '{"op": "UPDATE", "uuid": "ec76a594-0f58-44cc-8bc8-0e878f4c221b", "objectuuid": "4330e211-e36c-45ec-9332-f7593ff42811", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1534', 'rbac.grant', '1ba79829-8ca7-4a71-9327-abaace0cb1a9', 'INSERT', '{"uuid": "1ba79829-8ca7-4a71-9327-abaace0cb1a9", "assumed": true, "ascendantuuid": "f4926d93-063a-4959-b6fc-1db4d0d5653e", "descendantuuid": "ec76a594-0f58-44cc-8bc8-0e878f4c221b", "grantedbyroleuuid": null, "grantedbytriggerof": "4330e211-e36c-45ec-9332-f7593ff42811"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1534', 'rbac.grant', '8024592d-cae8-4c79-a29a-68d2a1a011ce', 'INSERT', '{"uuid": "8024592d-cae8-4c79-a29a-68d2a1a011ce", "assumed": true, "ascendantuuid": "13d87b00-978a-45a5-9223-02389aeeb777", "descendantuuid": "f4926d93-063a-4959-b6fc-1db4d0d5653e", "grantedbyroleuuid": null, "grantedbytriggerof": "4330e211-e36c-45ec-9332-f7593ff42811"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1534', 'rbac.grant', '7d6c0aef-0885-4e84-9e94-37e0e1dbcd2b', 'INSERT', '{"uuid": "7d6c0aef-0885-4e84-9e94-37e0e1dbcd2b", "assumed": true, "ascendantuuid": "943de460-96b3-40e9-a59f-5be6fb8dca03", "descendantuuid": "f4926d93-063a-4959-b6fc-1db4d0d5653e", "grantedbyroleuuid": null, "grantedbytriggerof": "4330e211-e36c-45ec-9332-f7593ff42811"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1534', 'rbac.role', 'a2bd22e3-a8ae-4088-b96a-8d5100b111ae', 'INSERT', '{"uuid": "a2bd22e3-a8ae-4088-b96a-8d5100b111ae", "roletype": "AGENT", "objectuuid": "4330e211-e36c-45ec-9332-f7593ff42811"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1534', 'rbac.permission', '8586cdba-d0d2-45a3-8149-b7445b6a580f', 'INSERT', '{"op": "SELECT", "uuid": "8586cdba-d0d2-45a3-8149-b7445b6a580f", "objectuuid": "4330e211-e36c-45ec-9332-f7593ff42811", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1534', 'rbac.grant', '3588ed44-79bb-40d8-bb13-e49d9f53613b', 'INSERT', '{"uuid": "3588ed44-79bb-40d8-bb13-e49d9f53613b", "assumed": true, "ascendantuuid": "a2bd22e3-a8ae-4088-b96a-8d5100b111ae", "descendantuuid": "8586cdba-d0d2-45a3-8149-b7445b6a580f", "grantedbyroleuuid": null, "grantedbytriggerof": "4330e211-e36c-45ec-9332-f7593ff42811"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1534', 'rbac.grant', '501699b4-6388-4eeb-9f7c-2a1f48d5ddb7', 'INSERT', '{"uuid": "501699b4-6388-4eeb-9f7c-2a1f48d5ddb7", "assumed": true, "ascendantuuid": "f4926d93-063a-4959-b6fc-1db4d0d5653e", "descendantuuid": "a2bd22e3-a8ae-4088-b96a-8d5100b111ae", "grantedbyroleuuid": null, "grantedbytriggerof": "4330e211-e36c-45ec-9332-f7593ff42811"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1534', 'rbac.grant', 'e354f19f-a852-4f45-b467-b19a52b87557', 'INSERT', '{"uuid": "e354f19f-a852-4f45-b467-b19a52b87557", "assumed": true, "ascendantuuid": "399b4c7e-93e2-4886-9fda-61b988a5ae29", "descendantuuid": "a2bd22e3-a8ae-4088-b96a-8d5100b111ae", "grantedbyroleuuid": null, "grantedbytriggerof": "4330e211-e36c-45ec-9332-f7593ff42811"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1534', 'rbac.grant', '1769f653-f3c8-470b-8744-c967c86514b9', 'INSERT', '{"uuid": "1769f653-f3c8-470b-8744-c967c86514b9", "assumed": true, "ascendantuuid": "a2bd22e3-a8ae-4088-b96a-8d5100b111ae", "descendantuuid": "ddab9e9f-db0b-4a8c-a7be-117fc2c963ec", "grantedbyroleuuid": null, "grantedbytriggerof": "4330e211-e36c-45ec-9332-f7593ff42811"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1534', 'hs_office.membership', '4330e211-e36c-45ec-9332-f7593ff42811', 'INSERT', '{"uuid": "4330e211-e36c-45ec-9332-f7593ff42811", "status": "ACTIVE", "version": 0, "validity": "[2022-10-01,)", "partneruuid": "c27d1b0c-7e43-4b64-ae69-4317f51023ba", "membernumbersuffix": "01", "membershipfeebillable": true}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1534', 'rbac.object', 'bed3c145-aa55-425f-9211-be9f5e9f4ebe', 'INSERT', '{"uuid": "bed3c145-aa55-425f-9211-be9f5e9f4ebe", "serialid": 97, "objecttable": "hs_office.membership"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1534', 'rbac.role', 'bde79965-6dbb-4d8b-a85f-f3398e815495', 'INSERT', '{"uuid": "bde79965-6dbb-4d8b-a85f-f3398e815495", "roletype": "OWNER", "objectuuid": "bed3c145-aa55-425f-9211-be9f5e9f4ebe"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1534', 'rbac.grant', '0357fb61-74cd-4b82-8127-5699968e4c77', 'INSERT', '{"uuid": "0357fb61-74cd-4b82-8127-5699968e4c77", "assumed": true, "ascendantuuid": "bdcc7fef-52e9-4b4c-a0ad-1950d6a1aec4", "descendantuuid": "bde79965-6dbb-4d8b-a85f-f3398e815495", "grantedbyroleuuid": "bde79965-6dbb-4d8b-a85f-f3398e815495", "grantedbytriggerof": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1534', 'rbac.role', 'e81132af-026a-4333-82b2-fae091761e55', 'INSERT', '{"uuid": "e81132af-026a-4333-82b2-fae091761e55", "roletype": "ADMIN", "objectuuid": "bed3c145-aa55-425f-9211-be9f5e9f4ebe"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1534', 'rbac.permission', '42b91310-d8ba-45fb-b359-5bb4d372d33e', 'INSERT', '{"op": "DELETE", "uuid": "42b91310-d8ba-45fb-b359-5bb4d372d33e", "objectuuid": "bed3c145-aa55-425f-9211-be9f5e9f4ebe", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1534', 'rbac.grant', 'd5fdc9d8-2a14-417c-bd16-55dd47a9e114', 'INSERT', '{"uuid": "d5fdc9d8-2a14-417c-bd16-55dd47a9e114", "assumed": true, "ascendantuuid": "e81132af-026a-4333-82b2-fae091761e55", "descendantuuid": "42b91310-d8ba-45fb-b359-5bb4d372d33e", "grantedbyroleuuid": null, "grantedbytriggerof": "bed3c145-aa55-425f-9211-be9f5e9f4ebe"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1534', 'rbac.permission', 'e0a80aa3-ed0d-48a0-b1e3-2ba13a068334', 'INSERT', '{"op": "UPDATE", "uuid": "e0a80aa3-ed0d-48a0-b1e3-2ba13a068334", "objectuuid": "bed3c145-aa55-425f-9211-be9f5e9f4ebe", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1534', 'rbac.grant', 'd1f9acd7-5cef-4002-a368-195d68ca930c', 'INSERT', '{"uuid": "d1f9acd7-5cef-4002-a368-195d68ca930c", "assumed": true, "ascendantuuid": "e81132af-026a-4333-82b2-fae091761e55", "descendantuuid": "e0a80aa3-ed0d-48a0-b1e3-2ba13a068334", "grantedbyroleuuid": null, "grantedbytriggerof": "bed3c145-aa55-425f-9211-be9f5e9f4ebe"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1534', 'rbac.grant', '9f71315e-a620-4ba9-bd2b-decf49a76d5d', 'INSERT', '{"uuid": "9f71315e-a620-4ba9-bd2b-decf49a76d5d", "assumed": true, "ascendantuuid": "bde79965-6dbb-4d8b-a85f-f3398e815495", "descendantuuid": "e81132af-026a-4333-82b2-fae091761e55", "grantedbyroleuuid": null, "grantedbytriggerof": "bed3c145-aa55-425f-9211-be9f5e9f4ebe"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1534', 'rbac.grant', '9eb36a84-d06d-46bb-846d-fa0c77a78ede', 'INSERT', '{"uuid": "9eb36a84-d06d-46bb-846d-fa0c77a78ede", "assumed": true, "ascendantuuid": "45e9ba6d-f4d9-4d24-bed3-09207ae0db40", "descendantuuid": "e81132af-026a-4333-82b2-fae091761e55", "grantedbyroleuuid": null, "grantedbytriggerof": "bed3c145-aa55-425f-9211-be9f5e9f4ebe"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1534', 'rbac.role', '35628825-27df-48e2-979c-63619d535ec7', 'INSERT', '{"uuid": "35628825-27df-48e2-979c-63619d535ec7", "roletype": "AGENT", "objectuuid": "bed3c145-aa55-425f-9211-be9f5e9f4ebe"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1534', 'rbac.permission', 'b2dd09df-4c04-4771-9b3e-a13aba911e2c', 'INSERT', '{"op": "SELECT", "uuid": "b2dd09df-4c04-4771-9b3e-a13aba911e2c", "objectuuid": "bed3c145-aa55-425f-9211-be9f5e9f4ebe", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1534', 'rbac.grant', '888a26c9-8853-4f02-a9f8-08a90cb46221', 'INSERT', '{"uuid": "888a26c9-8853-4f02-a9f8-08a90cb46221", "assumed": true, "ascendantuuid": "35628825-27df-48e2-979c-63619d535ec7", "descendantuuid": "b2dd09df-4c04-4771-9b3e-a13aba911e2c", "grantedbyroleuuid": null, "grantedbytriggerof": "bed3c145-aa55-425f-9211-be9f5e9f4ebe"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1534', 'rbac.grant', 'c0679186-0f84-43c0-ae6c-59740c91c28e', 'INSERT', '{"uuid": "c0679186-0f84-43c0-ae6c-59740c91c28e", "assumed": true, "ascendantuuid": "e81132af-026a-4333-82b2-fae091761e55", "descendantuuid": "35628825-27df-48e2-979c-63619d535ec7", "grantedbyroleuuid": null, "grantedbytriggerof": "bed3c145-aa55-425f-9211-be9f5e9f4ebe"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1534', 'rbac.grant', '37bb34e7-4364-4cae-9413-46de9399c87b', 'INSERT', '{"uuid": "37bb34e7-4364-4cae-9413-46de9399c87b", "assumed": true, "ascendantuuid": "7da9eb31-516f-488d-831f-0c25585aedc7", "descendantuuid": "35628825-27df-48e2-979c-63619d535ec7", "grantedbyroleuuid": null, "grantedbytriggerof": "bed3c145-aa55-425f-9211-be9f5e9f4ebe"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1534', 'rbac.grant', '5859beb7-e674-4cd3-a478-3983f84b05c4', 'INSERT', '{"uuid": "5859beb7-e674-4cd3-a478-3983f84b05c4", "assumed": true, "ascendantuuid": "35628825-27df-48e2-979c-63619d535ec7", "descendantuuid": "b5ab545c-b649-4c68-ac44-69349ebe8036", "grantedbyroleuuid": null, "grantedbytriggerof": "bed3c145-aa55-425f-9211-be9f5e9f4ebe"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1534', 'hs_office.membership', 'bed3c145-aa55-425f-9211-be9f5e9f4ebe', 'INSERT', '{"uuid": "bed3c145-aa55-425f-9211-be9f5e9f4ebe", "status": "ACTIVE", "version": 0, "validity": "[2022-10-01,)", "partneruuid": "11583dae-da71-4786-a61d-d70f51ce988e", "membernumbersuffix": "02", "membershipfeebillable": true}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1534', 'rbac.object', 'a42d61c5-7dad-4379-9dd9-39a8d21ddc32', 'INSERT', '{"uuid": "a42d61c5-7dad-4379-9dd9-39a8d21ddc32", "serialid": 98, "objecttable": "hs_office.membership"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1534', 'rbac.role', '643b3b80-5ad3-4bfc-be99-f0a931ea601a', 'INSERT', '{"uuid": "643b3b80-5ad3-4bfc-be99-f0a931ea601a", "roletype": "OWNER", "objectuuid": "a42d61c5-7dad-4379-9dd9-39a8d21ddc32"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1534', 'rbac.grant', '6fe2ed1a-e8ee-451c-a92f-9d9648d96612', 'INSERT', '{"uuid": "6fe2ed1a-e8ee-451c-a92f-9d9648d96612", "assumed": true, "ascendantuuid": "bdcc7fef-52e9-4b4c-a0ad-1950d6a1aec4", "descendantuuid": "643b3b80-5ad3-4bfc-be99-f0a931ea601a", "grantedbyroleuuid": "643b3b80-5ad3-4bfc-be99-f0a931ea601a", "grantedbytriggerof": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1534', 'rbac.role', 'c8ca51cb-a2b6-453c-8f90-4ef7c1d2d5d9', 'INSERT', '{"uuid": "c8ca51cb-a2b6-453c-8f90-4ef7c1d2d5d9", "roletype": "ADMIN", "objectuuid": "a42d61c5-7dad-4379-9dd9-39a8d21ddc32"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1534', 'rbac.permission', '34e20ce9-98b7-433f-93c5-5de2382f7d13', 'INSERT', '{"op": "DELETE", "uuid": "34e20ce9-98b7-433f-93c5-5de2382f7d13", "objectuuid": "a42d61c5-7dad-4379-9dd9-39a8d21ddc32", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1534', 'rbac.grant', 'a6b4b596-2a6e-4a11-8e4c-588998614896', 'INSERT', '{"uuid": "a6b4b596-2a6e-4a11-8e4c-588998614896", "assumed": true, "ascendantuuid": "c8ca51cb-a2b6-453c-8f90-4ef7c1d2d5d9", "descendantuuid": "34e20ce9-98b7-433f-93c5-5de2382f7d13", "grantedbyroleuuid": null, "grantedbytriggerof": "a42d61c5-7dad-4379-9dd9-39a8d21ddc32"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1534', 'rbac.permission', 'b57e53da-324e-4d59-beb9-9dcfe4b99c27', 'INSERT', '{"op": "UPDATE", "uuid": "b57e53da-324e-4d59-beb9-9dcfe4b99c27", "objectuuid": "a42d61c5-7dad-4379-9dd9-39a8d21ddc32", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1534', 'rbac.grant', 'f7b93e28-a947-4c78-8b98-467c5b09e31d', 'INSERT', '{"uuid": "f7b93e28-a947-4c78-8b98-467c5b09e31d", "assumed": true, "ascendantuuid": "c8ca51cb-a2b6-453c-8f90-4ef7c1d2d5d9", "descendantuuid": "b57e53da-324e-4d59-beb9-9dcfe4b99c27", "grantedbyroleuuid": null, "grantedbytriggerof": "a42d61c5-7dad-4379-9dd9-39a8d21ddc32"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1534', 'rbac.grant', '6082d173-5a6d-4f17-8d1b-1afbe726d21f', 'INSERT', '{"uuid": "6082d173-5a6d-4f17-8d1b-1afbe726d21f", "assumed": true, "ascendantuuid": "643b3b80-5ad3-4bfc-be99-f0a931ea601a", "descendantuuid": "c8ca51cb-a2b6-453c-8f90-4ef7c1d2d5d9", "grantedbyroleuuid": null, "grantedbytriggerof": "a42d61c5-7dad-4379-9dd9-39a8d21ddc32"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1534', 'rbac.grant', '28c83f1f-9f9e-4d7e-a7e6-b5330a06fead', 'INSERT', '{"uuid": "28c83f1f-9f9e-4d7e-a7e6-b5330a06fead", "assumed": true, "ascendantuuid": "260d863e-eb9f-441d-96d6-5a767f2e8973", "descendantuuid": "c8ca51cb-a2b6-453c-8f90-4ef7c1d2d5d9", "grantedbyroleuuid": null, "grantedbytriggerof": "a42d61c5-7dad-4379-9dd9-39a8d21ddc32"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1534', 'rbac.role', '07993766-fac8-4c89-8efa-d3f21a5d7931', 'INSERT', '{"uuid": "07993766-fac8-4c89-8efa-d3f21a5d7931", "roletype": "AGENT", "objectuuid": "a42d61c5-7dad-4379-9dd9-39a8d21ddc32"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1534', 'rbac.permission', 'cfc6d138-80ae-4cda-a870-cca51f8a4dae', 'INSERT', '{"op": "SELECT", "uuid": "cfc6d138-80ae-4cda-a870-cca51f8a4dae", "objectuuid": "a42d61c5-7dad-4379-9dd9-39a8d21ddc32", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1534', 'rbac.grant', 'ae58dc25-f738-49bb-a9c6-8f3f5a4c65be', 'INSERT', '{"uuid": "ae58dc25-f738-49bb-a9c6-8f3f5a4c65be", "assumed": true, "ascendantuuid": "07993766-fac8-4c89-8efa-d3f21a5d7931", "descendantuuid": "cfc6d138-80ae-4cda-a870-cca51f8a4dae", "grantedbyroleuuid": null, "grantedbytriggerof": "a42d61c5-7dad-4379-9dd9-39a8d21ddc32"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1534', 'rbac.grant', '03587101-c46a-4825-939f-34a33b839068', 'INSERT', '{"uuid": "03587101-c46a-4825-939f-34a33b839068", "assumed": true, "ascendantuuid": "c8ca51cb-a2b6-453c-8f90-4ef7c1d2d5d9", "descendantuuid": "07993766-fac8-4c89-8efa-d3f21a5d7931", "grantedbyroleuuid": null, "grantedbytriggerof": "a42d61c5-7dad-4379-9dd9-39a8d21ddc32"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1534', 'rbac.grant', '6e3767f6-96ab-4558-b0df-ced1f11ba225', 'INSERT', '{"uuid": "6e3767f6-96ab-4558-b0df-ced1f11ba225", "assumed": true, "ascendantuuid": "60ee51bd-f34c-4a9b-b692-c2476ab44de5", "descendantuuid": "07993766-fac8-4c89-8efa-d3f21a5d7931", "grantedbyroleuuid": null, "grantedbytriggerof": "a42d61c5-7dad-4379-9dd9-39a8d21ddc32"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1534', 'rbac.grant', 'f377d20f-1154-46de-81c7-a2df04514bf8', 'INSERT', '{"uuid": "f377d20f-1154-46de-81c7-a2df04514bf8", "assumed": true, "ascendantuuid": "07993766-fac8-4c89-8efa-d3f21a5d7931", "descendantuuid": "898325ca-b5e0-4c70-b301-3b9a141931c8", "grantedbyroleuuid": null, "grantedbytriggerof": "a42d61c5-7dad-4379-9dd9-39a8d21ddc32"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1534', 'hs_office.membership', 'a42d61c5-7dad-4379-9dd9-39a8d21ddc32', 'INSERT', '{"uuid": "a42d61c5-7dad-4379-9dd9-39a8d21ddc32", "status": "ACTIVE", "version": 0, "validity": "[2022-10-01,)", "partneruuid": "7fe704c0-2e54-463e-891e-533f0274da76", "membernumbersuffix": "03", "membershipfeebillable": true}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1559', 'rbac.permission', '89271511-193e-44ba-bd85-7ffa2616df36', 'INSERT', '{"op": "INSERT", "uuid": "89271511-193e-44ba-bd85-7ffa2616df36", "objectuuid": "4330e211-e36c-45ec-9332-f7593ff42811", "optablename": "hs_office.coopsharetx"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1559', 'rbac.grant', '13b4ec74-8bff-466e-b617-5c3c91f5a42e', 'INSERT', '{"uuid": "13b4ec74-8bff-466e-b617-5c3c91f5a42e", "assumed": true, "ascendantuuid": "f4926d93-063a-4959-b6fc-1db4d0d5653e", "descendantuuid": "89271511-193e-44ba-bd85-7ffa2616df36", "grantedbyroleuuid": null, "grantedbytriggerof": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1559', 'rbac.permission', 'c4d24b45-9c62-477e-a1f1-bc73e39434f0', 'INSERT', '{"op": "INSERT", "uuid": "c4d24b45-9c62-477e-a1f1-bc73e39434f0", "objectuuid": "bed3c145-aa55-425f-9211-be9f5e9f4ebe", "optablename": "hs_office.coopsharetx"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1559', 'rbac.grant', '61774cb2-d5ce-48e8-9c04-71f5c5112997', 'INSERT', '{"uuid": "61774cb2-d5ce-48e8-9c04-71f5c5112997", "assumed": true, "ascendantuuid": "e81132af-026a-4333-82b2-fae091761e55", "descendantuuid": "c4d24b45-9c62-477e-a1f1-bc73e39434f0", "grantedbyroleuuid": null, "grantedbytriggerof": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1559', 'rbac.permission', '575d5355-4937-4966-80ff-85d4be2fc783', 'INSERT', '{"op": "INSERT", "uuid": "575d5355-4937-4966-80ff-85d4be2fc783", "objectuuid": "a42d61c5-7dad-4379-9dd9-39a8d21ddc32", "optablename": "hs_office.coopsharetx"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1559', 'rbac.grant', '1606ad50-e9fc-470f-841c-92d0cd489faf', 'INSERT', '{"uuid": "1606ad50-e9fc-470f-841c-92d0cd489faf", "assumed": true, "ascendantuuid": "c8ca51cb-a2b6-453c-8f90-4ef7c1d2d5d9", "descendantuuid": "575d5355-4937-4966-80ff-85d4be2fc783", "grantedbyroleuuid": null, "grantedbytriggerof": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1585', 'rbac.object', 'fbe75170-bd97-4751-954a-58609e33f5c1', 'INSERT', '{"uuid": "fbe75170-bd97-4751-954a-58609e33f5c1", "serialid": 99, "objecttable": "hs_office.coopsharetx"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1585', 'rbac.object', '13c5c422-4f47-4191-8bd6-f6d7ee820de2', 'INSERT', '{"uuid": "13c5c422-4f47-4191-8bd6-f6d7ee820de2", "serialid": 100, "objecttable": "hs_office.coopsharetx"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1585', 'rbac.object', '6c88beac-8b25-4adc-a0ee-ae46351c7687', 'INSERT', '{"uuid": "6c88beac-8b25-4adc-a0ee-ae46351c7687", "serialid": 101, "objecttable": "hs_office.coopsharetx"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1585', 'rbac.object', 'b7c65b95-9fb8-43b1-8b20-5f3b168c573a', 'INSERT', '{"uuid": "b7c65b95-9fb8-43b1-8b20-5f3b168c573a", "serialid": 102, "objecttable": "hs_office.coopsharetx"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1585', 'rbac.permission', '8e26528d-7a8d-4823-bf3a-157182e42840', 'INSERT', '{"op": "SELECT", "uuid": "8e26528d-7a8d-4823-bf3a-157182e42840", "objectuuid": "fbe75170-bd97-4751-954a-58609e33f5c1", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1585', 'rbac.grant', '8f0f03f3-66d0-428b-b2fb-b5df9cd8ef3f', 'INSERT', '{"uuid": "8f0f03f3-66d0-428b-b2fb-b5df9cd8ef3f", "assumed": true, "ascendantuuid": "a2bd22e3-a8ae-4088-b96a-8d5100b111ae", "descendantuuid": "8e26528d-7a8d-4823-bf3a-157182e42840", "grantedbyroleuuid": null, "grantedbytriggerof": "fbe75170-bd97-4751-954a-58609e33f5c1"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1585', 'rbac.permission', 'd996683f-4047-47af-bd4c-cbf3e42e802f', 'INSERT', '{"op": "UPDATE", "uuid": "d996683f-4047-47af-bd4c-cbf3e42e802f", "objectuuid": "fbe75170-bd97-4751-954a-58609e33f5c1", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1585', 'rbac.grant', '74fbff21-c5bb-4beb-bf86-b6cdbda37dc5', 'INSERT', '{"uuid": "74fbff21-c5bb-4beb-bf86-b6cdbda37dc5", "assumed": true, "ascendantuuid": "f4926d93-063a-4959-b6fc-1db4d0d5653e", "descendantuuid": "d996683f-4047-47af-bd4c-cbf3e42e802f", "grantedbyroleuuid": null, "grantedbytriggerof": "fbe75170-bd97-4751-954a-58609e33f5c1"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1585', 'hs_office.coopsharetx', 'fbe75170-bd97-4751-954a-58609e33f5c1', 'INSERT', '{"uuid": "fbe75170-bd97-4751-954a-58609e33f5c1", "comment": "initial subscription", "version": 0, "reference": "ref 1000101-1", "valuedate": "2010-03-15", "sharecount": 4, "membershipuuid": "4330e211-e36c-45ec-9332-f7593ff42811", "transactiontype": "SUBSCRIPTION", "revertedsharetxuuid": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1585', 'rbac.permission', '89234548-3644-477f-9fcc-7070d423547f', 'INSERT', '{"op": "SELECT", "uuid": "89234548-3644-477f-9fcc-7070d423547f", "objectuuid": "13c5c422-4f47-4191-8bd6-f6d7ee820de2", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1651', 'rbac.permission', 'fc7eda4d-73bc-4712-af0a-22a622c29156', 'INSERT', '{"op": "UPDATE", "uuid": "fc7eda4d-73bc-4712-af0a-22a622c29156", "objectuuid": "88e5084c-472f-4c27-b51b-dc22dc13b9eb", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1585', 'rbac.grant', 'ac5fc337-44a2-41fd-9907-4bfc4f0bdccc', 'INSERT', '{"uuid": "ac5fc337-44a2-41fd-9907-4bfc4f0bdccc", "assumed": true, "ascendantuuid": "a2bd22e3-a8ae-4088-b96a-8d5100b111ae", "descendantuuid": "89234548-3644-477f-9fcc-7070d423547f", "grantedbyroleuuid": null, "grantedbytriggerof": "13c5c422-4f47-4191-8bd6-f6d7ee820de2"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1585', 'rbac.permission', '01f7a098-b975-464c-b5b1-f4c473aa6abd', 'INSERT', '{"op": "UPDATE", "uuid": "01f7a098-b975-464c-b5b1-f4c473aa6abd", "objectuuid": "13c5c422-4f47-4191-8bd6-f6d7ee820de2", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1585', 'rbac.grant', 'ae9be2b7-d1ec-4e04-b9ed-9811950fc08d', 'INSERT', '{"uuid": "ae9be2b7-d1ec-4e04-b9ed-9811950fc08d", "assumed": true, "ascendantuuid": "f4926d93-063a-4959-b6fc-1db4d0d5653e", "descendantuuid": "01f7a098-b975-464c-b5b1-f4c473aa6abd", "grantedbyroleuuid": null, "grantedbytriggerof": "13c5c422-4f47-4191-8bd6-f6d7ee820de2"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1585', 'hs_office.coopsharetx', '13c5c422-4f47-4191-8bd6-f6d7ee820de2', 'INSERT', '{"uuid": "13c5c422-4f47-4191-8bd6-f6d7ee820de2", "comment": "cancelling some", "version": 0, "reference": "ref 1000101-2", "valuedate": "2021-09-01", "sharecount": -2, "membershipuuid": "4330e211-e36c-45ec-9332-f7593ff42811", "transactiontype": "CANCELLATION", "revertedsharetxuuid": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1585', 'rbac.permission', 'eb3c9d8b-1177-4eb1-92cd-4d28780978d0', 'INSERT', '{"op": "SELECT", "uuid": "eb3c9d8b-1177-4eb1-92cd-4d28780978d0", "objectuuid": "6c88beac-8b25-4adc-a0ee-ae46351c7687", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1585', 'rbac.grant', 'bb0d4114-88d2-40b1-a207-fb775c6edae3', 'INSERT', '{"uuid": "bb0d4114-88d2-40b1-a207-fb775c6edae3", "assumed": true, "ascendantuuid": "a2bd22e3-a8ae-4088-b96a-8d5100b111ae", "descendantuuid": "eb3c9d8b-1177-4eb1-92cd-4d28780978d0", "grantedbyroleuuid": null, "grantedbytriggerof": "6c88beac-8b25-4adc-a0ee-ae46351c7687"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1585', 'rbac.permission', '23d880a7-8096-46de-b204-81f9888db962', 'INSERT', '{"op": "UPDATE", "uuid": "23d880a7-8096-46de-b204-81f9888db962", "objectuuid": "6c88beac-8b25-4adc-a0ee-ae46351c7687", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1585', 'rbac.grant', 'fa5a9226-6f4a-49ff-874f-169aa94a989f', 'INSERT', '{"uuid": "fa5a9226-6f4a-49ff-874f-169aa94a989f", "assumed": true, "ascendantuuid": "f4926d93-063a-4959-b6fc-1db4d0d5653e", "descendantuuid": "23d880a7-8096-46de-b204-81f9888db962", "grantedbyroleuuid": null, "grantedbytriggerof": "6c88beac-8b25-4adc-a0ee-ae46351c7687"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1585', 'hs_office.coopsharetx', '6c88beac-8b25-4adc-a0ee-ae46351c7687', 'INSERT', '{"uuid": "6c88beac-8b25-4adc-a0ee-ae46351c7687", "comment": "some subscription", "version": 0, "reference": "ref 1000101-3", "valuedate": "2022-10-20", "sharecount": 2, "membershipuuid": "4330e211-e36c-45ec-9332-f7593ff42811", "transactiontype": "SUBSCRIPTION", "revertedsharetxuuid": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1585', 'rbac.permission', '470bd21a-a64d-4407-b084-ff480cc2c49e', 'INSERT', '{"op": "SELECT", "uuid": "470bd21a-a64d-4407-b084-ff480cc2c49e", "objectuuid": "b7c65b95-9fb8-43b1-8b20-5f3b168c573a", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1585', 'rbac.grant', 'c44be6a6-a0db-45a5-ac82-acca96a5dd48', 'INSERT', '{"uuid": "c44be6a6-a0db-45a5-ac82-acca96a5dd48", "assumed": true, "ascendantuuid": "a2bd22e3-a8ae-4088-b96a-8d5100b111ae", "descendantuuid": "470bd21a-a64d-4407-b084-ff480cc2c49e", "grantedbyroleuuid": null, "grantedbytriggerof": "b7c65b95-9fb8-43b1-8b20-5f3b168c573a"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1585', 'rbac.permission', '20add1b9-e47c-4dec-a757-2f36b0a98f29', 'INSERT', '{"op": "UPDATE", "uuid": "20add1b9-e47c-4dec-a757-2f36b0a98f29", "objectuuid": "b7c65b95-9fb8-43b1-8b20-5f3b168c573a", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1585', 'rbac.grant', '7bc5abd6-a098-408f-b740-d1104ebd3392', 'INSERT', '{"uuid": "7bc5abd6-a098-408f-b740-d1104ebd3392", "assumed": true, "ascendantuuid": "f4926d93-063a-4959-b6fc-1db4d0d5653e", "descendantuuid": "20add1b9-e47c-4dec-a757-2f36b0a98f29", "grantedbyroleuuid": null, "grantedbytriggerof": "b7c65b95-9fb8-43b1-8b20-5f3b168c573a"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1585', 'hs_office.coopsharetx', 'b7c65b95-9fb8-43b1-8b20-5f3b168c573a', 'INSERT', '{"uuid": "b7c65b95-9fb8-43b1-8b20-5f3b168c573a", "comment": "some reversal", "version": 0, "reference": "ref 1000101-4", "valuedate": "2022-10-21", "sharecount": -2, "membershipuuid": "4330e211-e36c-45ec-9332-f7593ff42811", "transactiontype": "REVERSAL", "revertedsharetxuuid": "6c88beac-8b25-4adc-a0ee-ae46351c7687"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1585', 'rbac.object', '42907488-176f-4662-9fb6-b819f1c5c306', 'INSERT', '{"uuid": "42907488-176f-4662-9fb6-b819f1c5c306", "serialid": 103, "objecttable": "hs_office.coopsharetx"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1585', 'rbac.object', '47b33cb7-44b3-4596-96e9-8a8e34aad841', 'INSERT', '{"uuid": "47b33cb7-44b3-4596-96e9-8a8e34aad841", "serialid": 104, "objecttable": "hs_office.coopsharetx"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1585', 'rbac.object', '7931bf2e-a490-42f7-855d-a4b632b76b0e', 'INSERT', '{"uuid": "7931bf2e-a490-42f7-855d-a4b632b76b0e", "serialid": 105, "objecttable": "hs_office.coopsharetx"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1585', 'rbac.object', 'a2d13b57-6242-43a3-a26d-e640c385f925', 'INSERT', '{"uuid": "a2d13b57-6242-43a3-a26d-e640c385f925", "serialid": 106, "objecttable": "hs_office.coopsharetx"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1585', 'rbac.permission', '7a76a8f1-f77a-401a-8445-3c74d991c869', 'INSERT', '{"op": "SELECT", "uuid": "7a76a8f1-f77a-401a-8445-3c74d991c869", "objectuuid": "42907488-176f-4662-9fb6-b819f1c5c306", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1585', 'rbac.grant', '6a00527a-10c7-4dfe-b4f9-aeb819514426', 'INSERT', '{"uuid": "6a00527a-10c7-4dfe-b4f9-aeb819514426", "assumed": true, "ascendantuuid": "35628825-27df-48e2-979c-63619d535ec7", "descendantuuid": "7a76a8f1-f77a-401a-8445-3c74d991c869", "grantedbyroleuuid": null, "grantedbytriggerof": "42907488-176f-4662-9fb6-b819f1c5c306"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1585', 'rbac.permission', 'e6a2962a-a128-4587-8788-cf0fe9f9b18e', 'INSERT', '{"op": "UPDATE", "uuid": "e6a2962a-a128-4587-8788-cf0fe9f9b18e", "objectuuid": "42907488-176f-4662-9fb6-b819f1c5c306", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1585', 'rbac.grant', 'c59158ac-e3df-42e3-8a55-f397ba574623', 'INSERT', '{"uuid": "c59158ac-e3df-42e3-8a55-f397ba574623", "assumed": true, "ascendantuuid": "e81132af-026a-4333-82b2-fae091761e55", "descendantuuid": "e6a2962a-a128-4587-8788-cf0fe9f9b18e", "grantedbyroleuuid": null, "grantedbytriggerof": "42907488-176f-4662-9fb6-b819f1c5c306"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1585', 'hs_office.coopsharetx', '42907488-176f-4662-9fb6-b819f1c5c306', 'INSERT', '{"uuid": "42907488-176f-4662-9fb6-b819f1c5c306", "comment": "initial subscription", "version": 0, "reference": "ref 1000202-1", "valuedate": "2010-03-15", "sharecount": 4, "membershipuuid": "bed3c145-aa55-425f-9211-be9f5e9f4ebe", "transactiontype": "SUBSCRIPTION", "revertedsharetxuuid": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1585', 'rbac.permission', 'a56a4381-b906-4d27-b88e-0653ae72fc3e', 'INSERT', '{"op": "SELECT", "uuid": "a56a4381-b906-4d27-b88e-0653ae72fc3e", "objectuuid": "47b33cb7-44b3-4596-96e9-8a8e34aad841", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1585', 'rbac.grant', 'd29e8492-54aa-40ee-90c6-c5dcd5ec99ac', 'INSERT', '{"uuid": "d29e8492-54aa-40ee-90c6-c5dcd5ec99ac", "assumed": true, "ascendantuuid": "35628825-27df-48e2-979c-63619d535ec7", "descendantuuid": "a56a4381-b906-4d27-b88e-0653ae72fc3e", "grantedbyroleuuid": null, "grantedbytriggerof": "47b33cb7-44b3-4596-96e9-8a8e34aad841"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1585', 'rbac.permission', '657d13fc-fa82-491a-9e87-c2ef3c89ae91', 'INSERT', '{"op": "UPDATE", "uuid": "657d13fc-fa82-491a-9e87-c2ef3c89ae91", "objectuuid": "47b33cb7-44b3-4596-96e9-8a8e34aad841", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1585', 'rbac.grant', 'dd8a6f45-32e3-4d00-b1a2-ef826c9f8ba6', 'INSERT', '{"uuid": "dd8a6f45-32e3-4d00-b1a2-ef826c9f8ba6", "assumed": true, "ascendantuuid": "e81132af-026a-4333-82b2-fae091761e55", "descendantuuid": "657d13fc-fa82-491a-9e87-c2ef3c89ae91", "grantedbyroleuuid": null, "grantedbytriggerof": "47b33cb7-44b3-4596-96e9-8a8e34aad841"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1651', 'rbac.permission', '2c6af4ff-0644-4df6-97a0-69c8af1a0a85', 'INSERT', '{"op": "SELECT", "uuid": "2c6af4ff-0644-4df6-97a0-69c8af1a0a85", "objectuuid": "c7ef7757-abff-4f30-a234-62ff69f8d032", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1585', 'hs_office.coopsharetx', '47b33cb7-44b3-4596-96e9-8a8e34aad841', 'INSERT', '{"uuid": "47b33cb7-44b3-4596-96e9-8a8e34aad841", "comment": "cancelling some", "version": 0, "reference": "ref 1000202-2", "valuedate": "2021-09-01", "sharecount": -2, "membershipuuid": "bed3c145-aa55-425f-9211-be9f5e9f4ebe", "transactiontype": "CANCELLATION", "revertedsharetxuuid": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1585', 'rbac.permission', 'f709b0a6-7222-44dd-9bbe-c58ebe41ef24', 'INSERT', '{"op": "SELECT", "uuid": "f709b0a6-7222-44dd-9bbe-c58ebe41ef24", "objectuuid": "7931bf2e-a490-42f7-855d-a4b632b76b0e", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1585', 'rbac.grant', '5379baa2-ca6b-4479-a753-359ce83648b7', 'INSERT', '{"uuid": "5379baa2-ca6b-4479-a753-359ce83648b7", "assumed": true, "ascendantuuid": "35628825-27df-48e2-979c-63619d535ec7", "descendantuuid": "f709b0a6-7222-44dd-9bbe-c58ebe41ef24", "grantedbyroleuuid": null, "grantedbytriggerof": "7931bf2e-a490-42f7-855d-a4b632b76b0e"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1585', 'rbac.permission', 'b74cc117-1f65-4d2c-a080-89b53b18af48', 'INSERT', '{"op": "UPDATE", "uuid": "b74cc117-1f65-4d2c-a080-89b53b18af48", "objectuuid": "7931bf2e-a490-42f7-855d-a4b632b76b0e", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1585', 'rbac.grant', 'ec9daef5-adb3-49f9-8cab-73f87e94e115', 'INSERT', '{"uuid": "ec9daef5-adb3-49f9-8cab-73f87e94e115", "assumed": true, "ascendantuuid": "e81132af-026a-4333-82b2-fae091761e55", "descendantuuid": "b74cc117-1f65-4d2c-a080-89b53b18af48", "grantedbyroleuuid": null, "grantedbytriggerof": "7931bf2e-a490-42f7-855d-a4b632b76b0e"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1585', 'hs_office.coopsharetx', '7931bf2e-a490-42f7-855d-a4b632b76b0e', 'INSERT', '{"uuid": "7931bf2e-a490-42f7-855d-a4b632b76b0e", "comment": "some subscription", "version": 0, "reference": "ref 1000202-3", "valuedate": "2022-10-20", "sharecount": 2, "membershipuuid": "bed3c145-aa55-425f-9211-be9f5e9f4ebe", "transactiontype": "SUBSCRIPTION", "revertedsharetxuuid": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1585', 'rbac.permission', 'abb36dda-d309-456d-b25a-c5f6b0f8c22c', 'INSERT', '{"op": "SELECT", "uuid": "abb36dda-d309-456d-b25a-c5f6b0f8c22c", "objectuuid": "a2d13b57-6242-43a3-a26d-e640c385f925", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1585', 'rbac.grant', '22fb9adb-cdc2-4d64-9fe7-15c44369916c', 'INSERT', '{"uuid": "22fb9adb-cdc2-4d64-9fe7-15c44369916c", "assumed": true, "ascendantuuid": "35628825-27df-48e2-979c-63619d535ec7", "descendantuuid": "abb36dda-d309-456d-b25a-c5f6b0f8c22c", "grantedbyroleuuid": null, "grantedbytriggerof": "a2d13b57-6242-43a3-a26d-e640c385f925"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1585', 'rbac.permission', '4384b952-24c3-4d35-ae45-be3e7db43658', 'INSERT', '{"op": "UPDATE", "uuid": "4384b952-24c3-4d35-ae45-be3e7db43658", "objectuuid": "a2d13b57-6242-43a3-a26d-e640c385f925", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1585', 'rbac.grant', '4833e76d-f5af-4908-a20c-da39e7ae0c61', 'INSERT', '{"uuid": "4833e76d-f5af-4908-a20c-da39e7ae0c61", "assumed": true, "ascendantuuid": "e81132af-026a-4333-82b2-fae091761e55", "descendantuuid": "4384b952-24c3-4d35-ae45-be3e7db43658", "grantedbyroleuuid": null, "grantedbytriggerof": "a2d13b57-6242-43a3-a26d-e640c385f925"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1585', 'hs_office.coopsharetx', 'a2d13b57-6242-43a3-a26d-e640c385f925', 'INSERT', '{"uuid": "a2d13b57-6242-43a3-a26d-e640c385f925", "comment": "some reversal", "version": 0, "reference": "ref 1000202-4", "valuedate": "2022-10-21", "sharecount": -2, "membershipuuid": "bed3c145-aa55-425f-9211-be9f5e9f4ebe", "transactiontype": "REVERSAL", "revertedsharetxuuid": "7931bf2e-a490-42f7-855d-a4b632b76b0e"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1585', 'rbac.object', 'bec4ce08-76ac-4b6d-93f8-62307fc4cd4b', 'INSERT', '{"uuid": "bec4ce08-76ac-4b6d-93f8-62307fc4cd4b", "serialid": 107, "objecttable": "hs_office.coopsharetx"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1585', 'rbac.object', '1e20d973-b79f-4b5b-bb9e-6a8af9513a35', 'INSERT', '{"uuid": "1e20d973-b79f-4b5b-bb9e-6a8af9513a35", "serialid": 108, "objecttable": "hs_office.coopsharetx"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1585', 'rbac.object', '0737dc7d-1634-4e9a-a8d9-dd5d96ac2c61', 'INSERT', '{"uuid": "0737dc7d-1634-4e9a-a8d9-dd5d96ac2c61", "serialid": 109, "objecttable": "hs_office.coopsharetx"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1585', 'rbac.object', 'dd1243f6-6a49-4cee-a45f-28d153bbc84e', 'INSERT', '{"uuid": "dd1243f6-6a49-4cee-a45f-28d153bbc84e", "serialid": 110, "objecttable": "hs_office.coopsharetx"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1585', 'rbac.permission', 'a092a4e5-dcfc-45b8-b5e6-c70036545c4d', 'INSERT', '{"op": "SELECT", "uuid": "a092a4e5-dcfc-45b8-b5e6-c70036545c4d", "objectuuid": "bec4ce08-76ac-4b6d-93f8-62307fc4cd4b", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1585', 'rbac.grant', '7a493458-8f41-422a-9bfb-9abaf2fe1547', 'INSERT', '{"uuid": "7a493458-8f41-422a-9bfb-9abaf2fe1547", "assumed": true, "ascendantuuid": "07993766-fac8-4c89-8efa-d3f21a5d7931", "descendantuuid": "a092a4e5-dcfc-45b8-b5e6-c70036545c4d", "grantedbyroleuuid": null, "grantedbytriggerof": "bec4ce08-76ac-4b6d-93f8-62307fc4cd4b"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1585', 'rbac.permission', '79a4fb5f-60e6-4f6b-9534-e7096cd749c1', 'INSERT', '{"op": "UPDATE", "uuid": "79a4fb5f-60e6-4f6b-9534-e7096cd749c1", "objectuuid": "bec4ce08-76ac-4b6d-93f8-62307fc4cd4b", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1585', 'rbac.grant', '330b1318-d6ae-4c63-a029-b9f315386fb1', 'INSERT', '{"uuid": "330b1318-d6ae-4c63-a029-b9f315386fb1", "assumed": true, "ascendantuuid": "c8ca51cb-a2b6-453c-8f90-4ef7c1d2d5d9", "descendantuuid": "79a4fb5f-60e6-4f6b-9534-e7096cd749c1", "grantedbyroleuuid": null, "grantedbytriggerof": "bec4ce08-76ac-4b6d-93f8-62307fc4cd4b"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1585', 'hs_office.coopsharetx', 'bec4ce08-76ac-4b6d-93f8-62307fc4cd4b', 'INSERT', '{"uuid": "bec4ce08-76ac-4b6d-93f8-62307fc4cd4b", "comment": "initial subscription", "version": 0, "reference": "ref 1000303-1", "valuedate": "2010-03-15", "sharecount": 4, "membershipuuid": "a42d61c5-7dad-4379-9dd9-39a8d21ddc32", "transactiontype": "SUBSCRIPTION", "revertedsharetxuuid": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1585', 'rbac.permission', 'ee1e253a-2e60-41ca-a014-dd522669d2ea', 'INSERT', '{"op": "SELECT", "uuid": "ee1e253a-2e60-41ca-a014-dd522669d2ea", "objectuuid": "1e20d973-b79f-4b5b-bb9e-6a8af9513a35", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1585', 'rbac.grant', 'f0688dd7-7d8c-4ead-a834-45006a699499', 'INSERT', '{"uuid": "f0688dd7-7d8c-4ead-a834-45006a699499", "assumed": true, "ascendantuuid": "07993766-fac8-4c89-8efa-d3f21a5d7931", "descendantuuid": "ee1e253a-2e60-41ca-a014-dd522669d2ea", "grantedbyroleuuid": null, "grantedbytriggerof": "1e20d973-b79f-4b5b-bb9e-6a8af9513a35"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1585', 'rbac.permission', '2ad44d60-aa28-4d06-979d-b9b0dfaf370f', 'INSERT', '{"op": "UPDATE", "uuid": "2ad44d60-aa28-4d06-979d-b9b0dfaf370f", "objectuuid": "1e20d973-b79f-4b5b-bb9e-6a8af9513a35", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1585', 'rbac.grant', '3d2e275e-80b9-498c-aa72-dde2509471df', 'INSERT', '{"uuid": "3d2e275e-80b9-498c-aa72-dde2509471df", "assumed": true, "ascendantuuid": "c8ca51cb-a2b6-453c-8f90-4ef7c1d2d5d9", "descendantuuid": "2ad44d60-aa28-4d06-979d-b9b0dfaf370f", "grantedbyroleuuid": null, "grantedbytriggerof": "1e20d973-b79f-4b5b-bb9e-6a8af9513a35"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1585', 'hs_office.coopsharetx', '1e20d973-b79f-4b5b-bb9e-6a8af9513a35', 'INSERT', '{"uuid": "1e20d973-b79f-4b5b-bb9e-6a8af9513a35", "comment": "cancelling some", "version": 0, "reference": "ref 1000303-2", "valuedate": "2021-09-01", "sharecount": -2, "membershipuuid": "a42d61c5-7dad-4379-9dd9-39a8d21ddc32", "transactiontype": "CANCELLATION", "revertedsharetxuuid": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1585', 'rbac.permission', '28cc8d9e-7ccb-479c-b3ad-f01e8b26c536', 'INSERT', '{"op": "SELECT", "uuid": "28cc8d9e-7ccb-479c-b3ad-f01e8b26c536", "objectuuid": "0737dc7d-1634-4e9a-a8d9-dd5d96ac2c61", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1585', 'rbac.grant', 'dec7e15b-4c67-42a8-8c0c-257661b52363', 'INSERT', '{"uuid": "dec7e15b-4c67-42a8-8c0c-257661b52363", "assumed": true, "ascendantuuid": "07993766-fac8-4c89-8efa-d3f21a5d7931", "descendantuuid": "28cc8d9e-7ccb-479c-b3ad-f01e8b26c536", "grantedbyroleuuid": null, "grantedbytriggerof": "0737dc7d-1634-4e9a-a8d9-dd5d96ac2c61"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1585', 'rbac.permission', '212acd85-041a-481e-a578-e6a59bd115a5', 'INSERT', '{"op": "UPDATE", "uuid": "212acd85-041a-481e-a578-e6a59bd115a5", "objectuuid": "0737dc7d-1634-4e9a-a8d9-dd5d96ac2c61", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1585', 'rbac.grant', '52d7e2f0-b2c5-4cc2-bc9b-ca0243012a0e', 'INSERT', '{"uuid": "52d7e2f0-b2c5-4cc2-bc9b-ca0243012a0e", "assumed": true, "ascendantuuid": "c8ca51cb-a2b6-453c-8f90-4ef7c1d2d5d9", "descendantuuid": "212acd85-041a-481e-a578-e6a59bd115a5", "grantedbyroleuuid": null, "grantedbytriggerof": "0737dc7d-1634-4e9a-a8d9-dd5d96ac2c61"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1585', 'hs_office.coopsharetx', '0737dc7d-1634-4e9a-a8d9-dd5d96ac2c61', 'INSERT', '{"uuid": "0737dc7d-1634-4e9a-a8d9-dd5d96ac2c61", "comment": "some subscription", "version": 0, "reference": "ref 1000303-3", "valuedate": "2022-10-20", "sharecount": 2, "membershipuuid": "a42d61c5-7dad-4379-9dd9-39a8d21ddc32", "transactiontype": "SUBSCRIPTION", "revertedsharetxuuid": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1585', 'rbac.permission', 'cae180e8-6a23-44ef-92d3-f1fe270fc300', 'INSERT', '{"op": "SELECT", "uuid": "cae180e8-6a23-44ef-92d3-f1fe270fc300", "objectuuid": "dd1243f6-6a49-4cee-a45f-28d153bbc84e", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1585', 'rbac.grant', 'f8255a26-3b5c-40a5-966d-c00d8fd324ec', 'INSERT', '{"uuid": "f8255a26-3b5c-40a5-966d-c00d8fd324ec", "assumed": true, "ascendantuuid": "07993766-fac8-4c89-8efa-d3f21a5d7931", "descendantuuid": "cae180e8-6a23-44ef-92d3-f1fe270fc300", "grantedbyroleuuid": null, "grantedbytriggerof": "dd1243f6-6a49-4cee-a45f-28d153bbc84e"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1585', 'rbac.permission', '5950c5a7-4afe-4d95-a7f4-26376fce76b1', 'INSERT', '{"op": "UPDATE", "uuid": "5950c5a7-4afe-4d95-a7f4-26376fce76b1", "objectuuid": "dd1243f6-6a49-4cee-a45f-28d153bbc84e", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1585', 'rbac.grant', '28b91cf2-d297-421d-80ca-29a52f2a6793', 'INSERT', '{"uuid": "28b91cf2-d297-421d-80ca-29a52f2a6793", "assumed": true, "ascendantuuid": "c8ca51cb-a2b6-453c-8f90-4ef7c1d2d5d9", "descendantuuid": "5950c5a7-4afe-4d95-a7f4-26376fce76b1", "grantedbyroleuuid": null, "grantedbytriggerof": "dd1243f6-6a49-4cee-a45f-28d153bbc84e"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1585', 'hs_office.coopsharetx', 'dd1243f6-6a49-4cee-a45f-28d153bbc84e', 'INSERT', '{"uuid": "dd1243f6-6a49-4cee-a45f-28d153bbc84e", "comment": "some reversal", "version": 0, "reference": "ref 1000303-4", "valuedate": "2022-10-21", "sharecount": -2, "membershipuuid": "a42d61c5-7dad-4379-9dd9-39a8d21ddc32", "transactiontype": "REVERSAL", "revertedsharetxuuid": "0737dc7d-1634-4e9a-a8d9-dd5d96ac2c61"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1625', 'rbac.permission', 'd7dde6d6-0d8d-478d-89e4-93448eaff939', 'INSERT', '{"op": "INSERT", "uuid": "d7dde6d6-0d8d-478d-89e4-93448eaff939", "objectuuid": "4330e211-e36c-45ec-9332-f7593ff42811", "optablename": "hs_office.coopassettx"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1625', 'rbac.grant', '0b79596e-642d-4fb7-a17c-b13f12487089', 'INSERT', '{"uuid": "0b79596e-642d-4fb7-a17c-b13f12487089", "assumed": true, "ascendantuuid": "f4926d93-063a-4959-b6fc-1db4d0d5653e", "descendantuuid": "d7dde6d6-0d8d-478d-89e4-93448eaff939", "grantedbyroleuuid": null, "grantedbytriggerof": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1625', 'rbac.permission', '6b7a97cd-5842-48cf-b82b-32e650f5e200', 'INSERT', '{"op": "INSERT", "uuid": "6b7a97cd-5842-48cf-b82b-32e650f5e200", "objectuuid": "bed3c145-aa55-425f-9211-be9f5e9f4ebe", "optablename": "hs_office.coopassettx"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1625', 'rbac.grant', '0394eb63-ece8-491f-9018-7ca8cac857d6', 'INSERT', '{"uuid": "0394eb63-ece8-491f-9018-7ca8cac857d6", "assumed": true, "ascendantuuid": "e81132af-026a-4333-82b2-fae091761e55", "descendantuuid": "6b7a97cd-5842-48cf-b82b-32e650f5e200", "grantedbyroleuuid": null, "grantedbytriggerof": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1625', 'rbac.permission', '4781a17c-a119-4726-acec-647ab4178314', 'INSERT', '{"op": "INSERT", "uuid": "4781a17c-a119-4726-acec-647ab4178314", "objectuuid": "a42d61c5-7dad-4379-9dd9-39a8d21ddc32", "optablename": "hs_office.coopassettx"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1625', 'rbac.grant', '1d63fc9a-4e9a-4afc-b203-719e3aac21de', 'INSERT', '{"uuid": "1d63fc9a-4e9a-4afc-b203-719e3aac21de", "assumed": true, "ascendantuuid": "c8ca51cb-a2b6-453c-8f90-4ef7c1d2d5d9", "descendantuuid": "4781a17c-a119-4726-acec-647ab4178314", "grantedbyroleuuid": null, "grantedbytriggerof": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1651', 'rbac.object', '676ed5a4-28ad-4631-8d60-6f5d6ce322bc', 'INSERT', '{"uuid": "676ed5a4-28ad-4631-8d60-6f5d6ce322bc", "serialid": 111, "objecttable": "hs_office.coopassettx"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1651', 'rbac.object', 'b627613a-10e4-435b-8f81-c7c31abe114b', 'INSERT', '{"uuid": "b627613a-10e4-435b-8f81-c7c31abe114b", "serialid": 112, "objecttable": "hs_office.coopassettx"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1651', 'rbac.object', '240d8194-43e0-455c-b759-aca1d68d129a', 'INSERT', '{"uuid": "240d8194-43e0-455c-b759-aca1d68d129a", "serialid": 113, "objecttable": "hs_office.coopassettx"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1651', 'rbac.object', '0cff5e6f-c936-4ba6-8eaa-dde92514b7f4', 'INSERT', '{"uuid": "0cff5e6f-c936-4ba6-8eaa-dde92514b7f4", "serialid": 114, "objecttable": "hs_office.coopassettx"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1651', 'rbac.object', '9c5fe71c-5a01-4769-96b3-f96d1fc96887', 'INSERT', '{"uuid": "9c5fe71c-5a01-4769-96b3-f96d1fc96887", "serialid": 115, "objecttable": "hs_office.coopassettx"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1651', 'rbac.object', 'c8dcdb55-672f-4152-865c-16907f83ff5a', 'INSERT', '{"uuid": "c8dcdb55-672f-4152-865c-16907f83ff5a", "serialid": 116, "objecttable": "hs_office.coopassettx"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1651', 'rbac.permission', '4223af96-be57-43fe-8757-97f1fc7efe73', 'INSERT', '{"op": "SELECT", "uuid": "4223af96-be57-43fe-8757-97f1fc7efe73", "objectuuid": "676ed5a4-28ad-4631-8d60-6f5d6ce322bc", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1651', 'rbac.grant', '2c3e8d2d-c9f7-4b3c-a053-3b994b083804', 'INSERT', '{"uuid": "2c3e8d2d-c9f7-4b3c-a053-3b994b083804", "assumed": true, "ascendantuuid": "a2bd22e3-a8ae-4088-b96a-8d5100b111ae", "descendantuuid": "4223af96-be57-43fe-8757-97f1fc7efe73", "grantedbyroleuuid": null, "grantedbytriggerof": "676ed5a4-28ad-4631-8d60-6f5d6ce322bc"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1651', 'rbac.permission', 'e0a2ad3c-6c4d-4f3f-8030-fc44d5c99cd9', 'INSERT', '{"op": "UPDATE", "uuid": "e0a2ad3c-6c4d-4f3f-8030-fc44d5c99cd9", "objectuuid": "676ed5a4-28ad-4631-8d60-6f5d6ce322bc", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1651', 'rbac.grant', '4c41a1e9-fbf9-4889-9d06-daefdea04ce4', 'INSERT', '{"uuid": "4c41a1e9-fbf9-4889-9d06-daefdea04ce4", "assumed": true, "ascendantuuid": "f4926d93-063a-4959-b6fc-1db4d0d5653e", "descendantuuid": "e0a2ad3c-6c4d-4f3f-8030-fc44d5c99cd9", "grantedbyroleuuid": null, "grantedbytriggerof": "676ed5a4-28ad-4631-8d60-6f5d6ce322bc"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1651', 'hs_office.coopassettx', '676ed5a4-28ad-4631-8d60-6f5d6ce322bc', 'INSERT', '{"uuid": "676ed5a4-28ad-4631-8d60-6f5d6ce322bc", "comment": "initial deposit", "version": 0, "reference": "ref 1000101-1", "valuedate": "2010-03-15", "assetvalue": 320.00, "membershipuuid": "4330e211-e36c-45ec-9332-f7593ff42811", "transactiontype": "DEPOSIT", "assetadoptiontxuuid": null, "revertedassettxuuid": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1651', 'rbac.permission', '7970eea3-ad13-4185-82a4-869946a82943', 'INSERT', '{"op": "SELECT", "uuid": "7970eea3-ad13-4185-82a4-869946a82943", "objectuuid": "b627613a-10e4-435b-8f81-c7c31abe114b", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1651', 'rbac.grant', '154f8b3e-0560-4394-9cf8-57cf54c9385b', 'INSERT', '{"uuid": "154f8b3e-0560-4394-9cf8-57cf54c9385b", "assumed": true, "ascendantuuid": "a2bd22e3-a8ae-4088-b96a-8d5100b111ae", "descendantuuid": "7970eea3-ad13-4185-82a4-869946a82943", "grantedbyroleuuid": null, "grantedbytriggerof": "b627613a-10e4-435b-8f81-c7c31abe114b"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1651', 'rbac.permission', '810383b9-26cf-4faa-8655-cd89599a59c4', 'INSERT', '{"op": "UPDATE", "uuid": "810383b9-26cf-4faa-8655-cd89599a59c4", "objectuuid": "b627613a-10e4-435b-8f81-c7c31abe114b", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1651', 'rbac.grant', 'f787df1d-288a-4f01-ac3f-09f4df93e397', 'INSERT', '{"uuid": "f787df1d-288a-4f01-ac3f-09f4df93e397", "assumed": true, "ascendantuuid": "f4926d93-063a-4959-b6fc-1db4d0d5653e", "descendantuuid": "810383b9-26cf-4faa-8655-cd89599a59c4", "grantedbyroleuuid": null, "grantedbytriggerof": "b627613a-10e4-435b-8f81-c7c31abe114b"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1651', 'rbac.grant', 'bd4d3bea-e681-4464-8865-43fd9ff8827d', 'INSERT', '{"uuid": "bd4d3bea-e681-4464-8865-43fd9ff8827d", "assumed": true, "ascendantuuid": "35628825-27df-48e2-979c-63619d535ec7", "descendantuuid": "34814cb8-baa1-409e-a706-c8eb0e635ff7", "grantedbyroleuuid": null, "grantedbytriggerof": "88e5084c-472f-4c27-b51b-dc22dc13b9eb"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1651', 'hs_office.coopassettx', 'b627613a-10e4-435b-8f81-c7c31abe114b', 'INSERT', '{"uuid": "b627613a-10e4-435b-8f81-c7c31abe114b", "comment": "partial disbursal", "version": 0, "reference": "ref 1000101-2", "valuedate": "2021-09-01", "assetvalue": -128.00, "membershipuuid": "4330e211-e36c-45ec-9332-f7593ff42811", "transactiontype": "DISBURSAL", "assetadoptiontxuuid": null, "revertedassettxuuid": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1651', 'rbac.permission', 'af8aad0a-38a8-4b2e-b26d-466bb9efcb36', 'INSERT', '{"op": "SELECT", "uuid": "af8aad0a-38a8-4b2e-b26d-466bb9efcb36", "objectuuid": "240d8194-43e0-455c-b759-aca1d68d129a", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1651', 'rbac.grant', '281ae2e9-3d13-4d6c-8b23-9838086493e9', 'INSERT', '{"uuid": "281ae2e9-3d13-4d6c-8b23-9838086493e9", "assumed": true, "ascendantuuid": "a2bd22e3-a8ae-4088-b96a-8d5100b111ae", "descendantuuid": "af8aad0a-38a8-4b2e-b26d-466bb9efcb36", "grantedbyroleuuid": null, "grantedbytriggerof": "240d8194-43e0-455c-b759-aca1d68d129a"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1651', 'rbac.permission', '2cf35377-01af-4114-a4b4-699c3ddec40f', 'INSERT', '{"op": "UPDATE", "uuid": "2cf35377-01af-4114-a4b4-699c3ddec40f", "objectuuid": "240d8194-43e0-455c-b759-aca1d68d129a", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1651', 'rbac.grant', '95c31da8-0873-44a1-b3cf-4fd776e3ef83', 'INSERT', '{"uuid": "95c31da8-0873-44a1-b3cf-4fd776e3ef83", "assumed": true, "ascendantuuid": "f4926d93-063a-4959-b6fc-1db4d0d5653e", "descendantuuid": "2cf35377-01af-4114-a4b4-699c3ddec40f", "grantedbyroleuuid": null, "grantedbytriggerof": "240d8194-43e0-455c-b759-aca1d68d129a"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1651', 'hs_office.coopassettx', '240d8194-43e0-455c-b759-aca1d68d129a', 'INSERT', '{"uuid": "240d8194-43e0-455c-b759-aca1d68d129a", "comment": "some loss", "version": 0, "reference": "ref 1000101-3", "valuedate": "2022-10-20", "assetvalue": 128.00, "membershipuuid": "4330e211-e36c-45ec-9332-f7593ff42811", "transactiontype": "DEPOSIT", "assetadoptiontxuuid": null, "revertedassettxuuid": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1651', 'rbac.permission', '4237bb9a-cfb3-45c1-8c6f-b6e9acb68a92', 'INSERT', '{"op": "SELECT", "uuid": "4237bb9a-cfb3-45c1-8c6f-b6e9acb68a92", "objectuuid": "0cff5e6f-c936-4ba6-8eaa-dde92514b7f4", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1651', 'rbac.grant', '9e8b3623-acf9-43de-8f67-38ce4bb168fb', 'INSERT', '{"uuid": "9e8b3623-acf9-43de-8f67-38ce4bb168fb", "assumed": true, "ascendantuuid": "a2bd22e3-a8ae-4088-b96a-8d5100b111ae", "descendantuuid": "4237bb9a-cfb3-45c1-8c6f-b6e9acb68a92", "grantedbyroleuuid": null, "grantedbytriggerof": "0cff5e6f-c936-4ba6-8eaa-dde92514b7f4"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1651', 'rbac.permission', '82586c79-9d1c-410e-a9ad-a58921226ce6', 'INSERT', '{"op": "UPDATE", "uuid": "82586c79-9d1c-410e-a9ad-a58921226ce6", "objectuuid": "0cff5e6f-c936-4ba6-8eaa-dde92514b7f4", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1651', 'rbac.grant', 'afb2aa43-39d6-4a82-9b12-ed39506e5154', 'INSERT', '{"uuid": "afb2aa43-39d6-4a82-9b12-ed39506e5154", "assumed": true, "ascendantuuid": "f4926d93-063a-4959-b6fc-1db4d0d5653e", "descendantuuid": "82586c79-9d1c-410e-a9ad-a58921226ce6", "grantedbyroleuuid": null, "grantedbytriggerof": "0cff5e6f-c936-4ba6-8eaa-dde92514b7f4"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1651', 'hs_office.coopassettx', '0cff5e6f-c936-4ba6-8eaa-dde92514b7f4', 'INSERT', '{"uuid": "0cff5e6f-c936-4ba6-8eaa-dde92514b7f4", "comment": "some reversal", "version": 0, "reference": "ref 1000101-3", "valuedate": "2022-10-21", "assetvalue": -128.00, "membershipuuid": "4330e211-e36c-45ec-9332-f7593ff42811", "transactiontype": "REVERSAL", "assetadoptiontxuuid": null, "revertedassettxuuid": "240d8194-43e0-455c-b759-aca1d68d129a"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1651', 'rbac.permission', '59784630-e4d4-4348-ac23-29a97458f818', 'INSERT', '{"op": "SELECT", "uuid": "59784630-e4d4-4348-ac23-29a97458f818", "objectuuid": "9c5fe71c-5a01-4769-96b3-f96d1fc96887", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1651', 'rbac.grant', '209f4313-ea72-41f4-ad28-edc0d2d7aa62', 'INSERT', '{"uuid": "209f4313-ea72-41f4-ad28-edc0d2d7aa62", "assumed": true, "ascendantuuid": "a2bd22e3-a8ae-4088-b96a-8d5100b111ae", "descendantuuid": "59784630-e4d4-4348-ac23-29a97458f818", "grantedbyroleuuid": null, "grantedbytriggerof": "9c5fe71c-5a01-4769-96b3-f96d1fc96887"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1651', 'rbac.permission', '698c3f76-c309-48d6-a5fb-bba764dcc1f7', 'INSERT', '{"op": "UPDATE", "uuid": "698c3f76-c309-48d6-a5fb-bba764dcc1f7", "objectuuid": "9c5fe71c-5a01-4769-96b3-f96d1fc96887", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1651', 'rbac.grant', '0c5e5eb3-ef84-4349-9f2a-07b9fd23242a', 'INSERT', '{"uuid": "0c5e5eb3-ef84-4349-9f2a-07b9fd23242a", "assumed": true, "ascendantuuid": "f4926d93-063a-4959-b6fc-1db4d0d5653e", "descendantuuid": "698c3f76-c309-48d6-a5fb-bba764dcc1f7", "grantedbyroleuuid": null, "grantedbytriggerof": "9c5fe71c-5a01-4769-96b3-f96d1fc96887"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1651', 'hs_office.coopassettx', '9c5fe71c-5a01-4769-96b3-f96d1fc96887', 'INSERT', '{"uuid": "9c5fe71c-5a01-4769-96b3-f96d1fc96887", "comment": "some reversal", "version": 0, "reference": "ref 1000101-3", "valuedate": "2023-12-31", "assetvalue": -192.00, "membershipuuid": "4330e211-e36c-45ec-9332-f7593ff42811", "transactiontype": "TRANSFER", "assetadoptiontxuuid": "c8dcdb55-672f-4152-865c-16907f83ff5a", "revertedassettxuuid": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1651', 'rbac.permission', 'cf906251-f454-4731-b817-eb98ec0806e6', 'INSERT', '{"op": "SELECT", "uuid": "cf906251-f454-4731-b817-eb98ec0806e6", "objectuuid": "c8dcdb55-672f-4152-865c-16907f83ff5a", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1651', 'rbac.grant', '23188337-9310-4127-a6c8-49516c2b8839', 'INSERT', '{"uuid": "23188337-9310-4127-a6c8-49516c2b8839", "assumed": true, "ascendantuuid": "a2bd22e3-a8ae-4088-b96a-8d5100b111ae", "descendantuuid": "cf906251-f454-4731-b817-eb98ec0806e6", "grantedbyroleuuid": null, "grantedbytriggerof": "c8dcdb55-672f-4152-865c-16907f83ff5a"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1651', 'rbac.permission', '868e25ae-005e-4dee-b631-8d8921bacba5', 'INSERT', '{"op": "UPDATE", "uuid": "868e25ae-005e-4dee-b631-8d8921bacba5", "objectuuid": "c8dcdb55-672f-4152-865c-16907f83ff5a", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1651', 'rbac.grant', 'ce8966a2-d3c1-4ec7-80a3-c8f2b56ff33b', 'INSERT', '{"uuid": "ce8966a2-d3c1-4ec7-80a3-c8f2b56ff33b", "assumed": true, "ascendantuuid": "f4926d93-063a-4959-b6fc-1db4d0d5653e", "descendantuuid": "868e25ae-005e-4dee-b631-8d8921bacba5", "grantedbyroleuuid": null, "grantedbytriggerof": "c8dcdb55-672f-4152-865c-16907f83ff5a"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1651', 'hs_office.coopassettx', 'c8dcdb55-672f-4152-865c-16907f83ff5a', 'INSERT', '{"uuid": "c8dcdb55-672f-4152-865c-16907f83ff5a", "comment": "some reversal", "version": 0, "reference": "ref 1000101-3", "valuedate": "2023-12-31", "assetvalue": 192.00, "membershipuuid": "4330e211-e36c-45ec-9332-f7593ff42811", "transactiontype": "ADOPTION", "assetadoptiontxuuid": null, "revertedassettxuuid": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1651', 'rbac.object', '88e5084c-472f-4c27-b51b-dc22dc13b9eb', 'INSERT', '{"uuid": "88e5084c-472f-4c27-b51b-dc22dc13b9eb", "serialid": 117, "objecttable": "hs_office.coopassettx"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1651', 'rbac.object', '92ec36a4-d652-4051-9fc9-4d316fb2f0e6', 'INSERT', '{"uuid": "92ec36a4-d652-4051-9fc9-4d316fb2f0e6", "serialid": 118, "objecttable": "hs_office.coopassettx"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1651', 'rbac.object', 'db57c933-f269-4a49-8d48-3412ed1674dd', 'INSERT', '{"uuid": "db57c933-f269-4a49-8d48-3412ed1674dd", "serialid": 119, "objecttable": "hs_office.coopassettx"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1651', 'rbac.object', 'bf523f40-d58e-43d0-88a3-2f27e6a694dc', 'INSERT', '{"uuid": "bf523f40-d58e-43d0-88a3-2f27e6a694dc", "serialid": 120, "objecttable": "hs_office.coopassettx"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1651', 'rbac.object', '66174fa7-76cf-43e0-bb52-b8a8a0ca8008', 'INSERT', '{"uuid": "66174fa7-76cf-43e0-bb52-b8a8a0ca8008", "serialid": 121, "objecttable": "hs_office.coopassettx"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1651', 'rbac.object', '2ead4c75-3e6a-405a-8e53-64c210372611', 'INSERT', '{"uuid": "2ead4c75-3e6a-405a-8e53-64c210372611", "serialid": 122, "objecttable": "hs_office.coopassettx"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1651', 'rbac.permission', '34814cb8-baa1-409e-a706-c8eb0e635ff7', 'INSERT', '{"op": "SELECT", "uuid": "34814cb8-baa1-409e-a706-c8eb0e635ff7", "objectuuid": "88e5084c-472f-4c27-b51b-dc22dc13b9eb", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1651', 'rbac.grant', 'f5498d0f-1ca3-4a9d-9779-c25f596d6078', 'INSERT', '{"uuid": "f5498d0f-1ca3-4a9d-9779-c25f596d6078", "assumed": true, "ascendantuuid": "e81132af-026a-4333-82b2-fae091761e55", "descendantuuid": "fc7eda4d-73bc-4712-af0a-22a622c29156", "grantedbyroleuuid": null, "grantedbytriggerof": "88e5084c-472f-4c27-b51b-dc22dc13b9eb"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1651', 'hs_office.coopassettx', '88e5084c-472f-4c27-b51b-dc22dc13b9eb', 'INSERT', '{"uuid": "88e5084c-472f-4c27-b51b-dc22dc13b9eb", "comment": "initial deposit", "version": 0, "reference": "ref 1000202-1", "valuedate": "2010-03-15", "assetvalue": 320.00, "membershipuuid": "bed3c145-aa55-425f-9211-be9f5e9f4ebe", "transactiontype": "DEPOSIT", "assetadoptiontxuuid": null, "revertedassettxuuid": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1651', 'rbac.permission', '99128846-713a-47f3-98ce-ef24d8e4158e', 'INSERT', '{"op": "SELECT", "uuid": "99128846-713a-47f3-98ce-ef24d8e4158e", "objectuuid": "92ec36a4-d652-4051-9fc9-4d316fb2f0e6", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1651', 'rbac.grant', '42b5c913-d37c-4759-8b2c-c93f206412f0', 'INSERT', '{"uuid": "42b5c913-d37c-4759-8b2c-c93f206412f0", "assumed": true, "ascendantuuid": "35628825-27df-48e2-979c-63619d535ec7", "descendantuuid": "99128846-713a-47f3-98ce-ef24d8e4158e", "grantedbyroleuuid": null, "grantedbytriggerof": "92ec36a4-d652-4051-9fc9-4d316fb2f0e6"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1651', 'rbac.permission', '0aa035fd-e6b5-4ef6-8f98-8914da2d6d28', 'INSERT', '{"op": "UPDATE", "uuid": "0aa035fd-e6b5-4ef6-8f98-8914da2d6d28", "objectuuid": "92ec36a4-d652-4051-9fc9-4d316fb2f0e6", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1651', 'rbac.grant', '959a2be4-d4d0-41ef-8cc4-3f1cb8232a4c', 'INSERT', '{"uuid": "959a2be4-d4d0-41ef-8cc4-3f1cb8232a4c", "assumed": true, "ascendantuuid": "e81132af-026a-4333-82b2-fae091761e55", "descendantuuid": "0aa035fd-e6b5-4ef6-8f98-8914da2d6d28", "grantedbyroleuuid": null, "grantedbytriggerof": "92ec36a4-d652-4051-9fc9-4d316fb2f0e6"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1651', 'hs_office.coopassettx', '92ec36a4-d652-4051-9fc9-4d316fb2f0e6', 'INSERT', '{"uuid": "92ec36a4-d652-4051-9fc9-4d316fb2f0e6", "comment": "partial disbursal", "version": 0, "reference": "ref 1000202-2", "valuedate": "2021-09-01", "assetvalue": -128.00, "membershipuuid": "bed3c145-aa55-425f-9211-be9f5e9f4ebe", "transactiontype": "DISBURSAL", "assetadoptiontxuuid": null, "revertedassettxuuid": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1651', 'rbac.permission', '74599a1a-6d80-4571-baae-9c2d908d0f1c', 'INSERT', '{"op": "SELECT", "uuid": "74599a1a-6d80-4571-baae-9c2d908d0f1c", "objectuuid": "db57c933-f269-4a49-8d48-3412ed1674dd", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1651', 'rbac.grant', '6a97856f-3bf1-4a38-b19b-35fd1e45f5b0', 'INSERT', '{"uuid": "6a97856f-3bf1-4a38-b19b-35fd1e45f5b0", "assumed": true, "ascendantuuid": "35628825-27df-48e2-979c-63619d535ec7", "descendantuuid": "74599a1a-6d80-4571-baae-9c2d908d0f1c", "grantedbyroleuuid": null, "grantedbytriggerof": "db57c933-f269-4a49-8d48-3412ed1674dd"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1651', 'rbac.permission', 'b59da3aa-865c-4f53-8220-245d3b4e4c83', 'INSERT', '{"op": "UPDATE", "uuid": "b59da3aa-865c-4f53-8220-245d3b4e4c83", "objectuuid": "db57c933-f269-4a49-8d48-3412ed1674dd", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1651', 'rbac.grant', 'b6f306b8-c7c0-42b9-8d84-7cb226e64024', 'INSERT', '{"uuid": "b6f306b8-c7c0-42b9-8d84-7cb226e64024", "assumed": true, "ascendantuuid": "e81132af-026a-4333-82b2-fae091761e55", "descendantuuid": "b59da3aa-865c-4f53-8220-245d3b4e4c83", "grantedbyroleuuid": null, "grantedbytriggerof": "db57c933-f269-4a49-8d48-3412ed1674dd"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1651', 'hs_office.coopassettx', 'db57c933-f269-4a49-8d48-3412ed1674dd', 'INSERT', '{"uuid": "db57c933-f269-4a49-8d48-3412ed1674dd", "comment": "some loss", "version": 0, "reference": "ref 1000202-3", "valuedate": "2022-10-20", "assetvalue": 128.00, "membershipuuid": "bed3c145-aa55-425f-9211-be9f5e9f4ebe", "transactiontype": "DEPOSIT", "assetadoptiontxuuid": null, "revertedassettxuuid": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1651', 'rbac.permission', '3abdb59e-14d2-4128-ad58-491ee3ea5a35', 'INSERT', '{"op": "SELECT", "uuid": "3abdb59e-14d2-4128-ad58-491ee3ea5a35", "objectuuid": "bf523f40-d58e-43d0-88a3-2f27e6a694dc", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1651', 'rbac.grant', '3173ea9e-97b8-40f2-830e-28cf0fe86f44', 'INSERT', '{"uuid": "3173ea9e-97b8-40f2-830e-28cf0fe86f44", "assumed": true, "ascendantuuid": "35628825-27df-48e2-979c-63619d535ec7", "descendantuuid": "3abdb59e-14d2-4128-ad58-491ee3ea5a35", "grantedbyroleuuid": null, "grantedbytriggerof": "bf523f40-d58e-43d0-88a3-2f27e6a694dc"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1651', 'rbac.permission', '9b36937d-e5d0-457c-8707-beb9efa16748', 'INSERT', '{"op": "UPDATE", "uuid": "9b36937d-e5d0-457c-8707-beb9efa16748", "objectuuid": "bf523f40-d58e-43d0-88a3-2f27e6a694dc", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1651', 'rbac.grant', '42e9899f-3388-4b71-a157-af22418ad7a7', 'INSERT', '{"uuid": "42e9899f-3388-4b71-a157-af22418ad7a7", "assumed": true, "ascendantuuid": "e81132af-026a-4333-82b2-fae091761e55", "descendantuuid": "9b36937d-e5d0-457c-8707-beb9efa16748", "grantedbyroleuuid": null, "grantedbytriggerof": "bf523f40-d58e-43d0-88a3-2f27e6a694dc"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1651', 'hs_office.coopassettx', 'bf523f40-d58e-43d0-88a3-2f27e6a694dc', 'INSERT', '{"uuid": "bf523f40-d58e-43d0-88a3-2f27e6a694dc", "comment": "some reversal", "version": 0, "reference": "ref 1000202-3", "valuedate": "2022-10-21", "assetvalue": -128.00, "membershipuuid": "bed3c145-aa55-425f-9211-be9f5e9f4ebe", "transactiontype": "REVERSAL", "assetadoptiontxuuid": null, "revertedassettxuuid": "db57c933-f269-4a49-8d48-3412ed1674dd"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1651', 'rbac.permission', '9f7ff415-ceef-4614-9b20-1fb30986779b', 'INSERT', '{"op": "SELECT", "uuid": "9f7ff415-ceef-4614-9b20-1fb30986779b", "objectuuid": "66174fa7-76cf-43e0-bb52-b8a8a0ca8008", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1651', 'rbac.grant', '90539e02-a329-420a-93d9-5adcce15a23d', 'INSERT', '{"uuid": "90539e02-a329-420a-93d9-5adcce15a23d", "assumed": true, "ascendantuuid": "35628825-27df-48e2-979c-63619d535ec7", "descendantuuid": "9f7ff415-ceef-4614-9b20-1fb30986779b", "grantedbyroleuuid": null, "grantedbytriggerof": "66174fa7-76cf-43e0-bb52-b8a8a0ca8008"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1651', 'rbac.permission', 'ce9c2fbe-a8d5-4507-8736-86152a83d408', 'INSERT', '{"op": "UPDATE", "uuid": "ce9c2fbe-a8d5-4507-8736-86152a83d408", "objectuuid": "66174fa7-76cf-43e0-bb52-b8a8a0ca8008", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1651', 'rbac.grant', 'b65cf6b0-c927-49d9-8214-b08aea475cfe', 'INSERT', '{"uuid": "b65cf6b0-c927-49d9-8214-b08aea475cfe", "assumed": true, "ascendantuuid": "e81132af-026a-4333-82b2-fae091761e55", "descendantuuid": "ce9c2fbe-a8d5-4507-8736-86152a83d408", "grantedbyroleuuid": null, "grantedbytriggerof": "66174fa7-76cf-43e0-bb52-b8a8a0ca8008"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1651', 'hs_office.coopassettx', '66174fa7-76cf-43e0-bb52-b8a8a0ca8008', 'INSERT', '{"uuid": "66174fa7-76cf-43e0-bb52-b8a8a0ca8008", "comment": "some reversal", "version": 0, "reference": "ref 1000202-3", "valuedate": "2023-12-31", "assetvalue": -192.00, "membershipuuid": "bed3c145-aa55-425f-9211-be9f5e9f4ebe", "transactiontype": "TRANSFER", "assetadoptiontxuuid": "2ead4c75-3e6a-405a-8e53-64c210372611", "revertedassettxuuid": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1651', 'rbac.permission', '2e074648-b51b-4782-b283-fb401f6ee1bc', 'INSERT', '{"op": "SELECT", "uuid": "2e074648-b51b-4782-b283-fb401f6ee1bc", "objectuuid": "2ead4c75-3e6a-405a-8e53-64c210372611", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1651', 'rbac.grant', 'b985b606-b9cc-45a7-a6b1-037f4b5d22d3', 'INSERT', '{"uuid": "b985b606-b9cc-45a7-a6b1-037f4b5d22d3", "assumed": true, "ascendantuuid": "35628825-27df-48e2-979c-63619d535ec7", "descendantuuid": "2e074648-b51b-4782-b283-fb401f6ee1bc", "grantedbyroleuuid": null, "grantedbytriggerof": "2ead4c75-3e6a-405a-8e53-64c210372611"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1651', 'rbac.permission', '7f5f0fce-71c5-4f53-9d87-a43c1623ed86', 'INSERT', '{"op": "UPDATE", "uuid": "7f5f0fce-71c5-4f53-9d87-a43c1623ed86", "objectuuid": "2ead4c75-3e6a-405a-8e53-64c210372611", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1651', 'rbac.grant', 'b81493bb-a54c-44c8-bed1-8006d3cf3fdb', 'INSERT', '{"uuid": "b81493bb-a54c-44c8-bed1-8006d3cf3fdb", "assumed": true, "ascendantuuid": "e81132af-026a-4333-82b2-fae091761e55", "descendantuuid": "7f5f0fce-71c5-4f53-9d87-a43c1623ed86", "grantedbyroleuuid": null, "grantedbytriggerof": "2ead4c75-3e6a-405a-8e53-64c210372611"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1651', 'hs_office.coopassettx', '2ead4c75-3e6a-405a-8e53-64c210372611', 'INSERT', '{"uuid": "2ead4c75-3e6a-405a-8e53-64c210372611", "comment": "some reversal", "version": 0, "reference": "ref 1000202-3", "valuedate": "2023-12-31", "assetvalue": 192.00, "membershipuuid": "bed3c145-aa55-425f-9211-be9f5e9f4ebe", "transactiontype": "ADOPTION", "assetadoptiontxuuid": null, "revertedassettxuuid": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1651', 'rbac.object', 'f345fb37-7603-4ca7-934a-517dd801ae63', 'INSERT', '{"uuid": "f345fb37-7603-4ca7-934a-517dd801ae63", "serialid": 123, "objecttable": "hs_office.coopassettx"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1651', 'rbac.object', 'b6c0a950-f1b0-4b69-9c67-3b2de780cbdb', 'INSERT', '{"uuid": "b6c0a950-f1b0-4b69-9c67-3b2de780cbdb", "serialid": 124, "objecttable": "hs_office.coopassettx"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1651', 'rbac.object', '890e8afe-1dcd-424d-8191-747af2d09ff4', 'INSERT', '{"uuid": "890e8afe-1dcd-424d-8191-747af2d09ff4", "serialid": 125, "objecttable": "hs_office.coopassettx"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1651', 'rbac.object', '1478a182-927f-44fe-9da0-1e09108a7d7e', 'INSERT', '{"uuid": "1478a182-927f-44fe-9da0-1e09108a7d7e", "serialid": 126, "objecttable": "hs_office.coopassettx"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1651', 'rbac.object', 'c7ef7757-abff-4f30-a234-62ff69f8d032', 'INSERT', '{"uuid": "c7ef7757-abff-4f30-a234-62ff69f8d032", "serialid": 127, "objecttable": "hs_office.coopassettx"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1651', 'rbac.object', '7c86e357-7d6a-4f5a-a3cc-d4f6958dbf60', 'INSERT', '{"uuid": "7c86e357-7d6a-4f5a-a3cc-d4f6958dbf60", "serialid": 128, "objecttable": "hs_office.coopassettx"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1651', 'rbac.permission', '40dfa45a-022c-4fcb-876b-d9050a8fdccc', 'INSERT', '{"op": "SELECT", "uuid": "40dfa45a-022c-4fcb-876b-d9050a8fdccc", "objectuuid": "f345fb37-7603-4ca7-934a-517dd801ae63", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1651', 'rbac.grant', '18989e98-df8b-4560-9298-893f5c0b490b', 'INSERT', '{"uuid": "18989e98-df8b-4560-9298-893f5c0b490b", "assumed": true, "ascendantuuid": "07993766-fac8-4c89-8efa-d3f21a5d7931", "descendantuuid": "40dfa45a-022c-4fcb-876b-d9050a8fdccc", "grantedbyroleuuid": null, "grantedbytriggerof": "f345fb37-7603-4ca7-934a-517dd801ae63"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1651', 'rbac.permission', '3796da6c-9ce7-4974-bdc3-6561ed88c022', 'INSERT', '{"op": "UPDATE", "uuid": "3796da6c-9ce7-4974-bdc3-6561ed88c022", "objectuuid": "f345fb37-7603-4ca7-934a-517dd801ae63", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1651', 'rbac.grant', '96f2e5a3-1e56-41a0-9aaf-76568ffe0426', 'INSERT', '{"uuid": "96f2e5a3-1e56-41a0-9aaf-76568ffe0426", "assumed": true, "ascendantuuid": "c8ca51cb-a2b6-453c-8f90-4ef7c1d2d5d9", "descendantuuid": "3796da6c-9ce7-4974-bdc3-6561ed88c022", "grantedbyroleuuid": null, "grantedbytriggerof": "f345fb37-7603-4ca7-934a-517dd801ae63"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1651', 'hs_office.coopassettx', 'f345fb37-7603-4ca7-934a-517dd801ae63', 'INSERT', '{"uuid": "f345fb37-7603-4ca7-934a-517dd801ae63", "comment": "initial deposit", "version": 0, "reference": "ref 1000303-1", "valuedate": "2010-03-15", "assetvalue": 320.00, "membershipuuid": "a42d61c5-7dad-4379-9dd9-39a8d21ddc32", "transactiontype": "DEPOSIT", "assetadoptiontxuuid": null, "revertedassettxuuid": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1651', 'rbac.permission', 'ab290567-cb39-4339-90c1-1e5ccb185127', 'INSERT', '{"op": "SELECT", "uuid": "ab290567-cb39-4339-90c1-1e5ccb185127", "objectuuid": "b6c0a950-f1b0-4b69-9c67-3b2de780cbdb", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1651', 'rbac.grant', '54b6c3b7-6555-43d3-b63f-f8d996dd95fd', 'INSERT', '{"uuid": "54b6c3b7-6555-43d3-b63f-f8d996dd95fd", "assumed": true, "ascendantuuid": "07993766-fac8-4c89-8efa-d3f21a5d7931", "descendantuuid": "ab290567-cb39-4339-90c1-1e5ccb185127", "grantedbyroleuuid": null, "grantedbytriggerof": "b6c0a950-f1b0-4b69-9c67-3b2de780cbdb"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1651', 'rbac.permission', '3ecfe08d-3a10-4a8a-8ac1-1c0901e57002', 'INSERT', '{"op": "UPDATE", "uuid": "3ecfe08d-3a10-4a8a-8ac1-1c0901e57002", "objectuuid": "b6c0a950-f1b0-4b69-9c67-3b2de780cbdb", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1651', 'rbac.grant', '3e32dd58-3dee-4430-be46-e255d0eae6dd', 'INSERT', '{"uuid": "3e32dd58-3dee-4430-be46-e255d0eae6dd", "assumed": true, "ascendantuuid": "c8ca51cb-a2b6-453c-8f90-4ef7c1d2d5d9", "descendantuuid": "3ecfe08d-3a10-4a8a-8ac1-1c0901e57002", "grantedbyroleuuid": null, "grantedbytriggerof": "b6c0a950-f1b0-4b69-9c67-3b2de780cbdb"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1651', 'hs_office.coopassettx', 'b6c0a950-f1b0-4b69-9c67-3b2de780cbdb', 'INSERT', '{"uuid": "b6c0a950-f1b0-4b69-9c67-3b2de780cbdb", "comment": "partial disbursal", "version": 0, "reference": "ref 1000303-2", "valuedate": "2021-09-01", "assetvalue": -128.00, "membershipuuid": "a42d61c5-7dad-4379-9dd9-39a8d21ddc32", "transactiontype": "DISBURSAL", "assetadoptiontxuuid": null, "revertedassettxuuid": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1651', 'rbac.permission', 'b0f2ae0a-7812-480e-ba03-b7c8dc9023e9', 'INSERT', '{"op": "SELECT", "uuid": "b0f2ae0a-7812-480e-ba03-b7c8dc9023e9", "objectuuid": "890e8afe-1dcd-424d-8191-747af2d09ff4", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1651', 'rbac.grant', '7b8c086c-78c8-4e50-88e6-ee65215104ce', 'INSERT', '{"uuid": "7b8c086c-78c8-4e50-88e6-ee65215104ce", "assumed": true, "ascendantuuid": "07993766-fac8-4c89-8efa-d3f21a5d7931", "descendantuuid": "b0f2ae0a-7812-480e-ba03-b7c8dc9023e9", "grantedbyroleuuid": null, "grantedbytriggerof": "890e8afe-1dcd-424d-8191-747af2d09ff4"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1651', 'rbac.permission', '14fc443e-d5ec-4fea-95c4-dd0441ef5f33', 'INSERT', '{"op": "UPDATE", "uuid": "14fc443e-d5ec-4fea-95c4-dd0441ef5f33", "objectuuid": "890e8afe-1dcd-424d-8191-747af2d09ff4", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1651', 'rbac.grant', '4033cd81-8e16-48b6-af9d-9d8550f81acb', 'INSERT', '{"uuid": "4033cd81-8e16-48b6-af9d-9d8550f81acb", "assumed": true, "ascendantuuid": "c8ca51cb-a2b6-453c-8f90-4ef7c1d2d5d9", "descendantuuid": "14fc443e-d5ec-4fea-95c4-dd0441ef5f33", "grantedbyroleuuid": null, "grantedbytriggerof": "890e8afe-1dcd-424d-8191-747af2d09ff4"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1651', 'hs_office.coopassettx', '890e8afe-1dcd-424d-8191-747af2d09ff4', 'INSERT', '{"uuid": "890e8afe-1dcd-424d-8191-747af2d09ff4", "comment": "some loss", "version": 0, "reference": "ref 1000303-3", "valuedate": "2022-10-20", "assetvalue": 128.00, "membershipuuid": "a42d61c5-7dad-4379-9dd9-39a8d21ddc32", "transactiontype": "DEPOSIT", "assetadoptiontxuuid": null, "revertedassettxuuid": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1651', 'rbac.permission', '01d8356c-bc96-4c2a-b323-7fc64e81a90d', 'INSERT', '{"op": "SELECT", "uuid": "01d8356c-bc96-4c2a-b323-7fc64e81a90d", "objectuuid": "1478a182-927f-44fe-9da0-1e09108a7d7e", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1651', 'rbac.grant', '05c408f5-b4aa-4ba9-88c3-3160a37228f0', 'INSERT', '{"uuid": "05c408f5-b4aa-4ba9-88c3-3160a37228f0", "assumed": true, "ascendantuuid": "07993766-fac8-4c89-8efa-d3f21a5d7931", "descendantuuid": "01d8356c-bc96-4c2a-b323-7fc64e81a90d", "grantedbyroleuuid": null, "grantedbytriggerof": "1478a182-927f-44fe-9da0-1e09108a7d7e"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1651', 'rbac.permission', '19a9de73-cc36-4749-9a3c-e36e07e88bf3', 'INSERT', '{"op": "UPDATE", "uuid": "19a9de73-cc36-4749-9a3c-e36e07e88bf3", "objectuuid": "1478a182-927f-44fe-9da0-1e09108a7d7e", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1651', 'rbac.grant', '677d7575-9c21-4d83-ada9-11962993c639', 'INSERT', '{"uuid": "677d7575-9c21-4d83-ada9-11962993c639", "assumed": true, "ascendantuuid": "c8ca51cb-a2b6-453c-8f90-4ef7c1d2d5d9", "descendantuuid": "19a9de73-cc36-4749-9a3c-e36e07e88bf3", "grantedbyroleuuid": null, "grantedbytriggerof": "1478a182-927f-44fe-9da0-1e09108a7d7e"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1651', 'hs_office.coopassettx', '1478a182-927f-44fe-9da0-1e09108a7d7e', 'INSERT', '{"uuid": "1478a182-927f-44fe-9da0-1e09108a7d7e", "comment": "some reversal", "version": 0, "reference": "ref 1000303-3", "valuedate": "2022-10-21", "assetvalue": -128.00, "membershipuuid": "a42d61c5-7dad-4379-9dd9-39a8d21ddc32", "transactiontype": "REVERSAL", "assetadoptiontxuuid": null, "revertedassettxuuid": "890e8afe-1dcd-424d-8191-747af2d09ff4"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1651', 'rbac.grant', 'b3769317-084c-4531-954c-5c975c7e9cb4', 'INSERT', '{"uuid": "b3769317-084c-4531-954c-5c975c7e9cb4", "assumed": true, "ascendantuuid": "07993766-fac8-4c89-8efa-d3f21a5d7931", "descendantuuid": "2c6af4ff-0644-4df6-97a0-69c8af1a0a85", "grantedbyroleuuid": null, "grantedbytriggerof": "c7ef7757-abff-4f30-a234-62ff69f8d032"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1651', 'rbac.permission', '64406a89-05c6-403c-a33f-3ebb75e3af1a', 'INSERT', '{"op": "UPDATE", "uuid": "64406a89-05c6-403c-a33f-3ebb75e3af1a", "objectuuid": "c7ef7757-abff-4f30-a234-62ff69f8d032", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1651', 'rbac.grant', '80dd58ae-ddf7-4aa6-8ac9-1786efe01993', 'INSERT', '{"uuid": "80dd58ae-ddf7-4aa6-8ac9-1786efe01993", "assumed": true, "ascendantuuid": "c8ca51cb-a2b6-453c-8f90-4ef7c1d2d5d9", "descendantuuid": "64406a89-05c6-403c-a33f-3ebb75e3af1a", "grantedbyroleuuid": null, "grantedbytriggerof": "c7ef7757-abff-4f30-a234-62ff69f8d032"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1651', 'hs_office.coopassettx', 'c7ef7757-abff-4f30-a234-62ff69f8d032', 'INSERT', '{"uuid": "c7ef7757-abff-4f30-a234-62ff69f8d032", "comment": "some reversal", "version": 0, "reference": "ref 1000303-3", "valuedate": "2023-12-31", "assetvalue": -192.00, "membershipuuid": "a42d61c5-7dad-4379-9dd9-39a8d21ddc32", "transactiontype": "TRANSFER", "assetadoptiontxuuid": "7c86e357-7d6a-4f5a-a3cc-d4f6958dbf60", "revertedassettxuuid": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1651', 'rbac.permission', 'adb92385-51b4-4662-b916-4c67082c5176', 'INSERT', '{"op": "SELECT", "uuid": "adb92385-51b4-4662-b916-4c67082c5176", "objectuuid": "7c86e357-7d6a-4f5a-a3cc-d4f6958dbf60", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1651', 'rbac.grant', '54a144a6-d90c-411d-8a2f-732a927c8213', 'INSERT', '{"uuid": "54a144a6-d90c-411d-8a2f-732a927c8213", "assumed": true, "ascendantuuid": "07993766-fac8-4c89-8efa-d3f21a5d7931", "descendantuuid": "adb92385-51b4-4662-b916-4c67082c5176", "grantedbyroleuuid": null, "grantedbytriggerof": "7c86e357-7d6a-4f5a-a3cc-d4f6958dbf60"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1651', 'rbac.permission', '038c505b-0145-4943-8835-ed64861fe269', 'INSERT', '{"op": "UPDATE", "uuid": "038c505b-0145-4943-8835-ed64861fe269", "objectuuid": "7c86e357-7d6a-4f5a-a3cc-d4f6958dbf60", "optablename": null}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1651', 'rbac.grant', '88f42463-fc14-47c2-89fc-cb6676329cc8', 'INSERT', '{"uuid": "88f42463-fc14-47c2-89fc-cb6676329cc8", "assumed": true, "ascendantuuid": "c8ca51cb-a2b6-453c-8f90-4ef7c1d2d5d9", "descendantuuid": "038c505b-0145-4943-8835-ed64861fe269", "grantedbyroleuuid": null, "grantedbytriggerof": "7c86e357-7d6a-4f5a-a3cc-d4f6958dbf60"}');
INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1651', 'hs_office.coopassettx', '7c86e357-7d6a-4f5a-a3cc-d4f6958dbf60', 'INSERT', '{"uuid": "7c86e357-7d6a-4f5a-a3cc-d4f6958dbf60", "comment": "some reversal", "version": 0, "reference": "ref 1000303-3", "valuedate": "2023-12-31", "assetvalue": 192.00, "membershipuuid": "a42d61c5-7dad-4379-9dd9-39a8d21ddc32", "transactiontype": "ADOPTION", "assetadoptiontxuuid": null, "revertedassettxuuid": null}');
--
-- Data for Name: bankaccount; Type: TABLE DATA; Schema: hs_office; Owner: postgres
--
INSERT INTO hs_office.bankaccount (uuid, version, holder, iban, bic) VALUES ('50b5215d-4fdc-48be-a196-22fbe9325efb', 0, 'First GmbH', 'DE02120300000000202051', 'BYLADEM1001');
INSERT INTO hs_office.bankaccount (uuid, version, holder, iban, bic) VALUES ('ba3b7687-f7ca-4520-ae16-6d3701fc5df9', 0, 'Peter Smith', 'DE02500105170137075030', 'INGDDEFF');
INSERT INTO hs_office.bankaccount (uuid, version, holder, iban, bic) VALUES ('33c27d3b-b8ea-4096-8d71-ee351ebed0a9', 0, 'Peter Smith - The Second Hand and Thrift Stores-n-Shipping e.K.', 'DE02100500000054540402', 'BELADEBE');
INSERT INTO hs_office.bankaccount (uuid, version, holder, iban, bic) VALUES ('754ac83e-c0bb-4391-bc56-14636708b9c4', 0, 'Third OHG', 'DE02300209000106531065', 'CMCIDEDD');
INSERT INTO hs_office.bankaccount (uuid, version, holder, iban, bic) VALUES ('b0ad26e4-3b28-4450-8a51-72a63112baea', 0, 'Fourth eG', 'DE02200505501015871393', 'HASPDEHH');
INSERT INTO hs_office.bankaccount (uuid, version, holder, iban, bic) VALUES ('28813a5d-54c6-435e-b0a7-b78d858f874e', 0, 'Mel Bessler', 'DE02100100100006820101', 'PBNKDEFF');
INSERT INTO hs_office.bankaccount (uuid, version, holder, iban, bic) VALUES ('8b6362a1-d6d5-437e-980e-f1fe4043de6a', 0, 'Anita Bessler', 'DE02300606010002474689', 'DAAEDEDD');
INSERT INTO hs_office.bankaccount (uuid, version, holder, iban, bic) VALUES ('843b098d-12af-4980-b211-703a20192443', 0, 'Paul Winkler', 'DE02600501010002034304', 'SOLADEST600');
--
-- Data for Name: contact; Type: TABLE DATA; Schema: hs_office; Owner: postgres
--
INSERT INTO hs_office.contact (uuid, version, caption, postaladdress, emailaddresses, phonenumbers) VALUES ('e256cae4-99d8-44f3-961a-ecbffaeb17e4', 0, 'first contact', '{"country": "Germany"}', '{"main": "contact-admin@firstcontact.example.com"}', '{"phone_office": "+49 123 1234567"}');
INSERT INTO hs_office.contact (uuid, version, caption, postaladdress, emailaddresses, phonenumbers) VALUES ('a6db17a5-0427-4e3f-96e1-606127ad6d98', 0, 'second contact', '{"country": "Germany"}', '{"main": "contact-admin@secondcontact.example.com"}', '{"phone_office": "+49 123 1234567"}');
INSERT INTO hs_office.contact (uuid, version, caption, postaladdress, emailaddresses, phonenumbers) VALUES ('ae0320f6-d268-470e-8ded-142acddb2243', 0, 'third contact', '{"country": "Germany"}', '{"main": "contact-admin@thirdcontact.example.com"}', '{"phone_office": "+49 123 1234567"}');
INSERT INTO hs_office.contact (uuid, version, caption, postaladdress, emailaddresses, phonenumbers) VALUES ('1649730d-2c49-40e2-9000-7615a085477c', 0, 'fourth contact', '{"country": "Germany"}', '{"main": "contact-admin@fourthcontact.example.com"}', '{"phone_office": "+49 123 1234567"}');
INSERT INTO hs_office.contact (uuid, version, caption, postaladdress, emailaddresses, phonenumbers) VALUES ('beda1946-685d-45a4-ad22-fd6842e14b54', 0, 'fifth contact', '{"country": "Germany"}', '{"main": "contact-admin@fifthcontact.example.com"}', '{"phone_office": "+49 123 1234567"}');
INSERT INTO hs_office.contact (uuid, version, caption, postaladdress, emailaddresses, phonenumbers) VALUES ('6cdd8a31-27b3-4b0e-8297-67794b74cd5c', 0, 'sixth contact', '{"country": "Germany"}', '{"main": "contact-admin@sixthcontact.example.com"}', '{"phone_office": "+49 123 1234567"}');
INSERT INTO hs_office.contact (uuid, version, caption, postaladdress, emailaddresses, phonenumbers) VALUES ('5336a6e7-2f9a-4f73-8385-04ac89c46f5e', 0, 'seventh contact', '{"country": "Germany"}', '{"main": "contact-admin@seventhcontact.example.com"}', '{"phone_office": "+49 123 1234567"}');
INSERT INTO hs_office.contact (uuid, version, caption, postaladdress, emailaddresses, phonenumbers) VALUES ('0fc7fedf-6a52-462e-85bb-689f4b2a8d2d', 0, 'eighth contact', '{"country": "Germany"}', '{"main": "contact-admin@eighthcontact.example.com"}', '{"phone_office": "+49 123 1234567"}');
INSERT INTO hs_office.contact (uuid, version, caption, postaladdress, emailaddresses, phonenumbers) VALUES ('fdf97406-0693-48dc-8bfe-185045a90437', 0, 'ninth contact', '{"country": "Germany"}', '{"main": "contact-admin@ninthcontact.example.com"}', '{"phone_office": "+49 123 1234567"}');
INSERT INTO hs_office.contact (uuid, version, caption, postaladdress, emailaddresses, phonenumbers) VALUES ('6e689f4c-93d2-4a88-b3dd-8370cf3e8da4', 0, 'tenth contact', '{"country": "Germany"}', '{"main": "contact-admin@tenthcontact.example.com"}', '{"phone_office": "+49 123 1234567"}');
INSERT INTO hs_office.contact (uuid, version, caption, postaladdress, emailaddresses, phonenumbers) VALUES ('0c4e6c68-6f1f-4ea9-bcdd-1752763a3945', 0, 'eleventh contact', '{"country": "Germany"}', '{"main": "contact-admin@eleventhcontact.example.com"}', '{"phone_office": "+49 123 1234567"}');
INSERT INTO hs_office.contact (uuid, version, caption, postaladdress, emailaddresses, phonenumbers) VALUES ('c24bfb2f-9b72-4754-9d9c-52be22cf01a6', 0, 'twelfth contact', '{"country": "Germany"}', '{"main": "contact-admin@twelfthcontact.example.com"}', '{"phone_office": "+49 123 1234567"}');
--
-- Data for Name: contact_legacy_id; Type: TABLE DATA; Schema: hs_office; Owner: postgres
--
INSERT INTO hs_office.contact_legacy_id (uuid, contact_id) VALUES ('e256cae4-99d8-44f3-961a-ecbffaeb17e4', 1000000000);
INSERT INTO hs_office.contact_legacy_id (uuid, contact_id) VALUES ('a6db17a5-0427-4e3f-96e1-606127ad6d98', 1000000001);
INSERT INTO hs_office.contact_legacy_id (uuid, contact_id) VALUES ('ae0320f6-d268-470e-8ded-142acddb2243', 1000000002);
INSERT INTO hs_office.contact_legacy_id (uuid, contact_id) VALUES ('1649730d-2c49-40e2-9000-7615a085477c', 1000000003);
INSERT INTO hs_office.contact_legacy_id (uuid, contact_id) VALUES ('beda1946-685d-45a4-ad22-fd6842e14b54', 1000000004);
INSERT INTO hs_office.contact_legacy_id (uuid, contact_id) VALUES ('6cdd8a31-27b3-4b0e-8297-67794b74cd5c', 1000000005);
INSERT INTO hs_office.contact_legacy_id (uuid, contact_id) VALUES ('5336a6e7-2f9a-4f73-8385-04ac89c46f5e', 1000000006);
INSERT INTO hs_office.contact_legacy_id (uuid, contact_id) VALUES ('0fc7fedf-6a52-462e-85bb-689f4b2a8d2d', 1000000007);
INSERT INTO hs_office.contact_legacy_id (uuid, contact_id) VALUES ('fdf97406-0693-48dc-8bfe-185045a90437', 1000000008);
INSERT INTO hs_office.contact_legacy_id (uuid, contact_id) VALUES ('6e689f4c-93d2-4a88-b3dd-8370cf3e8da4', 1000000009);
INSERT INTO hs_office.contact_legacy_id (uuid, contact_id) VALUES ('0c4e6c68-6f1f-4ea9-bcdd-1752763a3945', 1000000010);
INSERT INTO hs_office.contact_legacy_id (uuid, contact_id) VALUES ('c24bfb2f-9b72-4754-9d9c-52be22cf01a6', 1000000011);
--
-- Data for Name: coopassettx; Type: TABLE DATA; Schema: hs_office; Owner: postgres
--
INSERT INTO hs_office.coopassettx (uuid, version, membershipuuid, transactiontype, valuedate, assetvalue, reference, revertedassettxuuid, assetadoptiontxuuid, comment) VALUES ('676ed5a4-28ad-4631-8d60-6f5d6ce322bc', 0, '4330e211-e36c-45ec-9332-f7593ff42811', 'DEPOSIT', '2010-03-15', 320.00, 'ref 1000101-1', NULL, NULL, 'initial deposit');
INSERT INTO hs_office.coopassettx (uuid, version, membershipuuid, transactiontype, valuedate, assetvalue, reference, revertedassettxuuid, assetadoptiontxuuid, comment) VALUES ('b627613a-10e4-435b-8f81-c7c31abe114b', 0, '4330e211-e36c-45ec-9332-f7593ff42811', 'DISBURSAL', '2021-09-01', -128.00, 'ref 1000101-2', NULL, NULL, 'partial disbursal');
INSERT INTO hs_office.coopassettx (uuid, version, membershipuuid, transactiontype, valuedate, assetvalue, reference, revertedassettxuuid, assetadoptiontxuuid, comment) VALUES ('240d8194-43e0-455c-b759-aca1d68d129a', 0, '4330e211-e36c-45ec-9332-f7593ff42811', 'DEPOSIT', '2022-10-20', 128.00, 'ref 1000101-3', NULL, NULL, 'some loss');
INSERT INTO hs_office.coopassettx (uuid, version, membershipuuid, transactiontype, valuedate, assetvalue, reference, revertedassettxuuid, assetadoptiontxuuid, comment) VALUES ('0cff5e6f-c936-4ba6-8eaa-dde92514b7f4', 0, '4330e211-e36c-45ec-9332-f7593ff42811', 'REVERSAL', '2022-10-21', -128.00, 'ref 1000101-3', '240d8194-43e0-455c-b759-aca1d68d129a', NULL, 'some reversal');
INSERT INTO hs_office.coopassettx (uuid, version, membershipuuid, transactiontype, valuedate, assetvalue, reference, revertedassettxuuid, assetadoptiontxuuid, comment) VALUES ('9c5fe71c-5a01-4769-96b3-f96d1fc96887', 0, '4330e211-e36c-45ec-9332-f7593ff42811', 'TRANSFER', '2023-12-31', -192.00, 'ref 1000101-3', NULL, 'c8dcdb55-672f-4152-865c-16907f83ff5a', 'some reversal');
INSERT INTO hs_office.coopassettx (uuid, version, membershipuuid, transactiontype, valuedate, assetvalue, reference, revertedassettxuuid, assetadoptiontxuuid, comment) VALUES ('c8dcdb55-672f-4152-865c-16907f83ff5a', 0, '4330e211-e36c-45ec-9332-f7593ff42811', 'ADOPTION', '2023-12-31', 192.00, 'ref 1000101-3', NULL, NULL, 'some reversal');
INSERT INTO hs_office.coopassettx (uuid, version, membershipuuid, transactiontype, valuedate, assetvalue, reference, revertedassettxuuid, assetadoptiontxuuid, comment) VALUES ('88e5084c-472f-4c27-b51b-dc22dc13b9eb', 0, 'bed3c145-aa55-425f-9211-be9f5e9f4ebe', 'DEPOSIT', '2010-03-15', 320.00, 'ref 1000202-1', NULL, NULL, 'initial deposit');
INSERT INTO hs_office.coopassettx (uuid, version, membershipuuid, transactiontype, valuedate, assetvalue, reference, revertedassettxuuid, assetadoptiontxuuid, comment) VALUES ('92ec36a4-d652-4051-9fc9-4d316fb2f0e6', 0, 'bed3c145-aa55-425f-9211-be9f5e9f4ebe', 'DISBURSAL', '2021-09-01', -128.00, 'ref 1000202-2', NULL, NULL, 'partial disbursal');
INSERT INTO hs_office.coopassettx (uuid, version, membershipuuid, transactiontype, valuedate, assetvalue, reference, revertedassettxuuid, assetadoptiontxuuid, comment) VALUES ('db57c933-f269-4a49-8d48-3412ed1674dd', 0, 'bed3c145-aa55-425f-9211-be9f5e9f4ebe', 'DEPOSIT', '2022-10-20', 128.00, 'ref 1000202-3', NULL, NULL, 'some loss');
INSERT INTO hs_office.coopassettx (uuid, version, membershipuuid, transactiontype, valuedate, assetvalue, reference, revertedassettxuuid, assetadoptiontxuuid, comment) VALUES ('bf523f40-d58e-43d0-88a3-2f27e6a694dc', 0, 'bed3c145-aa55-425f-9211-be9f5e9f4ebe', 'REVERSAL', '2022-10-21', -128.00, 'ref 1000202-3', 'db57c933-f269-4a49-8d48-3412ed1674dd', NULL, 'some reversal');
INSERT INTO hs_office.coopassettx (uuid, version, membershipuuid, transactiontype, valuedate, assetvalue, reference, revertedassettxuuid, assetadoptiontxuuid, comment) VALUES ('66174fa7-76cf-43e0-bb52-b8a8a0ca8008', 0, 'bed3c145-aa55-425f-9211-be9f5e9f4ebe', 'TRANSFER', '2023-12-31', -192.00, 'ref 1000202-3', NULL, '2ead4c75-3e6a-405a-8e53-64c210372611', 'some reversal');
INSERT INTO hs_office.coopassettx (uuid, version, membershipuuid, transactiontype, valuedate, assetvalue, reference, revertedassettxuuid, assetadoptiontxuuid, comment) VALUES ('2ead4c75-3e6a-405a-8e53-64c210372611', 0, 'bed3c145-aa55-425f-9211-be9f5e9f4ebe', 'ADOPTION', '2023-12-31', 192.00, 'ref 1000202-3', NULL, NULL, 'some reversal');
INSERT INTO hs_office.coopassettx (uuid, version, membershipuuid, transactiontype, valuedate, assetvalue, reference, revertedassettxuuid, assetadoptiontxuuid, comment) VALUES ('f345fb37-7603-4ca7-934a-517dd801ae63', 0, 'a42d61c5-7dad-4379-9dd9-39a8d21ddc32', 'DEPOSIT', '2010-03-15', 320.00, 'ref 1000303-1', NULL, NULL, 'initial deposit');
INSERT INTO hs_office.coopassettx (uuid, version, membershipuuid, transactiontype, valuedate, assetvalue, reference, revertedassettxuuid, assetadoptiontxuuid, comment) VALUES ('b6c0a950-f1b0-4b69-9c67-3b2de780cbdb', 0, 'a42d61c5-7dad-4379-9dd9-39a8d21ddc32', 'DISBURSAL', '2021-09-01', -128.00, 'ref 1000303-2', NULL, NULL, 'partial disbursal');
INSERT INTO hs_office.coopassettx (uuid, version, membershipuuid, transactiontype, valuedate, assetvalue, reference, revertedassettxuuid, assetadoptiontxuuid, comment) VALUES ('890e8afe-1dcd-424d-8191-747af2d09ff4', 0, 'a42d61c5-7dad-4379-9dd9-39a8d21ddc32', 'DEPOSIT', '2022-10-20', 128.00, 'ref 1000303-3', NULL, NULL, 'some loss');
INSERT INTO hs_office.coopassettx (uuid, version, membershipuuid, transactiontype, valuedate, assetvalue, reference, revertedassettxuuid, assetadoptiontxuuid, comment) VALUES ('1478a182-927f-44fe-9da0-1e09108a7d7e', 0, 'a42d61c5-7dad-4379-9dd9-39a8d21ddc32', 'REVERSAL', '2022-10-21', -128.00, 'ref 1000303-3', '890e8afe-1dcd-424d-8191-747af2d09ff4', NULL, 'some reversal');
INSERT INTO hs_office.coopassettx (uuid, version, membershipuuid, transactiontype, valuedate, assetvalue, reference, revertedassettxuuid, assetadoptiontxuuid, comment) VALUES ('c7ef7757-abff-4f30-a234-62ff69f8d032', 0, 'a42d61c5-7dad-4379-9dd9-39a8d21ddc32', 'TRANSFER', '2023-12-31', -192.00, 'ref 1000303-3', NULL, '7c86e357-7d6a-4f5a-a3cc-d4f6958dbf60', 'some reversal');
INSERT INTO hs_office.coopassettx (uuid, version, membershipuuid, transactiontype, valuedate, assetvalue, reference, revertedassettxuuid, assetadoptiontxuuid, comment) VALUES ('7c86e357-7d6a-4f5a-a3cc-d4f6958dbf60', 0, 'a42d61c5-7dad-4379-9dd9-39a8d21ddc32', 'ADOPTION', '2023-12-31', 192.00, 'ref 1000303-3', NULL, NULL, 'some reversal');
--
-- Data for Name: coopassettx_legacy_id; Type: TABLE DATA; Schema: hs_office; Owner: postgres
--
INSERT INTO hs_office.coopassettx_legacy_id (uuid, member_asset_id) VALUES ('676ed5a4-28ad-4631-8d60-6f5d6ce322bc', 1000000000);
INSERT INTO hs_office.coopassettx_legacy_id (uuid, member_asset_id) VALUES ('b627613a-10e4-435b-8f81-c7c31abe114b', 1000000001);
INSERT INTO hs_office.coopassettx_legacy_id (uuid, member_asset_id) VALUES ('240d8194-43e0-455c-b759-aca1d68d129a', 1000000002);
INSERT INTO hs_office.coopassettx_legacy_id (uuid, member_asset_id) VALUES ('0cff5e6f-c936-4ba6-8eaa-dde92514b7f4', 1000000003);
INSERT INTO hs_office.coopassettx_legacy_id (uuid, member_asset_id) VALUES ('9c5fe71c-5a01-4769-96b3-f96d1fc96887', 1000000004);
INSERT INTO hs_office.coopassettx_legacy_id (uuid, member_asset_id) VALUES ('c8dcdb55-672f-4152-865c-16907f83ff5a', 1000000005);
INSERT INTO hs_office.coopassettx_legacy_id (uuid, member_asset_id) VALUES ('88e5084c-472f-4c27-b51b-dc22dc13b9eb', 1000000006);
INSERT INTO hs_office.coopassettx_legacy_id (uuid, member_asset_id) VALUES ('92ec36a4-d652-4051-9fc9-4d316fb2f0e6', 1000000007);
INSERT INTO hs_office.coopassettx_legacy_id (uuid, member_asset_id) VALUES ('db57c933-f269-4a49-8d48-3412ed1674dd', 1000000008);
INSERT INTO hs_office.coopassettx_legacy_id (uuid, member_asset_id) VALUES ('bf523f40-d58e-43d0-88a3-2f27e6a694dc', 1000000009);
INSERT INTO hs_office.coopassettx_legacy_id (uuid, member_asset_id) VALUES ('66174fa7-76cf-43e0-bb52-b8a8a0ca8008', 1000000010);
INSERT INTO hs_office.coopassettx_legacy_id (uuid, member_asset_id) VALUES ('2ead4c75-3e6a-405a-8e53-64c210372611', 1000000011);
INSERT INTO hs_office.coopassettx_legacy_id (uuid, member_asset_id) VALUES ('f345fb37-7603-4ca7-934a-517dd801ae63', 1000000012);
INSERT INTO hs_office.coopassettx_legacy_id (uuid, member_asset_id) VALUES ('b6c0a950-f1b0-4b69-9c67-3b2de780cbdb', 1000000013);
INSERT INTO hs_office.coopassettx_legacy_id (uuid, member_asset_id) VALUES ('890e8afe-1dcd-424d-8191-747af2d09ff4', 1000000014);
INSERT INTO hs_office.coopassettx_legacy_id (uuid, member_asset_id) VALUES ('1478a182-927f-44fe-9da0-1e09108a7d7e', 1000000015);
INSERT INTO hs_office.coopassettx_legacy_id (uuid, member_asset_id) VALUES ('c7ef7757-abff-4f30-a234-62ff69f8d032', 1000000016);
INSERT INTO hs_office.coopassettx_legacy_id (uuid, member_asset_id) VALUES ('7c86e357-7d6a-4f5a-a3cc-d4f6958dbf60', 1000000017);
--
-- Data for Name: coopsharetx; Type: TABLE DATA; Schema: hs_office; Owner: postgres
--
INSERT INTO hs_office.coopsharetx (uuid, version, membershipuuid, transactiontype, valuedate, sharecount, reference, revertedsharetxuuid, comment) VALUES ('fbe75170-bd97-4751-954a-58609e33f5c1', 0, '4330e211-e36c-45ec-9332-f7593ff42811', 'SUBSCRIPTION', '2010-03-15', 4, 'ref 1000101-1', NULL, 'initial subscription');
INSERT INTO hs_office.coopsharetx (uuid, version, membershipuuid, transactiontype, valuedate, sharecount, reference, revertedsharetxuuid, comment) VALUES ('13c5c422-4f47-4191-8bd6-f6d7ee820de2', 0, '4330e211-e36c-45ec-9332-f7593ff42811', 'CANCELLATION', '2021-09-01', -2, 'ref 1000101-2', NULL, 'cancelling some');
INSERT INTO hs_office.coopsharetx (uuid, version, membershipuuid, transactiontype, valuedate, sharecount, reference, revertedsharetxuuid, comment) VALUES ('6c88beac-8b25-4adc-a0ee-ae46351c7687', 0, '4330e211-e36c-45ec-9332-f7593ff42811', 'SUBSCRIPTION', '2022-10-20', 2, 'ref 1000101-3', NULL, 'some subscription');
INSERT INTO hs_office.coopsharetx (uuid, version, membershipuuid, transactiontype, valuedate, sharecount, reference, revertedsharetxuuid, comment) VALUES ('b7c65b95-9fb8-43b1-8b20-5f3b168c573a', 0, '4330e211-e36c-45ec-9332-f7593ff42811', 'REVERSAL', '2022-10-21', -2, 'ref 1000101-4', '6c88beac-8b25-4adc-a0ee-ae46351c7687', 'some reversal');
INSERT INTO hs_office.coopsharetx (uuid, version, membershipuuid, transactiontype, valuedate, sharecount, reference, revertedsharetxuuid, comment) VALUES ('42907488-176f-4662-9fb6-b819f1c5c306', 0, 'bed3c145-aa55-425f-9211-be9f5e9f4ebe', 'SUBSCRIPTION', '2010-03-15', 4, 'ref 1000202-1', NULL, 'initial subscription');
INSERT INTO hs_office.coopsharetx (uuid, version, membershipuuid, transactiontype, valuedate, sharecount, reference, revertedsharetxuuid, comment) VALUES ('47b33cb7-44b3-4596-96e9-8a8e34aad841', 0, 'bed3c145-aa55-425f-9211-be9f5e9f4ebe', 'CANCELLATION', '2021-09-01', -2, 'ref 1000202-2', NULL, 'cancelling some');
INSERT INTO hs_office.coopsharetx (uuid, version, membershipuuid, transactiontype, valuedate, sharecount, reference, revertedsharetxuuid, comment) VALUES ('7931bf2e-a490-42f7-855d-a4b632b76b0e', 0, 'bed3c145-aa55-425f-9211-be9f5e9f4ebe', 'SUBSCRIPTION', '2022-10-20', 2, 'ref 1000202-3', NULL, 'some subscription');
INSERT INTO hs_office.coopsharetx (uuid, version, membershipuuid, transactiontype, valuedate, sharecount, reference, revertedsharetxuuid, comment) VALUES ('a2d13b57-6242-43a3-a26d-e640c385f925', 0, 'bed3c145-aa55-425f-9211-be9f5e9f4ebe', 'REVERSAL', '2022-10-21', -2, 'ref 1000202-4', '7931bf2e-a490-42f7-855d-a4b632b76b0e', 'some reversal');
INSERT INTO hs_office.coopsharetx (uuid, version, membershipuuid, transactiontype, valuedate, sharecount, reference, revertedsharetxuuid, comment) VALUES ('bec4ce08-76ac-4b6d-93f8-62307fc4cd4b', 0, 'a42d61c5-7dad-4379-9dd9-39a8d21ddc32', 'SUBSCRIPTION', '2010-03-15', 4, 'ref 1000303-1', NULL, 'initial subscription');
INSERT INTO hs_office.coopsharetx (uuid, version, membershipuuid, transactiontype, valuedate, sharecount, reference, revertedsharetxuuid, comment) VALUES ('1e20d973-b79f-4b5b-bb9e-6a8af9513a35', 0, 'a42d61c5-7dad-4379-9dd9-39a8d21ddc32', 'CANCELLATION', '2021-09-01', -2, 'ref 1000303-2', NULL, 'cancelling some');
INSERT INTO hs_office.coopsharetx (uuid, version, membershipuuid, transactiontype, valuedate, sharecount, reference, revertedsharetxuuid, comment) VALUES ('0737dc7d-1634-4e9a-a8d9-dd5d96ac2c61', 0, 'a42d61c5-7dad-4379-9dd9-39a8d21ddc32', 'SUBSCRIPTION', '2022-10-20', 2, 'ref 1000303-3', NULL, 'some subscription');
INSERT INTO hs_office.coopsharetx (uuid, version, membershipuuid, transactiontype, valuedate, sharecount, reference, revertedsharetxuuid, comment) VALUES ('dd1243f6-6a49-4cee-a45f-28d153bbc84e', 0, 'a42d61c5-7dad-4379-9dd9-39a8d21ddc32', 'REVERSAL', '2022-10-21', -2, 'ref 1000303-4', '0737dc7d-1634-4e9a-a8d9-dd5d96ac2c61', 'some reversal');
--
-- Data for Name: coopsharetx_legacy_id; Type: TABLE DATA; Schema: hs_office; Owner: postgres
--
INSERT INTO hs_office.coopsharetx_legacy_id (uuid, member_share_id) VALUES ('fbe75170-bd97-4751-954a-58609e33f5c1', 1000000000);
INSERT INTO hs_office.coopsharetx_legacy_id (uuid, member_share_id) VALUES ('13c5c422-4f47-4191-8bd6-f6d7ee820de2', 1000000001);
INSERT INTO hs_office.coopsharetx_legacy_id (uuid, member_share_id) VALUES ('6c88beac-8b25-4adc-a0ee-ae46351c7687', 1000000002);
INSERT INTO hs_office.coopsharetx_legacy_id (uuid, member_share_id) VALUES ('b7c65b95-9fb8-43b1-8b20-5f3b168c573a', 1000000003);
INSERT INTO hs_office.coopsharetx_legacy_id (uuid, member_share_id) VALUES ('42907488-176f-4662-9fb6-b819f1c5c306', 1000000004);
INSERT INTO hs_office.coopsharetx_legacy_id (uuid, member_share_id) VALUES ('47b33cb7-44b3-4596-96e9-8a8e34aad841', 1000000005);
INSERT INTO hs_office.coopsharetx_legacy_id (uuid, member_share_id) VALUES ('7931bf2e-a490-42f7-855d-a4b632b76b0e', 1000000006);
INSERT INTO hs_office.coopsharetx_legacy_id (uuid, member_share_id) VALUES ('a2d13b57-6242-43a3-a26d-e640c385f925', 1000000007);
INSERT INTO hs_office.coopsharetx_legacy_id (uuid, member_share_id) VALUES ('bec4ce08-76ac-4b6d-93f8-62307fc4cd4b', 1000000008);
INSERT INTO hs_office.coopsharetx_legacy_id (uuid, member_share_id) VALUES ('1e20d973-b79f-4b5b-bb9e-6a8af9513a35', 1000000009);
INSERT INTO hs_office.coopsharetx_legacy_id (uuid, member_share_id) VALUES ('0737dc7d-1634-4e9a-a8d9-dd5d96ac2c61', 1000000010);
INSERT INTO hs_office.coopsharetx_legacy_id (uuid, member_share_id) VALUES ('dd1243f6-6a49-4cee-a45f-28d153bbc84e', 1000000011);
--
-- Data for Name: debitor; Type: TABLE DATA; Schema: hs_office; Owner: postgres
--
INSERT INTO hs_office.debitor (uuid, version, debitornumbersuffix, debitorreluuid, billable, vatid, vatcountrycode, vatbusiness, vatreversecharge, refundbankaccountuuid, defaultprefix) VALUES ('5b3529ca-f6da-495c-ad52-b0e4894a82b2', 0, '11', '7db0877f-0116-430f-9db3-c35a2b693d00', true, NULL, NULL, true, false, '50b5215d-4fdc-48be-a196-22fbe9325efb', 'fir');
INSERT INTO hs_office.debitor (uuid, version, debitornumbersuffix, debitorreluuid, billable, vatid, vatcountrycode, vatbusiness, vatreversecharge, refundbankaccountuuid, defaultprefix) VALUES ('5d5fa77a-455f-4603-8940-00af676b66aa', 0, '12', 'bcee4fcb-c7a5-4191-8d4e-6b1d9dfe23c3', true, NULL, NULL, true, false, '33c27d3b-b8ea-4096-8d71-ee351ebed0a9', 'sec');
INSERT INTO hs_office.debitor (uuid, version, debitornumbersuffix, debitorreluuid, billable, vatid, vatcountrycode, vatbusiness, vatreversecharge, refundbankaccountuuid, defaultprefix) VALUES ('d8cab65b-91be-4f1a-846b-887c95be1d38', 0, '13', '0eba2cf6-e74b-4f41-bac5-9c0292f8e9e1', true, NULL, NULL, true, false, '754ac83e-c0bb-4391-bc56-14636708b9c4', 'thi');
--
-- Data for Name: membership; Type: TABLE DATA; Schema: hs_office; Owner: postgres
--
INSERT INTO hs_office.membership (uuid, version, partneruuid, membernumbersuffix, validity, status, membershipfeebillable) VALUES ('4330e211-e36c-45ec-9332-f7593ff42811', 0, 'c27d1b0c-7e43-4b64-ae69-4317f51023ba', '01', '[2022-10-01,)', 'ACTIVE', true);
INSERT INTO hs_office.membership (uuid, version, partneruuid, membernumbersuffix, validity, status, membershipfeebillable) VALUES ('bed3c145-aa55-425f-9211-be9f5e9f4ebe', 0, '11583dae-da71-4786-a61d-d70f51ce988e', '02', '[2022-10-01,)', 'ACTIVE', true);
INSERT INTO hs_office.membership (uuid, version, partneruuid, membernumbersuffix, validity, status, membershipfeebillable) VALUES ('a42d61c5-7dad-4379-9dd9-39a8d21ddc32', 0, '7fe704c0-2e54-463e-891e-533f0274da76', '03', '[2022-10-01,)', 'ACTIVE', true);
--
-- Data for Name: partner; Type: TABLE DATA; Schema: hs_office; Owner: postgres
--
INSERT INTO hs_office.partner (uuid, version, partnernumber, partnerreluuid, detailsuuid) VALUES ('c27d1b0c-7e43-4b64-ae69-4317f51023ba', 0, 10001, '4ce59c0d-417c-4676-8de5-25aafd780613', 'ef607549-e66b-4e42-ab70-dd0f7a4ee791');
INSERT INTO hs_office.partner (uuid, version, partnernumber, partnerreluuid, detailsuuid) VALUES ('11583dae-da71-4786-a61d-d70f51ce988e', 0, 10002, 'cefb9d07-7142-4a0e-a924-310534a2a516', '9cee97fc-5961-4b64-8888-6ee8d1ee34fc');
INSERT INTO hs_office.partner (uuid, version, partnernumber, partnerreluuid, detailsuuid) VALUES ('7fe704c0-2e54-463e-891e-533f0274da76', 0, 10003, '5c0f9fee-6087-4b83-bcb7-da8a525b8662', '29234c1d-d128-4eb1-8efa-b9528d11b138');
INSERT INTO hs_office.partner (uuid, version, partnernumber, partnerreluuid, detailsuuid) VALUES ('8d685609-a88e-4005-a265-994f34f28128', 0, 10004, '83a4f8c9-9f65-4b7d-9ed6-963325a3ba7f', 'a297a917-aebe-4662-92fb-0729aa1c525c');
INSERT INTO hs_office.partner (uuid, version, partnernumber, partnerreluuid, detailsuuid) VALUES ('a48308b2-ab59-4bfc-ab21-eb0ff4389b18', 0, 10010, '63ab696c-163c-44b6-bd79-e82630923af2', '92a9e974-65f6-4428-a410-8b44d33514a0');
--
-- Data for Name: partner_details; Type: TABLE DATA; Schema: hs_office; Owner: postgres
--
INSERT INTO hs_office.partner_details (uuid, version, registrationoffice, registrationnumber, birthplace, birthname, birthday, dateofdeath) VALUES ('ef607549-e66b-4e42-ab70-dd0f7a4ee791', 0, 'Hamburg', 'RegNo123456789', NULL, NULL, NULL, NULL);
INSERT INTO hs_office.partner_details (uuid, version, registrationoffice, registrationnumber, birthplace, birthname, birthday, dateofdeath) VALUES ('9cee97fc-5961-4b64-8888-6ee8d1ee34fc', 0, 'Hamburg', 'RegNo123456789', NULL, NULL, NULL, NULL);
INSERT INTO hs_office.partner_details (uuid, version, registrationoffice, registrationnumber, birthplace, birthname, birthday, dateofdeath) VALUES ('29234c1d-d128-4eb1-8efa-b9528d11b138', 0, 'Hamburg', 'RegNo123456789', NULL, NULL, NULL, NULL);
INSERT INTO hs_office.partner_details (uuid, version, registrationoffice, registrationnumber, birthplace, birthname, birthday, dateofdeath) VALUES ('a297a917-aebe-4662-92fb-0729aa1c525c', 0, 'Hamburg', 'RegNo123456789', NULL, NULL, NULL, NULL);
INSERT INTO hs_office.partner_details (uuid, version, registrationoffice, registrationnumber, birthplace, birthname, birthday, dateofdeath) VALUES ('92a9e974-65f6-4428-a410-8b44d33514a0', 0, NULL, NULL, 'Hamburg', 'Meyer', '1987-10-31', NULL);
--
-- Data for Name: partner_legacy_id; Type: TABLE DATA; Schema: hs_office; Owner: postgres
--
INSERT INTO hs_office.partner_legacy_id (uuid, bp_id) VALUES ('c27d1b0c-7e43-4b64-ae69-4317f51023ba', 1000000000);
INSERT INTO hs_office.partner_legacy_id (uuid, bp_id) VALUES ('11583dae-da71-4786-a61d-d70f51ce988e', 1000000001);
INSERT INTO hs_office.partner_legacy_id (uuid, bp_id) VALUES ('7fe704c0-2e54-463e-891e-533f0274da76', 1000000002);
INSERT INTO hs_office.partner_legacy_id (uuid, bp_id) VALUES ('8d685609-a88e-4005-a265-994f34f28128', 1000000003);
INSERT INTO hs_office.partner_legacy_id (uuid, bp_id) VALUES ('a48308b2-ab59-4bfc-ab21-eb0ff4389b18', 1000000004);
--
-- Data for Name: person; Type: TABLE DATA; Schema: hs_office; Owner: postgres
--
INSERT INTO hs_office.person (uuid, version, persontype, tradename, salutation, title, givenname, familyname) VALUES ('dbe89951-4cc8-40ac-97b3-49176567984d', 0, 'LP', 'Hostsharing eG', NULL, NULL, NULL, NULL);
INSERT INTO hs_office.person (uuid, version, persontype, tradename, salutation, title, givenname, familyname) VALUES ('37928681-5849-48f7-aa81-bbe2d68944f9', 0, 'LP', 'First GmbH', NULL, NULL, NULL, NULL);
INSERT INTO hs_office.person (uuid, version, persontype, tradename, salutation, title, givenname, familyname) VALUES ('b4566b68-3318-4bd2-b1cb-a9c58ae91b6e', 0, 'NP', NULL, NULL, NULL, 'Susan', 'Firby');
INSERT INTO hs_office.person (uuid, version, persontype, tradename, salutation, title, givenname, familyname) VALUES ('a5bdcdee-bc0e-4340-aaf3-d3d7d43dcc1a', 0, 'NP', NULL, NULL, NULL, 'Peter', 'Smith');
INSERT INTO hs_office.person (uuid, version, persontype, tradename, salutation, title, givenname, familyname) VALUES ('43cf65a6-59e5-44d6-bf66-0fcf7266404a', 0, 'NP', NULL, NULL, NULL, 'Jack', 'Tucker');
INSERT INTO hs_office.person (uuid, version, persontype, tradename, salutation, title, givenname, familyname) VALUES ('958aa7a0-2531-4661-9444-5e00207fb8c4', 0, 'NP', NULL, NULL, NULL, 'Ellie', 'Fouler');
INSERT INTO hs_office.person (uuid, version, persontype, tradename, salutation, title, givenname, familyname) VALUES ('a2bdfd07-bbc1-417b-b91e-a567641d19c2', 0, 'LP', 'Peter Smith - The Second Hand and Thrift Stores-n-Shipping e.K.', NULL, NULL, 'Peter', 'Smith');
INSERT INTO hs_office.person (uuid, version, persontype, tradename, salutation, title, givenname, familyname) VALUES ('2ddcf68b-eb88-45e7-a6aa-3da9c32115a1', 0, 'IF', 'Third OHG', NULL, NULL, NULL, NULL);
INSERT INTO hs_office.person (uuid, version, persontype, tradename, salutation, title, givenname, familyname) VALUES ('8931b7ef-2f89-44c5-b7c2-730b898f2227', 0, 'LP', 'Fourth eG', NULL, NULL, NULL, NULL);
INSERT INTO hs_office.person (uuid, version, persontype, tradename, salutation, title, givenname, familyname) VALUES ('6d226408-de6e-497a-abbb-7a9c66cee762', 0, 'UF', 'Erben Bessler', NULL, NULL, 'Bessler', 'Mel');
INSERT INTO hs_office.person (uuid, version, persontype, tradename, salutation, title, givenname, familyname) VALUES ('eea4f215-2c8a-4d14-a9e7-82860faa5a42', 0, 'NP', NULL, NULL, NULL, 'Anita', 'Bessler');
INSERT INTO hs_office.person (uuid, version, persontype, tradename, salutation, title, givenname, familyname) VALUES ('6d1a20f7-2fd0-4c62-a304-1fc1eeedb59d', 0, 'NP', NULL, NULL, NULL, 'Bert', 'Bessler');
INSERT INTO hs_office.person (uuid, version, persontype, tradename, salutation, title, givenname, familyname) VALUES ('195ef8b7-3c56-4ef4-8db6-47b4cf15d572', 0, 'NP', NULL, NULL, NULL, 'Paul', 'Winkler');
--
-- Data for Name: relation; Type: TABLE DATA; Schema: hs_office; Owner: postgres
--
INSERT INTO hs_office.relation (uuid, version, anchoruuid, holderuuid, contactuuid, type, mark) VALUES ('4ce59c0d-417c-4676-8de5-25aafd780613', 0, 'dbe89951-4cc8-40ac-97b3-49176567984d', '37928681-5849-48f7-aa81-bbe2d68944f9', 'e256cae4-99d8-44f3-961a-ecbffaeb17e4', 'PARTNER', NULL);
INSERT INTO hs_office.relation (uuid, version, anchoruuid, holderuuid, contactuuid, type, mark) VALUES ('9090accb-cae9-4f85-8380-2c6d740b6520', 0, '37928681-5849-48f7-aa81-bbe2d68944f9', 'b4566b68-3318-4bd2-b1cb-a9c58ae91b6e', 'e256cae4-99d8-44f3-961a-ecbffaeb17e4', 'REPRESENTATIVE', NULL);
INSERT INTO hs_office.relation (uuid, version, anchoruuid, holderuuid, contactuuid, type, mark) VALUES ('7db0877f-0116-430f-9db3-c35a2b693d00', 0, '37928681-5849-48f7-aa81-bbe2d68944f9', '37928681-5849-48f7-aa81-bbe2d68944f9', 'e256cae4-99d8-44f3-961a-ecbffaeb17e4', 'DEBITOR', NULL);
INSERT INTO hs_office.relation (uuid, version, anchoruuid, holderuuid, contactuuid, type, mark) VALUES ('cefb9d07-7142-4a0e-a924-310534a2a516', 0, 'dbe89951-4cc8-40ac-97b3-49176567984d', 'a2bdfd07-bbc1-417b-b91e-a567641d19c2', 'a6db17a5-0427-4e3f-96e1-606127ad6d98', 'PARTNER', NULL);
INSERT INTO hs_office.relation (uuid, version, anchoruuid, holderuuid, contactuuid, type, mark) VALUES ('74ca4b73-4a8e-4658-8924-5bad48e77e71', 0, 'a2bdfd07-bbc1-417b-b91e-a567641d19c2', 'a5bdcdee-bc0e-4340-aaf3-d3d7d43dcc1a', 'a6db17a5-0427-4e3f-96e1-606127ad6d98', 'REPRESENTATIVE', NULL);
INSERT INTO hs_office.relation (uuid, version, anchoruuid, holderuuid, contactuuid, type, mark) VALUES ('bcee4fcb-c7a5-4191-8d4e-6b1d9dfe23c3', 0, 'a2bdfd07-bbc1-417b-b91e-a567641d19c2', 'a2bdfd07-bbc1-417b-b91e-a567641d19c2', 'a6db17a5-0427-4e3f-96e1-606127ad6d98', 'DEBITOR', NULL);
INSERT INTO hs_office.relation (uuid, version, anchoruuid, holderuuid, contactuuid, type, mark) VALUES ('5c0f9fee-6087-4b83-bcb7-da8a525b8662', 0, 'dbe89951-4cc8-40ac-97b3-49176567984d', '2ddcf68b-eb88-45e7-a6aa-3da9c32115a1', 'ae0320f6-d268-470e-8ded-142acddb2243', 'PARTNER', NULL);
INSERT INTO hs_office.relation (uuid, version, anchoruuid, holderuuid, contactuuid, type, mark) VALUES ('7a6b8585-8bcc-4bcc-a1f6-a905bfd2cb05', 0, '2ddcf68b-eb88-45e7-a6aa-3da9c32115a1', '43cf65a6-59e5-44d6-bf66-0fcf7266404a', 'ae0320f6-d268-470e-8ded-142acddb2243', 'REPRESENTATIVE', NULL);
INSERT INTO hs_office.relation (uuid, version, anchoruuid, holderuuid, contactuuid, type, mark) VALUES ('0eba2cf6-e74b-4f41-bac5-9c0292f8e9e1', 0, '2ddcf68b-eb88-45e7-a6aa-3da9c32115a1', '2ddcf68b-eb88-45e7-a6aa-3da9c32115a1', 'ae0320f6-d268-470e-8ded-142acddb2243', 'DEBITOR', NULL);
INSERT INTO hs_office.relation (uuid, version, anchoruuid, holderuuid, contactuuid, type, mark) VALUES ('83a4f8c9-9f65-4b7d-9ed6-963325a3ba7f', 0, 'dbe89951-4cc8-40ac-97b3-49176567984d', '8931b7ef-2f89-44c5-b7c2-730b898f2227', '1649730d-2c49-40e2-9000-7615a085477c', 'PARTNER', NULL);
INSERT INTO hs_office.relation (uuid, version, anchoruuid, holderuuid, contactuuid, type, mark) VALUES ('c49b0faf-016d-4079-9ce2-2f0d3047f1ac', 0, '8931b7ef-2f89-44c5-b7c2-730b898f2227', '958aa7a0-2531-4661-9444-5e00207fb8c4', '1649730d-2c49-40e2-9000-7615a085477c', 'REPRESENTATIVE', NULL);
INSERT INTO hs_office.relation (uuid, version, anchoruuid, holderuuid, contactuuid, type, mark) VALUES ('667be660-c8ac-48a5-91cf-655ae049bf55', 0, '8931b7ef-2f89-44c5-b7c2-730b898f2227', '8931b7ef-2f89-44c5-b7c2-730b898f2227', '1649730d-2c49-40e2-9000-7615a085477c', 'DEBITOR', NULL);
INSERT INTO hs_office.relation (uuid, version, anchoruuid, holderuuid, contactuuid, type, mark) VALUES ('63ab696c-163c-44b6-bd79-e82630923af2', 0, 'dbe89951-4cc8-40ac-97b3-49176567984d', 'a5bdcdee-bc0e-4340-aaf3-d3d7d43dcc1a', '6cdd8a31-27b3-4b0e-8297-67794b74cd5c', 'PARTNER', NULL);
INSERT INTO hs_office.relation (uuid, version, anchoruuid, holderuuid, contactuuid, type, mark) VALUES ('23c86f22-86df-46a1-bafb-816730494fe1', 0, 'a5bdcdee-bc0e-4340-aaf3-d3d7d43dcc1a', 'a5bdcdee-bc0e-4340-aaf3-d3d7d43dcc1a', 'ae0320f6-d268-470e-8ded-142acddb2243', 'DEBITOR', NULL);
INSERT INTO hs_office.relation (uuid, version, anchoruuid, holderuuid, contactuuid, type, mark) VALUES ('5a3b6183-d4d8-4e54-a680-95725e168700', 0, '2ddcf68b-eb88-45e7-a6aa-3da9c32115a1', 'a5bdcdee-bc0e-4340-aaf3-d3d7d43dcc1a', 'ae0320f6-d268-470e-8ded-142acddb2243', 'SUBSCRIBER', 'members-announce');
--
-- Data for Name: sepamandate; Type: TABLE DATA; Schema: hs_office; Owner: postgres
--
INSERT INTO hs_office.sepamandate (uuid, version, debitoruuid, bankaccountuuid, reference, agreement, validity) VALUES ('f1ce41de-5c44-4b5a-8c75-d32c9652df8c', 0, '5b3529ca-f6da-495c-ad52-b0e4894a82b2', '50b5215d-4fdc-48be-a196-22fbe9325efb', 'ref-10001-11', '2022-09-30', '[2022-10-01,2027-01-01)');
INSERT INTO hs_office.sepamandate (uuid, version, debitoruuid, bankaccountuuid, reference, agreement, validity) VALUES ('2b5b7481-0bd4-43a7-bb97-1d96b1cbca68', 0, '5d5fa77a-455f-4603-8940-00af676b66aa', '33c27d3b-b8ea-4096-8d71-ee351ebed0a9', 'ref-10002-12', '2022-09-30', '[2022-10-01,2027-01-01)');
INSERT INTO hs_office.sepamandate (uuid, version, debitoruuid, bankaccountuuid, reference, agreement, validity) VALUES ('3a909c22-3e39-47cc-bb75-22a69eeaf720', 0, 'd8cab65b-91be-4f1a-846b-887c95be1d38', '754ac83e-c0bb-4391-bc56-14636708b9c4', 'ref-10003-13', '2022-09-30', '[2022-10-01,2027-01-01)');
--
-- Data for Name: sepamandate_legacy_id; Type: TABLE DATA; Schema: hs_office; Owner: postgres
--
INSERT INTO hs_office.sepamandate_legacy_id (uuid, sepa_mandate_id) VALUES ('f1ce41de-5c44-4b5a-8c75-d32c9652df8c', 1000000000);
INSERT INTO hs_office.sepamandate_legacy_id (uuid, sepa_mandate_id) VALUES ('2b5b7481-0bd4-43a7-bb97-1d96b1cbca68', 1000000001);
INSERT INTO hs_office.sepamandate_legacy_id (uuid, sepa_mandate_id) VALUES ('3a909c22-3e39-47cc-bb75-22a69eeaf720', 1000000002);
--
-- Data for Name: databasechangelog; Type: TABLE DATA; Schema: public; Owner: postgres
--
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('base-SCHEMA', 'michael.hoennig', 'db/changelog/0-base/000-base-schema.sql', '2025-01-27 15:34:15.05499', 1, 'EXECUTED', '9:5ad38f09c5cfce85000d90157413112e', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('last-row-count', 'michael.hoennig', 'db/changelog/0-base/001-last-row-count.sql', '2025-01-27 15:34:15.075173', 2, 'EXECUTED', '9:40f27b3837ad530535302a833a9cfe3e', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('int-to-var', 'michael.hoennig', 'db/changelog/0-base/002-int-to-var.sql', '2025-01-27 15:34:15.091726', 3, 'EXECUTED', '9:8c101fdc053b1b04fd570e6692b6a853', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('random-in-range', 'michael.hoennig', 'db/changelog/0-base/003-random-in-range.sql', '2025-01-27 15:34:15.103207', 4, 'EXECUTED', '9:379a1f08adead68b798107aee5737184', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('JSONB-CHANGES-DELTA', 'michael.hoennig', 'db/changelog/0-base/004-jsonb-changes-delta.sql', '2025-01-27 15:34:15.132438', 5, 'EXECUTED', '9:e636e0d4ed3617a70b459617c2cc8b3c', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('uuid-ossp-extension', 'michael.hoennig', 'db/changelog/0-base/005-uuid-ossp-extension.sql', '2025-01-27 15:34:15.144175', 6, 'EXECUTED', '9:a8abcc99c84d1e19bdf591a0f5af3f56', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('numeric-hash-functions', 'michael.hoennig', 'db/changelog/0-base/006-numeric-hash-functions.sql', '2025-01-27 15:34:15.156085', 7, 'EXECUTED', '9:7835429124ebbea01c598f26e6537c6a', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('table-columns-function', 'michael.hoennig', 'db/changelog/0-base/007-table-columns.sql', '2025-01-27 15:34:15.169893', 8, 'EXECUTED', '9:bb868191fbe9c3ba4ac1f8bdc6a75f8c', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('RAISE-FUNCTIONS', 'michael.hoennig', 'db/changelog/0-base/008-raise-functions.sql', '2025-01-27 15:34:15.20423', 9, 'EXECUTED', '9:3ceaffba52919b6bfc90a902a944a616', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('ASSERT-FUNCTIONS', 'michael.hoennig', 'db/changelog/0-base/008-raise-functions.sql', '2025-01-27 15:34:15.229573', 10, 'EXECUTED', '9:a0ed7624c59909966e06875f59cfeccb', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hash', 'michael.hoennig', 'db/changelog/0-base/009-check-environment.sql', '2025-01-27 15:34:15.243118', 11, 'EXECUTED', '9:96dd61dd12110d7d9973565ee6bd7230', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('context-DEFINE', 'michael.hoennig', 'db/changelog/0-base/010-context.sql', '2025-01-27 15:34:15.267304', 12, 'EXECUTED', '9:a8d195345229a2cd835f398b086ee21c', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('context-CURRENT-TASK', 'michael.hoennig', 'db/changelog/0-base/010-context.sql', '2025-01-27 15:34:15.283419', 13, 'EXECUTED', '9:4919efeac14bf86c57bed35de501a2b2', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('context-CURRENT-REQUEST', 'michael.hoennig', 'db/changelog/0-base/010-context.sql', '2025-01-27 15:34:15.306228', 14, 'EXECUTED', '9:d1c3bcc3a5b3468daa69e8ed0b324ea5', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('context-current-subject', 'michael.hoennig', 'db/changelog/0-base/010-context.sql', '2025-01-27 15:34:15.320651', 15, 'EXECUTED', '9:663c11875733a9bab362d06086722023', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('context-base.ASSUMED-ROLES', 'michael.hoennig', 'db/changelog/0-base/010-context.sql', '2025-01-27 15:34:15.339178', 16, 'EXECUTED', '9:e2885ddc509186e66c51200d7965ea71', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('base-COMBINE-TABLE-SCHEMA-AND-NAME', 'michael.hoennig', 'db/changelog/0-base/011-table-schema-and-name.sql', '2025-01-27 15:34:15.352583', 17, 'EXECUTED', '9:9345df8e57b4d96e7f7e90f2b6f9db15', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('audit-OPERATION-TYPE', 'michael.hoennig', 'db/changelog/0-base/020-audit-log.sql', '2025-01-27 15:34:15.364482', 18, 'EXECUTED', '9:c0876a331d8559a47e56c386c44a766c', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('audit-TX-CONTEXT-TABLE', 'michael.hoennig', 'db/changelog/0-base/020-audit-log.sql', '2025-01-27 15:34:15.39412', 19, 'EXECUTED', '9:203f45b5021e65040704071a01aead4c', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('audit-TX-JOURNAL-TABLE', 'michael.hoennig', 'db/changelog/0-base/020-audit-log.sql', '2025-01-27 15:34:15.422001', 20, 'EXECUTED', '9:534f075b40b1d50fcf273c448c5c2703', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('audit-TX-JOURNAL-VIEW', 'michael.hoennig', 'db/changelog/0-base/020-audit-log.sql', '2025-01-27 15:34:15.436154', 21, 'EXECUTED', '9:b0633c27d7b16fab52029b65ba883213', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('audit-TX-JOURNAL-TRIGGER', 'michael.hoennig', 'db/changelog/0-base/020-audit-log.sql', '2025-01-27 15:34:15.454022', 22, 'EXECUTED', '9:414f25221a87a701087b3b7bb4868865', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('audit-CREATE-JOURNAL-LOG', 'michael.hoennig', 'db/changelog/0-base/020-audit-log.sql', '2025-01-27 15:34:15.466927', 23, 'EXECUTED', '9:c6559436bc007f797d5c4b4bfdb68f18', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-global-historization-tx-history-txid', 'michael.hoennig', 'db/changelog/0-base/030-historization.sql', '2025-01-27 15:34:15.480597', 24, 'EXECUTED', '9:c736085285073ed50bf00997240e616d', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-global-historization-tx-historicize-tf', 'michael.hoennig', 'db/changelog/0-base/030-historization.sql', '2025-01-27 15:34:15.494595', 25, 'EXECUTED', '9:345716cca165c108edbab1771c3619c1', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-global-historization-tx-create-historicization', 'michael.hoennig', 'db/changelog/0-base/030-historization.sql', '2025-01-27 15:34:15.511278', 26, 'EXECUTED', '9:5b127ea60101bf0fa368cf4c0077a6cf', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('rbac-SCHEMA', 'michael.hoennig', 'db/changelog/1-rbac/1000-rbac-schema.sql', '2025-01-27 15:34:15.522768', 27, 'EXECUTED', '9:f08498d55a283e30a44ba6a59728e5a8', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('rbac-base-REFERENCE', 'michael.hoennig', 'db/changelog/1-rbac/1050-rbac-base.sql', '2025-01-27 15:34:15.5467', 28, 'EXECUTED', '9:84d675573e2e88733ee10c4c09b015ce', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('rbac-base-SUBJECT', 'michael.hoennig', 'db/changelog/1-rbac/1050-rbac-base.sql', '2025-01-27 15:34:15.581317', 29, 'EXECUTED', '9:10f7dc267fdd8b001809507858f9d44e', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('rbac-base-OBJECT', 'michael.hoennig', 'db/changelog/1-rbac/1050-rbac-base.sql', '2025-01-27 15:34:15.610573', 30, 'EXECUTED', '9:aa3a9e05103db455ce3d31089fdf9521', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('rbac-base-GENERATE-RELATED-OBJECT', 'michael.hoennig', 'db/changelog/1-rbac/1050-rbac-base.sql', '2025-01-27 15:34:15.623057', 31, 'EXECUTED', '9:a79fd4336db173a1743f3ee3950be02b', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('rbac-base-ROLE', 'michael.hoennig', 'db/changelog/1-rbac/1050-rbac-base.sql', '2025-01-27 15:34:15.650315', 32, 'EXECUTED', '9:09df25cdcf2508acd8c5ae4a685c6fda', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('rbac-base-ROLE-DESCRIPTOR', 'michael.hoennig', 'db/changelog/1-rbac/1050-rbac-base.sql', '2025-01-27 15:34:15.664094', 33, 'EXECUTED', '9:3a685a915da4783e308e9c456c4b834a', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('rbac-base-IDNAME-FUNCTIONS', 'michael.hoennig', 'db/changelog/1-rbac/1050-rbac-base.sql', '2025-01-27 15:34:15.681358', 34, 'EXECUTED', '9:5a2be2e0339bebb8f25c92407d4158ba', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('rbac-base-ROLE-FUNCTIONS', 'michael.hoennig', 'db/changelog/1-rbac/1050-rbac-base.sql', '2025-01-27 15:34:15.705581', 35, 'EXECUTED', '9:336c90101a4c61aa9e3e9f917a8318f0', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('rbac-base-BEFORE-DELETE-ROLE-TRIGGER', 'michael.hoennig', 'db/changelog/1-rbac/1050-rbac-base.sql', '2025-01-27 15:34:15.718659', 36, 'EXECUTED', '9:4eda349ef330fa85a57756e4a99ff0f1', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('rbac-base-BEFORE-DELETE-OBJECT-TRIGGER', 'michael.hoennig', 'db/changelog/1-rbac/1050-rbac-base.sql', '2025-01-27 15:34:15.731091', 37, 'EXECUTED', '9:82f081b70545f7f1d1a38c639ff15b89', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('rbac-base-PERMISSION', 'michael.hoennig', 'db/changelog/1-rbac/1050-rbac-base.sql', '2025-01-27 15:34:15.796015', 38, 'EXECUTED', '9:9d5e9d323c630d1d7e49f1088374d28a', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('rbac-base-duplicate-role-grant-exception', 'michael.hoennig', 'db/changelog/1-rbac/1050-rbac-base.sql', '2025-01-27 15:34:15.806805', 39, 'EXECUTED', '9:abcf51b5de6cc4ba064479c7c2e7741e', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('rbac-base-GRANTS', 'michael.hoennig', 'db/changelog/1-rbac/1050-rbac-base.sql', '2025-01-27 15:34:15.882914', 40, 'EXECUTED', '9:0dd702f26c3d617fe7a71f7218ffaced', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('rbac-base-QUERY-ACCESSIBLE-OBJECT-UUIDS', 'michael.hoennig', 'db/changelog/1-rbac/1050-rbac-base.sql', '2025-01-27 15:34:15.904223', 41, 'EXECUTED', '9:458e3f137c8fdeb9862e5d0e95b0094f', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('rbac-base-QUERY-GRANTED-PERMISSIONS', 'michael.hoennig', 'db/changelog/1-rbac/1050-rbac-base.sql', '2025-01-27 15:34:15.920227', 42, 'EXECUTED', '9:05bcbf6d56c95c400042f100c38637f0', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('rbac-base-QUERY-SUBJECTS-WITH-PERMISSION-FOR-OBJECT', 'michael.hoennig', 'db/changelog/1-rbac/1050-rbac-base.sql', '2025-01-27 15:34:15.934367', 43, 'EXECUTED', '9:ebd6a7182547ddcdb9217838c53e7d68', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('rbac-base-PGSQL-ROLES', 'michael.hoennig', 'db/changelog/1-rbac/1050-rbac-base.sql', '2025-01-27 15:34:15.94921', 44, 'EXECUTED', '9:0bbb758c0cecff303ca3ad6a3a64c4a8', 'sql', '', NULL, '4.29.2', '!external-db', NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('rbac-user-grant-GRANT-ROLE-TO-USER', 'michael.hoennig', 'db/changelog/1-rbac/1051-rbac-subject-grant.sql', '2025-01-27 15:34:15.973936', 45, 'EXECUTED', '9:7d0785b50901582050221d58ab11b1e2', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('rbac-user-grant-REVOKE-ROLE-FROM-USER', 'michael.hoennig', 'db/changelog/1-rbac/1051-rbac-subject-grant.sql', '2025-01-27 15:34:15.992179', 46, 'EXECUTED', '9:ce6e0a7157afbfdb482a432e2b6e3f43', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('rbac-user-grant-REVOKE-PERMISSION-FROM-ROLE', 'michael.hoennig', 'db/changelog/1-rbac/1051-rbac-subject-grant.sql', '2025-01-27 15:34:16.005262', 47, 'EXECUTED', '9:cab4dd9c2a2b8a2a746dfbf1f17946cb', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('rbac-context-DETERMINE', 'michael.hoennig', 'db/changelog/1-rbac/1054-rbac-context.sql', '2025-01-27 15:34:16.02732', 48, 'EXECUTED', '9:94e05896d964f327901b72004f1de5a3', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('rbac-context-CONTEXT-DEFINED', 'michael.hoennig', 'db/changelog/1-rbac/1054-rbac-context.sql', '2025-01-27 15:34:16.039753', 49, 'EXECUTED', '9:a5520c3244d9fcd8071349c37150400a', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('rbac-context-current-subject-ID', 'michael.hoennig', 'db/changelog/1-rbac/1054-rbac-context.sql', '2025-01-27 15:34:16.053507', 50, 'EXECUTED', '9:763774fe9bf9d9d453feef641c685e71', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('rbac-context-CURRENT-SUBJECT-UUIDS', 'michael.hoennig', 'db/changelog/1-rbac/1054-rbac-context.sql', '2025-01-27 15:34:16.070604', 51, 'EXECUTED', '9:d43c6fb58da7532a2821f82800618a4d', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('rbac-views-ROLE-ENHANCED-VIEW', 'michael.hoennig', 'db/changelog/1-rbac/1055-rbac-views.sql', '2025-01-27 15:34:16.089426', 52, 'EXECUTED', '9:fbc2f7166cebb5d0211736da2d522ef1', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('rbac-views-ROLE-RESTRICTED-VIEW', 'michael.hoennig', 'db/changelog/1-rbac/1055-rbac-views.sql', '2025-01-27 15:34:16.103787', 53, 'EXECUTED', '9:cf0b8bfb094b852b639d21b624ac9576', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('rbac-views-GRANT-ENHANCED-VIEW', 'michael.hoennig', 'db/changelog/1-rbac/1055-rbac-views.sql', '2025-01-27 15:34:16.12543', 54, 'EXECUTED', '9:b1d4a50e1525a300bcda9916d6c49d1c', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('rbac-views-GRANT-RESTRICTED-VIEW', 'michael.hoennig', 'db/changelog/1-rbac/1055-rbac-views.sql', '2025-01-27 15:34:16.141272', 55, 'EXECUTED', '9:e2840e3f1fabbc91d2476894e1a40764', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('rbac-views-GRANTS-RV-INSERT-TRIGGER', 'michael.hoennig', 'db/changelog/1-rbac/1055-rbac-views.sql', '2025-01-27 15:34:16.154367', 56, 'EXECUTED', '9:b809276f65f12a861e50b04a0507d5ee', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('rbac-views-GRANTS-RV-DELETE-TRIGGER', 'michael.hoennig', 'db/changelog/1-rbac/1055-rbac-views.sql', '2025-01-27 15:34:16.166794', 57, 'EXECUTED', '9:acc6fde38d60effa54128d9462484d04', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('rbac-views-USER-ENHANCED-VIEW', 'michael.hoennig', 'db/changelog/1-rbac/1055-rbac-views.sql', '2025-01-27 15:34:16.180332', 58, 'EXECUTED', '9:12662bbb1b705dc0392ff681501488bf', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('rbac-views-USER-RESTRICTED-VIEW', 'michael.hoennig', 'db/changelog/1-rbac/1055-rbac-views.sql', '2025-01-27 15:34:16.197375', 59, 'EXECUTED', '9:13148aa24511cb9e5b7737ac32b78eae', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('rbac-views-USER-RV-INSERT-TRIGGER', 'michael.hoennig', 'db/changelog/1-rbac/1055-rbac-views.sql', '2025-01-27 15:34:16.211988', 60, 'EXECUTED', '9:c286e7c287522d0cb1c5f0c9f2bd2967', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('rbac-views-USER-RV-DELETE-TRIGGER', 'michael.hoennig', 'db/changelog/1-rbac/1055-rbac-views.sql', '2025-01-27 15:34:16.225864', 61, 'EXECUTED', '9:03a4e6989597a284bad81440870eed4f', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('rbac-views-OWN-GRANTED-PERMISSIONS-VIEW', 'michael.hoennig', 'db/changelog/1-rbac/1055-rbac-views.sql', '2025-01-27 15:34:16.241107', 62, 'EXECUTED', '9:5c702b2aa8819205d8c25efce99b1bbd', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('rbac-views-GRANTED-PERMISSIONS', 'michael.hoennig', 'db/changelog/1-rbac/1055-rbac-views.sql', '2025-01-27 15:34:16.262632', 63, 'EXECUTED', '9:fb1576f4d379e7cb66b93a9d53de45b2', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('rbac-trigger-context-ENTER', 'michael.hoennig', 'db/changelog/1-rbac/1056-rbac-trigger-context.sql', '2025-01-27 15:34:16.285097', 64, 'EXECUTED', '9:e891b11a112193e9316148a42a8f3525', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('rbac-trigger-context-CURRENT-ID', 'michael.hoennig', 'db/changelog/1-rbac/1056-rbac-trigger-context.sql', '2025-01-27 15:34:16.299409', 65, 'EXECUTED', '9:975b972288f0de5d8052248f6084c200', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('rbac-trigger-context-LEAVE', 'michael.hoennig', 'db/changelog/1-rbac/1056-rbac-trigger-context.sql', '2025-01-27 15:34:16.31099', 66, 'EXECUTED', '9:68f9acbd7d2fd41daa761ecc728d3128', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('rbac-role-builder-define-role', 'michael.hoennig', 'db/changelog/1-rbac/1057-rbac-role-builder.sql', '2025-01-27 15:34:16.326118', 67, 'EXECUTED', '9:6a327b337505f8afa5f2db873429636e', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('rbac-generators-RELATED-OBJECT', 'michael.hoennig', 'db/changelog/1-rbac/1058-rbac-generators.sql', '2025-01-27 15:34:16.338754', 68, 'EXECUTED', '9:0006cac3f0c7a57ddea68f8080214b56', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('rbac-generators-ROLE-DESCRIPTORS', 'michael.hoennig', 'db/changelog/1-rbac/1058-rbac-generators.sql', '2025-01-27 15:34:16.351413', 69, 'EXECUTED', '9:3bc9635289e427a065bbeb4118a041fe', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('rbac-generators-IDENTITY-VIEW', 'michael.hoennig', 'db/changelog/1-rbac/1058-rbac-generators.sql', '2025-01-27 15:34:16.367241', 70, 'EXECUTED', '9:3bc394e73ca91776450708efe5ae213a', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('rbac-generators-RESTRICTED-VIEW', 'michael.hoennig', 'db/changelog/1-rbac/1058-rbac-generators.sql', '2025-01-27 15:34:16.388527', 71, 'EXECUTED', '9:a486bfc49e34405ba5da0d97e496d909', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('rbac-statistics', 'michael.hoennig', 'db/changelog/1-rbac/1059-rbac-statistics.sql', '2025-01-27 15:34:16.403513', 72, 'EXECUTED', '9:b6919db9e9815057048fe612bd431d68', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('rbac-global-OBJECT', 'michael.hoennig', 'db/changelog/1-rbac/1080-rbac-global.sql', '2025-01-27 15:34:16.436687', 73, 'EXECUTED', '9:288acb3380a2a0bcb4ddfd120c08d3a9', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('rbac-global-IS-GLOBAL-ADMIN', 'michael.hoennig', 'db/changelog/1-rbac/1080-rbac-global.sql', '2025-01-27 15:34:16.447046', 74, 'EXECUTED', '9:59f9cde6ee354642d62addebeedf9f05', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('rbac-global-HAS-GLOBAL-ADMIN-ROLE', 'michael.hoennig', 'db/changelog/1-rbac/1080-rbac-global.sql', '2025-01-27 15:34:16.458667', 75, 'EXECUTED', '9:8c449086f4dd8ce63b32d28c16b1a723', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('rbac-global-HAS-GLOBAL-PERMISSION', 'michael.hoennig', 'db/changelog/1-rbac/1080-rbac-global.sql', '2025-01-27 15:34:16.472416', 76, 'EXECUTED', '9:b39359e1f60917b2ee5f373333654f80', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('rbac-global-IDENTITY-VIEW', 'michael.hoennig', 'db/changelog/1-rbac/1080-rbac-global.sql', '2025-01-27 15:34:16.487865', 77, 'EXECUTED', '9:fd11fbd2509564a48b40394e46ff3920', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('rbac-global-PSEUDO-OBJECT', 'michael.hoennig', 'db/changelog/1-rbac/1080-rbac-global.sql', '2025-01-27 15:34:16.506534', 78, 'EXECUTED', '9:f1a0139f0f049753fbd26092ec00b4e2', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('rbac-global-ADMIN-ROLE', 'michael.hoennig', 'db/changelog/1-rbac/1080-rbac-global.sql', '2025-01-27 15:34:16.519765', 79, 'EXECUTED', '9:b8ce7d33d7b7469614010953ee05ab83', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('rbac-global-GUEST-ROLE', 'michael.hoennig', 'db/changelog/1-rbac/1080-rbac-global.sql', '2025-01-27 15:34:16.531131', 80, 'EXECUTED', '9:f5f124a1d50c7b3b9816b554fbd12d11', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('rbac-global-ADMIN-USERS', 'michael.hoennig', 'db/changelog/1-rbac/1080-rbac-global.sql', '2025-01-27 15:34:16.550896', 81, 'EXECUTED', '9:defcefd72b25de449be69d3e3df7134b', 'sql', '', NULL, '4.29.2', '!without-test-data', NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('rbac-global-TEST', 'michael.hoennig', 'db/changelog/1-rbac/1080-rbac-global.sql', '2025-01-27 15:34:16.559083', 82, 'EXECUTED', '9:8e3fd77650d35f24e56b99ae54ba77f1', 'sql', '', NULL, '4.29.2', '!without-test-data', NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('rbactest-SCHEMA', 'michael.hoennig', 'db/changelog/2-rbactest/200-rbactest-schema.sql', '2025-01-27 15:34:16.567832', 83, 'EXECUTED', '9:d3ac51d27712286855b340c8a8966231', 'sql', '', NULL, '4.29.2', '!without-test-data', NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('test-customer-MAIN-TABLE', 'michael.hoennig', 'db/changelog/2-rbactest/201-rbactest-customer/2010-rbactest-customer.sql', '2025-01-27 15:34:16.601918', 84, 'EXECUTED', '9:c99c30902fec715c651b38cb2208aab4', 'sql', '', NULL, '4.29.2', '!without-test-data', NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('rbactest-customer-rbac-OBJECT', 'RbacObjectGenerator', 'db/changelog/2-rbactest/201-rbactest-customer/2013-rbactest-customer-rbac.sql', '2025-01-27 15:34:16.614128', 85, 'EXECUTED', '9:fc4c1dd970025e35cb8f01ad15e979f9', 'sql', '', NULL, '4.29.2', '!without-test-data', NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('rbactest-customer-rbac-ROLE-DESCRIPTORS', 'RbacRoleDescriptorsGenerator', 'db/changelog/2-rbactest/201-rbactest-customer/2013-rbactest-customer-rbac.sql', '2025-01-27 15:34:16.625228', 86, 'EXECUTED', '9:67799ab25eb0e05f61bd0eceeb6e3d9c', 'sql', '', NULL, '4.29.2', '!without-test-data', NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('rbactest-customer-rbac-insert-trigger', 'RolesGrantsAndPermissionsGenerator', 'db/changelog/2-rbactest/201-rbactest-customer/2013-rbactest-customer-rbac.sql', '2025-01-27 15:34:16.636006', 87, 'EXECUTED', '9:68c49363f0cf1f86e73ce8d32b975321', 'sql', '', NULL, '4.29.2', '!without-test-data', NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('rbactest-customer-rbac-GRANTING-INSERT-PERMISSION', 'InsertTriggerGenerator', 'db/changelog/2-rbactest/201-rbactest-customer/2013-rbactest-customer-rbac.sql', '2025-01-27 15:34:16.652253', 88, 'EXECUTED', '9:d26e94936c25c1602bbf9b5f1a4ee257', 'sql', '', NULL, '4.29.2', '!without-test-data', NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('rbactest-customer-rbac-CHECKING-INSERT-PERMISSION', 'InsertTriggerGenerator', 'db/changelog/2-rbactest/201-rbactest-customer/2013-rbactest-customer-rbac.sql', '2025-01-27 15:34:16.662623', 89, 'EXECUTED', '9:119f0509d140c723342b28a5056b75ad', 'sql', '', NULL, '4.29.2', '!without-test-data', NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('rbactest-customer-rbac-IDENTITY-VIEW', 'RbacIdentityViewGenerator', 'db/changelog/2-rbactest/201-rbactest-customer/2013-rbactest-customer-rbac.sql', '2025-01-27 15:34:16.673499', 90, 'EXECUTED', '9:5c06eb501b643f87c63d98d7d1837fcb', 'sql', '', NULL, '4.29.2', '!without-test-data', NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('rbactest-customer-rbac-RESTRICTED-VIEW', 'RbacRestrictedViewGenerator', 'db/changelog/2-rbactest/201-rbactest-customer/2013-rbactest-customer-rbac.sql', '2025-01-27 15:34:16.696658', 91, 'EXECUTED', '9:621dbf5116ee6945b0c198ab9b9fd7a7', 'sql', '', NULL, '4.29.2', '!without-test-data', NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('rbactest-customer-rbac-rebuild', 'RbacRbacSystemRebuildGenerator', 'db/changelog/2-rbactest/201-rbactest-customer/2013-rbactest-customer-rbac.sql', '2025-01-27 15:34:16.710386', 92, 'EXECUTED', '9:74a006c77ba4c72c8513860a8215a816', 'sql', '', NULL, '4.29.2', '!without-test-data', NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('test-customer-TEST-DATA-GENERATOR', 'michael.hoennig', 'db/changelog/2-rbactest/201-rbactest-customer/2018-rbactest-customer-test-data.sql', '2025-01-27 15:34:16.736693', 93, 'EXECUTED', '9:b86dd5b1bbdd5e74f3ce5badbe58ff4b', 'sql', '', NULL, '4.29.2', '!without-test-data', NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('test-customer-TEST-DATA-GENERATION', 'michael.hoennig', 'db/changelog/2-rbactest/201-rbactest-customer/2018-rbactest-customer-test-data.sql', '2025-01-27 15:34:16.799331', 94, 'EXECUTED', '9:6a1f3542ff30373925a4588f75915fe0', 'sql', '', NULL, '4.29.2', '!without-test-data AND !without-test-data', NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('test-package-MAIN-TABLE', 'michael.hoennig', 'db/changelog/2-rbactest/202-rbactest-package/2020-rbactest-package.sql', '2025-01-27 15:34:16.822468', 95, 'EXECUTED', '9:b1207c3cbeec15b17583a560d497db8e', 'sql', '', NULL, '4.29.2', '!without-test-data', NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('rbactest-package-rbac-OBJECT', 'RbacObjectGenerator', 'db/changelog/2-rbactest/202-rbactest-package/2023-rbactest-package-rbac.sql', '2025-01-27 15:34:16.833303', 96, 'EXECUTED', '9:fe2229e14382e520e6b059929696d807', 'sql', '', NULL, '4.29.2', '!without-test-data', NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('rbactest-package-rbac-ROLE-DESCRIPTORS', 'RbacRoleDescriptorsGenerator', 'db/changelog/2-rbactest/202-rbactest-package/2023-rbactest-package-rbac.sql', '2025-01-27 15:34:16.844928', 97, 'EXECUTED', '9:ecd086a55811cec0ed3661c041542fa1', 'sql', '', NULL, '4.29.2', '!without-test-data', NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('rbactest-package-rbac-insert-trigger', 'RolesGrantsAndPermissionsGenerator', 'db/changelog/2-rbactest/202-rbactest-package/2023-rbactest-package-rbac.sql', '2025-01-27 15:34:16.86014', 98, 'EXECUTED', '9:77738b7734868c70dad1ff4e4413b4bc', 'sql', '', NULL, '4.29.2', '!without-test-data', NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('rbactest-package-rbac-update-trigger', 'RolesGrantsAndPermissionsGenerator', 'db/changelog/2-rbactest/202-rbactest-package/2023-rbactest-package-rbac.sql', '2025-01-27 15:34:16.874588', 99, 'EXECUTED', '9:9fe9d3fdb0a100a95317e751b6f331ac', 'sql', '', NULL, '4.29.2', '!without-test-data', NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('rbactest-package-rbac-GRANTING-INSERT-PERMISSION', 'InsertTriggerGenerator', 'db/changelog/2-rbactest/202-rbactest-package/2023-rbactest-package-rbac.sql', '2025-01-27 15:34:16.893307', 100, 'EXECUTED', '9:2e1b24f4168dbf50608f012f0864a043', 'sql', '', NULL, '4.29.2', '!without-test-data', NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('rbactest-package-rbac-CHECKING-INSERT-PERMISSION', 'InsertTriggerGenerator', 'db/changelog/2-rbactest/202-rbactest-package/2023-rbactest-package-rbac.sql', '2025-01-27 15:34:16.90556', 101, 'EXECUTED', '9:9c3bedfb1f3994c89bfb4b11c2add36b', 'sql', '', NULL, '4.29.2', '!without-test-data', NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('rbactest-package-rbac-IDENTITY-VIEW', 'RbacIdentityViewGenerator', 'db/changelog/2-rbactest/202-rbactest-package/2023-rbactest-package-rbac.sql', '2025-01-27 15:34:16.917551', 102, 'EXECUTED', '9:fa6b1290dcfcd0dd889a77b5e474d684', 'sql', '', NULL, '4.29.2', '!without-test-data', NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('rbactest-package-rbac-RESTRICTED-VIEW', 'RbacRestrictedViewGenerator', 'db/changelog/2-rbactest/202-rbactest-package/2023-rbactest-package-rbac.sql', '2025-01-27 15:34:16.93796', 103, 'EXECUTED', '9:3ea749e8c2b32cf54b8a2d24c5e78ba6', 'sql', '', NULL, '4.29.2', '!without-test-data', NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('rbactest-package-rbac-rebuild', 'RbacRbacSystemRebuildGenerator', 'db/changelog/2-rbactest/202-rbactest-package/2023-rbactest-package-rbac.sql', '2025-01-27 15:34:16.950389', 104, 'EXECUTED', '9:2b9cc64914d8b21a4457a5a2b33427ec', 'sql', '', NULL, '4.29.2', '!without-test-data', NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('test-package-TEST-DATA-GENERATOR', 'michael.hoennig', 'db/changelog/2-rbactest/202-rbactest-package/2028-rbactest-package-test-data.sql', '2025-01-27 15:34:16.964087', 105, 'EXECUTED', '9:7e55635cc0c5d735b9305780b604ad09', 'sql', '', NULL, '4.29.2', '!without-test-data', NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('test-package-TEST-DATA-GENERATION', 'michael.hoennig', 'db/changelog/2-rbactest/202-rbactest-package/2028-rbactest-package-test-data.sql', '2025-01-27 15:34:17.040983', 106, 'EXECUTED', '9:bdd9ef02d8105d1636c33f47885a8e51', 'sql', '', NULL, '4.29.2', '!without-test-data AND !without-test-data', NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('test-domain-MAIN-TABLE', 'michael.hoennig', 'db/changelog/2-rbactest/203-rbactest-domain/2030-rbactest-domain.sql', '2025-01-27 15:34:17.058062', 107, 'EXECUTED', '9:53f4d2582458bb388217e7b5ab0e9664', 'sql', '', NULL, '4.29.2', '!without-test-data', NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('rbactest-domain-rbac-OBJECT', 'RbacObjectGenerator', 'db/changelog/2-rbactest/203-rbactest-domain/2033-rbactest-domain-rbac.sql', '2025-01-27 15:34:17.067272', 108, 'EXECUTED', '9:d204bab1152a2efaed1e5dc05e7369c8', 'sql', '', NULL, '4.29.2', '!without-test-data', NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('rbactest-domain-rbac-ROLE-DESCRIPTORS', 'RbacRoleDescriptorsGenerator', 'db/changelog/2-rbactest/203-rbactest-domain/2033-rbactest-domain-rbac.sql', '2025-01-27 15:34:17.078943', 109, 'EXECUTED', '9:2a0a0dc7c11bfd5974cf5d446a39a51a', 'sql', '', NULL, '4.29.2', '!without-test-data', NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('rbactest-domain-rbac-insert-trigger', 'RolesGrantsAndPermissionsGenerator', 'db/changelog/2-rbactest/203-rbactest-domain/2033-rbactest-domain-rbac.sql', '2025-01-27 15:34:17.091641', 110, 'EXECUTED', '9:87af80188676c50bf296dc67528a2364', 'sql', '', NULL, '4.29.2', '!without-test-data', NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('rbactest-domain-rbac-update-trigger', 'RolesGrantsAndPermissionsGenerator', 'db/changelog/2-rbactest/203-rbactest-domain/2033-rbactest-domain-rbac.sql', '2025-01-27 15:34:17.106025', 111, 'EXECUTED', '9:01d80772c124a78c5a1288bc704b9977', 'sql', '', NULL, '4.29.2', '!without-test-data', NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('rbactest-domain-rbac-GRANTING-INSERT-PERMISSION', 'InsertTriggerGenerator', 'db/changelog/2-rbactest/203-rbactest-domain/2033-rbactest-domain-rbac.sql', '2025-01-27 15:34:17.124224', 112, 'EXECUTED', '9:06a1011f8b783fef17e9fd48a1a9ca49', 'sql', '', NULL, '4.29.2', '!without-test-data', NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('rbactest-domain-rbac-CHECKING-INSERT-PERMISSION', 'InsertTriggerGenerator', 'db/changelog/2-rbactest/203-rbactest-domain/2033-rbactest-domain-rbac.sql', '2025-01-27 15:34:17.135259', 113, 'EXECUTED', '9:b6e2a6fa8c27365969393661debb4101', 'sql', '', NULL, '4.29.2', '!without-test-data', NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('rbactest-domain-rbac-IDENTITY-VIEW', 'RbacIdentityViewGenerator', 'db/changelog/2-rbactest/203-rbactest-domain/2033-rbactest-domain-rbac.sql', '2025-01-27 15:34:17.1464', 114, 'EXECUTED', '9:5e0146fd8331675fbbb81e7e2826016b', 'sql', '', NULL, '4.29.2', '!without-test-data', NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('rbactest-domain-rbac-RESTRICTED-VIEW', 'RbacRestrictedViewGenerator', 'db/changelog/2-rbactest/203-rbactest-domain/2033-rbactest-domain-rbac.sql', '2025-01-27 15:34:17.162383', 115, 'EXECUTED', '9:698ebc486e2704e875e4aaea85a2c144', 'sql', '', NULL, '4.29.2', '!without-test-data', NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('rbactest-domain-rbac-rebuild', 'RbacRbacSystemRebuildGenerator', 'db/changelog/2-rbactest/203-rbactest-domain/2033-rbactest-domain-rbac.sql', '2025-01-27 15:34:17.178744', 116, 'EXECUTED', '9:102757b00137fae714c516caad4e52ff', 'sql', '', NULL, '4.29.2', '!without-test-data', NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-domain-TEST-DATA-GENERATOR', 'michael.hoennig', 'db/changelog/2-rbactest/203-rbactest-domain/2038-rbactest-domain-test-data.sql', '2025-01-27 15:34:17.202656', 117, 'EXECUTED', '9:7ff9deffb24493195e5cfee796492a7a', 'sql', '', NULL, '4.29.2', '!without-test-data', NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-domain-TEST-DATA-GENERATION', 'michael.hoennig', 'db/changelog/2-rbactest/203-rbactest-domain/2038-rbactest-domain-test-data.sql', '2025-01-27 15:34:17.36059', 118, 'EXECUTED', '9:02a0d097decd631c52f3504252a8e25f', 'sql', '', NULL, '4.29.2', '!without-test-data AND !without-test-data', NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-SCHEMA', 'michael.hoennig', 'db/changelog/5-hs-office/500-hs-office-schema.sql', '2025-01-27 15:34:17.369462', 119, 'EXECUTED', '9:95af3304188550e45b497aacc9552a0e', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-contact-MAIN-TABLE', 'michael.hoennig', 'db/changelog/5-hs-office/501-contact/5010-hs-office-contact.sql', '2025-01-27 15:34:17.394742', 120, 'EXECUTED', '9:bd3868a9d6417d250c8fa5eaf06cdda1', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-contact-MAIN-TABLE-JOURNAL', 'michael.hoennig', 'db/changelog/5-hs-office/501-contact/5010-hs-office-contact.sql', '2025-01-27 15:34:17.404077', 121, 'EXECUTED', '9:53c099cb757a95e71a86f8f5211c9c2f', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-contact-rbac-OBJECT', 'RbacObjectGenerator', 'db/changelog/5-hs-office/501-contact/5013-hs-office-contact-rbac.sql', '2025-01-27 15:34:17.414019', 122, 'EXECUTED', '9:e8a20b6295686c71c125d77f579194f2', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-contact-rbac-ROLE-DESCRIPTORS', 'RbacRoleDescriptorsGenerator', 'db/changelog/5-hs-office/501-contact/5013-hs-office-contact-rbac.sql', '2025-01-27 15:34:17.440228', 123, 'EXECUTED', '9:87dae05d3dfb3030a7c56927a4da7f45', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-contact-rbac-insert-trigger', 'RolesGrantsAndPermissionsGenerator', 'db/changelog/5-hs-office/501-contact/5013-hs-office-contact-rbac.sql', '2025-01-27 15:34:17.459322', 124, 'EXECUTED', '9:0bcfe1779f0ffbacab92db389872e096', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-contact-rbac-IDENTITY-VIEW', 'RbacIdentityViewGenerator', 'db/changelog/5-hs-office/501-contact/5013-hs-office-contact-rbac.sql', '2025-01-27 15:34:17.480526', 125, 'EXECUTED', '9:97aa885eefed9ed6a62a9b9888838431', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-contact-rbac-RESTRICTED-VIEW', 'RbacRestrictedViewGenerator', 'db/changelog/5-hs-office/501-contact/5013-hs-office-contact-rbac.sql', '2025-01-27 15:34:17.504423', 126, 'EXECUTED', '9:093e1b9419923dc0055110229adaee14', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-contact-rbac-rebuild', 'RbacRbacSystemRebuildGenerator', 'db/changelog/5-hs-office/501-contact/5013-hs-office-contact-rbac.sql', '2025-01-27 15:34:17.515162', 127, 'EXECUTED', '9:eb2ad24e9d7090e2a8f876a597beeff8', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-contact-MIGRATION-legacy-mapping', 'michael.hoennig', 'db/changelog/5-hs-office/501-contact/5016-hs-office-contact-migration.sql', '2025-01-27 15:34:17.539144', 128, 'EXECUTED', '9:e9e8e9301086e3790ad67fe484a4043c', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-contact-MIGRATION-sequence', 'michael.hoennig', 'db/changelog/5-hs-office/501-contact/5016-hs-office-contact-migration.sql', '2025-01-27 15:34:17.54813', 129, 'EXECUTED', '9:a8afcc443b88cdbd828e26b058ed36db', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-contact-MIGRATION-default', 'michael.hoennig', 'db/changelog/5-hs-office/501-contact/5016-hs-office-contact-migration.sql', '2025-01-27 15:34:17.557857', 130, 'EXECUTED', '9:a101121181b4470b757a4cdacc14659e', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-contact-MIGRATION-insert', 'michael.hoennig', 'db/changelog/5-hs-office/501-contact/5016-hs-office-contact-migration.sql', '2025-01-27 15:34:17.565964', 131, 'EXECUTED', '9:8e1511d5bc132902db31485841bd1a48', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-contact-MIGRATION-insert-trigger', 'michael.hoennig', 'db/changelog/5-hs-office/501-contact/5016-hs-office-contact-migration.sql', '2025-01-27 15:34:17.575796', 132, 'EXECUTED', '9:bd39d996cabd921232ebec69b749985e', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-contact-MIGRATION-delete-trigger', 'michael.hoennig', 'db/changelog/5-hs-office/501-contact/5016-hs-office-contact-migration.sql', '2025-01-27 15:34:17.585013', 133, 'EXECUTED', '9:114fb1ab2b30bca25d060fa574c45c41', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-contact-TEST-DATA-GENERATOR', 'michael.hoennig', 'db/changelog/5-hs-office/501-contact/5018-hs-office-contact-test-data.sql', '2025-01-27 15:34:17.595253', 134, 'EXECUTED', '9:f95a0ee739481fc948d751336d3a53ce', 'sql', '', NULL, '4.29.2', '!without-test-data', NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-contact-TEST-DATA-GENERATION', 'michael.hoennig', 'db/changelog/5-hs-office/501-contact/5018-hs-office-contact-test-data.sql', '2025-01-27 15:34:17.694787', 135, 'EXECUTED', '9:aefb1653864621419bbc33d21a80623a', 'sql', '', NULL, '4.29.2', '!without-test-data AND !without-test-data', NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-person-MAIN-TABLE', 'michael.hoennig', 'db/changelog/5-hs-office/502-person/5020-hs-office-person.sql', '2025-01-27 15:34:17.714363', 136, 'EXECUTED', '9:b21ba5a82adefc2bab915f5abcc1a54d', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-person-MAIN-TABLE-JOURNAL', 'michael.hoennig', 'db/changelog/5-hs-office/502-person/5020-hs-office-person.sql', '2025-01-27 15:34:17.72441', 137, 'EXECUTED', '9:06b9a35487c7405e08d13753df1818c4', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-person-rbac-OBJECT', 'RbacObjectGenerator', 'db/changelog/5-hs-office/502-person/5023-hs-office-person-rbac.sql', '2025-01-27 15:34:17.733609', 138, 'EXECUTED', '9:7271b4a8bee2993867280c01973b1038', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-person-rbac-ROLE-DESCRIPTORS', 'RbacRoleDescriptorsGenerator', 'db/changelog/5-hs-office/502-person/5023-hs-office-person-rbac.sql', '2025-01-27 15:34:17.743383', 139, 'EXECUTED', '9:febbde4cf2b9ae6b0492bc0f8683878d', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-person-rbac-insert-trigger', 'RolesGrantsAndPermissionsGenerator', 'db/changelog/5-hs-office/502-person/5023-hs-office-person-rbac.sql', '2025-01-27 15:34:17.753954', 140, 'EXECUTED', '9:a2b9fcf71c677f27b8336373a43769f3', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-person-rbac-IDENTITY-VIEW', 'RbacIdentityViewGenerator', 'db/changelog/5-hs-office/502-person/5023-hs-office-person-rbac.sql', '2025-01-27 15:34:17.764215', 141, 'EXECUTED', '9:996ec48861e791fcc446495368290e4d', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-person-rbac-RESTRICTED-VIEW', 'RbacRestrictedViewGenerator', 'db/changelog/5-hs-office/502-person/5023-hs-office-person-rbac.sql', '2025-01-27 15:34:17.781331', 142, 'EXECUTED', '9:46d217d0f46a225e463b77ee32320efe', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-person-rbac-rebuild', 'RbacRbacSystemRebuildGenerator', 'db/changelog/5-hs-office/502-person/5023-hs-office-person-rbac.sql', '2025-01-27 15:34:17.791669', 143, 'EXECUTED', '9:204efdb868707ac9a7f358ca84e64d7b', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-person-TEST-DATA-GENERATOR', 'michael.hoennig', 'db/changelog/5-hs-office/502-person/5028-hs-office-person-test-data.sql', '2025-01-27 15:34:17.800752', 144, 'EXECUTED', '9:560570c48ec48107b3b0f896933e4e9c', 'sql', '', NULL, '4.29.2', '!without-test-data', NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-person-TEST-DATA-GENERATION', 'michael.hoennig', 'db/changelog/5-hs-office/502-person/5028-hs-office-person-test-data.sql', '2025-01-27 15:34:17.934699', 145, 'EXECUTED', '9:975c5d6793e83a2c876753d6cceff8d9', 'sql', '', NULL, '4.29.2', '!without-test-data AND !without-test-data', NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-relation-MAIN-TABLE', 'michael.hoennig', 'db/changelog/5-hs-office/503-relation/5030-hs-office-relation.sql', '2025-01-27 15:34:17.969932', 146, 'EXECUTED', '9:86cdab39361d2c0d41ec13c3007cdeee', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-relation-unique-constraints', 'michael.hoennig', 'db/changelog/5-hs-office/503-relation/5030-hs-office-relation.sql', '2025-01-27 15:34:18.002962', 147, 'EXECUTED', '9:4a455dac69cc17c9a21bde5bb1d72123', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-relation-MAIN-TABLE-JOURNAL', 'michael.hoennig', 'db/changelog/5-hs-office/503-relation/5030-hs-office-relation.sql', '2025-01-27 15:34:18.010933', 148, 'EXECUTED', '9:13f528e4b745751dfcf6e0aa8b31a86e', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-relation-rbac-OBJECT', 'RbacObjectGenerator', 'db/changelog/5-hs-office/503-relation/5033-hs-office-relation-rbac.sql', '2025-01-27 15:34:18.019423', 149, 'EXECUTED', '9:62d3835be0ca79ae9a5c397ba36ccf18', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-relation-rbac-ROLE-DESCRIPTORS', 'RbacRoleDescriptorsGenerator', 'db/changelog/5-hs-office/503-relation/5033-hs-office-relation-rbac.sql', '2025-01-27 15:34:18.028098', 150, 'EXECUTED', '9:8f604a50201fcc189ef4ad6465b0f87d', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-relation-rbac-insert-trigger', 'RolesGrantsAndPermissionsGenerator', 'db/changelog/5-hs-office/503-relation/5033-hs-office-relation-rbac.sql', '2025-01-27 15:34:18.040127', 151, 'EXECUTED', '9:8d3b3682fd4f331d560f9609e9df3611', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-relation-rbac-update-trigger', 'RolesGrantsAndPermissionsGenerator', 'db/changelog/5-hs-office/503-relation/5033-hs-office-relation-rbac.sql', '2025-01-27 15:34:18.050591', 152, 'EXECUTED', '9:843a2d517a737612f679b586b22dfa1f', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-relation-rbac-GRANTING-INSERT-PERMISSION', 'InsertTriggerGenerator', 'db/changelog/5-hs-office/503-relation/5033-hs-office-relation-rbac.sql', '2025-01-27 15:34:18.069291', 153, 'EXECUTED', '9:16a25331076d4fe2529906937e513eb0', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-relation-rbac-CHECKING-INSERT-PERMISSION', 'InsertTriggerGenerator', 'db/changelog/5-hs-office/503-relation/5033-hs-office-relation-rbac.sql', '2025-01-27 15:34:18.078684', 154, 'EXECUTED', '9:6b8fb2185819dac7871c748fec67c19c', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-relation-rbac-IDENTITY-VIEW', 'RbacIdentityViewGenerator', 'db/changelog/5-hs-office/503-relation/5033-hs-office-relation-rbac.sql', '2025-01-27 15:34:18.089887', 155, 'EXECUTED', '9:837d545cc3a79d543491e2d76ae76918', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-relation-rbac-RESTRICTED-VIEW', 'RbacRestrictedViewGenerator', 'db/changelog/5-hs-office/503-relation/5033-hs-office-relation-rbac.sql', '2025-01-27 15:34:18.118397', 156, 'EXECUTED', '9:5350c22ca984311f09a102000551a06a', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-relation-rbac-rebuild', 'RbacRbacSystemRebuildGenerator', 'db/changelog/5-hs-office/503-relation/5033-hs-office-relation-rbac.sql', '2025-01-27 15:34:18.136279', 157, 'EXECUTED', '9:aef36d49fbfd9e9e6b44408a56e0dc4e', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-relation-TEST-DATA-GENERATOR', 'michael.hoennig', 'db/changelog/5-hs-office/503-relation/5038-hs-office-relation-test-data.sql', '2025-01-27 15:34:18.149677', 158, 'EXECUTED', '9:a606bdf3b74daaf68e89b771ab5a5f83', 'sql', '', NULL, '4.29.2', '!without-test-data', NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-relation-TEST-DATA-GENERATION', 'michael.hoennig', 'db/changelog/5-hs-office/503-relation/5038-hs-office-relation-test-data.sql', '2025-01-27 15:34:18.388711', 159, 'EXECUTED', '9:444d28cfb2fa8234930dc9912f7dbf97', 'sql', '', NULL, '4.29.2', '!without-test-data AND !without-test-data', NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-partner-DETAILS-TABLE', 'michael.hoennig', 'db/changelog/5-hs-office/504-partner/5040-hs-office-partner.sql', '2025-01-27 15:34:18.40679', 160, 'EXECUTED', '9:07885059d4d27b328da5cb98518640fe', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-partner-DETAILS-TABLE-JOURNAL', 'michael.hoennig', 'db/changelog/5-hs-office/504-partner/5040-hs-office-partner.sql', '2025-01-27 15:34:18.416056', 161, 'EXECUTED', '9:37bd59be01e36bef353fedf2ab699098', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-partner-MAIN-TABLE', 'michael.hoennig', 'db/changelog/5-hs-office/504-partner/5040-hs-office-partner.sql', '2025-01-27 15:34:18.442938', 162, 'EXECUTED', '9:0201fea673d545f158bb5910fc9d0d17', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-partner-DELETE-DEPENDENTS-TRIGGER', 'michael.hoennig', 'db/changelog/5-hs-office/504-partner/5040-hs-office-partner.sql', '2025-01-27 15:34:18.455999', 163, 'EXECUTED', '9:4b849a6a05772609a448564e839445e3', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-partner-MAIN-TABLE-JOURNAL', 'michael.hoennig', 'db/changelog/5-hs-office/504-partner/5040-hs-office-partner.sql', '2025-01-27 15:34:18.464591', 164, 'EXECUTED', '9:5d9a0eab674f574b199594f056bd0b32', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-partner-rbac-OBJECT', 'RbacObjectGenerator', 'db/changelog/5-hs-office/504-partner/5043-hs-office-partner-rbac.sql', '2025-01-27 15:34:18.474039', 165, 'EXECUTED', '9:99fb95a8e62697841e58a1bb4b10c949', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-partner-rbac-ROLE-DESCRIPTORS', 'RbacRoleDescriptorsGenerator', 'db/changelog/5-hs-office/504-partner/5043-hs-office-partner-rbac.sql', '2025-01-27 15:34:18.484245', 166, 'EXECUTED', '9:133005f2f871355ae47a9f648fe9c12f', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-partner-rbac-insert-trigger', 'RolesGrantsAndPermissionsGenerator', 'db/changelog/5-hs-office/504-partner/5043-hs-office-partner-rbac.sql', '2025-01-27 15:34:18.496875', 167, 'EXECUTED', '9:fae9a12e3dc592bb62711b8d1770ce46', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-partner-rbac-update-trigger', 'RolesGrantsAndPermissionsGenerator', 'db/changelog/5-hs-office/504-partner/5043-hs-office-partner-rbac.sql', '2025-01-27 15:34:18.509124', 168, 'EXECUTED', '9:5f673c674692de67315c230c74de1cbf', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-partner-rbac-GRANTING-INSERT-PERMISSION', 'InsertTriggerGenerator', 'db/changelog/5-hs-office/504-partner/5043-hs-office-partner-rbac.sql', '2025-01-27 15:34:18.522231', 169, 'EXECUTED', '9:7828179bad8fd8a82a54075753da17a7', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-partner-rbac-CHECKING-INSERT-PERMISSION', 'InsertTriggerGenerator', 'db/changelog/5-hs-office/504-partner/5043-hs-office-partner-rbac.sql', '2025-01-27 15:34:18.531521', 170, 'EXECUTED', '9:3efc4e4a17da6e225c808c6fcc159603', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-partner-rbac-IDENTITY-VIEW', 'RbacIdentityViewGenerator', 'db/changelog/5-hs-office/504-partner/5043-hs-office-partner-rbac.sql', '2025-01-27 15:34:18.540662', 171, 'EXECUTED', '9:97c7a6e0462732c51130e1b3fb8bdb81', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-partner-rbac-RESTRICTED-VIEW', 'RbacRestrictedViewGenerator', 'db/changelog/5-hs-office/504-partner/5043-hs-office-partner-rbac.sql', '2025-01-27 15:34:18.553732', 172, 'EXECUTED', '9:2cf5ed77894e41337859cfb8d5d6232c', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-partner-rbac-rebuild', 'RbacRbacSystemRebuildGenerator', 'db/changelog/5-hs-office/504-partner/5043-hs-office-partner-rbac.sql', '2025-01-27 15:34:18.564296', 173, 'EXECUTED', '9:e7ac0d2761e29703e7d6da089962ac89', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-partner-details-rbac-OBJECT', 'RbacObjectGenerator', 'db/changelog/5-hs-office/504-partner/5044-hs-office-partner-details-rbac.sql', '2025-01-27 15:34:18.573483', 174, 'EXECUTED', '9:100aa26a8e93898e56c1779a7453fb67', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-partner-details-rbac-ROLE-DESCRIPTORS', 'RbacRoleDescriptorsGenerator', 'db/changelog/5-hs-office/504-partner/5044-hs-office-partner-details-rbac.sql', '2025-01-27 15:34:18.582218', 175, 'EXECUTED', '9:9529764d7ae47527e87aac4b5ad58c7d', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-partner-details-rbac-insert-trigger', 'RolesGrantsAndPermissionsGenerator', 'db/changelog/5-hs-office/504-partner/5044-hs-office-partner-details-rbac.sql', '2025-01-27 15:34:18.591737', 176, 'EXECUTED', '9:96cf3d4a24ca5d100282c7f788d43b3b', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-partner-details-rbac-GRANTING-INSERT-PERMISSION', 'InsertTriggerGenerator', 'db/changelog/5-hs-office/504-partner/5044-hs-office-partner-details-rbac.sql', '2025-01-27 15:34:18.604268', 177, 'EXECUTED', '9:8f57444b7ba0dce36772c994af77e49f', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-partner-details-rbac-CHECKING-INSERT-PERMISSION', 'InsertTriggerGenerator', 'db/changelog/5-hs-office/504-partner/5044-hs-office-partner-details-rbac.sql', '2025-01-27 15:34:18.614494', 178, 'EXECUTED', '9:e690b91d50d17b6bb41cfb27766066b0', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-partner-details-rbac-IDENTITY-VIEW', 'RbacIdentityViewGenerator', 'db/changelog/5-hs-office/504-partner/5044-hs-office-partner-details-rbac.sql', '2025-01-27 15:34:18.626105', 179, 'EXECUTED', '9:79e0da7d5107ed61f17ea4e165dc8945', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-partner-details-rbac-RESTRICTED-VIEW', 'RbacRestrictedViewGenerator', 'db/changelog/5-hs-office/504-partner/5044-hs-office-partner-details-rbac.sql', '2025-01-27 15:34:18.642037', 180, 'EXECUTED', '9:9eb01d87b429f2c138b7d5176bf5db26', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-partner-details-rbac-rebuild', 'RbacRbacSystemRebuildGenerator', 'db/changelog/5-hs-office/504-partner/5044-hs-office-partner-details-rbac.sql', '2025-01-27 15:34:18.655077', 181, 'EXECUTED', '9:967f05730d37d71cdfb18e2382937a57', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-partner-MIGRATION-legacy-mapping', 'michael.hoennig', 'db/changelog/5-hs-office/504-partner/5046-hs-office-partner-migration.sql', '2025-01-27 15:34:18.680443', 182, 'EXECUTED', '9:00f12db8bec33a1276b8f597decae0a6', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-partner-MIGRATION-sequence', 'michael.hoennig', 'db/changelog/5-hs-office/504-partner/5046-hs-office-partner-migration.sql', '2025-01-27 15:34:18.689419', 183, 'EXECUTED', '9:78db6dfb3b1778869277a8e42cc063ba', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-partner-MIGRATION-default', 'michael.hoennig', 'db/changelog/5-hs-office/504-partner/5046-hs-office-partner-migration.sql', '2025-01-27 15:34:18.697829', 184, 'EXECUTED', '9:97805e89d388a278a1071618e26e2f91', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-partner-MIGRATION-insert', 'michael.hoennig', 'db/changelog/5-hs-office/504-partner/5046-hs-office-partner-migration.sql', '2025-01-27 15:34:18.704962', 185, 'EXECUTED', '9:06826ce261f4ead46c2ffe68f79f520c', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-partner-MIGRATION-insert-trigger', 'michael.hoennig', 'db/changelog/5-hs-office/504-partner/5046-hs-office-partner-migration.sql', '2025-01-27 15:34:18.71434', 186, 'EXECUTED', '9:801e5870315de722dd90b1ae212eb3c9', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-partner-MIGRATION-delete-trigger', 'michael.hoennig', 'db/changelog/5-hs-office/504-partner/5046-hs-office-partner-migration.sql', '2025-01-27 15:34:18.723603', 187, 'EXECUTED', '9:d18c1da68e3e6d51cb4f5338eb59c40d', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-partner-TEST-DATA-GENERATOR', 'michael.hoennig', 'db/changelog/5-hs-office/504-partner/5048-hs-office-partner-test-data.sql', '2025-01-27 15:34:18.735586', 188, 'EXECUTED', '9:5784e97b2806466ed4eba66bcfd49767', 'sql', '', NULL, '4.29.2', '!without-test-data', NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-partner-TEST-DATA-GENERATION', 'michael.hoennig', 'db/changelog/5-hs-office/504-partner/5048-hs-office-partner-test-data.sql', '2025-01-27 15:34:18.780231', 189, 'EXECUTED', '9:68954862172fa707bfa0893ba1f991c7', 'sql', '', NULL, '4.29.2', '!without-test-data AND !without-test-data', NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('raw', 'includeAll', 'db/changelog/5-hs-office/505-bankaccount/5050-hs-office-bankaccount.sql', '2025-01-27 15:34:18.797254', 190, 'EXECUTED', '9:00022f725212f8ae1909262841948bb1', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-bankaccount-rbac-OBJECT', 'RbacObjectGenerator', 'db/changelog/5-hs-office/505-bankaccount/5053-hs-office-bankaccount-rbac.sql', '2025-01-27 15:34:18.805762', 191, 'EXECUTED', '9:7b14c584ffa7061a57ff5142dbc851f4', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-bankaccount-rbac-ROLE-DESCRIPTORS', 'RbacRoleDescriptorsGenerator', 'db/changelog/5-hs-office/505-bankaccount/5053-hs-office-bankaccount-rbac.sql', '2025-01-27 15:34:18.815797', 192, 'EXECUTED', '9:26e78f0ccb9239d8ba1be81f48293fcd', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-bankaccount-rbac-insert-trigger', 'RolesGrantsAndPermissionsGenerator', 'db/changelog/5-hs-office/505-bankaccount/5053-hs-office-bankaccount-rbac.sql', '2025-01-27 15:34:18.826176', 193, 'EXECUTED', '9:f09c1aa5e54888fe71cc6f38d6e6d1dc', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-bankaccount-rbac-IDENTITY-VIEW', 'RbacIdentityViewGenerator', 'db/changelog/5-hs-office/505-bankaccount/5053-hs-office-bankaccount-rbac.sql', '2025-01-27 15:34:18.835541', 194, 'EXECUTED', '9:b1409959b111083b3cf0e3c669f5024b', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-bankaccount-rbac-RESTRICTED-VIEW', 'RbacRestrictedViewGenerator', 'db/changelog/5-hs-office/505-bankaccount/5053-hs-office-bankaccount-rbac.sql', '2025-01-27 15:34:18.847885', 195, 'EXECUTED', '9:6915edcb6fda80537e3876ce890b021a', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-bankaccount-rbac-rebuild', 'RbacRbacSystemRebuildGenerator', 'db/changelog/5-hs-office/505-bankaccount/5053-hs-office-bankaccount-rbac.sql', '2025-01-27 15:34:18.858942', 196, 'EXECUTED', '9:912589683b5a8710bd01c70f3ae91e7b', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-bankaccount-TEST-DATA-GENERATOR', 'michael.hoennig', 'db/changelog/5-hs-office/505-bankaccount/5058-hs-office-bankaccount-test-data.sql', '2025-01-27 15:34:18.869292', 197, 'EXECUTED', '9:6c8c2360466515f1d5404d8446222ac4', 'sql', '', NULL, '4.29.2', '!without-test-data', NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-bankaccount-TEST-DATA-GENERATION', 'michael.hoennig', 'db/changelog/5-hs-office/505-bankaccount/5058-hs-office-bankaccount-test-data.sql', '2025-01-27 15:34:18.922569', 198, 'EXECUTED', '9:df706b6d445dabec00fbfb90d13aebc9', 'sql', '', NULL, '4.29.2', '!without-test-data AND !without-test-data', NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-debitor-MAIN-TABLE', 'michael.hoennig', 'db/changelog/5-hs-office/506-debitor/5060-hs-office-debitor.sql', '2025-01-27 15:34:18.948461', 199, 'EXECUTED', '9:e35607826fc17ead65711ac55a63d62e', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-debitor-DELETE-DEPENDENTS-TRIGGER', 'michael.hoennig', 'db/changelog/5-hs-office/506-debitor/5060-hs-office-debitor.sql', '2025-01-27 15:34:18.95856', 200, 'EXECUTED', '9:c2f4ce2f8fa13549a8566edd29ac25f0', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-debitor-MAIN-TABLE-JOURNAL', 'michael.hoennig', 'db/changelog/5-hs-office/506-debitor/5060-hs-office-debitor.sql', '2025-01-27 15:34:18.966468', 201, 'EXECUTED', '9:942a0ffeb44c31900d60a854c8e21529', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-debitor-rbac-OBJECT', 'RbacObjectGenerator', 'db/changelog/5-hs-office/506-debitor/5063-hs-office-debitor-rbac.sql', '2025-01-27 15:34:18.974945', 202, 'EXECUTED', '9:097db1b8d04268c1c8e472b318d6198f', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-debitor-rbac-ROLE-DESCRIPTORS', 'RbacRoleDescriptorsGenerator', 'db/changelog/5-hs-office/506-debitor/5063-hs-office-debitor-rbac.sql', '2025-01-27 15:34:18.983369', 203, 'EXECUTED', '9:4ff230a43a56670eb11167f26095fd00', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-debitor-rbac-insert-trigger', 'RolesGrantsAndPermissionsGenerator', 'db/changelog/5-hs-office/506-debitor/5063-hs-office-debitor-rbac.sql', '2025-01-27 15:34:18.995026', 204, 'EXECUTED', '9:5833902da14fd902bdd61f962ddc4d89', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-debitor-rbac-update-trigger', 'RolesGrantsAndPermissionsGenerator', 'db/changelog/5-hs-office/506-debitor/5063-hs-office-debitor-rbac.sql', '2025-01-27 15:34:19.00435', 205, 'EXECUTED', '9:0417bc8650f40e08ff8325c211d6a4db', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-debitor-rbac-GRANTING-INSERT-PERMISSION', 'InsertTriggerGenerator', 'db/changelog/5-hs-office/506-debitor/5063-hs-office-debitor-rbac.sql', '2025-01-27 15:34:19.014843', 206, 'EXECUTED', '9:0bbd61a430bd2857a0aa8b8efbc811f3', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-debitor-rbac-CHECKING-INSERT-PERMISSION', 'InsertTriggerGenerator', 'db/changelog/5-hs-office/506-debitor/5063-hs-office-debitor-rbac.sql', '2025-01-27 15:34:19.023829', 207, 'EXECUTED', '9:4f767b3b03c431b83259c199b2d4214b', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-debitor-rbac-IDENTITY-VIEW', 'RbacIdentityViewGenerator', 'db/changelog/5-hs-office/506-debitor/5063-hs-office-debitor-rbac.sql', '2025-01-27 15:34:19.034368', 208, 'EXECUTED', '9:e7a4ecf70b9d0427ba4aea1f1cc3f5f0', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-debitor-rbac-RESTRICTED-VIEW', 'RbacRestrictedViewGenerator', 'db/changelog/5-hs-office/506-debitor/5063-hs-office-debitor-rbac.sql', '2025-01-27 15:34:19.047301', 209, 'EXECUTED', '9:759a74535fd82b597a4e407f7c0031e3', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-debitor-rbac-rebuild', 'RbacRbacSystemRebuildGenerator', 'db/changelog/5-hs-office/506-debitor/5063-hs-office-debitor-rbac.sql', '2025-01-27 15:34:19.057719', 210, 'EXECUTED', '9:f7511c63df1fc5fada3aaf29732576b8', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-debitor-TEST-DATA-GENERATOR', 'michael.hoennig', 'db/changelog/5-hs-office/506-debitor/5068-hs-office-debitor-test-data.sql', '2025-01-27 15:34:19.067286', 211, 'EXECUTED', '9:5814acc278280e3626fdba84ff8305e6', 'sql', '', NULL, '4.29.2', '!without-test-data', NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-debitor-TEST-DATA-GENERATION', 'michael.hoennig', 'db/changelog/5-hs-office/506-debitor/5068-hs-office-debitor-test-data.sql', '2025-01-27 15:34:19.109222', 212, 'EXECUTED', '9:0e8e69092abdd93ae7bff89f45495ac2', 'sql', '', NULL, '4.29.2', '!without-test-data AND !without-test-data', NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-sepamandate-MAIN-TABLE', 'michael.hoennig', 'db/changelog/5-hs-office/507-sepamandate/5070-hs-office-sepamandate.sql', '2025-01-27 15:34:19.1333', 213, 'EXECUTED', '9:7094f5fd111cb53c5cfe3d352744fd36', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-sepamandate-MAIN-TABLE-JOURNAL', 'michael.hoennig', 'db/changelog/5-hs-office/507-sepamandate/5070-hs-office-sepamandate.sql', '2025-01-27 15:34:19.141123', 214, 'EXECUTED', '9:7b387b6dbaeac43b2c33445a6709b2c7', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-sepamandate-rbac-OBJECT', 'RbacObjectGenerator', 'db/changelog/5-hs-office/507-sepamandate/5073-hs-office-sepamandate-rbac.sql', '2025-01-27 15:34:19.149294', 215, 'EXECUTED', '9:be4e6cdfc4ad11a7e025bf38651f34d1', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-sepamandate-rbac-ROLE-DESCRIPTORS', 'RbacRoleDescriptorsGenerator', 'db/changelog/5-hs-office/507-sepamandate/5073-hs-office-sepamandate-rbac.sql', '2025-01-27 15:34:19.160418', 216, 'EXECUTED', '9:44b3251af2898fde9813eb7398b906a3', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-sepamandate-rbac-insert-trigger', 'RolesGrantsAndPermissionsGenerator', 'db/changelog/5-hs-office/507-sepamandate/5073-hs-office-sepamandate-rbac.sql', '2025-01-27 15:34:19.174175', 217, 'EXECUTED', '9:17cb0a4439da270ab15600fed60b257d', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-sepamandate-rbac-GRANTING-INSERT-PERMISSION', 'InsertTriggerGenerator', 'db/changelog/5-hs-office/507-sepamandate/5073-hs-office-sepamandate-rbac.sql', '2025-01-27 15:34:19.188297', 218, 'EXECUTED', '9:83f68f08d1b37c3bd228a8d322ab3fe7', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-sepamandate-rbac-CHECKING-INSERT-PERMISSION', 'InsertTriggerGenerator', 'db/changelog/5-hs-office/507-sepamandate/5073-hs-office-sepamandate-rbac.sql', '2025-01-27 15:34:19.199018', 219, 'EXECUTED', '9:3cb7b97d9ac43a2fc1a46873af943d78', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-sepamandate-rbac-IDENTITY-VIEW', 'RbacIdentityViewGenerator', 'db/changelog/5-hs-office/507-sepamandate/5073-hs-office-sepamandate-rbac.sql', '2025-01-27 15:34:19.208974', 220, 'EXECUTED', '9:77bc5f87dd7cc5757e2e3eccd9e8ba90', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-sepamandate-rbac-RESTRICTED-VIEW', 'RbacRestrictedViewGenerator', 'db/changelog/5-hs-office/507-sepamandate/5073-hs-office-sepamandate-rbac.sql', '2025-01-27 15:34:19.222027', 221, 'EXECUTED', '9:56cb083ac90933d246be79b750bfe6c9', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-sepamandate-rbac-rebuild', 'RbacRbacSystemRebuildGenerator', 'db/changelog/5-hs-office/507-sepamandate/5073-hs-office-sepamandate-rbac.sql', '2025-01-27 15:34:19.231223', 222, 'EXECUTED', '9:0c9130f70f86c9512e57c035375b4081', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-sepamandate-MIGRATION-legacy-mapping', 'michael.hoennig', 'db/changelog/5-hs-office/507-sepamandate/5076-hs-office-sepamandate-migration.sql', '2025-01-27 15:34:19.262288', 223, 'EXECUTED', '9:85c63a4e5f2880f9cc27cba3f513a693', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-sepamandate-MIGRATION-sequence', 'michael.hoennig', 'db/changelog/5-hs-office/507-sepamandate/5076-hs-office-sepamandate-migration.sql', '2025-01-27 15:34:19.277972', 224, 'EXECUTED', '9:e4a182f0eea5ab0db7eb7c115f3aba90', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-sepamandate-MIGRATION-default', 'michael.hoennig', 'db/changelog/5-hs-office/507-sepamandate/5076-hs-office-sepamandate-migration.sql', '2025-01-27 15:34:19.287984', 225, 'EXECUTED', '9:5341a47b4c52b16b5493eb2b6fe8e391', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-sepamandate-MIGRATION-insert', 'michael.hoennig', 'db/changelog/5-hs-office/507-sepamandate/5076-hs-office-sepamandate-migration.sql', '2025-01-27 15:34:19.296258', 226, 'EXECUTED', '9:0cac585727746de1df9bd85e43c3253f', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-sepamandate-MIGRATION-insert-trigger', 'michael.hoennig', 'db/changelog/5-hs-office/507-sepamandate/5076-hs-office-sepamandate-migration.sql', '2025-01-27 15:34:19.306005', 227, 'EXECUTED', '9:4e13d6ba612be4d16ac470eff321ac55', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-sepamandate-MIGRATION-delete-trigger', 'michael.hoennig', 'db/changelog/5-hs-office/507-sepamandate/5076-hs-office-sepamandate-migration.sql', '2025-01-27 15:34:19.326721', 228, 'EXECUTED', '9:6a438bb2441c476f19c8adecfc0ada7e', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-sepaMandate-TEST-DATA-GENERATOR', 'michael.hoennig', 'db/changelog/5-hs-office/507-sepamandate/5078-hs-office-sepamandate-test-data.sql', '2025-01-27 15:34:19.349944', 229, 'EXECUTED', '9:da502a02cd3b95f897fbaa82d5d2711e', 'sql', '', NULL, '4.29.2', '!without-test-data', NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-sepaMandate-TEST-DATA-GENERATION', 'michael.hoennig', 'db/changelog/5-hs-office/507-sepamandate/5078-hs-office-sepamandate-test-data.sql', '2025-01-27 15:34:19.406256', 230, 'EXECUTED', '9:d0dfa2ba5d05e930884952d5c833f27b', 'sql', '', NULL, '4.29.2', '!without-test-data AND !without-test-data', NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-membership-MAIN-TABLE', 'michael.hoennig', 'db/changelog/5-hs-office/510-membership/5100-hs-office-membership.sql', '2025-01-27 15:34:19.449776', 231, 'EXECUTED', '9:5cb327f0ee0e6dad2ff7b2add1046b31', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-membership-MAIN-TABLE-JOURNAL', 'michael.hoennig', 'db/changelog/5-hs-office/510-membership/5100-hs-office-membership.sql', '2025-01-27 15:34:19.470019', 232, 'EXECUTED', '9:ebca1dd23c9ebcd49f948628a04eab96', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-membership-rbac-OBJECT', 'RbacObjectGenerator', 'db/changelog/5-hs-office/510-membership/5103-hs-office-membership-rbac.sql', '2025-01-27 15:34:19.480397', 233, 'EXECUTED', '9:38e75a8432730f0abb7eb57bcac7d15d', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-membership-rbac-ROLE-DESCRIPTORS', 'RbacRoleDescriptorsGenerator', 'db/changelog/5-hs-office/510-membership/5103-hs-office-membership-rbac.sql', '2025-01-27 15:34:19.490628', 234, 'EXECUTED', '9:9f9dc3a42a2c807edb65d9c8e689c227', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-membership-rbac-insert-trigger', 'RolesGrantsAndPermissionsGenerator', 'db/changelog/5-hs-office/510-membership/5103-hs-office-membership-rbac.sql', '2025-01-27 15:34:19.502994', 235, 'EXECUTED', '9:d35b18a0737ac5278f837ebcc96f0083', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-membership-rbac-GRANTING-INSERT-PERMISSION', 'InsertTriggerGenerator', 'db/changelog/5-hs-office/510-membership/5103-hs-office-membership-rbac.sql', '2025-01-27 15:34:19.518459', 236, 'EXECUTED', '9:31da52dd1bb16e3c6fcbb843c0b9806b', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-membership-rbac-CHECKING-INSERT-PERMISSION', 'InsertTriggerGenerator', 'db/changelog/5-hs-office/510-membership/5103-hs-office-membership-rbac.sql', '2025-01-27 15:34:19.530157', 237, 'EXECUTED', '9:fefecd0ba599565d22076b6841661401', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-membership-rbac-IDENTITY-VIEW', 'RbacIdentityViewGenerator', 'db/changelog/5-hs-office/510-membership/5103-hs-office-membership-rbac.sql', '2025-01-27 15:34:19.542281', 238, 'EXECUTED', '9:5f2dd8c715fdf8e9ef499ee80fcea24b', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-membership-rbac-RESTRICTED-VIEW', 'RbacRestrictedViewGenerator', 'db/changelog/5-hs-office/510-membership/5103-hs-office-membership-rbac.sql', '2025-01-27 15:34:19.555932', 239, 'EXECUTED', '9:79db5ea41b711b2607b92ac0ea1d569a', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-membership-rbac-rebuild', 'RbacRbacSystemRebuildGenerator', 'db/changelog/5-hs-office/510-membership/5103-hs-office-membership-rbac.sql', '2025-01-27 15:34:19.565461', 240, 'EXECUTED', '9:8baae4dbdd21b162cd3ca7c8a939223d', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-membership-TEST-DATA-GENERATOR', 'michael.hoennig', 'db/changelog/5-hs-office/510-membership/5108-hs-office-membership-test-data.sql', '2025-01-27 15:34:19.574825', 241, 'EXECUTED', '9:37c578f9a81df435f496dc7e7e5c6200', 'sql', '', NULL, '4.29.2', '!without-test-data', NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-membership-TEST-DATA-GENERATION', 'michael.hoennig', 'db/changelog/5-hs-office/510-membership/5108-hs-office-membership-test-data.sql', '2025-01-27 15:34:19.615573', 242, 'EXECUTED', '9:d1d9cb1a678983f3860e4865362fcffc', 'sql', '', NULL, '4.29.2', '!without-test-data AND !without-test-data', NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-coopshares-MAIN-TABLE', 'michael.hoennig', 'db/changelog/5-hs-office/511-coopshares/5110-hs-office-coopshares.sql', '2025-01-27 15:34:19.661147', 243, 'EXECUTED', '9:dd5642d53c66a58f6b90d5e8f0b2eefd', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-coopshares-BUSINESS-RULES', 'michael.hoennig', 'db/changelog/5-hs-office/511-coopshares/5110-hs-office-coopshares.sql', '2025-01-27 15:34:19.690938', 244, 'EXECUTED', '9:be3db6ea2b92031072765cdcc1c0ad38', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-coopshares-SHARE-COUNT-CONSTRAINT', 'michael.hoennig', 'db/changelog/5-hs-office/511-coopshares/5110-hs-office-coopshares.sql', '2025-01-27 15:34:19.715923', 245, 'EXECUTED', '9:d8433344adbc9d103f77a152bfe150c0', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-coopshares-MAIN-TABLE-JOURNAL', 'michael.hoennig', 'db/changelog/5-hs-office/511-coopshares/5110-hs-office-coopshares.sql', '2025-01-27 15:34:19.735879', 246, 'EXECUTED', '9:5e302243d9bfabf507630b5e074ac4ec', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-coopsharetx-rbac-OBJECT', 'RbacObjectGenerator', 'db/changelog/5-hs-office/511-coopshares/5113-hs-office-coopshares-rbac.sql', '2025-01-27 15:34:19.750382', 247, 'EXECUTED', '9:d3421993f41f43c4b99cb1afbb614d39', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-coopsharetx-rbac-ROLE-DESCRIPTORS', 'RbacRoleDescriptorsGenerator', 'db/changelog/5-hs-office/511-coopshares/5113-hs-office-coopshares-rbac.sql', '2025-01-27 15:34:19.762559', 248, 'EXECUTED', '9:48097391a78abef6b3b3bfec2a92b338', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-coopsharetx-rbac-insert-trigger', 'RolesGrantsAndPermissionsGenerator', 'db/changelog/5-hs-office/511-coopshares/5113-hs-office-coopshares-rbac.sql', '2025-01-27 15:34:19.775511', 249, 'EXECUTED', '9:dca08c5d3d8f82e02438878022b1f81d', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-coopsharetx-rbac-GRANTING-INSERT-PERMISSION', 'InsertTriggerGenerator', 'db/changelog/5-hs-office/511-coopshares/5113-hs-office-coopshares-rbac.sql', '2025-01-27 15:34:19.788863', 250, 'EXECUTED', '9:50469fbd535cd90ae0eacb79083067e3', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-coopsharetx-rbac-CHECKING-INSERT-PERMISSION', 'InsertTriggerGenerator', 'db/changelog/5-hs-office/511-coopshares/5113-hs-office-coopshares-rbac.sql', '2025-01-27 15:34:19.798411', 251, 'EXECUTED', '9:dff51f901834806905f0a032960b3da3', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-coopsharetx-rbac-IDENTITY-VIEW', 'RbacIdentityViewGenerator', 'db/changelog/5-hs-office/511-coopshares/5113-hs-office-coopshares-rbac.sql', '2025-01-27 15:34:19.8084', 252, 'EXECUTED', '9:324a03d0c8858aff81b457aff02feeb4', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-coopsharetx-rbac-RESTRICTED-VIEW', 'RbacRestrictedViewGenerator', 'db/changelog/5-hs-office/511-coopshares/5113-hs-office-coopshares-rbac.sql', '2025-01-27 15:34:19.822507', 253, 'EXECUTED', '9:1ea81886c6351b59f1408645c17b8dbe', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-coopsharetx-rbac-rebuild', 'RbacRbacSystemRebuildGenerator', 'db/changelog/5-hs-office/511-coopshares/5113-hs-office-coopshares-rbac.sql', '2025-01-27 15:34:19.832423', 254, 'EXECUTED', '9:952da62b0a67d7d1e9f951d14d37889f', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-coopshares-MIGRATION-legacy-mapping', 'michael.hoennig', 'db/changelog/5-hs-office/511-coopshares/5116-hs-office-coopshares-migration.sql', '2025-01-27 15:34:19.857389', 255, 'EXECUTED', '9:361f46900a3867db4cdea155550a9694', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-coopshares-MIGRATION-sequence', 'michael.hoennig', 'db/changelog/5-hs-office/511-coopshares/5116-hs-office-coopshares-migration.sql', '2025-01-27 15:34:19.869882', 256, 'EXECUTED', '9:dfa74018490986a7aa2d28c890fa8b1d', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-coopshares-MIGRATION-default', 'michael.hoennig', 'db/changelog/5-hs-office/511-coopshares/5116-hs-office-coopshares-migration.sql', '2025-01-27 15:34:19.881336', 257, 'EXECUTED', '9:3e3d01d4d5416ce58b51e2823153a934', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-coopshares-MIGRATION-insert', 'michael.hoennig', 'db/changelog/5-hs-office/511-coopshares/5116-hs-office-coopshares-migration.sql', '2025-01-27 15:34:19.890716', 258, 'EXECUTED', '9:8b5ed8e4e8376ba793aaa55219e0d0f9', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-coopShares-MIGRATION-insert-trigger', 'michael.hoennig', 'db/changelog/5-hs-office/511-coopshares/5116-hs-office-coopshares-migration.sql', '2025-01-27 15:34:19.900386', 259, 'EXECUTED', '9:465888aa1bf6053a5a76bcaeda506fa7', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-coopShares-MIGRATION-delete-trigger', 'michael.hoennig', 'db/changelog/5-hs-office/511-coopshares/5116-hs-office-coopshares-migration.sql', '2025-01-27 15:34:19.910988', 260, 'EXECUTED', '9:ace1b952c692a0f453a2878a5796041c', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-coopSharesTransaction-TEST-DATA-GENERATOR', 'michael.hoennig', 'db/changelog/5-hs-office/511-coopshares/5118-hs-office-coopshares-test-data.sql', '2025-01-27 15:34:19.921604', 261, 'EXECUTED', '9:ee804e35a6ef6f17acb96a9dc7630622', 'sql', '', NULL, '4.29.2', '!without-test-data', NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-coopSharesTransaction-TEST-DATA-GENERATION', 'michael.hoennig', 'db/changelog/5-hs-office/511-coopshares/5118-hs-office-coopshares-test-data.sql', '2025-01-27 15:34:19.962726', 262, 'EXECUTED', '9:efc373aebc1de8e6fb9904225e372b8f', 'sql', '', NULL, '4.29.2', '!without-test-data AND !without-test-data', NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-coopassets-MAIN-TABLE', 'michael.hoennig', 'db/changelog/5-hs-office/512-coopassets/5120-hs-office-coopassets.sql', '2025-01-27 15:34:20.015459', 263, 'EXECUTED', '9:5157878ebca481817b080219de4ec9d0', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-coopassets-BUSINESS-RULES', 'michael.hoennig', 'db/changelog/5-hs-office/512-coopassets/5120-hs-office-coopassets.sql', '2025-01-27 15:34:20.028111', 264, 'EXECUTED', '9:008c73cb2883353bfad0a7b4b91ec16d', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-coopassets-ASSET-VALUE-CONSTRAINT', 'michael.hoennig', 'db/changelog/5-hs-office/512-coopassets/5120-hs-office-coopassets.sql', '2025-01-27 15:34:20.039904', 265, 'EXECUTED', '9:cf831a455813de1d54dbaaea5f0588fc', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-coopassets-MAIN-TABLE-JOURNAL', 'michael.hoennig', 'db/changelog/5-hs-office/512-coopassets/5120-hs-office-coopassets.sql', '2025-01-27 15:34:20.05149', 266, 'EXECUTED', '9:13ee6812125cb02968ada8a92af47c75', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-coopassettx-rbac-OBJECT', 'RbacObjectGenerator', 'db/changelog/5-hs-office/512-coopassets/5123-hs-office-coopassets-rbac.sql', '2025-01-27 15:34:20.066171', 267, 'EXECUTED', '9:571ffbd8c6ce5070fa72e25434e2d819', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-coopassettx-rbac-ROLE-DESCRIPTORS', 'RbacRoleDescriptorsGenerator', 'db/changelog/5-hs-office/512-coopassets/5123-hs-office-coopassets-rbac.sql', '2025-01-27 15:34:20.084751', 268, 'EXECUTED', '9:81ea7ebfba6746f9b82c4dc4b2cd247b', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-coopassettx-rbac-insert-trigger', 'RolesGrantsAndPermissionsGenerator', 'db/changelog/5-hs-office/512-coopassets/5123-hs-office-coopassets-rbac.sql', '2025-01-27 15:34:20.106357', 269, 'EXECUTED', '9:bc0a4b78b806fbe53c62425612812467', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-coopassettx-rbac-GRANTING-INSERT-PERMISSION', 'InsertTriggerGenerator', 'db/changelog/5-hs-office/512-coopassets/5123-hs-office-coopassets-rbac.sql', '2025-01-27 15:34:20.131703', 270, 'EXECUTED', '9:72c95623dd7b39dd7ee9cf8f4557a182', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-coopassettx-rbac-CHECKING-INSERT-PERMISSION', 'InsertTriggerGenerator', 'db/changelog/5-hs-office/512-coopassets/5123-hs-office-coopassets-rbac.sql', '2025-01-27 15:34:20.142594', 271, 'EXECUTED', '9:d76e9461931e5143dafe96cd88335bb2', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-coopassettx-rbac-IDENTITY-VIEW', 'RbacIdentityViewGenerator', 'db/changelog/5-hs-office/512-coopassets/5123-hs-office-coopassets-rbac.sql', '2025-01-27 15:34:20.155694', 272, 'EXECUTED', '9:2fcdd71e8c918eda052e10fbde75278e', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-coopassettx-rbac-RESTRICTED-VIEW', 'RbacRestrictedViewGenerator', 'db/changelog/5-hs-office/512-coopassets/5123-hs-office-coopassets-rbac.sql', '2025-01-27 15:34:20.177068', 273, 'EXECUTED', '9:83f4252251daaa81aa670520a1a13a06', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-coopassettx-rbac-rebuild', 'RbacRbacSystemRebuildGenerator', 'db/changelog/5-hs-office/512-coopassets/5123-hs-office-coopassets-rbac.sql', '2025-01-27 15:34:20.188263', 274, 'EXECUTED', '9:d607c71372e6059880bc905c817451d8', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-coopassets-MIGRATION-legacy-mapping', 'michael.hoennig', 'db/changelog/5-hs-office/512-coopassets/5126-hs-office-coopassets-migration.sql', '2025-01-27 15:34:20.214555', 275, 'EXECUTED', '9:c5ff3e7587acde442cae7de66fb2001c', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-coopassets-MIGRATION-sequence', 'michael.hoennig', 'db/changelog/5-hs-office/512-coopassets/5126-hs-office-coopassets-migration.sql', '2025-01-27 15:34:20.225264', 276, 'EXECUTED', '9:cf6ab0aefc52d21bae832899f0523d1e', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-coopassets-MIGRATION-default', 'michael.hoennig', 'db/changelog/5-hs-office/512-coopassets/5126-hs-office-coopassets-migration.sql', '2025-01-27 15:34:20.23539', 277, 'EXECUTED', '9:ef2459889790a7d6950d1acddee76a21', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-coopassets-MIGRATION-insert', 'michael.hoennig', 'db/changelog/5-hs-office/512-coopassets/5126-hs-office-coopassets-migration.sql', '2025-01-27 15:34:20.244152', 278, 'EXECUTED', '9:3c77d48e979b54d2cc3864228fc5d234', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-coopAssets-MIGRATION-insert-trigger', 'michael.hoennig', 'db/changelog/5-hs-office/512-coopassets/5126-hs-office-coopassets-migration.sql', '2025-01-27 15:34:20.255375', 279, 'EXECUTED', '9:110c20c2c46897bafcf994ddf426d2b3', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-coopAssets-MIGRATION-delete-trigger', 'michael.hoennig', 'db/changelog/5-hs-office/512-coopassets/5126-hs-office-coopassets-migration.sql', '2025-01-27 15:34:20.26647', 280, 'EXECUTED', '9:51e3f23a1d481d94050287be951a66e2', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-coopAssetsTransaction-TEST-DATA-GENERATOR', 'michael.hoennig', 'db/changelog/5-hs-office/512-coopassets/5128-hs-office-coopassets-test-data.sql', '2025-01-27 15:34:20.281364', 281, 'EXECUTED', '9:e497c8dd7bf732f16ef2bb604b7cd6b1', 'sql', '', NULL, '4.29.2', '!without-test-data', NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-coopAssetsTransaction-TEST-DATA-GENERATION', 'michael.hoennig', 'db/changelog/5-hs-office/512-coopassets/5128-hs-office-coopassets-test-data.sql', '2025-01-27 15:34:20.341872', 282, 'EXECUTED', '9:265f1ceabada82c20fd2ee16cfe6453e', 'sql', '', NULL, '4.29.2', '!without-test-data AND !without-test-data', NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-integration-SCHEMA', 'timotheus.pokorra', 'db/changelog/9-hs-global/9100-hs-integration-schema.sql', '2025-01-27 15:34:20.351271', 283, 'EXECUTED', '9:e6e03e675664bdbad9bb11fc2875e822', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-global-integration-kimai', 'timotheus.pokorra', 'db/changelog/9-hs-global/9110-integration-kimai.sql', '2025-01-27 15:34:20.362135', 284, 'EXECUTED', '9:56e481a555f86b471b74aaceacc4b520', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-global-integration-znuny', 'timotheus.pokorra', 'db/changelog/9-hs-global/9120-integration-znuny.sql', '2025-01-27 15:34:20.413436', 285, 'EXECUTED', '9:48685a4882797575f8bb8c83d5fc9380', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-global-integration-znuny', 'timotheus.pokorra', 'db/changelog/9-hs-global/9130-integration-mlmmj.sql', '2025-01-27 15:34:20.432305', 286, 'EXECUTED', '9:df6c8a724cfdd0c0aa013ba996655ed1', 'sql', '', NULL, '4.29.2', NULL, NULL, '7988454941');
--
-- Data for Name: databasechangeloglock; Type: TABLE DATA; Schema: public; Owner: postgres
--
INSERT INTO public.databasechangeloglock (id, locked, lockgranted, lockedby) VALUES (1, false, NULL, NULL);
--
-- Data for Name: global; Type: TABLE DATA; Schema: rbac; Owner: postgres
--
INSERT INTO rbac.global (uuid, name) VALUES ('fb819667-b171-4b6e-ae3e-31c6a40d4be8', 'global');
--
-- Data for Name: grant; Type: TABLE DATA; Schema: rbac; Owner: postgres
--
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('b2031319-0918-4f6e-8a85-0268ae84a2c1', NULL, 'afc6a14a-f8c7-4c17-9b91-b615833bc002', 'bdcc7fef-52e9-4b4c-a0ad-1950d6a1aec4', 'afc6a14a-f8c7-4c17-9b91-b615833bc002', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('3edbe22f-ffe3-4133-bd44-6439aad02fc6', NULL, 'afc6a14a-f8c7-4c17-9b91-b615833bc002', 'a8051de5-7d09-4193-a48c-36c45570b871', 'afc6a14a-f8c7-4c17-9b91-b615833bc002', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('7e8bafff-59f4-4248-be7c-a4684be4b351', NULL, NULL, 'afc6a14a-f8c7-4c17-9b91-b615833bc002', '6f1ad20c-6f1b-413c-b82c-4d8022ea202a', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('aa912bfe-1e8b-4d0d-a7fa-8319c2582914', 'dbbfdc0a-a952-4886-b6df-a242f80b1233', NULL, '69a48e44-55d0-4465-b956-358e502f443f', '53269892-7005-48c4-bdbf-08da6cc40c92', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('d66f96fa-c021-4bd5-b601-8bc0a1ebce4d', 'dbbfdc0a-a952-4886-b6df-a242f80b1233', NULL, 'afc6a14a-f8c7-4c17-9b91-b615833bc002', '69a48e44-55d0-4465-b956-358e502f443f', false);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('1b1d3831-733c-4cbe-b13a-f9e4a4c16b98', NULL, '69a48e44-55d0-4465-b956-358e502f443f', 'bdcc7fef-52e9-4b4c-a0ad-1950d6a1aec4', '69a48e44-55d0-4465-b956-358e502f443f', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('36cf540f-9614-4deb-9f5f-070f23e73c43', 'dbbfdc0a-a952-4886-b6df-a242f80b1233', NULL, 'd3ef7a10-2fcb-40f2-815d-b0feeed16655', '0f25ae4c-082c-4bfc-912b-7fffec4c28c9', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('97fca835-441f-48f2-9e8f-9fcdfabb4d32', 'dbbfdc0a-a952-4886-b6df-a242f80b1233', NULL, '69a48e44-55d0-4465-b956-358e502f443f', 'd3ef7a10-2fcb-40f2-815d-b0feeed16655', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('4d02aaee-e1c9-419b-8347-3b1612b77881', 'dbbfdc0a-a952-4886-b6df-a242f80b1233', NULL, '55d5c539-b176-46b8-9d54-45d224fb4bd4', '83cebf26-8a7c-4f1d-8be4-195fd38d28af', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('f3dc4319-ef0c-49c2-ab07-1878411b3dd6', 'dbbfdc0a-a952-4886-b6df-a242f80b1233', NULL, 'd3ef7a10-2fcb-40f2-815d-b0feeed16655', '55d5c539-b176-46b8-9d54-45d224fb4bd4', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('710685ff-b296-424f-a88f-7d85f00b1054', NULL, '69a48e44-55d0-4465-b956-358e502f443f', '25ff93a9-570e-4cc9-8361-2ad020e8ee2d', 'd3ef7a10-2fcb-40f2-815d-b0feeed16655', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('ac86c4f3-a1f8-4480-b55c-73cef9a5fd9d', '03b1f749-8010-4c9c-a256-3911d64385a0', NULL, '63b0d71c-5efd-4550-9a19-a6865ad0b379', 'b69a11b3-7f06-4115-baaf-d3caa34b2772', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('8167585c-a20a-4f18-9d5c-37f96ed0d59f', '03b1f749-8010-4c9c-a256-3911d64385a0', NULL, 'afc6a14a-f8c7-4c17-9b91-b615833bc002', '63b0d71c-5efd-4550-9a19-a6865ad0b379', false);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('3e766c08-294b-42ae-a618-1e6906a6081d', NULL, '63b0d71c-5efd-4550-9a19-a6865ad0b379', 'bdcc7fef-52e9-4b4c-a0ad-1950d6a1aec4', '63b0d71c-5efd-4550-9a19-a6865ad0b379', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('aabb63ef-9bbe-44f0-a506-f63ef79586a1', '03b1f749-8010-4c9c-a256-3911d64385a0', NULL, '16a0381f-00d3-46c4-8aba-8f9850c4ce1a', '0d1bbf95-1083-4add-bdf0-505c59b4facb', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('da3a010a-1513-416c-a426-a122cce95af8', '03b1f749-8010-4c9c-a256-3911d64385a0', NULL, '63b0d71c-5efd-4550-9a19-a6865ad0b379', '16a0381f-00d3-46c4-8aba-8f9850c4ce1a', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('e3006e8c-e071-4782-a5a6-c4f4a98e57db', '03b1f749-8010-4c9c-a256-3911d64385a0', NULL, '43dfd7bc-6516-428b-9e17-3daa025bf942', 'e8e990e2-c26e-43b6-ad15-ab1c0e4b4ffa', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('11309c0d-337d-49cd-ab8e-3be77d23c8f4', '03b1f749-8010-4c9c-a256-3911d64385a0', NULL, '16a0381f-00d3-46c4-8aba-8f9850c4ce1a', '43dfd7bc-6516-428b-9e17-3daa025bf942', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('6be58af9-ccda-4301-bba1-2a1cd8ad71e8', NULL, '63b0d71c-5efd-4550-9a19-a6865ad0b379', 'bdfe51fa-baf3-4d35-ae75-e1204cb72190', '16a0381f-00d3-46c4-8aba-8f9850c4ce1a', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('731ec17d-3933-41f6-a049-67594216f9d2', 'ccbb2b4b-68cd-4fd6-8467-2357874a3eab', NULL, 'dfca3233-7ba6-45d7-bad0-d0d30ca936e2', '77c4fd8d-ae88-4266-b3db-b367d40c2ba9', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('02fde269-812d-4043-a842-460fee3a5f6d', 'ccbb2b4b-68cd-4fd6-8467-2357874a3eab', NULL, 'afc6a14a-f8c7-4c17-9b91-b615833bc002', 'dfca3233-7ba6-45d7-bad0-d0d30ca936e2', false);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('e50a3a6d-f152-49aa-a842-b388fcd092fb', NULL, 'dfca3233-7ba6-45d7-bad0-d0d30ca936e2', 'bdcc7fef-52e9-4b4c-a0ad-1950d6a1aec4', 'dfca3233-7ba6-45d7-bad0-d0d30ca936e2', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('21267273-6ede-455c-af43-3885c6be37b3', 'ccbb2b4b-68cd-4fd6-8467-2357874a3eab', NULL, '56452eab-b4a5-48f7-9260-9e3b73ec667c', '248bca20-bbc4-4337-8578-91c9c9c8886e', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('3bb86e59-f4eb-49f0-85cb-d0543cd5e701', 'ccbb2b4b-68cd-4fd6-8467-2357874a3eab', NULL, 'dfca3233-7ba6-45d7-bad0-d0d30ca936e2', '56452eab-b4a5-48f7-9260-9e3b73ec667c', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('429cdd0b-98a9-45ab-8b67-5498a7dbecde', 'ccbb2b4b-68cd-4fd6-8467-2357874a3eab', NULL, '2e0957db-a5b3-4226-ad54-286ab5a07013', '4aeba6eb-ab10-46fd-8112-25773bf87f49', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('396d57b9-e34f-48eb-8e7c-424ae21c15cc', 'ccbb2b4b-68cd-4fd6-8467-2357874a3eab', NULL, '56452eab-b4a5-48f7-9260-9e3b73ec667c', '2e0957db-a5b3-4226-ad54-286ab5a07013', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('817a8d6e-3c23-4e94-8172-1d4cdd6d2462', NULL, 'dfca3233-7ba6-45d7-bad0-d0d30ca936e2', 'aead54d2-cdfb-4a71-85e9-81bf66657fd0', '56452eab-b4a5-48f7-9260-9e3b73ec667c', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('49ed865f-5be3-418e-96b0-dc8e4a88d387', NULL, NULL, 'd3ef7a10-2fcb-40f2-815d-b0feeed16655', '1d236ccf-a539-4442-a58b-0a1d71494c89', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('2e17aa04-45fe-415d-9fd8-15cb5b6db210', NULL, NULL, '16a0381f-00d3-46c4-8aba-8f9850c4ce1a', '0802661d-8546-4f62-b6ec-11c755819a7c', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('e1615947-cfe3-4a23-90fe-e933cfc06a44', NULL, NULL, '56452eab-b4a5-48f7-9260-9e3b73ec667c', '0f834fc6-4202-4bc6-9c26-e284913be6f0', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('893ff0b1-83b1-4b82-9dc2-a66f56ee80aa', '1f378616-047c-4cf3-a70b-54c88f9608d6', NULL, '4632bead-f8ed-4fd7-8450-6373f1866480', '86176933-cf96-4c96-93c9-300bea07d6d8', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('a04f09b8-e1b8-4b07-9347-cc556c220fce', '1f378616-047c-4cf3-a70b-54c88f9608d6', NULL, '4632bead-f8ed-4fd7-8450-6373f1866480', '121719be-0a9e-4db7-b08b-7cb2c70c2746', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('04eeec56-bffd-473e-bde0-977b626ed0bb', '1f378616-047c-4cf3-a70b-54c88f9608d6', NULL, 'd3ef7a10-2fcb-40f2-815d-b0feeed16655', '4632bead-f8ed-4fd7-8450-6373f1866480', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('28ff5e40-fd8b-41e1-9623-99d8e1292b32', '1f378616-047c-4cf3-a70b-54c88f9608d6', NULL, '4632bead-f8ed-4fd7-8450-6373f1866480', 'ae7c30a8-38f8-4958-bdc2-443636f37cb7', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('654d7a4f-3ce4-4ef9-9014-95f89987ddc7', '1f378616-047c-4cf3-a70b-54c88f9608d6', NULL, '5637f48c-8147-4bcd-8310-483992134474', 'ce29c503-5f21-4128-8cb8-98ea3aeca5f0', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('0e34fb5c-a3ef-42a0-a6bc-fe339deb60b5', '1f378616-047c-4cf3-a70b-54c88f9608d6', NULL, 'ae7c30a8-38f8-4958-bdc2-443636f37cb7', '5637f48c-8147-4bcd-8310-483992134474', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('ac4be189-7d42-401e-8edc-4378c5d65aba', '1f378616-047c-4cf3-a70b-54c88f9608d6', NULL, '5637f48c-8147-4bcd-8310-483992134474', '55d5c539-b176-46b8-9d54-45d224fb4bd4', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('e492ece2-015c-4466-a406-8a78ef4ab0c2', NULL, 'd3ef7a10-2fcb-40f2-815d-b0feeed16655', '8b7aa499-a002-438e-a374-8727505fd466', 'ae7c30a8-38f8-4958-bdc2-443636f37cb7', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('0bfcae1c-536f-4e90-8ea4-c00772b1f07d', '5a10e27a-311d-4527-b0ac-38f2fd6e16c4', NULL, '26c15adf-9ef0-4582-84a0-0b88622578df', 'd1b6c45a-ea36-4933-8616-d5d9a4c7e2a9', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('7980f783-c7cc-49fd-ba84-1278a7440f41', '5a10e27a-311d-4527-b0ac-38f2fd6e16c4', NULL, '26c15adf-9ef0-4582-84a0-0b88622578df', 'bf660924-c6e9-4ff6-b25a-ee86f1d0be65', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('a3809bb0-4267-48c7-a480-a5d27f7bae2c', '5a10e27a-311d-4527-b0ac-38f2fd6e16c4', NULL, 'd3ef7a10-2fcb-40f2-815d-b0feeed16655', '26c15adf-9ef0-4582-84a0-0b88622578df', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('a00de00b-a6f2-4430-a516-b33870b8d574', '5a10e27a-311d-4527-b0ac-38f2fd6e16c4', NULL, '26c15adf-9ef0-4582-84a0-0b88622578df', '4270da5c-c719-492e-b4f5-1311f850bf74', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('705cf0fa-4383-4652-83c4-94be1773a6a7', '5a10e27a-311d-4527-b0ac-38f2fd6e16c4', NULL, '8e0d16b2-360a-454e-8019-9c1882c04e5f', '726bffdc-94d6-404b-9929-2bbdd8438400', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('917fa98d-6e5d-42ec-b7a0-9adcdab6e28f', '5a10e27a-311d-4527-b0ac-38f2fd6e16c4', NULL, '4270da5c-c719-492e-b4f5-1311f850bf74', '8e0d16b2-360a-454e-8019-9c1882c04e5f', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('91e58ecc-df42-4cd9-8bba-557f0ad2bf84', '5a10e27a-311d-4527-b0ac-38f2fd6e16c4', NULL, '8e0d16b2-360a-454e-8019-9c1882c04e5f', '55d5c539-b176-46b8-9d54-45d224fb4bd4', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('608592a8-5386-402f-92d6-8b16c6104492', NULL, 'd3ef7a10-2fcb-40f2-815d-b0feeed16655', '996b095f-6390-4c22-8513-4b0d6a42a3e5', '4270da5c-c719-492e-b4f5-1311f850bf74', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('64bce225-007f-4005-a6cf-727c924fb760', 'dd13db03-932e-4c71-9ae7-ff197cc02341', NULL, '3be7ab56-f11b-43dd-a915-0b2c2d83cde0', 'ea153d1c-7c2c-423f-b50d-d6a4b74eb0a3', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('39571bfe-9352-4d5f-a05c-95d103ef077c', 'dd13db03-932e-4c71-9ae7-ff197cc02341', NULL, '3be7ab56-f11b-43dd-a915-0b2c2d83cde0', 'cdc80d76-ba5b-4621-8176-4c5eb04f74b9', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('398ce281-3513-4182-8178-c56bfce68f68', 'dd13db03-932e-4c71-9ae7-ff197cc02341', NULL, 'd3ef7a10-2fcb-40f2-815d-b0feeed16655', '3be7ab56-f11b-43dd-a915-0b2c2d83cde0', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('05d6bd23-d0d1-43f2-9f32-47a49c3bb444', 'dd13db03-932e-4c71-9ae7-ff197cc02341', NULL, '3be7ab56-f11b-43dd-a915-0b2c2d83cde0', 'bd39a86a-6d69-4aba-b2ba-93e4ba7d5e68', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('588e910e-423a-43b8-8fa2-f6c301c98a34', 'dd13db03-932e-4c71-9ae7-ff197cc02341', NULL, '6c23d1e8-bab1-4307-9906-6f2970b148fa', '7bb890db-fe99-410b-8771-570e6f94a3bb', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('39f8819e-6d6c-4ebd-92ed-afe2a03e5869', 'dd13db03-932e-4c71-9ae7-ff197cc02341', NULL, 'bd39a86a-6d69-4aba-b2ba-93e4ba7d5e68', '6c23d1e8-bab1-4307-9906-6f2970b148fa', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('aa551f52-37ad-4590-aa6a-01eef0f12230', 'dd13db03-932e-4c71-9ae7-ff197cc02341', NULL, '6c23d1e8-bab1-4307-9906-6f2970b148fa', '55d5c539-b176-46b8-9d54-45d224fb4bd4', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('9c93f280-dd89-4264-97a9-805d384060c2', NULL, 'd3ef7a10-2fcb-40f2-815d-b0feeed16655', '36351f3a-53ef-489b-a357-a5b313bb342f', 'bd39a86a-6d69-4aba-b2ba-93e4ba7d5e68', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('f22e385e-479a-4ed0-b8b0-2ce9e209827b', '9464ead9-4f16-477c-bf3b-14669a9c42be', NULL, '1bf9f801-9500-4956-b1b8-22a41d0b96e5', '1f9cf200-6832-4fba-911d-b76e5dac5565', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('c2662740-0725-4378-b738-38faaaf59004', '9464ead9-4f16-477c-bf3b-14669a9c42be', NULL, '1bf9f801-9500-4956-b1b8-22a41d0b96e5', 'da7279dd-cdaf-4765-8a92-47e38cc21aec', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('7f5feca8-7aa8-4501-9dcd-e112a24fc7cd', '9464ead9-4f16-477c-bf3b-14669a9c42be', NULL, '16a0381f-00d3-46c4-8aba-8f9850c4ce1a', '1bf9f801-9500-4956-b1b8-22a41d0b96e5', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('5c4c0f55-4ce5-45db-8e8e-3e73b069b8e7', '9464ead9-4f16-477c-bf3b-14669a9c42be', NULL, '1bf9f801-9500-4956-b1b8-22a41d0b96e5', 'a3fa28dd-26b8-4ab0-b503-96bab5f862b5', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('a4685383-35b5-43ca-a7b9-1f78e254d47f', '9464ead9-4f16-477c-bf3b-14669a9c42be', NULL, '202174cc-19e8-47f0-9f62-8fa7509dde3e', '286e1ac2-8159-41c6-a2de-81baa8a11fda', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('4d9f5181-63ed-4990-808e-84c4f0c74413', '9464ead9-4f16-477c-bf3b-14669a9c42be', NULL, 'a3fa28dd-26b8-4ab0-b503-96bab5f862b5', '202174cc-19e8-47f0-9f62-8fa7509dde3e', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('4bef0adb-4e3c-4935-9c96-b1379ab53375', '9464ead9-4f16-477c-bf3b-14669a9c42be', NULL, '202174cc-19e8-47f0-9f62-8fa7509dde3e', '43dfd7bc-6516-428b-9e17-3daa025bf942', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('4d1ae26b-e674-4edc-ab1d-df2e14dd4c07', NULL, '16a0381f-00d3-46c4-8aba-8f9850c4ce1a', 'ca6b27c0-170f-4e0b-9838-09b782d3c795', 'a3fa28dd-26b8-4ab0-b503-96bab5f862b5', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('eb0c9bf8-b5fa-43c1-8a4d-8ed679ba3b27', 'a6b15d0a-f7a3-4c40-8fe6-cbb62c2a868b', NULL, 'a91544fb-c5ae-4ccf-a813-f3bcbaa99fb7', '150c57c6-1794-4554-9b8d-a6eaf1520759', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('dde5c192-2597-4870-8730-9a422470a3fd', 'a6b15d0a-f7a3-4c40-8fe6-cbb62c2a868b', NULL, 'a91544fb-c5ae-4ccf-a813-f3bcbaa99fb7', '0b02c7c2-4866-476a-ab7b-76e345211fb9', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('02483ab0-5497-4121-9f61-0d8af687a336', 'a6b15d0a-f7a3-4c40-8fe6-cbb62c2a868b', NULL, '16a0381f-00d3-46c4-8aba-8f9850c4ce1a', 'a91544fb-c5ae-4ccf-a813-f3bcbaa99fb7', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('a298a16f-ff78-419e-aa11-7f75af8f2f4e', 'a6b15d0a-f7a3-4c40-8fe6-cbb62c2a868b', NULL, 'a91544fb-c5ae-4ccf-a813-f3bcbaa99fb7', 'cc984f70-1ca8-46b8-9cd0-c9c0aa1ce496', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('11194882-f9a4-4d68-ba8e-f4d04ff8cd18', 'a6b15d0a-f7a3-4c40-8fe6-cbb62c2a868b', NULL, 'a2d469da-0bb9-4bd2-9002-6fbcfa0e2e2c', '7320ceb7-3736-4c2d-b51c-b7dc24b203a5', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('8b3edb3c-2fbd-48f4-b5b1-c18e4b2ee3fe', 'a6b15d0a-f7a3-4c40-8fe6-cbb62c2a868b', NULL, 'cc984f70-1ca8-46b8-9cd0-c9c0aa1ce496', 'a2d469da-0bb9-4bd2-9002-6fbcfa0e2e2c', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('5966abd5-276b-4bfe-8fe2-d25ed7df64c8', 'a6b15d0a-f7a3-4c40-8fe6-cbb62c2a868b', NULL, 'a2d469da-0bb9-4bd2-9002-6fbcfa0e2e2c', '43dfd7bc-6516-428b-9e17-3daa025bf942', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('2fcc4005-cde4-458f-8ee5-d09b3ad245e0', NULL, '16a0381f-00d3-46c4-8aba-8f9850c4ce1a', '1a50753a-716d-4c91-8691-2e7ac8c0ebee', 'cc984f70-1ca8-46b8-9cd0-c9c0aa1ce496', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('a8709b16-d2a1-4e67-abf1-ae599fb4144e', '3c243156-033e-4e72-96cf-5e204d04900c', NULL, '4cb800e0-5963-402a-9c4e-138845ca1956', 'f8559b3f-1d4f-49c3-b00c-bde86bacc35e', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('7c7845f4-ebc7-41da-84fe-c44d1b9bf913', '3c243156-033e-4e72-96cf-5e204d04900c', NULL, '4cb800e0-5963-402a-9c4e-138845ca1956', '5d92763f-7a4b-4185-b1f3-383a41773a3e', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('1d98034f-a5bd-4c27-a5a4-0eadb462820e', '3c243156-033e-4e72-96cf-5e204d04900c', NULL, '16a0381f-00d3-46c4-8aba-8f9850c4ce1a', '4cb800e0-5963-402a-9c4e-138845ca1956', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('23e9e7ce-5b7d-469a-992e-fbecb18ddbb6', '3c243156-033e-4e72-96cf-5e204d04900c', NULL, '4cb800e0-5963-402a-9c4e-138845ca1956', 'e9bb76c9-81f5-4d34-928d-2b7a2da11616', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('27500899-840d-48f6-bc3f-baf9c54dd311', '3c243156-033e-4e72-96cf-5e204d04900c', NULL, '12fe4b88-87b8-44d3-a25a-b2a2983343a0', '9c14dc39-4436-4e17-99af-6f1b748ebafa', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('05b328e7-3821-49ce-996b-4c98d90a5037', '3c243156-033e-4e72-96cf-5e204d04900c', NULL, 'e9bb76c9-81f5-4d34-928d-2b7a2da11616', '12fe4b88-87b8-44d3-a25a-b2a2983343a0', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('d97ab1d2-0ea8-4b7f-8733-3c2ba5d99150', '3c243156-033e-4e72-96cf-5e204d04900c', NULL, '12fe4b88-87b8-44d3-a25a-b2a2983343a0', '43dfd7bc-6516-428b-9e17-3daa025bf942', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('324b9d1a-1261-48c8-8845-489906182d7d', NULL, '16a0381f-00d3-46c4-8aba-8f9850c4ce1a', 'af97c31c-aa68-49c6-995a-ec5e59bde048', 'e9bb76c9-81f5-4d34-928d-2b7a2da11616', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('d8ec69ef-dd80-4043-b0b3-14f00e68cf88', 'b2f57e12-f448-4b73-9b16-0f39b1eb101d', NULL, 'de0b5552-a3b5-4f62-a4c5-a894c3f176a1', '9013f4d6-5cd4-4099-9176-c7cdda2b1635', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('2dbb8dde-fa07-4731-bc7e-5da9fe3a7aba', 'b2f57e12-f448-4b73-9b16-0f39b1eb101d', NULL, 'de0b5552-a3b5-4f62-a4c5-a894c3f176a1', '7d0ff486-912a-45a9-8dc4-350ec6063566', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('d6c86f62-85c4-4257-8912-c64a7f3c0736', 'b2f57e12-f448-4b73-9b16-0f39b1eb101d', NULL, '56452eab-b4a5-48f7-9260-9e3b73ec667c', 'de0b5552-a3b5-4f62-a4c5-a894c3f176a1', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('82f9389d-66b1-4867-b3d8-eecc66071692', 'b2f57e12-f448-4b73-9b16-0f39b1eb101d', NULL, 'de0b5552-a3b5-4f62-a4c5-a894c3f176a1', '495c8c16-f7d9-459d-a7f2-ce7e3c42150c', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('e4ad1801-472e-4610-84e5-da5a97647266', 'b2f57e12-f448-4b73-9b16-0f39b1eb101d', NULL, 'a528582d-4f8b-46f8-80b1-0410c33a0755', '23e15778-8c34-4375-bb74-639d37ecc442', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('62669f63-a602-49f2-81b7-b641663c4871', 'b2f57e12-f448-4b73-9b16-0f39b1eb101d', NULL, '495c8c16-f7d9-459d-a7f2-ce7e3c42150c', 'a528582d-4f8b-46f8-80b1-0410c33a0755', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('4f9a0d7d-bcd1-4eae-b803-1ed519b79aad', 'b2f57e12-f448-4b73-9b16-0f39b1eb101d', NULL, 'a528582d-4f8b-46f8-80b1-0410c33a0755', '2e0957db-a5b3-4226-ad54-286ab5a07013', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('319691e4-60cd-4bd0-bf1e-6691f0c1d76e', NULL, '56452eab-b4a5-48f7-9260-9e3b73ec667c', '0d291c35-1be3-4b9f-809f-fb6f9403f6ab', '495c8c16-f7d9-459d-a7f2-ce7e3c42150c', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('edc3753d-ce89-4ff1-8027-6d6dcd7655ae', '5ffddd10-8ef2-4e3f-a62d-8971e0d1afb3', NULL, '484f2625-cbe8-407c-b9cd-01a3d4b68505', '5b5cce57-0cd5-495a-88bb-4c70d76eae67', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('3dc572d0-0670-4562-b8ae-202f9f7b480b', '5ffddd10-8ef2-4e3f-a62d-8971e0d1afb3', NULL, '484f2625-cbe8-407c-b9cd-01a3d4b68505', '4a7c58e6-bd2b-4982-9a53-46bffa19201a', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('06e06efe-0cc9-48f8-b9c6-b5a4bf825620', '5ffddd10-8ef2-4e3f-a62d-8971e0d1afb3', NULL, '56452eab-b4a5-48f7-9260-9e3b73ec667c', '484f2625-cbe8-407c-b9cd-01a3d4b68505', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('f273a6e7-3e6a-4921-933d-8f91aece29fc', '5ffddd10-8ef2-4e3f-a62d-8971e0d1afb3', NULL, '484f2625-cbe8-407c-b9cd-01a3d4b68505', '591c1bc7-7d2d-447f-880d-16615035ab72', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('a02f8a4c-903e-4e5a-b9d3-adb5b8259761', '5ffddd10-8ef2-4e3f-a62d-8971e0d1afb3', NULL, '7154af3b-c2cd-4dc2-a94a-83af7e05b44a', '4747c475-6a75-46dd-8962-eabe603f461a', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('a163e901-5a57-404d-a299-e12b0f72e389', '5ffddd10-8ef2-4e3f-a62d-8971e0d1afb3', NULL, '591c1bc7-7d2d-447f-880d-16615035ab72', '7154af3b-c2cd-4dc2-a94a-83af7e05b44a', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('3e23a3ef-0c75-4d77-adfe-a89faa6d4cf1', '5ffddd10-8ef2-4e3f-a62d-8971e0d1afb3', NULL, '7154af3b-c2cd-4dc2-a94a-83af7e05b44a', '2e0957db-a5b3-4226-ad54-286ab5a07013', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('6c5036a1-1a2b-43e8-af7b-5e61f47048f2', NULL, '56452eab-b4a5-48f7-9260-9e3b73ec667c', 'a5acc2d7-12a6-479b-8c1a-d003105fdfb6', '591c1bc7-7d2d-447f-880d-16615035ab72', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('be8865f7-27d2-4d46-8688-2121f766b3dc', '7154bf1a-2801-4e65-9d74-5bce9d9b429f', NULL, '7eba67bb-a92f-451f-abcd-091318ce7437', '3117d357-8613-4eaf-9a91-a7230aa79e87', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('c9681ac0-ac99-4441-8d69-a1badceb1fb6', '7154bf1a-2801-4e65-9d74-5bce9d9b429f', NULL, '7eba67bb-a92f-451f-abcd-091318ce7437', 'a689b525-e82e-4a60-99b5-5d0e7abccf78', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('c713bb29-13aa-4f68-a70e-9d8fcbd2add6', '7154bf1a-2801-4e65-9d74-5bce9d9b429f', NULL, '56452eab-b4a5-48f7-9260-9e3b73ec667c', '7eba67bb-a92f-451f-abcd-091318ce7437', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('a1bc31d4-f7bd-45c3-972c-ae295ef293a4', '7154bf1a-2801-4e65-9d74-5bce9d9b429f', NULL, '7eba67bb-a92f-451f-abcd-091318ce7437', 'ad810d9e-7f6e-46ce-98cb-f4218ae41c70', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('7258aea4-b169-4d54-bddd-3790f6430634', '7154bf1a-2801-4e65-9d74-5bce9d9b429f', NULL, 'a6654910-2ada-4c04-8a67-773b4e4ab17f', '30d01eb1-2556-4345-9ff5-12c36d42a383', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('a93ef03d-40d9-4452-a278-b8dbdd40fe34', '7154bf1a-2801-4e65-9d74-5bce9d9b429f', NULL, 'ad810d9e-7f6e-46ce-98cb-f4218ae41c70', 'a6654910-2ada-4c04-8a67-773b4e4ab17f', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('e2bb3dbb-aa96-4abe-abdf-92280e58369c', '7154bf1a-2801-4e65-9d74-5bce9d9b429f', NULL, 'a6654910-2ada-4c04-8a67-773b4e4ab17f', '2e0957db-a5b3-4226-ad54-286ab5a07013', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('e8b77f41-7b47-4c8a-aba5-63950ea51d7a', NULL, '56452eab-b4a5-48f7-9260-9e3b73ec667c', '61f888aa-5567-4fdf-a856-700a520ee0f4', 'ad810d9e-7f6e-46ce-98cb-f4218ae41c70', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('0ffc350b-197d-4eb9-b868-16d377b86c3b', NULL, NULL, 'ae7c30a8-38f8-4958-bdc2-443636f37cb7', '7568cc94-e02d-4e9e-a517-902a89f6affa', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('e83ceb5f-c6d4-4fcf-a23f-83e7248fc3c9', NULL, NULL, '4270da5c-c719-492e-b4f5-1311f850bf74', '8894c3c0-7dbe-4aa6-8cd9-c02319dcc3a1', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('e1c0c060-7611-4890-a90c-d78893849911', NULL, NULL, 'bd39a86a-6d69-4aba-b2ba-93e4ba7d5e68', 'df597493-58d3-4b0c-86a5-20fa095f4be0', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('09b75084-cb58-4493-8493-dc1eaa4f93a0', NULL, NULL, 'a3fa28dd-26b8-4ab0-b503-96bab5f862b5', 'a8180460-73fe-4a89-95a1-30f80381afc9', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('eb5b21c2-f139-4cff-ba66-11d37b0cf7d4', NULL, NULL, 'cc984f70-1ca8-46b8-9cd0-c9c0aa1ce496', '3d1f582c-6887-4b97-a2f9-7885e74add69', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('bc20ee24-be8f-4dc2-b5fd-7fc108febafa', NULL, NULL, 'e9bb76c9-81f5-4d34-928d-2b7a2da11616', 'f847e293-6ca1-4b36-a31c-e399279bd017', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('739e126f-8a01-475d-9254-91dcbe324b51', NULL, NULL, '495c8c16-f7d9-459d-a7f2-ce7e3c42150c', '23a0185a-2c7f-4e97-b7ab-a0c9f9872ea9', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('19d2d20f-a175-4a7a-8590-0001d817e8e1', NULL, NULL, '591c1bc7-7d2d-447f-880d-16615035ab72', '07860c3d-300a-4145-80e3-73b5cfc9fc72', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('b856a839-d1e0-4fbe-acfe-b0f275613d09', NULL, NULL, 'ad810d9e-7f6e-46ce-98cb-f4218ae41c70', '128ed79a-2fa8-4d43-9897-716294599a9f', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('ea4ba6e8-b4ef-4a25-8719-bb2a2c42c2ea', '35e7e703-d051-48f2-b8cd-893575ec22d5', NULL, '81a2e24a-a975-48f1-847e-bfa412fdf9d1', '309dfc5b-c14e-46a0-ae5a-1d4226ccb123', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('35d7e226-bd9f-4d4d-90f7-c2039b1acaae', '35e7e703-d051-48f2-b8cd-893575ec22d5', NULL, '81a2e24a-a975-48f1-847e-bfa412fdf9d1', 'f11a3203-ffb3-4ec0-81eb-fa029f156b5e', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('aefb2b1a-7e5b-435a-9b31-d18f0c6e1b06', '35e7e703-d051-48f2-b8cd-893575ec22d5', NULL, 'ae7c30a8-38f8-4958-bdc2-443636f37cb7', '81a2e24a-a975-48f1-847e-bfa412fdf9d1', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('57c2c6fa-d184-4116-811a-ec1facc2f678', '35e7e703-d051-48f2-b8cd-893575ec22d5', NULL, '81a2e24a-a975-48f1-847e-bfa412fdf9d1', '5637f48c-8147-4bcd-8310-483992134474', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('37adc7a7-e50e-47c7-a07d-be199ed848a6', '35e7e703-d051-48f2-b8cd-893575ec22d5', NULL, '40dc1aaa-2842-4b54-bb6d-80d28b709bab', 'f03147f0-04e0-432a-8e76-8ca84a699425', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('fcb0f4cf-5b0d-482a-8197-32436f51122d', '35e7e703-d051-48f2-b8cd-893575ec22d5', NULL, '81a2e24a-a975-48f1-847e-bfa412fdf9d1', '40dc1aaa-2842-4b54-bb6d-80d28b709bab', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('9022f60e-5fdd-4527-8e8b-7fb5eb434f54', '35e7e703-d051-48f2-b8cd-893575ec22d5', NULL, '40dc1aaa-2842-4b54-bb6d-80d28b709bab', '5637f48c-8147-4bcd-8310-483992134474', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('92697450-8efa-4262-a547-a841f8c8f58b', '69acd255-c446-4fcb-9175-30ac8139a69c', NULL, '6d0f3cd9-1e42-4ee0-a77b-883d86f8659c', '4a9f21ff-ba8c-4a03-b589-77b9247280e6', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('6618341d-ca6c-46ab-b3e2-5ced138e6773', '69acd255-c446-4fcb-9175-30ac8139a69c', NULL, '6d0f3cd9-1e42-4ee0-a77b-883d86f8659c', '12b28236-0be7-4a3a-9dca-6a2b84dd0552', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('6e70b5b7-6357-4b5a-8e19-cbd2c5320472', '69acd255-c446-4fcb-9175-30ac8139a69c', NULL, 'ae7c30a8-38f8-4958-bdc2-443636f37cb7', '6d0f3cd9-1e42-4ee0-a77b-883d86f8659c', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('bf86295b-c877-4b63-be9f-ec91b196ac42', '69acd255-c446-4fcb-9175-30ac8139a69c', NULL, '6d0f3cd9-1e42-4ee0-a77b-883d86f8659c', '5637f48c-8147-4bcd-8310-483992134474', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('a0994b82-542b-4272-bde6-7ad83b8a606f', '69acd255-c446-4fcb-9175-30ac8139a69c', NULL, '87eab1a3-1c75-4ce1-a247-100242e4c8c1', 'b76cffed-962e-4f5b-a74c-1357ded6d32a', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('30325e9e-eaaf-4e76-9166-cd878c5fe435', '69acd255-c446-4fcb-9175-30ac8139a69c', NULL, '6d0f3cd9-1e42-4ee0-a77b-883d86f8659c', '87eab1a3-1c75-4ce1-a247-100242e4c8c1', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('2f89411c-9610-4a34-be26-4c998d77a87a', '69acd255-c446-4fcb-9175-30ac8139a69c', NULL, '87eab1a3-1c75-4ce1-a247-100242e4c8c1', '5637f48c-8147-4bcd-8310-483992134474', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('4a59aad3-4af4-4791-ad1f-9a6195b6cc34', '1b25341f-3344-4378-a7ba-4a10a5180083', NULL, 'df7cdac4-aee3-4912-81b0-be36b38b9461', '57e5d419-277c-48dd-8b01-44a5aac731bd', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('434db2b5-970f-454b-93da-f8931aa754c6', '1b25341f-3344-4378-a7ba-4a10a5180083', NULL, 'df7cdac4-aee3-4912-81b0-be36b38b9461', '2b17d8b7-9f20-4742-8470-1cac8d92d7e0', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('feaaec16-f765-4a06-b095-c687cf6d6ca7', '1b25341f-3344-4378-a7ba-4a10a5180083', NULL, '4270da5c-c719-492e-b4f5-1311f850bf74', 'df7cdac4-aee3-4912-81b0-be36b38b9461', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('1df63d47-262c-4b9d-b974-41e379b828bb', '1b25341f-3344-4378-a7ba-4a10a5180083', NULL, 'df7cdac4-aee3-4912-81b0-be36b38b9461', '8e0d16b2-360a-454e-8019-9c1882c04e5f', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('06ae39b4-c0d5-403e-99f8-c28745856243', '1b25341f-3344-4378-a7ba-4a10a5180083', NULL, 'f72a01f4-d589-49a5-85aa-e91f909337b5', 'aa58299d-2e75-4678-b668-20cc10bd2549', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('2eb78034-2c68-448d-9fba-dba7f717350a', '1b25341f-3344-4378-a7ba-4a10a5180083', NULL, 'df7cdac4-aee3-4912-81b0-be36b38b9461', 'f72a01f4-d589-49a5-85aa-e91f909337b5', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('ee3ee544-bdd2-4ea6-80d2-7462ea18bb31', '1b25341f-3344-4378-a7ba-4a10a5180083', NULL, 'f72a01f4-d589-49a5-85aa-e91f909337b5', '8e0d16b2-360a-454e-8019-9c1882c04e5f', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('72ae94d9-5c0b-4de3-9da7-c61acfb6714e', '18a43fac-4e7d-4ea3-8d2c-ecc95666bda4', NULL, 'd4b918cd-e1f3-47eb-a071-456de0ee1ce8', '4fee1f89-59e3-4c3b-9cea-2509e2f43c7f', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('35298314-3888-4f2e-a2db-43cbcbed59ad', '18a43fac-4e7d-4ea3-8d2c-ecc95666bda4', NULL, 'd4b918cd-e1f3-47eb-a071-456de0ee1ce8', '67da1b8a-ac2c-4998-8b91-48384df171a0', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('8d172deb-1a39-49ba-8747-fa44a8e556ab', '18a43fac-4e7d-4ea3-8d2c-ecc95666bda4', NULL, '4270da5c-c719-492e-b4f5-1311f850bf74', 'd4b918cd-e1f3-47eb-a071-456de0ee1ce8', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('186238ed-bc71-4f0e-b495-62594a454f5d', '18a43fac-4e7d-4ea3-8d2c-ecc95666bda4', NULL, 'd4b918cd-e1f3-47eb-a071-456de0ee1ce8', '8e0d16b2-360a-454e-8019-9c1882c04e5f', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('1ef9d2c3-90fc-418b-819d-7168c3fa9dda', '18a43fac-4e7d-4ea3-8d2c-ecc95666bda4', NULL, 'e541f5ce-259f-4589-b2b6-2f4da9c6a84b', '647f9235-92dd-4f42-8132-edbebe82d849', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('d6d54fb7-fccd-427a-85bc-4625f21d729f', '18a43fac-4e7d-4ea3-8d2c-ecc95666bda4', NULL, 'd4b918cd-e1f3-47eb-a071-456de0ee1ce8', 'e541f5ce-259f-4589-b2b6-2f4da9c6a84b', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('54b422ef-f235-42e2-9086-9047111cabfc', '18a43fac-4e7d-4ea3-8d2c-ecc95666bda4', NULL, 'e541f5ce-259f-4589-b2b6-2f4da9c6a84b', '8e0d16b2-360a-454e-8019-9c1882c04e5f', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('8913900a-b819-4d3d-80ae-fd4fe69de9cd', '6eb719a3-1418-4318-8861-610d343bdee1', NULL, 'e424ff4a-849f-4599-96cb-41a3ef66c3a3', '9ba6ccca-1554-4e22-82c6-80f150553396', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('73599538-5e82-42f8-9901-a5881a9d72fb', '6eb719a3-1418-4318-8861-610d343bdee1', NULL, 'e424ff4a-849f-4599-96cb-41a3ef66c3a3', '357b1ba9-9d01-49e4-b1ca-4c1cdd2cfb63', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('275456d3-0086-42b5-94c4-53072826d1cf', '6eb719a3-1418-4318-8861-610d343bdee1', NULL, 'bd39a86a-6d69-4aba-b2ba-93e4ba7d5e68', 'e424ff4a-849f-4599-96cb-41a3ef66c3a3', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('80887512-865c-494b-9f13-135864bb5bdf', '6eb719a3-1418-4318-8861-610d343bdee1', NULL, 'e424ff4a-849f-4599-96cb-41a3ef66c3a3', '6c23d1e8-bab1-4307-9906-6f2970b148fa', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('dfcd8095-55b3-41b2-bd49-3c1cddab71ef', '6eb719a3-1418-4318-8861-610d343bdee1', NULL, '73c287a0-1ef5-4cb3-94fe-b67f5c6ca98b', 'bcee7404-c0bf-4212-8a22-0604d27b325d', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('7bf9f17e-56b5-4dfc-8cb1-fb1845f0b17d', '6eb719a3-1418-4318-8861-610d343bdee1', NULL, 'e424ff4a-849f-4599-96cb-41a3ef66c3a3', '73c287a0-1ef5-4cb3-94fe-b67f5c6ca98b', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('7ef62edf-3ac5-4f35-b435-2d330cde2d67', '6eb719a3-1418-4318-8861-610d343bdee1', NULL, '73c287a0-1ef5-4cb3-94fe-b67f5c6ca98b', '6c23d1e8-bab1-4307-9906-6f2970b148fa', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('1dd69004-fc7e-4700-9ae7-38df5dd71823', 'e7dcf9da-7a53-494e-a231-4ddb73b6729d', NULL, '1c3d5ed0-13dc-4a14-b44b-e708bac718bc', 'fe091b95-fde6-4efe-95a3-e186acc710a5', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('f6363073-91d0-4e20-8c5d-6ebcb0b4cc51', 'e7dcf9da-7a53-494e-a231-4ddb73b6729d', NULL, '1c3d5ed0-13dc-4a14-b44b-e708bac718bc', '275fd74d-08a5-43d1-a5da-d6694792cee6', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('26a0f7f7-a77b-469f-a7c4-b609348a4fce', 'e7dcf9da-7a53-494e-a231-4ddb73b6729d', NULL, 'bd39a86a-6d69-4aba-b2ba-93e4ba7d5e68', '1c3d5ed0-13dc-4a14-b44b-e708bac718bc', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('53306e10-6929-4e48-8c5c-a6b1ec01aa44', 'e7dcf9da-7a53-494e-a231-4ddb73b6729d', NULL, '1c3d5ed0-13dc-4a14-b44b-e708bac718bc', '6c23d1e8-bab1-4307-9906-6f2970b148fa', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('02610fd5-5875-417e-8bbf-689f67f15240', 'e7dcf9da-7a53-494e-a231-4ddb73b6729d', NULL, 'ee290b3a-8cd0-48d1-9a7f-5315762e4744', '57c79cf9-5514-4a11-ac94-2a4a04c4d6f5', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('694c94b3-6e3e-435a-93a4-b1c872a619da', 'e7dcf9da-7a53-494e-a231-4ddb73b6729d', NULL, '1c3d5ed0-13dc-4a14-b44b-e708bac718bc', 'ee290b3a-8cd0-48d1-9a7f-5315762e4744', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('1fb78038-b9e5-4210-9782-b1801f05ded0', 'e7dcf9da-7a53-494e-a231-4ddb73b6729d', NULL, 'ee290b3a-8cd0-48d1-9a7f-5315762e4744', '6c23d1e8-bab1-4307-9906-6f2970b148fa', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('38b067a1-1e5d-4856-8d68-79237db8d81f', 'a6242be9-717a-4011-a04f-f501f84adcb2', NULL, '89c9d640-8cc4-465c-8a67-65b90683aa40', 'ec550aae-f868-4e9a-ae46-dea684ac8025', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('8d4a5f6c-3fbf-41d4-ae49-cf254f7863ee', 'a6242be9-717a-4011-a04f-f501f84adcb2', NULL, '89c9d640-8cc4-465c-8a67-65b90683aa40', '0df2ff3e-8d9b-4fa1-a0a5-c4f0d6670745', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('ec032b9f-95a2-4c78-b862-f176c8beaa6d', 'a6242be9-717a-4011-a04f-f501f84adcb2', NULL, 'a3fa28dd-26b8-4ab0-b503-96bab5f862b5', '89c9d640-8cc4-465c-8a67-65b90683aa40', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('15025e5b-30e7-4412-9cbb-1b3323780f7a', 'a6242be9-717a-4011-a04f-f501f84adcb2', NULL, '89c9d640-8cc4-465c-8a67-65b90683aa40', '202174cc-19e8-47f0-9f62-8fa7509dde3e', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('ea624ca1-713f-4931-8176-001dac0e7b99', 'a6242be9-717a-4011-a04f-f501f84adcb2', NULL, '7e981c79-e079-45d2-9c86-6966a3bef7f2', '656e591b-380c-4ce9-8329-948a5db3c48b', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('99368ec1-62df-4610-95c2-a767a6e9084d', 'a6242be9-717a-4011-a04f-f501f84adcb2', NULL, '89c9d640-8cc4-465c-8a67-65b90683aa40', '7e981c79-e079-45d2-9c86-6966a3bef7f2', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('f039e175-7905-409e-b571-a9077d1b8964', 'a6242be9-717a-4011-a04f-f501f84adcb2', NULL, '7e981c79-e079-45d2-9c86-6966a3bef7f2', '202174cc-19e8-47f0-9f62-8fa7509dde3e', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('bc1e29f8-b79c-4d32-91de-b593839a3efe', '5796ae29-666f-4ee3-9f20-75ffc3b21f4c', NULL, '3d2f1085-216f-4c28-b393-483809a50dfe', 'd14cda32-545d-4f58-9912-0e02810bb20d', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('35047cb3-d592-4d72-9ea5-ee66b845b33e', '5796ae29-666f-4ee3-9f20-75ffc3b21f4c', NULL, '3d2f1085-216f-4c28-b393-483809a50dfe', '2a34d512-316f-44ca-a88d-2e92b7ae0c9f', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('0ded8920-70d3-46cf-8c7f-865c4dc8e53b', '5796ae29-666f-4ee3-9f20-75ffc3b21f4c', NULL, 'a3fa28dd-26b8-4ab0-b503-96bab5f862b5', '3d2f1085-216f-4c28-b393-483809a50dfe', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('20071924-c251-4712-bae0-e5dd6b941e53', '5796ae29-666f-4ee3-9f20-75ffc3b21f4c', NULL, '3d2f1085-216f-4c28-b393-483809a50dfe', '202174cc-19e8-47f0-9f62-8fa7509dde3e', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('b1bd8808-d810-4eef-881b-cadcece04dc4', '5796ae29-666f-4ee3-9f20-75ffc3b21f4c', NULL, 'aaa7d42d-37e9-4486-b5d2-047b03e314d0', 'e06ce4f8-a4db-4bc9-be65-08b5a956e824', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('b2a08715-0bf7-4a9f-afec-a9bc817bd2da', '5796ae29-666f-4ee3-9f20-75ffc3b21f4c', NULL, '3d2f1085-216f-4c28-b393-483809a50dfe', 'aaa7d42d-37e9-4486-b5d2-047b03e314d0', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('84dfbb50-2193-4506-9f00-105482ae09fb', '5796ae29-666f-4ee3-9f20-75ffc3b21f4c', NULL, 'aaa7d42d-37e9-4486-b5d2-047b03e314d0', '202174cc-19e8-47f0-9f62-8fa7509dde3e', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('4fc49ccd-441c-4acb-adb9-4b877262a423', '58357452-4e31-4d21-8148-d33943331b43', NULL, '9fad7ccf-f6d5-4915-8c6d-ff59813b85d6', 'bfd8eda3-3315-48bf-91b8-1e1910baf143', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('05ec7ed6-5a7e-411d-a026-b2b0c3ca4057', '58357452-4e31-4d21-8148-d33943331b43', NULL, '9fad7ccf-f6d5-4915-8c6d-ff59813b85d6', 'a7d26a3d-efca-4015-8fb0-8208df70a358', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('0518b58e-0eb1-45f1-8930-ba5925392c59', '58357452-4e31-4d21-8148-d33943331b43', NULL, 'cc984f70-1ca8-46b8-9cd0-c9c0aa1ce496', '9fad7ccf-f6d5-4915-8c6d-ff59813b85d6', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('7ebb5d2c-6794-454f-b8aa-6e9d2061af29', '58357452-4e31-4d21-8148-d33943331b43', NULL, '9fad7ccf-f6d5-4915-8c6d-ff59813b85d6', 'a2d469da-0bb9-4bd2-9002-6fbcfa0e2e2c', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('1c75ae34-c43c-4b54-98c1-5dd4b7919154', '58357452-4e31-4d21-8148-d33943331b43', NULL, 'd3d40295-64fd-4366-954a-753fc6b77859', '07282505-7ac0-40c0-8760-52394d951c72', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('85a2d2b5-822d-409d-9d2d-1c51956ff1de', '58357452-4e31-4d21-8148-d33943331b43', NULL, '9fad7ccf-f6d5-4915-8c6d-ff59813b85d6', 'd3d40295-64fd-4366-954a-753fc6b77859', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('bc274564-4b31-409d-8ae8-cffcefa79619', '58357452-4e31-4d21-8148-d33943331b43', NULL, 'd3d40295-64fd-4366-954a-753fc6b77859', 'a2d469da-0bb9-4bd2-9002-6fbcfa0e2e2c', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('b5ee5109-4c3b-46ce-abaf-779712e51b8c', '3fe6bfb7-956b-4f4e-8009-34c31429b1c8', NULL, '28cfd978-beba-40c2-b0a7-97819d623214', '7b0423cc-423d-48c0-b94d-dc395548ceaf', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('18ece28c-3992-4787-9ac4-37819ce3ce69', '3fe6bfb7-956b-4f4e-8009-34c31429b1c8', NULL, '28cfd978-beba-40c2-b0a7-97819d623214', 'c322154b-c233-4de6-b15e-c0519694a7ea', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('358bdc6a-1b86-4eca-9012-e784913e3b09', '3fe6bfb7-956b-4f4e-8009-34c31429b1c8', NULL, 'cc984f70-1ca8-46b8-9cd0-c9c0aa1ce496', '28cfd978-beba-40c2-b0a7-97819d623214', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('ae6e9e1c-4303-464a-b7e9-4ae0a8b72869', '3fe6bfb7-956b-4f4e-8009-34c31429b1c8', NULL, '28cfd978-beba-40c2-b0a7-97819d623214', 'a2d469da-0bb9-4bd2-9002-6fbcfa0e2e2c', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('cd5e42f0-614b-4980-bb95-e53115716a1e', '3fe6bfb7-956b-4f4e-8009-34c31429b1c8', NULL, 'b667797a-6f3e-481d-8900-9aed99ded908', '26429570-88af-4838-8f1f-7bd29ef2adde', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('27dcfb1c-cfeb-4e0b-9f00-787a7c5c51fd', '3fe6bfb7-956b-4f4e-8009-34c31429b1c8', NULL, '28cfd978-beba-40c2-b0a7-97819d623214', 'b667797a-6f3e-481d-8900-9aed99ded908', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('01972dca-cb60-4d19-993e-8464d50b0e77', '3fe6bfb7-956b-4f4e-8009-34c31429b1c8', NULL, 'b667797a-6f3e-481d-8900-9aed99ded908', 'a2d469da-0bb9-4bd2-9002-6fbcfa0e2e2c', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('79f6116f-6193-4116-a0aa-13fb92809747', '6eba7088-7968-4d92-85f3-fbd1403a56b1', NULL, '5161c876-3b54-4601-a09f-1b1e76d1ad71', '8c4bdcff-1b30-494d-94c3-750a5c1ce354', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('e5c2c4e2-dd0f-4f84-8bd6-1c1e272f3548', '6eba7088-7968-4d92-85f3-fbd1403a56b1', NULL, '5161c876-3b54-4601-a09f-1b1e76d1ad71', '1f43190a-5094-44af-92db-03affc9b2184', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('9f9bcc35-a34e-4771-8f00-079d30685b67', '6eba7088-7968-4d92-85f3-fbd1403a56b1', NULL, 'e9bb76c9-81f5-4d34-928d-2b7a2da11616', '5161c876-3b54-4601-a09f-1b1e76d1ad71', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('a58ea0a8-2af3-4705-873b-1a6e3517be47', '6eba7088-7968-4d92-85f3-fbd1403a56b1', NULL, '5161c876-3b54-4601-a09f-1b1e76d1ad71', '12fe4b88-87b8-44d3-a25a-b2a2983343a0', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('687726d7-00aa-47dc-896a-24ce44cb9125', '6eba7088-7968-4d92-85f3-fbd1403a56b1', NULL, 'eac05ae5-af18-4cc6-8077-f816c805a8d0', 'f9bdd8c1-81eb-4723-b17e-a0b44b119601', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('1edd262a-e9d1-40b6-bbf6-f05b72afa66e', '6eba7088-7968-4d92-85f3-fbd1403a56b1', NULL, '5161c876-3b54-4601-a09f-1b1e76d1ad71', 'eac05ae5-af18-4cc6-8077-f816c805a8d0', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('9774af44-b99d-4028-ad51-d1a301fa38f3', '6eba7088-7968-4d92-85f3-fbd1403a56b1', NULL, 'eac05ae5-af18-4cc6-8077-f816c805a8d0', '12fe4b88-87b8-44d3-a25a-b2a2983343a0', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('a42d5cf7-e39b-4f17-85f7-5bfebbf11639', 'd690e5bd-7814-436e-ba1c-8c57760866cc', NULL, '2ca76740-7e93-4ebe-a831-09bc4e0e287a', '0ab236b9-ab03-458d-98a8-ddf5246a5f77', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('d00e5755-cf6f-4ede-a63e-eb4dd26aeb76', 'd690e5bd-7814-436e-ba1c-8c57760866cc', NULL, '2ca76740-7e93-4ebe-a831-09bc4e0e287a', 'c07dc67f-8c62-4485-836d-d448fb287c4a', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('265adfa4-e7ff-4f82-b765-c50a76ee133a', 'd690e5bd-7814-436e-ba1c-8c57760866cc', NULL, 'e9bb76c9-81f5-4d34-928d-2b7a2da11616', '2ca76740-7e93-4ebe-a831-09bc4e0e287a', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('f9f1a5f1-dae5-4fc0-85cb-48baee1cf3d9', 'd690e5bd-7814-436e-ba1c-8c57760866cc', NULL, '2ca76740-7e93-4ebe-a831-09bc4e0e287a', '12fe4b88-87b8-44d3-a25a-b2a2983343a0', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('e71b905e-a658-42a7-902e-321159e3b34c', 'd690e5bd-7814-436e-ba1c-8c57760866cc', NULL, 'e236a8e5-d4c4-423c-8a92-efc20b510e9a', '9218b6bb-9c63-47f6-814b-7a8701eb0e22', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('09c94f24-9d7b-487e-8008-3c8e0db3e7b5', 'd690e5bd-7814-436e-ba1c-8c57760866cc', NULL, '2ca76740-7e93-4ebe-a831-09bc4e0e287a', 'e236a8e5-d4c4-423c-8a92-efc20b510e9a', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('ea0c403a-6f97-4946-89e3-7ed76f18ce8e', 'd690e5bd-7814-436e-ba1c-8c57760866cc', NULL, 'e236a8e5-d4c4-423c-8a92-efc20b510e9a', '12fe4b88-87b8-44d3-a25a-b2a2983343a0', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('677b715c-f4da-4820-a3d0-e6a2e8fb97d8', 'a27caa13-80b1-4784-b891-5b4f12d3bef5', NULL, 'c6640f54-1b24-470d-876c-ba77401772d3', 'ff141fdf-f60b-46c3-af9d-60472765c8cb', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('9035413b-43d5-4f74-ab62-2e5ad80457cb', 'a27caa13-80b1-4784-b891-5b4f12d3bef5', NULL, 'c6640f54-1b24-470d-876c-ba77401772d3', '2f06b454-9fdd-426f-b791-413f24c538e8', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('eb9af560-45a0-40ef-a1a9-f8b2af026703', 'a27caa13-80b1-4784-b891-5b4f12d3bef5', NULL, '495c8c16-f7d9-459d-a7f2-ce7e3c42150c', 'c6640f54-1b24-470d-876c-ba77401772d3', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('54130fac-0895-42fc-a75d-ada84672e72d', 'a27caa13-80b1-4784-b891-5b4f12d3bef5', NULL, 'c6640f54-1b24-470d-876c-ba77401772d3', 'a528582d-4f8b-46f8-80b1-0410c33a0755', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('d0940a25-721a-4679-9cd9-bb42188c24f9', 'a27caa13-80b1-4784-b891-5b4f12d3bef5', NULL, 'f55e8920-a037-4769-ad39-5d0cc77dfcb0', '16f27fa0-25ea-4be0-b086-3ba3a5042b39', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('30ae2155-23e0-4359-8dcf-b54d6eb1891e', 'a27caa13-80b1-4784-b891-5b4f12d3bef5', NULL, 'c6640f54-1b24-470d-876c-ba77401772d3', 'f55e8920-a037-4769-ad39-5d0cc77dfcb0', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('37f8c274-04a5-49d4-931e-b315c8b2212a', 'a27caa13-80b1-4784-b891-5b4f12d3bef5', NULL, 'f55e8920-a037-4769-ad39-5d0cc77dfcb0', 'a528582d-4f8b-46f8-80b1-0410c33a0755', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('ff47de8b-2fa7-4fde-ba23-c2fece863dc0', 'a56186b3-786f-407d-b814-959df21edc5d', NULL, '4096230e-1260-42b6-9eff-7ddb4f0a5f21', 'b8cb9da6-8585-49c4-a413-97403f9507ee', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('156b9f07-da01-4fda-a74f-67b823095f03', 'a56186b3-786f-407d-b814-959df21edc5d', NULL, '4096230e-1260-42b6-9eff-7ddb4f0a5f21', '3a3da60f-2006-4806-9f93-16bd6da6b441', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('8f856bae-37f0-4e88-aca6-e683dc81118c', 'a56186b3-786f-407d-b814-959df21edc5d', NULL, '495c8c16-f7d9-459d-a7f2-ce7e3c42150c', '4096230e-1260-42b6-9eff-7ddb4f0a5f21', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('ee558090-29c1-476c-8a2a-6c0e59d769db', 'a56186b3-786f-407d-b814-959df21edc5d', NULL, '4096230e-1260-42b6-9eff-7ddb4f0a5f21', 'a528582d-4f8b-46f8-80b1-0410c33a0755', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('53fbb735-0063-4d42-915f-d616b70d202a', 'a56186b3-786f-407d-b814-959df21edc5d', NULL, '54ff21e9-56e6-42dd-a17c-b6c4259a5523', '6bed9fba-b6e1-4c28-bc93-cc0eb0b07e58', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('4e907180-1eb5-4c58-9955-b5c13f7f95d1', 'a56186b3-786f-407d-b814-959df21edc5d', NULL, '4096230e-1260-42b6-9eff-7ddb4f0a5f21', '54ff21e9-56e6-42dd-a17c-b6c4259a5523', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('ed41be2b-541d-41a4-a0b3-df5993741e59', 'a56186b3-786f-407d-b814-959df21edc5d', NULL, '54ff21e9-56e6-42dd-a17c-b6c4259a5523', 'a528582d-4f8b-46f8-80b1-0410c33a0755', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('b06e20f2-f9f5-454e-8ec6-5330b707df19', '1cbdd8c5-207a-43e2-98b9-af2265216c14', NULL, '2c1a1a87-fff0-4970-b861-9560793314e4', 'abed2f54-d15d-4290-b01b-b0697ac967ba', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('70860e26-c475-47e1-b2f8-0506d2ee7f78', '1cbdd8c5-207a-43e2-98b9-af2265216c14', NULL, '2c1a1a87-fff0-4970-b861-9560793314e4', 'bc5bd07b-4f58-4477-86d6-99067ddc2082', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('36f78d96-09c8-4b65-8428-a78c15b0ec0d', '1cbdd8c5-207a-43e2-98b9-af2265216c14', NULL, '591c1bc7-7d2d-447f-880d-16615035ab72', '2c1a1a87-fff0-4970-b861-9560793314e4', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('a89520d6-5d78-4b13-aa21-20e75c557e50', '1cbdd8c5-207a-43e2-98b9-af2265216c14', NULL, '2c1a1a87-fff0-4970-b861-9560793314e4', '7154af3b-c2cd-4dc2-a94a-83af7e05b44a', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('73bfc23e-eff5-4f6b-9d4d-8718d4c705c6', '1cbdd8c5-207a-43e2-98b9-af2265216c14', NULL, '517ca825-fed2-44c5-ab7a-b95ee0350dbf', 'ffca12ab-f74e-40cc-8c3b-bdd9ab68541d', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('705cc74b-38e2-4e15-9cd9-a45e4e2fb5db', '1cbdd8c5-207a-43e2-98b9-af2265216c14', NULL, '2c1a1a87-fff0-4970-b861-9560793314e4', '517ca825-fed2-44c5-ab7a-b95ee0350dbf', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('2e3675a4-a8b8-4286-8604-f665b7e4424c', '1cbdd8c5-207a-43e2-98b9-af2265216c14', NULL, '517ca825-fed2-44c5-ab7a-b95ee0350dbf', '7154af3b-c2cd-4dc2-a94a-83af7e05b44a', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('e51decb7-0107-4058-bb63-61a01d75bba7', 'df500901-140d-48ae-9ce0-e20d3880db92', NULL, '99428858-c5de-4c13-b91e-8d01d93225b0', '402b3d48-c423-4319-8bd1-d20d128c6caf', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('aa254a92-d23e-4f57-976f-870efb09478c', 'df500901-140d-48ae-9ce0-e20d3880db92', NULL, '99428858-c5de-4c13-b91e-8d01d93225b0', '7613a6f1-04ab-46c4-8f13-d01d7b60b77d', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('013b39ad-9ae1-4742-afa4-e72cd45633b6', 'df500901-140d-48ae-9ce0-e20d3880db92', NULL, '591c1bc7-7d2d-447f-880d-16615035ab72', '99428858-c5de-4c13-b91e-8d01d93225b0', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('046e10f0-a067-4b24-9e42-a41290310ff3', 'df500901-140d-48ae-9ce0-e20d3880db92', NULL, '99428858-c5de-4c13-b91e-8d01d93225b0', '7154af3b-c2cd-4dc2-a94a-83af7e05b44a', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('12503dd9-f23b-48d0-8e81-1ee92bcdd6f7', 'df500901-140d-48ae-9ce0-e20d3880db92', NULL, '2b22b79f-b1f7-415d-b50b-5938ffba113a', 'ab86dad6-efa6-4be8-8f07-97765e38df5a', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('2003b2a1-83fa-4ffc-b3ea-7be69d8f20c1', 'df500901-140d-48ae-9ce0-e20d3880db92', NULL, '99428858-c5de-4c13-b91e-8d01d93225b0', '2b22b79f-b1f7-415d-b50b-5938ffba113a', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('8a262e55-e6a9-4325-ade7-a4471c1468db', 'df500901-140d-48ae-9ce0-e20d3880db92', NULL, '2b22b79f-b1f7-415d-b50b-5938ffba113a', '7154af3b-c2cd-4dc2-a94a-83af7e05b44a', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('dbc2a2af-5389-463c-9a74-34eb9bb078c2', '153715cb-8cb1-4f09-bd70-08be928534b7', NULL, 'c7b0d4c7-17b3-42ed-b151-fd1d3cf1105c', '0bf027e6-dd84-4c91-8dde-2e54189408d6', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('e3b32a74-676b-4a84-9554-581523771bbd', '153715cb-8cb1-4f09-bd70-08be928534b7', NULL, 'c7b0d4c7-17b3-42ed-b151-fd1d3cf1105c', 'c34ff153-528b-4533-bb2a-6af4776d7d46', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('875bc16a-ca67-4bf5-954b-afb382ee466e', '153715cb-8cb1-4f09-bd70-08be928534b7', NULL, 'ad810d9e-7f6e-46ce-98cb-f4218ae41c70', 'c7b0d4c7-17b3-42ed-b151-fd1d3cf1105c', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('324ed287-8220-48da-8bed-a25948d02770', '153715cb-8cb1-4f09-bd70-08be928534b7', NULL, 'c7b0d4c7-17b3-42ed-b151-fd1d3cf1105c', 'a6654910-2ada-4c04-8a67-773b4e4ab17f', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('10ceb03a-590b-418d-85aa-0dd915f74559', '153715cb-8cb1-4f09-bd70-08be928534b7', NULL, 'e439174f-b436-4675-8d59-a4c003301f75', 'a3d4c041-c32c-491e-9a04-cd00985f90d9', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('5a19d8e6-3936-485f-8564-3a580102187c', '153715cb-8cb1-4f09-bd70-08be928534b7', NULL, 'c7b0d4c7-17b3-42ed-b151-fd1d3cf1105c', 'e439174f-b436-4675-8d59-a4c003301f75', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('b2f96cdc-2008-48a3-8f20-0961c29c3d87', '153715cb-8cb1-4f09-bd70-08be928534b7', NULL, 'e439174f-b436-4675-8d59-a4c003301f75', 'a6654910-2ada-4c04-8a67-773b4e4ab17f', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('38996d9c-7401-490e-9a4e-cad85f6744e3', '26642094-e1f4-464d-ab40-5234b4e0228d', NULL, 'b34325fa-7c47-45a2-979b-d88eb8c4758e', 'b463ee37-3d33-4330-b16f-7ab84a06658a', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('2d5ca653-185f-4a86-9590-06bc88dadb79', '26642094-e1f4-464d-ab40-5234b4e0228d', NULL, 'b34325fa-7c47-45a2-979b-d88eb8c4758e', '1a559ee1-da5d-4b85-b48f-ee15eb5069aa', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('31a92c28-569f-4f37-b136-7767542676c4', '26642094-e1f4-464d-ab40-5234b4e0228d', NULL, 'ad810d9e-7f6e-46ce-98cb-f4218ae41c70', 'b34325fa-7c47-45a2-979b-d88eb8c4758e', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('ef25d6c9-7d6d-4a4c-a35f-462189db3863', '26642094-e1f4-464d-ab40-5234b4e0228d', NULL, 'b34325fa-7c47-45a2-979b-d88eb8c4758e', 'a6654910-2ada-4c04-8a67-773b4e4ab17f', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('7dbe54b6-e757-4ff4-a364-2460f1d62001', '26642094-e1f4-464d-ab40-5234b4e0228d', NULL, '0c3fbe1e-ad08-40a2-a685-436ca0aec27e', '04c7e2df-fb54-4f6a-a529-0316d6ac8de2', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('0b9b3d31-2e41-421f-86b5-fbc40a1e19ca', '26642094-e1f4-464d-ab40-5234b4e0228d', NULL, 'b34325fa-7c47-45a2-979b-d88eb8c4758e', '0c3fbe1e-ad08-40a2-a685-436ca0aec27e', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('f6c5c0a3-9a98-4c0f-9fb8-dd79f401b39a', '26642094-e1f4-464d-ab40-5234b4e0228d', NULL, '0c3fbe1e-ad08-40a2-a685-436ca0aec27e', 'a6654910-2ada-4c04-8a67-773b4e4ab17f', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('09267516-abc0-45f4-b6bf-62eece18fbe6', 'e256cae4-99d8-44f3-961a-ecbffaeb17e4', NULL, 'e93073b3-d214-42fa-983f-da394322ea7d', 'f3f56d40-e253-4848-8fb3-a89e123f9b6f', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('7ed8f3a9-d74b-4dd7-a675-72487aa3dbad', 'e256cae4-99d8-44f3-961a-ecbffaeb17e4', NULL, 'afc6a14a-f8c7-4c17-9b91-b615833bc002', 'e93073b3-d214-42fa-983f-da394322ea7d', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('efa4f68a-de41-4df1-af0a-756aca5464eb', NULL, 'e93073b3-d214-42fa-983f-da394322ea7d', '5de0a8e1-a0d7-400e-90a6-840705faaebc', 'e93073b3-d214-42fa-983f-da394322ea7d', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('f78b9fff-a97c-4ad3-8f85-aa5afeb4bc21', 'e256cae4-99d8-44f3-961a-ecbffaeb17e4', NULL, 'cde57d67-7a2c-47d1-8408-46bb662a97e1', '5aa6c37b-585a-4ff4-86f3-9c7b76bb09ab', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('c48d8054-2d60-4d82-8dc3-6eeea4c41821', 'e256cae4-99d8-44f3-961a-ecbffaeb17e4', NULL, 'e93073b3-d214-42fa-983f-da394322ea7d', 'cde57d67-7a2c-47d1-8408-46bb662a97e1', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('a2c571ac-91b9-4b1b-b15f-86a8dec20b4b', 'e256cae4-99d8-44f3-961a-ecbffaeb17e4', NULL, 'dfd9ff64-fab2-4f2e-ab9a-1e72780457bc', 'd9a38c00-a3b0-4f6e-9353-a4b1c6d03677', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('518fb187-d950-4399-8f50-5f533e5348e5', 'e256cae4-99d8-44f3-961a-ecbffaeb17e4', NULL, 'cde57d67-7a2c-47d1-8408-46bb662a97e1', 'dfd9ff64-fab2-4f2e-ab9a-1e72780457bc', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('9169db44-b030-472c-bd31-fbbfbccacc22', 'a6db17a5-0427-4e3f-96e1-606127ad6d98', NULL, '382d0e66-a8c7-42ef-ad45-8eed2bacab6f', 'f07d8d65-42cb-4c05-911e-e1fcbbe1b03a', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('740ce96f-1e30-42d0-9dfd-9a0e3b1295ae', 'a6db17a5-0427-4e3f-96e1-606127ad6d98', NULL, 'afc6a14a-f8c7-4c17-9b91-b615833bc002', '382d0e66-a8c7-42ef-ad45-8eed2bacab6f', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('e4ee34a8-fe43-4187-9b55-4c877c6b38ad', NULL, '382d0e66-a8c7-42ef-ad45-8eed2bacab6f', '923b54ed-8d82-4612-8be0-4db6e9e8d532', '382d0e66-a8c7-42ef-ad45-8eed2bacab6f', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('79a907ac-3579-4d00-be87-e016cd492424', 'a6db17a5-0427-4e3f-96e1-606127ad6d98', NULL, 'c542f563-0c30-4023-a057-9aa2d95341c8', '6d2e3006-a7df-4670-b81a-420027c8626e', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('391e9de9-49b9-4e5c-a859-b13ca7ce38e3', 'a6db17a5-0427-4e3f-96e1-606127ad6d98', NULL, '382d0e66-a8c7-42ef-ad45-8eed2bacab6f', 'c542f563-0c30-4023-a057-9aa2d95341c8', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('5764489f-ce1f-4d31-b391-d7d064c3c1a4', 'a6db17a5-0427-4e3f-96e1-606127ad6d98', NULL, '9dcd1cf4-2293-4352-9049-0b4d28c9f1cb', '07849131-0aa5-42a1-8a96-4e36715ffcfe', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('8ed040dc-fadc-4eac-affc-e8c7ac912552', 'a6db17a5-0427-4e3f-96e1-606127ad6d98', NULL, 'c542f563-0c30-4023-a057-9aa2d95341c8', '9dcd1cf4-2293-4352-9049-0b4d28c9f1cb', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('3dab90c0-bdc6-471b-b1c9-8cc586da61d3', 'ae0320f6-d268-470e-8ded-142acddb2243', NULL, '668acd12-3446-450c-b98e-585398b353f6', 'c4b18fe6-5a32-4818-b3c1-98068b1eba45', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('dba7789e-c35c-4c32-bfb4-519927844e7c', 'ae0320f6-d268-470e-8ded-142acddb2243', NULL, 'afc6a14a-f8c7-4c17-9b91-b615833bc002', '668acd12-3446-450c-b98e-585398b353f6', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('4f67c306-0a8e-4c2d-a405-120057603ad5', NULL, '668acd12-3446-450c-b98e-585398b353f6', '6b27f6a4-2e7f-493e-a842-8c43f48a9c45', '668acd12-3446-450c-b98e-585398b353f6', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('b45ff83c-c1c6-4978-9fe2-506b57b1f6ba', 'ae0320f6-d268-470e-8ded-142acddb2243', NULL, '02ee24dd-092c-458d-81ed-5bcd06e946d7', 'cabfa94d-1cf9-4880-b304-2aea50c6b1c4', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('24e6aed8-c5b0-4c0b-8157-a5ec6d88a839', 'ae0320f6-d268-470e-8ded-142acddb2243', NULL, '668acd12-3446-450c-b98e-585398b353f6', '02ee24dd-092c-458d-81ed-5bcd06e946d7', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('fa7c9944-4880-455c-9b9a-aa04b75a697c', 'ae0320f6-d268-470e-8ded-142acddb2243', NULL, '9b03c48b-38e5-42e7-97b1-83841034180d', 'ded51145-aa1b-4bb8-9a90-22c7d274af9e', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('ffb41a48-9fc7-45ae-9e02-8ee819b975ee', 'ae0320f6-d268-470e-8ded-142acddb2243', NULL, '02ee24dd-092c-458d-81ed-5bcd06e946d7', '9b03c48b-38e5-42e7-97b1-83841034180d', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('8336f035-50a9-4671-9356-70d0efecad8e', '1649730d-2c49-40e2-9000-7615a085477c', NULL, 'd2c8882e-1bbb-41c2-b23a-a83fec8d90a5', '5391d28d-1734-4a8d-8dc0-d122fd748624', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('57530c19-2d13-48c4-b09c-9b850e726294', '1649730d-2c49-40e2-9000-7615a085477c', NULL, 'afc6a14a-f8c7-4c17-9b91-b615833bc002', 'd2c8882e-1bbb-41c2-b23a-a83fec8d90a5', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('d0510ec1-2583-4f16-b016-e054074b955e', NULL, 'd2c8882e-1bbb-41c2-b23a-a83fec8d90a5', '7879309d-c155-4d8c-9dcd-d4eacf27bc08', 'd2c8882e-1bbb-41c2-b23a-a83fec8d90a5', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('cd63a3d2-0d7b-4eaf-9e56-967b084d7743', '1649730d-2c49-40e2-9000-7615a085477c', NULL, 'b4fc3672-18fa-4f25-aa48-e7a91d73902b', 'a4bc590a-4be9-4c0f-862a-4780478f87bb', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('aa5f9ff0-fe73-4dd5-bcd6-ef802646e792', '1649730d-2c49-40e2-9000-7615a085477c', NULL, 'd2c8882e-1bbb-41c2-b23a-a83fec8d90a5', 'b4fc3672-18fa-4f25-aa48-e7a91d73902b', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('9ba258c3-39c5-4676-bf02-c3544bb1079d', '1649730d-2c49-40e2-9000-7615a085477c', NULL, '19a6e99d-d08c-447d-8fae-d9ba39e5bcba', '9ca15a97-5677-4362-bcbb-857ea36142e2', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('010778c6-c218-4fff-aa11-585ea7df871e', '1649730d-2c49-40e2-9000-7615a085477c', NULL, 'b4fc3672-18fa-4f25-aa48-e7a91d73902b', '19a6e99d-d08c-447d-8fae-d9ba39e5bcba', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('181a7597-621f-4bdb-aee0-fea0ae30103a', 'beda1946-685d-45a4-ad22-fd6842e14b54', NULL, '05064d0d-0c3a-4691-af64-f011accc8f7e', 'a2a465dd-0284-4840-986b-c2237cd1bb5c', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('e233a1b5-d131-47ca-b58a-79fa9a56beaa', 'beda1946-685d-45a4-ad22-fd6842e14b54', NULL, 'afc6a14a-f8c7-4c17-9b91-b615833bc002', '05064d0d-0c3a-4691-af64-f011accc8f7e', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('c6040de2-7b3b-424a-aa10-264511ceda40', NULL, '05064d0d-0c3a-4691-af64-f011accc8f7e', '6bdaac0d-742f-44d0-a713-d1dcd4c86049', '05064d0d-0c3a-4691-af64-f011accc8f7e', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('93e1e6b5-76c0-454b-b0b9-a39e6d6fbc93', 'beda1946-685d-45a4-ad22-fd6842e14b54', NULL, '6af67ae0-05b5-40bd-aabd-50683bde22d3', '71d72963-9ab5-43c2-996b-8c6b53904b79', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('c73db288-3c79-4b20-bef2-816b6cad10c6', 'beda1946-685d-45a4-ad22-fd6842e14b54', NULL, '05064d0d-0c3a-4691-af64-f011accc8f7e', '6af67ae0-05b5-40bd-aabd-50683bde22d3', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('a25178f0-13b4-44fa-928d-39db6ec7b634', 'beda1946-685d-45a4-ad22-fd6842e14b54', NULL, '4372bb52-6554-4796-9625-36f48ad650d1', 'df3b0e5e-1488-45eb-8c46-75b5d065765b', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('9370840f-4c08-4e2d-bf93-f008f6e675a8', 'beda1946-685d-45a4-ad22-fd6842e14b54', NULL, '6af67ae0-05b5-40bd-aabd-50683bde22d3', '4372bb52-6554-4796-9625-36f48ad650d1', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('d3318636-3d14-4708-95ae-9b41ba9b96cc', '6cdd8a31-27b3-4b0e-8297-67794b74cd5c', NULL, '26bb0412-5199-4cd9-8536-334b7d530c6e', '968bac14-e972-4278-8553-325c9287c0f2', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('38a7ecc3-09e7-4f61-8fba-6d284f79608b', '6cdd8a31-27b3-4b0e-8297-67794b74cd5c', NULL, 'afc6a14a-f8c7-4c17-9b91-b615833bc002', '26bb0412-5199-4cd9-8536-334b7d530c6e', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('c39e2e9c-b259-4e67-a958-ad5eb782e1dd', NULL, '26bb0412-5199-4cd9-8536-334b7d530c6e', '179421ab-cd83-42f9-8c66-062cf854a174', '26bb0412-5199-4cd9-8536-334b7d530c6e', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('d04135bf-f03e-4f50-834d-3a58fa24c3f5', '6cdd8a31-27b3-4b0e-8297-67794b74cd5c', NULL, 'c9a6bfde-87e6-47bd-bee8-49d7c3f46b08', '58f6066c-61f5-470a-bf6d-1caca87ec950', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('419229c3-c93d-41e5-8d59-6bcae7c3b9c1', '6cdd8a31-27b3-4b0e-8297-67794b74cd5c', NULL, '26bb0412-5199-4cd9-8536-334b7d530c6e', 'c9a6bfde-87e6-47bd-bee8-49d7c3f46b08', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('456ffa10-2881-4f3a-85aa-f5037bf48d7f', '6cdd8a31-27b3-4b0e-8297-67794b74cd5c', NULL, '90cd8d25-ed92-4fba-ae4a-0d3fa9ade2e2', '59307614-cf25-4bce-a739-128357d00fb3', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('e06469c0-7b96-42f0-b600-95ca23e1d4f6', '6cdd8a31-27b3-4b0e-8297-67794b74cd5c', NULL, 'c9a6bfde-87e6-47bd-bee8-49d7c3f46b08', '90cd8d25-ed92-4fba-ae4a-0d3fa9ade2e2', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('15359990-b5e5-40aa-bcca-aad5a8b8b843', '5336a6e7-2f9a-4f73-8385-04ac89c46f5e', NULL, '55b3cfee-626d-48e5-8edf-76c71ff31135', 'ebf15e28-1fab-461e-a4d7-95ec44eeaf05', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('3eb49348-9686-4fd3-938a-0c9cf27b9dcb', '5336a6e7-2f9a-4f73-8385-04ac89c46f5e', NULL, 'afc6a14a-f8c7-4c17-9b91-b615833bc002', '55b3cfee-626d-48e5-8edf-76c71ff31135', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('b6698fe7-04d9-4a06-9532-012e4a64970e', NULL, '55b3cfee-626d-48e5-8edf-76c71ff31135', 'aa06fc04-c789-432c-b257-5de1371a53ff', '55b3cfee-626d-48e5-8edf-76c71ff31135', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('8eefaf27-ee03-4d04-8351-5952fd621caa', '5336a6e7-2f9a-4f73-8385-04ac89c46f5e', NULL, 'ec5a8ce9-2c27-4bca-8274-4d59a0a4f4f4', '4411d45c-358e-4b93-8923-917df409afbd', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('8a357d96-80cf-47b1-8eae-b9414234b435', '5336a6e7-2f9a-4f73-8385-04ac89c46f5e', NULL, '55b3cfee-626d-48e5-8edf-76c71ff31135', 'ec5a8ce9-2c27-4bca-8274-4d59a0a4f4f4', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('d531c6fc-dcac-4033-a5b0-e4e70b8e8d87', '5336a6e7-2f9a-4f73-8385-04ac89c46f5e', NULL, 'e630875c-03be-4f53-ad70-45687b1e8567', '58f504e7-6122-4118-90ca-16726525820c', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('5b00c377-b17c-4094-a843-c05b0e81e989', '5336a6e7-2f9a-4f73-8385-04ac89c46f5e', NULL, 'ec5a8ce9-2c27-4bca-8274-4d59a0a4f4f4', 'e630875c-03be-4f53-ad70-45687b1e8567', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('b3bc5c1e-a29d-4177-b30c-31c332dde78d', '0fc7fedf-6a52-462e-85bb-689f4b2a8d2d', NULL, '3cea3e2a-cb3a-4036-87fd-9b13abafcd42', '899f7de8-415a-425b-8f6f-0e254f2fff25', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('2f5f357f-d1a4-446a-849b-5348e2823b27', '0fc7fedf-6a52-462e-85bb-689f4b2a8d2d', NULL, 'afc6a14a-f8c7-4c17-9b91-b615833bc002', '3cea3e2a-cb3a-4036-87fd-9b13abafcd42', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('0db0c7dc-6335-4ed2-95eb-cf09d559e93d', NULL, '3cea3e2a-cb3a-4036-87fd-9b13abafcd42', 'c1c9dc75-a3ac-448f-a9a0-bfbc9a35b806', '3cea3e2a-cb3a-4036-87fd-9b13abafcd42', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('e45b824e-3c47-459b-a57f-6398fd338dd5', '0fc7fedf-6a52-462e-85bb-689f4b2a8d2d', NULL, 'c0a22860-2436-489d-95f5-d4876c9db692', '89a6eb87-3cd6-442d-8870-ee4a1febe2fe', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('a456122d-72c7-42b0-b8f4-7dbe4d0a28ec', '0fc7fedf-6a52-462e-85bb-689f4b2a8d2d', NULL, '3cea3e2a-cb3a-4036-87fd-9b13abafcd42', 'c0a22860-2436-489d-95f5-d4876c9db692', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('4a30d5aa-3524-4951-85ca-f34c3d576918', '0fc7fedf-6a52-462e-85bb-689f4b2a8d2d', NULL, '8adf733a-de6b-4896-afc6-22d594ab07cb', '88925521-a4b8-4893-954d-1183392463aa', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('ba671f41-1164-4ac3-95a8-c4bd3deb9843', '0fc7fedf-6a52-462e-85bb-689f4b2a8d2d', NULL, 'c0a22860-2436-489d-95f5-d4876c9db692', '8adf733a-de6b-4896-afc6-22d594ab07cb', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('bc3f9908-07af-4bcc-8984-e4543bffc924', 'fdf97406-0693-48dc-8bfe-185045a90437', NULL, '873ab1c2-55f1-4df4-910e-79fd1e1381ea', '7780ce1c-74cd-4062-9c31-8ca350e72bbc', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('5297177d-eb89-4a39-8ddd-34de9161ea0b', 'fdf97406-0693-48dc-8bfe-185045a90437', NULL, 'afc6a14a-f8c7-4c17-9b91-b615833bc002', '873ab1c2-55f1-4df4-910e-79fd1e1381ea', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('3afc1e76-4690-421a-b437-189c4be8ffb2', NULL, '873ab1c2-55f1-4df4-910e-79fd1e1381ea', 'c517afa2-4320-4612-b688-97863b263661', '873ab1c2-55f1-4df4-910e-79fd1e1381ea', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('1111e208-c25e-4642-8796-a430dbf44ebd', 'fdf97406-0693-48dc-8bfe-185045a90437', NULL, '1c3b60ad-277b-4442-a7bb-a142d197f5ed', '2c4784a4-f03a-4815-bec4-fa353a0fb781', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('3a8bf2cf-0b4d-4545-8ef9-140c5f106227', 'fdf97406-0693-48dc-8bfe-185045a90437', NULL, '873ab1c2-55f1-4df4-910e-79fd1e1381ea', '1c3b60ad-277b-4442-a7bb-a142d197f5ed', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('a4a8ed58-8658-4a4e-aafe-a430796c91e9', 'fdf97406-0693-48dc-8bfe-185045a90437', NULL, '31a7c342-90e0-4bd0-8e16-67a3fe705ea9', '5e028ef1-9fd8-41fd-b3f4-82c16d106259', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('0766668e-8706-4ab9-b57e-fb5062279308', 'fdf97406-0693-48dc-8bfe-185045a90437', NULL, '1c3b60ad-277b-4442-a7bb-a142d197f5ed', '31a7c342-90e0-4bd0-8e16-67a3fe705ea9', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('d6bb28e4-4b56-45cd-883e-155f62df41c6', '6e689f4c-93d2-4a88-b3dd-8370cf3e8da4', NULL, '57c78d79-2143-42cd-90c8-8ee43f68c2b4', '1632cbb0-5b47-4404-92cb-73a8d528952b', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('8a030f96-2491-492d-b4a4-014b64aeab53', '6e689f4c-93d2-4a88-b3dd-8370cf3e8da4', NULL, 'afc6a14a-f8c7-4c17-9b91-b615833bc002', '57c78d79-2143-42cd-90c8-8ee43f68c2b4', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('b96b1f53-5f1c-457c-b844-d38e6be01b08', NULL, '57c78d79-2143-42cd-90c8-8ee43f68c2b4', '88964484-715a-4a24-82ca-90d75e19efdb', '57c78d79-2143-42cd-90c8-8ee43f68c2b4', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('107e6878-8c15-41a3-a0ce-191bcdbbe0e4', '6e689f4c-93d2-4a88-b3dd-8370cf3e8da4', NULL, '5f972f73-4197-48c7-94c1-708285fad37f', 'f070d05f-67d6-4f81-9c7e-b24df55f3e6d', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('7e715db3-73a3-494c-a759-211af24a1667', '6e689f4c-93d2-4a88-b3dd-8370cf3e8da4', NULL, '57c78d79-2143-42cd-90c8-8ee43f68c2b4', '5f972f73-4197-48c7-94c1-708285fad37f', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('5ace1574-2029-44dc-9274-5d37b86d06dd', '6e689f4c-93d2-4a88-b3dd-8370cf3e8da4', NULL, '1a2cad1d-31c8-4f54-871a-1bfadc42a3ed', 'fd1c2063-58e7-45dd-b198-fc51d0397833', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('fb94d317-3281-437a-acbb-b8c6f6c75b33', '6e689f4c-93d2-4a88-b3dd-8370cf3e8da4', NULL, '5f972f73-4197-48c7-94c1-708285fad37f', '1a2cad1d-31c8-4f54-871a-1bfadc42a3ed', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('a35e5744-cfb4-431c-9c67-146a3c0ad982', '0c4e6c68-6f1f-4ea9-bcdd-1752763a3945', NULL, '799a8e31-f52f-4a53-9fca-bc8d1f4c9ae9', '1e7e133e-a662-4f39-98ba-c43e643f594d', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('91767eff-198a-439e-83d5-c544e8706f71', '0c4e6c68-6f1f-4ea9-bcdd-1752763a3945', NULL, 'afc6a14a-f8c7-4c17-9b91-b615833bc002', '799a8e31-f52f-4a53-9fca-bc8d1f4c9ae9', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('d92f2cba-4d03-48c8-95b0-b5735e2290e4', NULL, '799a8e31-f52f-4a53-9fca-bc8d1f4c9ae9', 'dae95481-b3ce-4678-8a89-eee8097a9dbf', '799a8e31-f52f-4a53-9fca-bc8d1f4c9ae9', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('a15e2326-8d73-4a09-994b-77726f26991b', '0c4e6c68-6f1f-4ea9-bcdd-1752763a3945', NULL, 'b7a059a7-5e66-4141-a7ee-a87a62f1bfd0', '4805d0b6-fb04-4216-883d-d0c3fb38ae12', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('0a293387-a163-4ab5-bb94-5c1328c08c25', '0c4e6c68-6f1f-4ea9-bcdd-1752763a3945', NULL, '799a8e31-f52f-4a53-9fca-bc8d1f4c9ae9', 'b7a059a7-5e66-4141-a7ee-a87a62f1bfd0', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('14d8bbb0-9a8c-4c54-8b7b-863d332cb617', '0c4e6c68-6f1f-4ea9-bcdd-1752763a3945', NULL, '52ff74c6-ad10-4dc0-aec1-5623cbd75c47', '1921c901-c56e-46a1-8be5-a3299d4eb029', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('e1cbac4d-8db5-4e6d-b51b-af8fa0d10977', '0c4e6c68-6f1f-4ea9-bcdd-1752763a3945', NULL, 'b7a059a7-5e66-4141-a7ee-a87a62f1bfd0', '52ff74c6-ad10-4dc0-aec1-5623cbd75c47', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('3dbb752b-d56b-464e-b7fd-eb248ab38d58', 'c24bfb2f-9b72-4754-9d9c-52be22cf01a6', NULL, '45d8db35-1990-4e77-a977-458caa184037', '4ff09f9e-2bf5-4f96-98ef-396e7454991d', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('f25218c9-b346-4623-9621-a56ef32f4b12', 'c24bfb2f-9b72-4754-9d9c-52be22cf01a6', NULL, 'afc6a14a-f8c7-4c17-9b91-b615833bc002', '45d8db35-1990-4e77-a977-458caa184037', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('d665d723-7ab2-46a3-be43-df609037c51d', NULL, '45d8db35-1990-4e77-a977-458caa184037', '1322621a-1dc8-4a3d-afa7-06a03c1035f7', '45d8db35-1990-4e77-a977-458caa184037', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('f3b12121-5758-4cf6-af74-4c9e57d21c00', 'c24bfb2f-9b72-4754-9d9c-52be22cf01a6', NULL, 'cedd81b4-3981-4650-99ce-c35247fcc99d', '913d80a9-9d41-4204-9cb3-498c0e36631c', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('dd16212f-2c78-47de-b6d4-b31880f869e7', 'c24bfb2f-9b72-4754-9d9c-52be22cf01a6', NULL, '45d8db35-1990-4e77-a977-458caa184037', 'cedd81b4-3981-4650-99ce-c35247fcc99d', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('d2856c1e-db95-4f40-ba06-c37b98c9e8a3', 'c24bfb2f-9b72-4754-9d9c-52be22cf01a6', NULL, '4e3d4dea-d586-4d87-8f65-9756f8c774e7', '13e1b4af-d1b0-47c4-a86c-d23f81fa9db9', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('283f407e-fbd2-4c6f-a293-9149186f53c5', 'c24bfb2f-9b72-4754-9d9c-52be22cf01a6', NULL, 'cedd81b4-3981-4650-99ce-c35247fcc99d', '4e3d4dea-d586-4d87-8f65-9756f8c774e7', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('5cdbd298-7971-4dff-9f07-02963bd6fdd2', 'dbe89951-4cc8-40ac-97b3-49176567984d', NULL, 'd16c63e0-856f-4440-9498-1c266e893967', 'abc45989-35de-4b24-a0ce-866e6aef5795', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('1b8cdb38-7ed5-49bd-8967-027c436975fd', 'dbe89951-4cc8-40ac-97b3-49176567984d', NULL, 'afc6a14a-f8c7-4c17-9b91-b615833bc002', 'd16c63e0-856f-4440-9498-1c266e893967', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('05205e76-bc42-4686-a1f6-ca5ca6ea607a', NULL, 'd16c63e0-856f-4440-9498-1c266e893967', '72690aa1-2ebd-4922-8959-453aa0d076ed', 'd16c63e0-856f-4440-9498-1c266e893967', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('9e314fd9-bf66-4610-94e2-38b8574b9f0c', 'dbe89951-4cc8-40ac-97b3-49176567984d', NULL, '69976fc3-19a0-41a5-9976-3b0a62561f53', '8c7a2fd3-4ee7-4ae3-9be1-297a0460a65f', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('c2306eb5-f1c7-4241-8c7e-36f23271b6d0', 'dbe89951-4cc8-40ac-97b3-49176567984d', NULL, 'd16c63e0-856f-4440-9498-1c266e893967', '69976fc3-19a0-41a5-9976-3b0a62561f53', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('d7c01ec2-3125-4e57-80c7-39623d566315', 'dbe89951-4cc8-40ac-97b3-49176567984d', NULL, '7654b8c5-6bcd-4153-b0d6-e32f400fff60', '7d2e2a89-c04b-4a0b-858d-f1d00d8edd3d', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('922e22d1-cc30-454d-ab7c-63b3ecb2f6f9', 'dbe89951-4cc8-40ac-97b3-49176567984d', NULL, '69976fc3-19a0-41a5-9976-3b0a62561f53', '7654b8c5-6bcd-4153-b0d6-e32f400fff60', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('9a27fce9-5fa5-4376-a99f-d154ddfb7823', '37928681-5849-48f7-aa81-bbe2d68944f9', NULL, '7816aeaf-4e2d-40b2-b466-1cc5937c4198', 'a0d1bab6-d38f-40c1-87c0-be938c767c47', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('d20658da-a298-417c-b646-7e333e46b512', '37928681-5849-48f7-aa81-bbe2d68944f9', NULL, 'afc6a14a-f8c7-4c17-9b91-b615833bc002', '7816aeaf-4e2d-40b2-b466-1cc5937c4198', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('6900e633-c806-46cd-ac2a-04ab86d3be97', NULL, '7816aeaf-4e2d-40b2-b466-1cc5937c4198', 'a44c56fb-afb2-4b5f-a532-52d0e4ad839f', '7816aeaf-4e2d-40b2-b466-1cc5937c4198', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('b259ee78-ef22-44fb-a0a0-2f11aeb781ec', '37928681-5849-48f7-aa81-bbe2d68944f9', NULL, '21452821-c69d-4615-aa75-1a9af5fb904d', 'b52d07f1-b3c7-41ef-8596-e56cf76eb631', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('e2a26b82-77c1-4d20-a1c3-7e0da0a301d3', '37928681-5849-48f7-aa81-bbe2d68944f9', NULL, '7816aeaf-4e2d-40b2-b466-1cc5937c4198', '21452821-c69d-4615-aa75-1a9af5fb904d', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('7b298298-a70d-4859-ad77-0f3acd074b33', '37928681-5849-48f7-aa81-bbe2d68944f9', NULL, '35ee3fcb-0a9a-4944-8344-344cb501f277', 'a7901be2-d3f0-4aaf-ac50-97c4910542d8', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('974d0c6c-a7b4-4e51-9b6d-6555e0caae9b', '37928681-5849-48f7-aa81-bbe2d68944f9', NULL, '21452821-c69d-4615-aa75-1a9af5fb904d', '35ee3fcb-0a9a-4944-8344-344cb501f277', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('c6f418c2-c645-4804-9a44-03eb81cf7caa', 'b4566b68-3318-4bd2-b1cb-a9c58ae91b6e', NULL, 'fcf6c65d-17e0-46e7-bd0c-b58f47f8be61', '79de24ea-b0b2-4e50-80a4-f85bec336c17', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('e9082f43-21a0-4f23-bd12-bc75def34658', 'b4566b68-3318-4bd2-b1cb-a9c58ae91b6e', NULL, 'afc6a14a-f8c7-4c17-9b91-b615833bc002', 'fcf6c65d-17e0-46e7-bd0c-b58f47f8be61', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('3c924136-5c6c-4f9e-b61d-ba65bb84c854', NULL, 'fcf6c65d-17e0-46e7-bd0c-b58f47f8be61', '9a4b60ab-9b9d-4f4e-a597-5b22ec2d44fd', 'fcf6c65d-17e0-46e7-bd0c-b58f47f8be61', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('a12b5ee3-86e9-477c-8f04-2cff340473a7', 'b4566b68-3318-4bd2-b1cb-a9c58ae91b6e', NULL, '83395c0b-6e2c-4597-95a3-28734150bf68', '9511a1de-0795-4bb2-833f-6aba775dd055', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('9eaba077-87cc-451d-9c4d-83d0fab324e7', 'b4566b68-3318-4bd2-b1cb-a9c58ae91b6e', NULL, 'fcf6c65d-17e0-46e7-bd0c-b58f47f8be61', '83395c0b-6e2c-4597-95a3-28734150bf68', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('d3816ad2-98cd-4c8f-bc30-8550ac676384', 'b4566b68-3318-4bd2-b1cb-a9c58ae91b6e', NULL, '34041b9b-8453-492b-ae4b-7f94658d0952', '4af33648-7cf2-48bf-a42a-14ac004dd7e6', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('19161128-4b94-409c-9309-bf78e6ffa179', 'b4566b68-3318-4bd2-b1cb-a9c58ae91b6e', NULL, '83395c0b-6e2c-4597-95a3-28734150bf68', '34041b9b-8453-492b-ae4b-7f94658d0952', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('a88e6707-4ad1-4a15-9da6-f19adc9f6955', 'a5bdcdee-bc0e-4340-aaf3-d3d7d43dcc1a', NULL, 'e1ac62e2-35ae-4f1f-9c23-b546035628ac', '532cc7a0-1735-4f4f-9cc4-93772b608b7d', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('f40640ee-5498-443b-b273-9ba25957323b', 'a5bdcdee-bc0e-4340-aaf3-d3d7d43dcc1a', NULL, 'afc6a14a-f8c7-4c17-9b91-b615833bc002', 'e1ac62e2-35ae-4f1f-9c23-b546035628ac', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('21abf062-9cac-4a63-bdb7-2fc46eeb174c', NULL, 'e1ac62e2-35ae-4f1f-9c23-b546035628ac', '5fa5c7c7-07dc-45f0-b6ac-eeba221016d4', 'e1ac62e2-35ae-4f1f-9c23-b546035628ac', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('6fa192e4-5851-41d5-b85c-ee86ee9d2bdf', 'a5bdcdee-bc0e-4340-aaf3-d3d7d43dcc1a', NULL, 'f5edf9d3-e506-41e9-8c02-0be4d3bbd494', '68fa1c11-6877-4c90-aed7-e08c4facabfd', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('6ddd82e5-daa6-4369-b108-488a3df80629', 'a5bdcdee-bc0e-4340-aaf3-d3d7d43dcc1a', NULL, 'e1ac62e2-35ae-4f1f-9c23-b546035628ac', 'f5edf9d3-e506-41e9-8c02-0be4d3bbd494', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('8beb7e8f-0838-476d-9d1d-f73d5d2df199', 'a5bdcdee-bc0e-4340-aaf3-d3d7d43dcc1a', NULL, 'a5f8ffa9-00a4-4229-a9d5-95ff9e671309', '12502278-cd64-4750-bad4-5facf1ef26fd', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('962131c2-9e0e-4270-9877-dae74383e6cd', 'a5bdcdee-bc0e-4340-aaf3-d3d7d43dcc1a', NULL, 'f5edf9d3-e506-41e9-8c02-0be4d3bbd494', 'a5f8ffa9-00a4-4229-a9d5-95ff9e671309', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('777593a7-fb80-4c48-800a-bc3bb9aceade', '43cf65a6-59e5-44d6-bf66-0fcf7266404a', NULL, '3b2f81e8-4337-4f5e-a023-2f2370309cfc', '87c70e01-fb62-46c0-9fe3-ec351c381617', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('0602fce3-ff74-4397-93ec-349893db5545', '43cf65a6-59e5-44d6-bf66-0fcf7266404a', NULL, 'afc6a14a-f8c7-4c17-9b91-b615833bc002', '3b2f81e8-4337-4f5e-a023-2f2370309cfc', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('4e54f2d1-0b1e-4e39-94f5-7e639ea786d7', NULL, '3b2f81e8-4337-4f5e-a023-2f2370309cfc', 'c6ddc7b6-4afe-4c7a-a5d4-9aeae9940761', '3b2f81e8-4337-4f5e-a023-2f2370309cfc', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('cd3d9282-65cf-470b-ab0c-fb18a8714e14', '43cf65a6-59e5-44d6-bf66-0fcf7266404a', NULL, '9f40ec38-70ad-426e-aa26-2b0dd2afee2e', '95820ab0-b42c-4de0-abac-cee8f5c6a608', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('5b4d2e3b-a838-4cc1-b4f0-2eea8851a83d', '43cf65a6-59e5-44d6-bf66-0fcf7266404a', NULL, '3b2f81e8-4337-4f5e-a023-2f2370309cfc', '9f40ec38-70ad-426e-aa26-2b0dd2afee2e', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('5ee21d6a-2010-477b-9e28-8994fe4966e4', '43cf65a6-59e5-44d6-bf66-0fcf7266404a', NULL, '51be412d-854a-4a70-82e9-e4f9e34a4834', 'd7b81343-d5c9-4c3a-8a56-e0a9357320e8', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('b9dd43a1-c9d2-4de2-8668-ffd1a23beafe', '43cf65a6-59e5-44d6-bf66-0fcf7266404a', NULL, '9f40ec38-70ad-426e-aa26-2b0dd2afee2e', '51be412d-854a-4a70-82e9-e4f9e34a4834', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('b4fae488-90b0-4299-a3ac-deab40cbb5d1', '958aa7a0-2531-4661-9444-5e00207fb8c4', NULL, '9fda353a-fddf-424a-a857-a9b6327cd608', '56ecf20e-0e1a-4d79-a632-e26d3d2c8c0d', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('f06f9667-5e48-4ee9-b195-afc93cd378cf', '958aa7a0-2531-4661-9444-5e00207fb8c4', NULL, 'afc6a14a-f8c7-4c17-9b91-b615833bc002', '9fda353a-fddf-424a-a857-a9b6327cd608', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('65143566-5742-4713-8857-29a0e3a85a18', NULL, '9fda353a-fddf-424a-a857-a9b6327cd608', '7bbd7271-69b4-4b72-9472-5d1fd5cc2f7d', '9fda353a-fddf-424a-a857-a9b6327cd608', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('b38f7156-0e5b-4518-ad8d-583e08d546dd', '958aa7a0-2531-4661-9444-5e00207fb8c4', NULL, '5a2b3a18-5711-4823-9dbb-d5391a6d8563', 'a598e5fb-719c-4c08-9e5d-821b296abddc', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('3b97eec3-83c4-4d1b-b3ed-fc625ab42f66', '958aa7a0-2531-4661-9444-5e00207fb8c4', NULL, '9fda353a-fddf-424a-a857-a9b6327cd608', '5a2b3a18-5711-4823-9dbb-d5391a6d8563', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('b299f163-a316-458b-b8fb-df413bb014f6', '958aa7a0-2531-4661-9444-5e00207fb8c4', NULL, '32f84cbf-a88f-4a85-86c7-ef8dacb65f13', '2c322336-be01-4450-a782-35fa22c2a195', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('2139349d-2d44-4c01-93f3-0c1aa04327c0', '958aa7a0-2531-4661-9444-5e00207fb8c4', NULL, '5a2b3a18-5711-4823-9dbb-d5391a6d8563', '32f84cbf-a88f-4a85-86c7-ef8dacb65f13', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('d595473f-8ce7-4adf-ae3e-87ccc56eac4a', 'a2bdfd07-bbc1-417b-b91e-a567641d19c2', NULL, 'bfa6fc54-b363-4a47-bcf7-b27d84669531', '5f180362-48d7-4fef-b049-b5f0947da2c0', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('a84c6db4-0bcc-4767-8670-e8555fa7d9c8', 'a2bdfd07-bbc1-417b-b91e-a567641d19c2', NULL, 'afc6a14a-f8c7-4c17-9b91-b615833bc002', 'bfa6fc54-b363-4a47-bcf7-b27d84669531', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('f6b48dc9-5d32-43c1-90dc-c35a2b63f559', NULL, 'bfa6fc54-b363-4a47-bcf7-b27d84669531', '552ab094-a7d4-4b79-a02e-15f78954bfbf', 'bfa6fc54-b363-4a47-bcf7-b27d84669531', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('36f1d93b-c153-44dd-8e74-cd3bc15ecae5', 'a2bdfd07-bbc1-417b-b91e-a567641d19c2', NULL, '9724cc00-bf80-4ad3-9889-323600c10eb4', '249b68db-c1ef-4aa2-95f5-cb9404909c53', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('807e4104-ecca-49d9-8a04-9cb7ce966b30', 'a2bdfd07-bbc1-417b-b91e-a567641d19c2', NULL, 'bfa6fc54-b363-4a47-bcf7-b27d84669531', '9724cc00-bf80-4ad3-9889-323600c10eb4', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('a4de5823-a294-4da3-a1de-b770774c8cb2', 'a2bdfd07-bbc1-417b-b91e-a567641d19c2', NULL, 'a70cbda3-6a50-481d-98b5-d780eb50fdfc', 'ccc64280-0b0b-4f41-a1cb-bd37612a1baa', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('8b2ee87b-a7c2-40ef-9c30-85f3a15dec60', 'a2bdfd07-bbc1-417b-b91e-a567641d19c2', NULL, '9724cc00-bf80-4ad3-9889-323600c10eb4', 'a70cbda3-6a50-481d-98b5-d780eb50fdfc', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('c7b748e1-6d92-4f7f-bcd1-e7e740136225', '2ddcf68b-eb88-45e7-a6aa-3da9c32115a1', NULL, '5be17991-149b-484b-8386-01fc83b53a10', 'fe53df6e-c9a5-46e1-a571-c3c0062cd655', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('c9092908-9690-4ef5-abc2-73c70fc304d3', '2ddcf68b-eb88-45e7-a6aa-3da9c32115a1', NULL, 'afc6a14a-f8c7-4c17-9b91-b615833bc002', '5be17991-149b-484b-8386-01fc83b53a10', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('c3ad6f0c-826d-464a-8e12-655487e2aa5d', NULL, '5be17991-149b-484b-8386-01fc83b53a10', '27c48121-45ee-43d8-8efc-e69381125139', '5be17991-149b-484b-8386-01fc83b53a10', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('01100595-742d-4517-bf85-c6dd505c0823', '2ddcf68b-eb88-45e7-a6aa-3da9c32115a1', NULL, 'ccd7a35d-4c6f-461d-8b9a-ca95a1f86172', '4c248fa5-c31d-49d4-a7e6-97b496b777e0', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('c0a704b5-c0fe-4552-a98c-5e48122b3e0d', '2ddcf68b-eb88-45e7-a6aa-3da9c32115a1', NULL, '5be17991-149b-484b-8386-01fc83b53a10', 'ccd7a35d-4c6f-461d-8b9a-ca95a1f86172', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('c48fed90-b98b-4f86-956b-edf5b51f3aba', '2ddcf68b-eb88-45e7-a6aa-3da9c32115a1', NULL, 'c7c42e30-f5fa-4eae-9c26-35d0756423af', '0c7bf875-e45c-4336-952f-a611c8383f29', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('f738db12-77c4-48bb-9058-a8fec2c160fa', '2ddcf68b-eb88-45e7-a6aa-3da9c32115a1', NULL, 'ccd7a35d-4c6f-461d-8b9a-ca95a1f86172', 'c7c42e30-f5fa-4eae-9c26-35d0756423af', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('06360110-10a3-49b7-9dd2-d1fd81f17f79', '8931b7ef-2f89-44c5-b7c2-730b898f2227', NULL, '21f302be-fb10-48c6-92ce-c01f854e5a59', 'db868607-e90d-4c4d-95ed-4a272e20b1b3', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('2b3de20e-04ea-4c0a-9fef-2d65d3af2a8a', '8931b7ef-2f89-44c5-b7c2-730b898f2227', NULL, 'afc6a14a-f8c7-4c17-9b91-b615833bc002', '21f302be-fb10-48c6-92ce-c01f854e5a59', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('644be55e-d766-4e77-ba8f-916fee31e9f1', NULL, '21f302be-fb10-48c6-92ce-c01f854e5a59', '79154a1d-1d55-4012-be4f-b214206ddfd6', '21f302be-fb10-48c6-92ce-c01f854e5a59', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('a97c2f16-707c-4335-b430-e5cf3bb05af6', '8931b7ef-2f89-44c5-b7c2-730b898f2227', NULL, '2d941ad9-f2fe-4971-9825-2d921c2faa55', '4b6a2695-e4f5-4192-80bb-c90655e08afc', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('49c3f880-5afd-4cab-9684-2f29217504d1', '8931b7ef-2f89-44c5-b7c2-730b898f2227', NULL, '21f302be-fb10-48c6-92ce-c01f854e5a59', '2d941ad9-f2fe-4971-9825-2d921c2faa55', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('800591c1-ec4f-4d5f-9342-c764737180f7', '8931b7ef-2f89-44c5-b7c2-730b898f2227', NULL, '420a6c52-7ac3-4919-8d82-db86daccdf7c', '85f13df2-ace9-49db-8f95-09abe7ec42f3', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('25a6124f-2b71-4c3a-91e2-2c8f586fa6ab', '8931b7ef-2f89-44c5-b7c2-730b898f2227', NULL, '2d941ad9-f2fe-4971-9825-2d921c2faa55', '420a6c52-7ac3-4919-8d82-db86daccdf7c', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('ea17742c-2de7-41f2-8918-f57fe9e4b617', '6d226408-de6e-497a-abbb-7a9c66cee762', NULL, '07a54611-1eaf-47b5-a60a-cd5daa940457', '0938e4de-6cc4-456c-808f-74559536537e', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('f5900e07-54c5-44c6-924d-3ac0fc9e1d9f', '6d226408-de6e-497a-abbb-7a9c66cee762', NULL, 'afc6a14a-f8c7-4c17-9b91-b615833bc002', '07a54611-1eaf-47b5-a60a-cd5daa940457', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('323d54e2-cb01-464e-a51d-7c46d23d6c34', NULL, '07a54611-1eaf-47b5-a60a-cd5daa940457', 'fd90820d-a08a-456d-ae81-53d384530c68', '07a54611-1eaf-47b5-a60a-cd5daa940457', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('2b688d8e-d63b-41ad-9b60-d83a526c86d3', '6d226408-de6e-497a-abbb-7a9c66cee762', NULL, '589444d1-ddc3-4c41-b153-1ccfce6f2586', 'c6be536b-27a3-4a27-8e9a-29a63502e10b', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('1097a17e-5a9b-4075-be4d-1203f3bcfe64', '6d226408-de6e-497a-abbb-7a9c66cee762', NULL, '07a54611-1eaf-47b5-a60a-cd5daa940457', '589444d1-ddc3-4c41-b153-1ccfce6f2586', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('daace39b-9ea2-4f1e-8586-5e254ad8cea2', '6d226408-de6e-497a-abbb-7a9c66cee762', NULL, 'd9ced1a5-6178-4a6e-9290-b5caadfa9a56', '1d96f733-ce69-43d5-a96e-70795d90717f', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('3af5af9b-8832-4f4d-8262-c69125d2300c', '6d226408-de6e-497a-abbb-7a9c66cee762', NULL, '589444d1-ddc3-4c41-b153-1ccfce6f2586', 'd9ced1a5-6178-4a6e-9290-b5caadfa9a56', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('0e8bdd6d-2b46-4f53-bf88-d1063f770973', 'eea4f215-2c8a-4d14-a9e7-82860faa5a42', NULL, '0d3bdf04-c0b4-4e4d-823d-f0b748b80460', '3533f183-c696-483e-b6e0-26255a21a8e4', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('21160b6c-1ca5-421d-8a40-18b1ce64551d', 'eea4f215-2c8a-4d14-a9e7-82860faa5a42', NULL, 'afc6a14a-f8c7-4c17-9b91-b615833bc002', '0d3bdf04-c0b4-4e4d-823d-f0b748b80460', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('61680a8b-2dd7-4c60-980a-1a2851ece69c', NULL, '0d3bdf04-c0b4-4e4d-823d-f0b748b80460', '1d51b7f2-30bf-4561-a584-079ab1c6f096', '0d3bdf04-c0b4-4e4d-823d-f0b748b80460', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('6209ec69-22da-45ff-adf3-9d0eba1d1168', 'eea4f215-2c8a-4d14-a9e7-82860faa5a42', NULL, '61a014d9-88cf-4966-a6db-df32fc6c0ab1', '666482c0-4cfb-4ba3-ae6f-6b1844493eb1', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('b6b1f658-1f78-4840-9b19-9ce7bb932466', 'eea4f215-2c8a-4d14-a9e7-82860faa5a42', NULL, '0d3bdf04-c0b4-4e4d-823d-f0b748b80460', '61a014d9-88cf-4966-a6db-df32fc6c0ab1', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('07256ddc-4f05-4fc0-88b0-03b04091edfd', 'eea4f215-2c8a-4d14-a9e7-82860faa5a42', NULL, '10892e70-ab5a-45a1-b5f8-86a5b0a13812', '4dc9b3e7-a8ad-402a-9743-192752197e9f', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('b9bee4ab-aa02-4328-b9da-e5e2cf5ac3cb', 'eea4f215-2c8a-4d14-a9e7-82860faa5a42', NULL, '61a014d9-88cf-4966-a6db-df32fc6c0ab1', '10892e70-ab5a-45a1-b5f8-86a5b0a13812', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('ddc0d30f-049b-4e19-937d-17d078554641', '6d1a20f7-2fd0-4c62-a304-1fc1eeedb59d', NULL, 'd0386fb6-0911-4534-9b64-d622e9940c5f', '87f63786-04ee-4b28-81ec-14a90047dd07', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('491e17b6-0dfd-4d61-8730-9a5a0fcd42bc', '6d1a20f7-2fd0-4c62-a304-1fc1eeedb59d', NULL, 'afc6a14a-f8c7-4c17-9b91-b615833bc002', 'd0386fb6-0911-4534-9b64-d622e9940c5f', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('53db5925-1832-4642-ae1d-0cd8bfe22228', NULL, 'd0386fb6-0911-4534-9b64-d622e9940c5f', '4f915955-263f-43f4-8556-4770f2227498', 'd0386fb6-0911-4534-9b64-d622e9940c5f', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('5202ed62-ceff-4929-bed1-4a4889bcf55c', '6d1a20f7-2fd0-4c62-a304-1fc1eeedb59d', NULL, 'ce54837c-5f96-4cc2-bfb2-ae2d648cbd13', '17f44032-ab36-4531-8c16-0762a497a6a5', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('37647124-6356-4805-89fc-48a20adefcaf', '6d1a20f7-2fd0-4c62-a304-1fc1eeedb59d', NULL, 'd0386fb6-0911-4534-9b64-d622e9940c5f', 'ce54837c-5f96-4cc2-bfb2-ae2d648cbd13', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('80e61b35-5eed-40a7-8c7f-334cc1c359a7', '6d1a20f7-2fd0-4c62-a304-1fc1eeedb59d', NULL, 'd04744da-b54e-4f1c-babb-40a5392dd7ad', 'f9d798ba-a93f-49d7-99c8-2bfd6b8c9000', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('26f815bc-ca53-41fb-824d-e62a9535cba2', '6d1a20f7-2fd0-4c62-a304-1fc1eeedb59d', NULL, 'ce54837c-5f96-4cc2-bfb2-ae2d648cbd13', 'd04744da-b54e-4f1c-babb-40a5392dd7ad', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('f1dcf187-1cd6-4887-a86d-b6b1c0df68d8', '195ef8b7-3c56-4ef4-8db6-47b4cf15d572', NULL, '45fbb4e3-92da-4a60-8437-9f7fc5289f19', '3548e5cc-735d-4416-96a9-16edb44a2033', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('791c6ab3-007d-4d99-abd6-b14eb8de8680', '195ef8b7-3c56-4ef4-8db6-47b4cf15d572', NULL, 'afc6a14a-f8c7-4c17-9b91-b615833bc002', '45fbb4e3-92da-4a60-8437-9f7fc5289f19', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('26a19cea-9eb9-42fa-9151-e516303334e5', NULL, '45fbb4e3-92da-4a60-8437-9f7fc5289f19', '072d9a7b-e602-431d-af72-be391ac7c711', '45fbb4e3-92da-4a60-8437-9f7fc5289f19', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('8193d7b1-95f6-4e00-9fa5-9e01c6eb23ca', '195ef8b7-3c56-4ef4-8db6-47b4cf15d572', NULL, '35c41304-1b36-43b0-ba77-14f3b9202ccc', 'c6767463-d297-4e51-9fd0-52e5fe81fb75', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('8d0f19f0-50bd-41b1-be2b-3f6591e3f754', '195ef8b7-3c56-4ef4-8db6-47b4cf15d572', NULL, '45fbb4e3-92da-4a60-8437-9f7fc5289f19', '35c41304-1b36-43b0-ba77-14f3b9202ccc', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('9cefe255-44d1-4373-acc9-5f1343c56043', '195ef8b7-3c56-4ef4-8db6-47b4cf15d572', NULL, '82a82410-5192-4cea-ac2d-698df4513de9', '8d11fb25-d2b6-49e1-9382-a8ac1417e982', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('806cb72e-8dce-4306-a3de-3f2114ec4095', '195ef8b7-3c56-4ef4-8db6-47b4cf15d572', NULL, '35c41304-1b36-43b0-ba77-14f3b9202ccc', '82a82410-5192-4cea-ac2d-698df4513de9', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('3bb1079b-ba5e-4cf9-ba15-3954219b5400', NULL, NULL, '69976fc3-19a0-41a5-9976-3b0a62561f53', 'cbff1b28-ba34-4af2-9b72-ac7c2ee64923', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('5c64a17a-fdc6-4125-b78b-367b737f0393', NULL, NULL, '21452821-c69d-4615-aa75-1a9af5fb904d', '479e6c05-3384-4674-9ba6-73169af0fdc2', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('2f0a7e27-06ac-4994-981d-83e3b611e6a3', NULL, NULL, '83395c0b-6e2c-4597-95a3-28734150bf68', 'c39a8975-d05e-413f-ab05-9232d2ece52b', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('7767aacb-266e-43a8-8f40-3abf68a62f2d', NULL, NULL, 'f5edf9d3-e506-41e9-8c02-0be4d3bbd494', 'e7de223c-8cae-4c61-b278-773043bc7b45', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('c3c8d96f-ed78-4537-9106-0ac5a93b9c18', NULL, NULL, '9f40ec38-70ad-426e-aa26-2b0dd2afee2e', 'a993fe9d-b75d-41f3-b5ce-f3c23d4b10bc', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('797fab56-0ca0-4186-a41e-3e3504c9c56d', NULL, NULL, '5a2b3a18-5711-4823-9dbb-d5391a6d8563', 'b208da56-8b31-461e-af6b-782c47e743d9', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('2d0783d5-43f0-41dc-bfe9-b5f9c8041f70', NULL, NULL, '9724cc00-bf80-4ad3-9889-323600c10eb4', '70f14bc1-0f85-4c75-8d00-79f4312f1fc9', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('67b44a0b-a9c3-4854-a82a-593a2c923da4', NULL, NULL, 'ccd7a35d-4c6f-461d-8b9a-ca95a1f86172', 'e5c6ab9b-6407-4f6d-a496-b03464b1ceb4', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('865bb693-260d-487c-bf6e-a7e26899561f', NULL, NULL, '2d941ad9-f2fe-4971-9825-2d921c2faa55', '658d0402-c0a8-45cd-99ad-3fa3e8e950b0', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('4f07002f-dffe-45f0-a2d5-756fea9353d3', NULL, NULL, '589444d1-ddc3-4c41-b153-1ccfce6f2586', '40c16524-d542-45e7-ab2d-9e30cb00ce28', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('b6c05730-01ed-4711-9e27-f6fc0e30247a', NULL, NULL, '61a014d9-88cf-4966-a6db-df32fc6c0ab1', '99e22069-e338-499d-9ba7-096402a0b262', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('a044ed9f-c839-4bc8-9436-60a113550ae8', NULL, NULL, 'ce54837c-5f96-4cc2-bfb2-ae2d648cbd13', '7fa170cc-11d6-45fd-a82c-8c77d3a4db2f', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('59eee408-a852-4f85-be4a-930dbf1fe439', NULL, NULL, '35c41304-1b36-43b0-ba77-14f3b9202ccc', 'c4d90988-1bcc-4afe-aff5-dedb58694561', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('3982a3f5-0fb3-490c-b2de-3f7f2c58d21b', '4ce59c0d-417c-4676-8de5-25aafd780613', NULL, '926a19f7-ea40-407c-a9a7-36933143cf32', 'd5a6734f-bcc9-4d02-8444-8744f975e996', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('d11c8690-f637-439d-8ca5-825c956f49bd', '4ce59c0d-417c-4676-8de5-25aafd780613', NULL, 'afc6a14a-f8c7-4c17-9b91-b615833bc002', '926a19f7-ea40-407c-a9a7-36933143cf32', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('dc4755f5-a711-48c6-8c27-1b24740b5ee5', NULL, '926a19f7-ea40-407c-a9a7-36933143cf32', 'bdcc7fef-52e9-4b4c-a0ad-1950d6a1aec4', '926a19f7-ea40-407c-a9a7-36933143cf32', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('511677bf-a401-485e-9dee-a49ad0e32f08', '4ce59c0d-417c-4676-8de5-25aafd780613', NULL, '943de460-96b3-40e9-a59f-5be6fb8dca03', '3ca84253-aede-4954-8974-4406048ae2e9', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('a07a7b89-3dad-46ad-aa38-479dd519caf9', '4ce59c0d-417c-4676-8de5-25aafd780613', NULL, '926a19f7-ea40-407c-a9a7-36933143cf32', '943de460-96b3-40e9-a59f-5be6fb8dca03', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('f5fcc8a8-d2df-453f-89db-fc6ec9817988', '4ce59c0d-417c-4676-8de5-25aafd780613', NULL, '943de460-96b3-40e9-a59f-5be6fb8dca03', '399b4c7e-93e2-4886-9fda-61b988a5ae29', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('268f35e2-1fec-43b4-b732-e16af766fa2f', '4ce59c0d-417c-4676-8de5-25aafd780613', NULL, 'ddab9e9f-db0b-4a8c-a7be-117fc2c963ec', '59c0e046-8833-4a00-b530-2b0cda55ee9d', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('f4b6e554-5d3a-4e83-8f92-f49ff392bed2', '4ce59c0d-417c-4676-8de5-25aafd780613', NULL, 'cde57d67-7a2c-47d1-8408-46bb662a97e1', 'ddab9e9f-db0b-4a8c-a7be-117fc2c963ec', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('3415b503-0c54-4c38-b8cc-e2bd8c2569db', '4ce59c0d-417c-4676-8de5-25aafd780613', NULL, '399b4c7e-93e2-4886-9fda-61b988a5ae29', 'ddab9e9f-db0b-4a8c-a7be-117fc2c963ec', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('399d21a6-6c60-4f2d-bc02-d18a18661af8', '4ce59c0d-417c-4676-8de5-25aafd780613', NULL, 'ddab9e9f-db0b-4a8c-a7be-117fc2c963ec', 'dfd9ff64-fab2-4f2e-ab9a-1e72780457bc', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('5121e04a-ed3f-417f-84bb-d5c71e393e33', '4ce59c0d-417c-4676-8de5-25aafd780613', NULL, 'ddab9e9f-db0b-4a8c-a7be-117fc2c963ec', '7654b8c5-6bcd-4153-b0d6-e32f400fff60', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('06b1d876-d74a-4ef8-a44b-1e1c3292bdd0', '4ce59c0d-417c-4676-8de5-25aafd780613', NULL, 'ddab9e9f-db0b-4a8c-a7be-117fc2c963ec', '35ee3fcb-0a9a-4944-8344-344cb501f277', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('6b6135dd-4677-4f4c-b79a-538b42c5ed67', '4ce59c0d-417c-4676-8de5-25aafd780613', NULL, '21452821-c69d-4615-aa75-1a9af5fb904d', '399b4c7e-93e2-4886-9fda-61b988a5ae29', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('713aa6c5-bec3-438f-8f21-a18a2b50b604', '4ce59c0d-417c-4676-8de5-25aafd780613', NULL, '69976fc3-19a0-41a5-9976-3b0a62561f53', '926a19f7-ea40-407c-a9a7-36933143cf32', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('0fbababe-2f2d-4c31-b56c-3f06ec49503c', '9090accb-cae9-4f85-8380-2c6d740b6520', NULL, 'ad50f362-4459-42aa-841e-b3534ace763f', 'c59c6253-8950-42e4-a1a2-bff8770d91d5', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('a9b3380d-515d-4fc6-a0e7-461823ed0f95', '9090accb-cae9-4f85-8380-2c6d740b6520', NULL, 'afc6a14a-f8c7-4c17-9b91-b615833bc002', 'ad50f362-4459-42aa-841e-b3534ace763f', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('13a75317-a964-4e83-a424-04d3c4d0bf3e', NULL, 'ad50f362-4459-42aa-841e-b3534ace763f', 'bdcc7fef-52e9-4b4c-a0ad-1950d6a1aec4', 'ad50f362-4459-42aa-841e-b3534ace763f', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('54e0883e-2d7e-40ba-be7e-cb8dacf51cb3', '9090accb-cae9-4f85-8380-2c6d740b6520', NULL, 'bf4c3c93-ba70-4e1e-adc5-4bc2a3ef17a6', 'b31d5cbc-86c6-4d56-803f-0f78966635d2', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('9a644e5f-a345-4021-94e2-e48e2d5bb028', '9090accb-cae9-4f85-8380-2c6d740b6520', NULL, 'ad50f362-4459-42aa-841e-b3534ace763f', 'bf4c3c93-ba70-4e1e-adc5-4bc2a3ef17a6', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('9422d6b2-d2c2-4c0c-81b7-12a385129ab8', '9090accb-cae9-4f85-8380-2c6d740b6520', NULL, 'bf4c3c93-ba70-4e1e-adc5-4bc2a3ef17a6', '27f496a9-f1f6-4cf0-a394-582a3c2ec244', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('15026565-f047-401e-857b-793c3ae97ecf', '9090accb-cae9-4f85-8380-2c6d740b6520', NULL, 'f19bdc0c-eb49-4740-a446-b35384d5d689', 'fabe799c-72f9-48d8-b037-9d219b3b5b8a', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('590a6275-2060-43e5-b5e5-9400c2807d56', '9090accb-cae9-4f85-8380-2c6d740b6520', NULL, 'cde57d67-7a2c-47d1-8408-46bb662a97e1', 'f19bdc0c-eb49-4740-a446-b35384d5d689', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('ec649d8a-6ae2-4c83-8fc0-93f95c5c08c4', '9090accb-cae9-4f85-8380-2c6d740b6520', NULL, '27f496a9-f1f6-4cf0-a394-582a3c2ec244', 'f19bdc0c-eb49-4740-a446-b35384d5d689', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('e7cc8e01-1777-44e7-91ee-4833cfb8cc78', '9090accb-cae9-4f85-8380-2c6d740b6520', NULL, 'f19bdc0c-eb49-4740-a446-b35384d5d689', 'dfd9ff64-fab2-4f2e-ab9a-1e72780457bc', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('d8c6387d-fbe2-4f25-9a08-82e8c732dbcd', '9090accb-cae9-4f85-8380-2c6d740b6520', NULL, 'f19bdc0c-eb49-4740-a446-b35384d5d689', '35ee3fcb-0a9a-4944-8344-344cb501f277', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('ed59af9c-6de0-4422-9939-b868f2fcaabb', '9090accb-cae9-4f85-8380-2c6d740b6520', NULL, 'f19bdc0c-eb49-4740-a446-b35384d5d689', '34041b9b-8453-492b-ae4b-7f94658d0952', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('e7b2a4c0-6a8d-4742-b66e-6c13741db19a', '9090accb-cae9-4f85-8380-2c6d740b6520', NULL, 'bf4c3c93-ba70-4e1e-adc5-4bc2a3ef17a6', '7816aeaf-4e2d-40b2-b466-1cc5937c4198', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('d2555417-48ed-4ecc-8378-b22dc5fa584e', '9090accb-cae9-4f85-8380-2c6d740b6520', NULL, '21452821-c69d-4615-aa75-1a9af5fb904d', '27f496a9-f1f6-4cf0-a394-582a3c2ec244', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('f6ac971e-e350-4342-889e-f1635666317f', '9090accb-cae9-4f85-8380-2c6d740b6520', NULL, '83395c0b-6e2c-4597-95a3-28734150bf68', 'ad50f362-4459-42aa-841e-b3534ace763f', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('88e9bcc6-5312-4a27-894f-3e746dd5bd2e', '7db0877f-0116-430f-9db3-c35a2b693d00', NULL, '5fa8de94-9c00-455d-9655-d0409224971e', 'eb7472ef-fa8d-4bbc-918d-72bb1383ce1d', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('80bb1f1f-cf7e-4787-b64b-9c81f6e8f91e', '7db0877f-0116-430f-9db3-c35a2b693d00', NULL, 'afc6a14a-f8c7-4c17-9b91-b615833bc002', '5fa8de94-9c00-455d-9655-d0409224971e', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('796dcd4a-bb7d-495c-81b0-415a6c98e8e2', NULL, '5fa8de94-9c00-455d-9655-d0409224971e', 'bdcc7fef-52e9-4b4c-a0ad-1950d6a1aec4', '5fa8de94-9c00-455d-9655-d0409224971e', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('debda381-4262-4afe-b5f2-7853aa6bcc45', '7db0877f-0116-430f-9db3-c35a2b693d00', NULL, '83a1630d-c711-4dd0-a467-5ed87feee835', 'a81e8ff5-c7b4-4daf-b066-a7210060b489', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('7336dbf6-453b-4d3d-8a55-c14802c86998', '7db0877f-0116-430f-9db3-c35a2b693d00', NULL, '5fa8de94-9c00-455d-9655-d0409224971e', '83a1630d-c711-4dd0-a467-5ed87feee835', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('fd06e7b2-a293-44ee-ad08-b2c23185500e', '7db0877f-0116-430f-9db3-c35a2b693d00', NULL, '83a1630d-c711-4dd0-a467-5ed87feee835', 'db2ecdbd-608e-4af8-898a-4c789ec60993', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('2a77263e-d397-45eb-83d4-31121a0b5aef', '7db0877f-0116-430f-9db3-c35a2b693d00', NULL, '95af5ad8-b74d-4cdc-9931-583c5e3d68f8', '9db735c2-4447-4768-a4aa-b90769c534ec', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('a592f3e4-927a-4596-9925-a452dff257a3', '7db0877f-0116-430f-9db3-c35a2b693d00', NULL, 'cde57d67-7a2c-47d1-8408-46bb662a97e1', '95af5ad8-b74d-4cdc-9931-583c5e3d68f8', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('4f215d51-895c-4899-aa70-3c4306725b1a', '7db0877f-0116-430f-9db3-c35a2b693d00', NULL, 'db2ecdbd-608e-4af8-898a-4c789ec60993', '95af5ad8-b74d-4cdc-9931-583c5e3d68f8', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('9088aa1a-9e51-4f8b-a320-b8187127ea52', '7db0877f-0116-430f-9db3-c35a2b693d00', NULL, '95af5ad8-b74d-4cdc-9931-583c5e3d68f8', 'dfd9ff64-fab2-4f2e-ab9a-1e72780457bc', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('1541a206-e20d-4fcf-bf5e-a9bac7504d08', '7db0877f-0116-430f-9db3-c35a2b693d00', NULL, '95af5ad8-b74d-4cdc-9931-583c5e3d68f8', '35ee3fcb-0a9a-4944-8344-344cb501f277', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('ed1a4314-f779-407a-ba1a-313f8dbd4663', '7db0877f-0116-430f-9db3-c35a2b693d00', NULL, '21452821-c69d-4615-aa75-1a9af5fb904d', 'db2ecdbd-608e-4af8-898a-4c789ec60993', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('63725828-b6c6-4029-9891-9b9ca308caf4', '7db0877f-0116-430f-9db3-c35a2b693d00', NULL, '21452821-c69d-4615-aa75-1a9af5fb904d', '5fa8de94-9c00-455d-9655-d0409224971e', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('ab20d3df-ad2a-4e90-9047-e350dad3a7e0', 'cefb9d07-7142-4a0e-a924-310534a2a516', NULL, '87fb27a9-3d42-4ea2-89cb-b1d21f87d5eb', '5303cc15-a309-44cd-9f15-ffa596d65070', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('6f702508-e886-4a29-9aae-0a36fc8bfa0b', 'cefb9d07-7142-4a0e-a924-310534a2a516', NULL, 'afc6a14a-f8c7-4c17-9b91-b615833bc002', '87fb27a9-3d42-4ea2-89cb-b1d21f87d5eb', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('8112ef62-b4c8-401c-81cd-4162cf2e1b57', NULL, '87fb27a9-3d42-4ea2-89cb-b1d21f87d5eb', 'bdcc7fef-52e9-4b4c-a0ad-1950d6a1aec4', '87fb27a9-3d42-4ea2-89cb-b1d21f87d5eb', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('8214f4e5-0bf3-4937-93df-3a83f997f5ae', 'cefb9d07-7142-4a0e-a924-310534a2a516', NULL, '45e9ba6d-f4d9-4d24-bed3-09207ae0db40', 'f68de70c-8733-440d-93c5-596306d359d0', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('de16a0d4-3ad4-4dc8-831a-79a6f1cc5ca1', 'cefb9d07-7142-4a0e-a924-310534a2a516', NULL, '87fb27a9-3d42-4ea2-89cb-b1d21f87d5eb', '45e9ba6d-f4d9-4d24-bed3-09207ae0db40', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('768d59f1-9fd3-4d19-8634-382630f9d7a2', 'cefb9d07-7142-4a0e-a924-310534a2a516', NULL, '45e9ba6d-f4d9-4d24-bed3-09207ae0db40', '7da9eb31-516f-488d-831f-0c25585aedc7', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('c3d23901-001a-469f-9ca6-c66ff3b413f7', 'cefb9d07-7142-4a0e-a924-310534a2a516', NULL, 'b5ab545c-b649-4c68-ac44-69349ebe8036', '423112db-0d7a-4670-892a-738460ac58d5', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('64aa5905-3739-4b87-9b77-e49d24c4d62c', 'cefb9d07-7142-4a0e-a924-310534a2a516', NULL, 'c542f563-0c30-4023-a057-9aa2d95341c8', 'b5ab545c-b649-4c68-ac44-69349ebe8036', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('c501554c-ce02-40a4-b77d-891032d404fc', 'cefb9d07-7142-4a0e-a924-310534a2a516', NULL, '7da9eb31-516f-488d-831f-0c25585aedc7', 'b5ab545c-b649-4c68-ac44-69349ebe8036', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('85d19e1d-7119-4e93-a133-2add089b7794', 'cefb9d07-7142-4a0e-a924-310534a2a516', NULL, 'b5ab545c-b649-4c68-ac44-69349ebe8036', '9dcd1cf4-2293-4352-9049-0b4d28c9f1cb', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('207dc983-8505-4b6e-9146-7e77db8677ed', 'cefb9d07-7142-4a0e-a924-310534a2a516', NULL, 'b5ab545c-b649-4c68-ac44-69349ebe8036', '7654b8c5-6bcd-4153-b0d6-e32f400fff60', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('7f5b43e8-4c00-4aac-bd64-ad80dd445bb3', 'cefb9d07-7142-4a0e-a924-310534a2a516', NULL, 'b5ab545c-b649-4c68-ac44-69349ebe8036', 'a70cbda3-6a50-481d-98b5-d780eb50fdfc', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('3b3ab8b9-3b82-454d-b87c-9c11395397fb', 'cefb9d07-7142-4a0e-a924-310534a2a516', NULL, '9724cc00-bf80-4ad3-9889-323600c10eb4', '7da9eb31-516f-488d-831f-0c25585aedc7', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('2fc16a06-1c62-4dbc-ad1e-efeb04f9edff', 'cefb9d07-7142-4a0e-a924-310534a2a516', NULL, '69976fc3-19a0-41a5-9976-3b0a62561f53', '87fb27a9-3d42-4ea2-89cb-b1d21f87d5eb', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('6fb1a410-b9a4-4241-a78f-b7cf70e8a943', '74ca4b73-4a8e-4658-8924-5bad48e77e71', NULL, '3a7f4942-6f62-46e5-9dc4-3d95e645f46a', '41b9adb1-6754-42ce-a8c3-07cb2a7d74be', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('756ed4c2-44d0-4b7e-8a27-237db593c71d', '74ca4b73-4a8e-4658-8924-5bad48e77e71', NULL, 'afc6a14a-f8c7-4c17-9b91-b615833bc002', '3a7f4942-6f62-46e5-9dc4-3d95e645f46a', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('50b642a4-6fa5-441f-aca1-3ee1de15f581', NULL, '3a7f4942-6f62-46e5-9dc4-3d95e645f46a', 'bdcc7fef-52e9-4b4c-a0ad-1950d6a1aec4', '3a7f4942-6f62-46e5-9dc4-3d95e645f46a', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('c893276f-332d-480d-b90a-783d4bbeddef', '74ca4b73-4a8e-4658-8924-5bad48e77e71', NULL, '69d0b389-2dd0-40f8-9802-ffc66a5d3291', 'e89394f7-13bd-490a-a8af-b56f04be9ac8', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('9acd4441-7858-4212-8275-6b4ae4f82ed4', '74ca4b73-4a8e-4658-8924-5bad48e77e71', NULL, '3a7f4942-6f62-46e5-9dc4-3d95e645f46a', '69d0b389-2dd0-40f8-9802-ffc66a5d3291', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('60af06c0-3e0a-4d3c-9f38-3e3c59688447', '74ca4b73-4a8e-4658-8924-5bad48e77e71', NULL, '69d0b389-2dd0-40f8-9802-ffc66a5d3291', '6530e1d9-eb2c-4fd9-b002-853f89affeec', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('991323c4-c619-4015-a345-f22e28129a49', '74ca4b73-4a8e-4658-8924-5bad48e77e71', NULL, '69f0ff8f-54f0-48bc-b5a0-0d1e0c69e2b5', 'd4ad5233-6ac5-404f-9c04-5e333d77145d', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('f0b23831-bd90-4252-8881-d99b9b3f80e1', '74ca4b73-4a8e-4658-8924-5bad48e77e71', NULL, 'c542f563-0c30-4023-a057-9aa2d95341c8', '69f0ff8f-54f0-48bc-b5a0-0d1e0c69e2b5', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('b7462b2e-041f-46e2-a518-8c62f3d8a9a8', '74ca4b73-4a8e-4658-8924-5bad48e77e71', NULL, '6530e1d9-eb2c-4fd9-b002-853f89affeec', '69f0ff8f-54f0-48bc-b5a0-0d1e0c69e2b5', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('6efb86d5-fac0-46c0-ad39-b7791f30b462', '74ca4b73-4a8e-4658-8924-5bad48e77e71', NULL, '69f0ff8f-54f0-48bc-b5a0-0d1e0c69e2b5', '9dcd1cf4-2293-4352-9049-0b4d28c9f1cb', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('cfb42ef4-2edf-4e92-8214-08a88f8fdff8', '74ca4b73-4a8e-4658-8924-5bad48e77e71', NULL, '69f0ff8f-54f0-48bc-b5a0-0d1e0c69e2b5', 'a70cbda3-6a50-481d-98b5-d780eb50fdfc', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('6517c01b-8f3a-4382-b331-d3cebcb49ac9', '74ca4b73-4a8e-4658-8924-5bad48e77e71', NULL, '69f0ff8f-54f0-48bc-b5a0-0d1e0c69e2b5', 'a5f8ffa9-00a4-4229-a9d5-95ff9e671309', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('62434e06-a430-4695-ac64-8b4e96432760', '74ca4b73-4a8e-4658-8924-5bad48e77e71', NULL, '69d0b389-2dd0-40f8-9802-ffc66a5d3291', 'bfa6fc54-b363-4a47-bcf7-b27d84669531', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('f874c73e-75e9-4833-9f1f-2ab3a0ce3e91', '74ca4b73-4a8e-4658-8924-5bad48e77e71', NULL, '9724cc00-bf80-4ad3-9889-323600c10eb4', '6530e1d9-eb2c-4fd9-b002-853f89affeec', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('22dde36d-6a49-4695-b5b2-69dfb9074d43', '74ca4b73-4a8e-4658-8924-5bad48e77e71', NULL, 'f5edf9d3-e506-41e9-8c02-0be4d3bbd494', '3a7f4942-6f62-46e5-9dc4-3d95e645f46a', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('2174ce1a-e7fb-4265-9fbd-9632606f3a07', 'bcee4fcb-c7a5-4191-8d4e-6b1d9dfe23c3', NULL, '8bba1df2-a018-4f08-ac0c-bb9d1fcac6d3', 'a26bcc60-b205-4477-96ea-bb515b25807c', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('8841b4ad-89eb-4689-a142-3ff1b88114b2', 'bcee4fcb-c7a5-4191-8d4e-6b1d9dfe23c3', NULL, 'afc6a14a-f8c7-4c17-9b91-b615833bc002', '8bba1df2-a018-4f08-ac0c-bb9d1fcac6d3', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('55d4a867-fd7a-4c7d-929d-4c420c032a1a', NULL, '8bba1df2-a018-4f08-ac0c-bb9d1fcac6d3', 'bdcc7fef-52e9-4b4c-a0ad-1950d6a1aec4', '8bba1df2-a018-4f08-ac0c-bb9d1fcac6d3', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('48451c17-6751-4b18-853e-4e5ccebccb8b', 'bcee4fcb-c7a5-4191-8d4e-6b1d9dfe23c3', NULL, '4a5bed60-bc5c-4131-9f5e-4d8fe0c1612e', '8d94ac7b-7755-4edc-a272-3af5a3ae9f26', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('5904d555-cf48-4cbc-ab88-c1231da60173', 'bcee4fcb-c7a5-4191-8d4e-6b1d9dfe23c3', NULL, '8bba1df2-a018-4f08-ac0c-bb9d1fcac6d3', '4a5bed60-bc5c-4131-9f5e-4d8fe0c1612e', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('b056fe8e-169a-47d9-bed7-e775ace4eb58', 'bcee4fcb-c7a5-4191-8d4e-6b1d9dfe23c3', NULL, '4a5bed60-bc5c-4131-9f5e-4d8fe0c1612e', '0fe24c9a-08a0-43f8-939e-e867af52bece', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('236881ae-607b-42c9-842a-7828448c4d10', 'bcee4fcb-c7a5-4191-8d4e-6b1d9dfe23c3', NULL, '5062fecc-90b8-4ef4-b336-fcbe9a73a6e0', '046aed6f-a51a-413d-a9d1-f0ea3f35f742', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('69555107-ec02-4caf-a2c4-14a11800b679', 'bcee4fcb-c7a5-4191-8d4e-6b1d9dfe23c3', NULL, 'c542f563-0c30-4023-a057-9aa2d95341c8', '5062fecc-90b8-4ef4-b336-fcbe9a73a6e0', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('224a2961-c375-49c2-ac43-5089ebb596ee', 'bcee4fcb-c7a5-4191-8d4e-6b1d9dfe23c3', NULL, '0fe24c9a-08a0-43f8-939e-e867af52bece', '5062fecc-90b8-4ef4-b336-fcbe9a73a6e0', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('ad10cd97-8ae5-4796-ab87-fadb79da04f8', 'bcee4fcb-c7a5-4191-8d4e-6b1d9dfe23c3', NULL, '5062fecc-90b8-4ef4-b336-fcbe9a73a6e0', '9dcd1cf4-2293-4352-9049-0b4d28c9f1cb', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('4a5a64bb-f8ef-432b-9a42-f18854cd35c7', 'bcee4fcb-c7a5-4191-8d4e-6b1d9dfe23c3', NULL, '5062fecc-90b8-4ef4-b336-fcbe9a73a6e0', 'a70cbda3-6a50-481d-98b5-d780eb50fdfc', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('cea010b7-7716-48ba-9e1b-9cf11fc53141', 'bcee4fcb-c7a5-4191-8d4e-6b1d9dfe23c3', NULL, '9724cc00-bf80-4ad3-9889-323600c10eb4', '0fe24c9a-08a0-43f8-939e-e867af52bece', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('1771c460-f36d-4dc8-98ce-a7527ba0309b', 'bcee4fcb-c7a5-4191-8d4e-6b1d9dfe23c3', NULL, '9724cc00-bf80-4ad3-9889-323600c10eb4', '8bba1df2-a018-4f08-ac0c-bb9d1fcac6d3', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('b91ea2cd-91cb-42af-8a97-15870d6690c3', '5c0f9fee-6087-4b83-bcb7-da8a525b8662', NULL, 'de8f642d-37c0-4498-8d2e-54ba4cddbd17', '448f3ff1-2606-4627-b798-b00b024ebecd', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('58bed239-8e58-44c9-82cb-4b4168a013a0', '5c0f9fee-6087-4b83-bcb7-da8a525b8662', NULL, 'afc6a14a-f8c7-4c17-9b91-b615833bc002', 'de8f642d-37c0-4498-8d2e-54ba4cddbd17', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('ed304961-aefa-431d-867a-45f732211407', NULL, 'de8f642d-37c0-4498-8d2e-54ba4cddbd17', 'bdcc7fef-52e9-4b4c-a0ad-1950d6a1aec4', 'de8f642d-37c0-4498-8d2e-54ba4cddbd17', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('1e5bc6b8-f469-4902-912d-4ae93a8d4674', '5c0f9fee-6087-4b83-bcb7-da8a525b8662', NULL, '260d863e-eb9f-441d-96d6-5a767f2e8973', '8e6515ac-362e-4e37-af76-9b48fce00d6f', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('4b26f82e-2a6c-4e88-ab7c-8900bece9515', '5c0f9fee-6087-4b83-bcb7-da8a525b8662', NULL, 'de8f642d-37c0-4498-8d2e-54ba4cddbd17', '260d863e-eb9f-441d-96d6-5a767f2e8973', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('51c38685-aa0e-4226-9568-92690cf7b5cb', '5c0f9fee-6087-4b83-bcb7-da8a525b8662', NULL, '260d863e-eb9f-441d-96d6-5a767f2e8973', '60ee51bd-f34c-4a9b-b692-c2476ab44de5', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('c2eab40b-64e3-4caa-be2c-0299100bb339', '5c0f9fee-6087-4b83-bcb7-da8a525b8662', NULL, '898325ca-b5e0-4c70-b301-3b9a141931c8', 'd3b44be0-0045-4d62-ad2c-9d8b6694c2f7', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('2def35ca-267d-41c5-98c0-edd262f25483', '5c0f9fee-6087-4b83-bcb7-da8a525b8662', NULL, '02ee24dd-092c-458d-81ed-5bcd06e946d7', '898325ca-b5e0-4c70-b301-3b9a141931c8', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('ba1fb7d7-f21d-45f0-b733-6afae9f2544b', '5c0f9fee-6087-4b83-bcb7-da8a525b8662', NULL, '60ee51bd-f34c-4a9b-b692-c2476ab44de5', '898325ca-b5e0-4c70-b301-3b9a141931c8', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('0282b8fc-9b81-4f14-8305-75404b9c23bc', '5c0f9fee-6087-4b83-bcb7-da8a525b8662', NULL, '898325ca-b5e0-4c70-b301-3b9a141931c8', '9b03c48b-38e5-42e7-97b1-83841034180d', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('c5c6262a-5f66-41db-a0e1-70fbe04c208e', '5c0f9fee-6087-4b83-bcb7-da8a525b8662', NULL, '898325ca-b5e0-4c70-b301-3b9a141931c8', '7654b8c5-6bcd-4153-b0d6-e32f400fff60', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('b646d7c2-b243-4d42-bf46-88db3de1b552', '5c0f9fee-6087-4b83-bcb7-da8a525b8662', NULL, '898325ca-b5e0-4c70-b301-3b9a141931c8', 'c7c42e30-f5fa-4eae-9c26-35d0756423af', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('ddc769be-6ee0-4c20-9e21-f0496b3132ab', '5c0f9fee-6087-4b83-bcb7-da8a525b8662', NULL, 'ccd7a35d-4c6f-461d-8b9a-ca95a1f86172', '60ee51bd-f34c-4a9b-b692-c2476ab44de5', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('f4e8304d-77f8-4437-9ad0-b0195ddb351e', '5c0f9fee-6087-4b83-bcb7-da8a525b8662', NULL, '69976fc3-19a0-41a5-9976-3b0a62561f53', 'de8f642d-37c0-4498-8d2e-54ba4cddbd17', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('e1f18bc3-3505-4a9f-8d30-73aeea84308c', '7a6b8585-8bcc-4bcc-a1f6-a905bfd2cb05', NULL, '572f4a8b-8aae-40cb-9a68-d561b297b2fe', 'ce68396e-a8a3-4eaf-a724-a6204d6ec27f', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('e270a5a5-00c5-4544-a1e7-0dc0d6db552c', '7a6b8585-8bcc-4bcc-a1f6-a905bfd2cb05', NULL, 'afc6a14a-f8c7-4c17-9b91-b615833bc002', '572f4a8b-8aae-40cb-9a68-d561b297b2fe', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('1ef67c1b-6207-4f7b-9e4c-d4e1a1391684', NULL, '572f4a8b-8aae-40cb-9a68-d561b297b2fe', 'bdcc7fef-52e9-4b4c-a0ad-1950d6a1aec4', '572f4a8b-8aae-40cb-9a68-d561b297b2fe', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('a55d86c1-7074-4095-9092-aa70396cb4ff', '7a6b8585-8bcc-4bcc-a1f6-a905bfd2cb05', NULL, 'ad4f7acf-c896-4e7b-8d99-a2d936999af8', '04f4c547-9f70-4cc0-874c-73924e4a0c8c', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('b40ac1cc-be86-4844-8ae2-1283c6fd5f10', '7a6b8585-8bcc-4bcc-a1f6-a905bfd2cb05', NULL, '572f4a8b-8aae-40cb-9a68-d561b297b2fe', 'ad4f7acf-c896-4e7b-8d99-a2d936999af8', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('da438057-0207-46a8-ad3d-0838c6a14ef6', '7a6b8585-8bcc-4bcc-a1f6-a905bfd2cb05', NULL, 'ad4f7acf-c896-4e7b-8d99-a2d936999af8', '49c014a2-4be5-482a-80c7-04d13ab81402', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('075704a3-217b-48f9-a3ce-b932ef7da095', '7a6b8585-8bcc-4bcc-a1f6-a905bfd2cb05', NULL, '288a3a2c-fc5c-4aa4-b14e-ede529d02bef', '686a425a-bf28-46da-b5ef-674d0a641214', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('2b70e355-e124-43a1-8cc3-0050e1379196', '7a6b8585-8bcc-4bcc-a1f6-a905bfd2cb05', NULL, '02ee24dd-092c-458d-81ed-5bcd06e946d7', '288a3a2c-fc5c-4aa4-b14e-ede529d02bef', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('396b35ae-0db5-42de-a850-72c82720cecd', '7a6b8585-8bcc-4bcc-a1f6-a905bfd2cb05', NULL, '49c014a2-4be5-482a-80c7-04d13ab81402', '288a3a2c-fc5c-4aa4-b14e-ede529d02bef', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('62d4884f-1f37-447d-90ad-a7592e684f7a', '7a6b8585-8bcc-4bcc-a1f6-a905bfd2cb05', NULL, '288a3a2c-fc5c-4aa4-b14e-ede529d02bef', '9b03c48b-38e5-42e7-97b1-83841034180d', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('a0c821e5-4966-461f-b10a-1d46f4395a0c', '7a6b8585-8bcc-4bcc-a1f6-a905bfd2cb05', NULL, '288a3a2c-fc5c-4aa4-b14e-ede529d02bef', 'c7c42e30-f5fa-4eae-9c26-35d0756423af', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('5ef9bdb2-d55e-4fad-9a50-c4a291bb41b2', '7a6b8585-8bcc-4bcc-a1f6-a905bfd2cb05', NULL, '288a3a2c-fc5c-4aa4-b14e-ede529d02bef', '51be412d-854a-4a70-82e9-e4f9e34a4834', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('df8a24b3-bfc5-4aef-b3ad-e521f1c610dc', '7a6b8585-8bcc-4bcc-a1f6-a905bfd2cb05', NULL, 'ad4f7acf-c896-4e7b-8d99-a2d936999af8', '5be17991-149b-484b-8386-01fc83b53a10', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('8f03a815-6487-4f82-b933-f79c599c13c3', '7a6b8585-8bcc-4bcc-a1f6-a905bfd2cb05', NULL, 'ccd7a35d-4c6f-461d-8b9a-ca95a1f86172', '49c014a2-4be5-482a-80c7-04d13ab81402', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('00a69136-e5ca-4346-aa75-cb3d75b361ef', '7a6b8585-8bcc-4bcc-a1f6-a905bfd2cb05', NULL, '9f40ec38-70ad-426e-aa26-2b0dd2afee2e', '572f4a8b-8aae-40cb-9a68-d561b297b2fe', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('d62335f0-e3ad-4cad-8b4c-25376361ae14', '0eba2cf6-e74b-4f41-bac5-9c0292f8e9e1', NULL, '2fe324b3-8ddf-4c56-98e1-511152108b2d', 'b70ad539-728d-4ae7-829b-5aaf9f82a6ec', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('5b9ac854-5eac-48ea-b1c0-2abbea9ebedb', '0eba2cf6-e74b-4f41-bac5-9c0292f8e9e1', NULL, 'afc6a14a-f8c7-4c17-9b91-b615833bc002', '2fe324b3-8ddf-4c56-98e1-511152108b2d', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('467f35b1-2c48-490a-a110-866b61fbc660', NULL, '2fe324b3-8ddf-4c56-98e1-511152108b2d', 'bdcc7fef-52e9-4b4c-a0ad-1950d6a1aec4', '2fe324b3-8ddf-4c56-98e1-511152108b2d', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('822d854b-acf8-424e-862e-fafa2a906498', '0eba2cf6-e74b-4f41-bac5-9c0292f8e9e1', NULL, '02616b32-c6fa-408b-97fc-d8fb1e8a641b', '1718d6ec-bd44-4b4c-8b96-ab324206580a', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('fc7c36ff-0f9e-4c3b-8957-7af4d3cf8964', '0eba2cf6-e74b-4f41-bac5-9c0292f8e9e1', NULL, '2fe324b3-8ddf-4c56-98e1-511152108b2d', '02616b32-c6fa-408b-97fc-d8fb1e8a641b', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('cd03b83f-c183-48c9-be97-04e716af9c6b', '0eba2cf6-e74b-4f41-bac5-9c0292f8e9e1', NULL, '02616b32-c6fa-408b-97fc-d8fb1e8a641b', 'e90b5799-82c7-4ee4-8e35-7f57cb523f94', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('826ebe01-24a3-43ae-bad8-1ec42e5cfc98', '0eba2cf6-e74b-4f41-bac5-9c0292f8e9e1', NULL, '998ff776-dd14-4180-9e73-a2ff618e08e6', '5828fda5-8474-4285-82d5-2188c65ab458', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('461e2010-fa7d-4d47-992d-b18bcb28c6cc', '0eba2cf6-e74b-4f41-bac5-9c0292f8e9e1', NULL, '02ee24dd-092c-458d-81ed-5bcd06e946d7', '998ff776-dd14-4180-9e73-a2ff618e08e6', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('5860cf35-2530-4c39-b17b-b1ac0f4c98e3', '0eba2cf6-e74b-4f41-bac5-9c0292f8e9e1', NULL, 'e90b5799-82c7-4ee4-8e35-7f57cb523f94', '998ff776-dd14-4180-9e73-a2ff618e08e6', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('86f74cf4-5ceb-4749-851e-570a82339dba', '0eba2cf6-e74b-4f41-bac5-9c0292f8e9e1', NULL, '998ff776-dd14-4180-9e73-a2ff618e08e6', '9b03c48b-38e5-42e7-97b1-83841034180d', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('31552437-3c0f-403c-82c8-ae3d2d7bb854', '0eba2cf6-e74b-4f41-bac5-9c0292f8e9e1', NULL, '998ff776-dd14-4180-9e73-a2ff618e08e6', 'c7c42e30-f5fa-4eae-9c26-35d0756423af', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('7d8b16f9-eead-4757-b7ec-8f1dcbb6662b', '0eba2cf6-e74b-4f41-bac5-9c0292f8e9e1', NULL, 'ccd7a35d-4c6f-461d-8b9a-ca95a1f86172', 'e90b5799-82c7-4ee4-8e35-7f57cb523f94', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('1915f7b8-0ac7-4a5d-8ca3-4df9fb40c796', '0eba2cf6-e74b-4f41-bac5-9c0292f8e9e1', NULL, 'ccd7a35d-4c6f-461d-8b9a-ca95a1f86172', '2fe324b3-8ddf-4c56-98e1-511152108b2d', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('585b2274-15d4-4a63-b3f8-7aaae61ce9ea', '83a4f8c9-9f65-4b7d-9ed6-963325a3ba7f', NULL, '1d8f7150-b928-4f7e-90d9-faa9d64bf128', 'a2dd86a3-b678-4a1b-a258-f5d69d198767', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('cfe23f8d-826b-4c60-956c-ad550510eb51', '83a4f8c9-9f65-4b7d-9ed6-963325a3ba7f', NULL, 'afc6a14a-f8c7-4c17-9b91-b615833bc002', '1d8f7150-b928-4f7e-90d9-faa9d64bf128', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('28a7219f-7e9a-4c46-b419-c7e120b0ccc8', NULL, '1d8f7150-b928-4f7e-90d9-faa9d64bf128', 'bdcc7fef-52e9-4b4c-a0ad-1950d6a1aec4', '1d8f7150-b928-4f7e-90d9-faa9d64bf128', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('484d2e89-2ff0-4487-b47c-b1b90ed32751', '83a4f8c9-9f65-4b7d-9ed6-963325a3ba7f', NULL, '4390cac7-7f27-4a60-8114-9d5e43045fbb', '78508ab6-9cc5-41d3-95d0-53ad967fe555', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('db5aaf89-ddd7-4486-b381-4c2f011dc5fb', '83a4f8c9-9f65-4b7d-9ed6-963325a3ba7f', NULL, '1d8f7150-b928-4f7e-90d9-faa9d64bf128', '4390cac7-7f27-4a60-8114-9d5e43045fbb', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('05471692-1260-49e1-babf-2c79cdafdfd7', '83a4f8c9-9f65-4b7d-9ed6-963325a3ba7f', NULL, '4390cac7-7f27-4a60-8114-9d5e43045fbb', '700a8e97-af5d-45a3-9a6b-0db0857b012d', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('1b3ab27e-0ffb-430e-bffb-2a8631228655', '83a4f8c9-9f65-4b7d-9ed6-963325a3ba7f', NULL, 'a8455ef5-5a4f-4ebb-bc28-dc7740e7523f', 'c0c4e7b4-147f-4677-9603-9df6b63bab19', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('26a2bc21-f50d-4aff-bc71-d5c50ba9faf7', '83a4f8c9-9f65-4b7d-9ed6-963325a3ba7f', NULL, 'b4fc3672-18fa-4f25-aa48-e7a91d73902b', 'a8455ef5-5a4f-4ebb-bc28-dc7740e7523f', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('196e8f74-058b-4ad5-89ec-4d3deb3b3cef', '83a4f8c9-9f65-4b7d-9ed6-963325a3ba7f', NULL, '700a8e97-af5d-45a3-9a6b-0db0857b012d', 'a8455ef5-5a4f-4ebb-bc28-dc7740e7523f', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('7c23da11-3e19-4f33-8593-9aec6e3e1066', '83a4f8c9-9f65-4b7d-9ed6-963325a3ba7f', NULL, 'a8455ef5-5a4f-4ebb-bc28-dc7740e7523f', '19a6e99d-d08c-447d-8fae-d9ba39e5bcba', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('5b023eb9-4288-49a6-8b47-3338d6307d70', '83a4f8c9-9f65-4b7d-9ed6-963325a3ba7f', NULL, 'a8455ef5-5a4f-4ebb-bc28-dc7740e7523f', '7654b8c5-6bcd-4153-b0d6-e32f400fff60', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('76309969-1622-4264-b2b3-7a68c59e67f1', '83a4f8c9-9f65-4b7d-9ed6-963325a3ba7f', NULL, 'a8455ef5-5a4f-4ebb-bc28-dc7740e7523f', '420a6c52-7ac3-4919-8d82-db86daccdf7c', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('27737185-7455-430d-b444-3308d1edf885', '83a4f8c9-9f65-4b7d-9ed6-963325a3ba7f', NULL, '2d941ad9-f2fe-4971-9825-2d921c2faa55', '700a8e97-af5d-45a3-9a6b-0db0857b012d', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('d99b8b7a-0d97-4a58-b15e-25984104efc0', '83a4f8c9-9f65-4b7d-9ed6-963325a3ba7f', NULL, '69976fc3-19a0-41a5-9976-3b0a62561f53', '1d8f7150-b928-4f7e-90d9-faa9d64bf128', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('4bbec1e6-f896-4f4b-81f8-deddfd497af3', 'c49b0faf-016d-4079-9ce2-2f0d3047f1ac', NULL, 'ea5a5579-6eaf-4c3d-9395-1fb7f36f4c54', '5c55efce-7166-4997-b3e9-f64d26dbf612', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('55d2deaf-c6fc-45d3-acf6-4b395e92ff56', 'c49b0faf-016d-4079-9ce2-2f0d3047f1ac', NULL, 'afc6a14a-f8c7-4c17-9b91-b615833bc002', 'ea5a5579-6eaf-4c3d-9395-1fb7f36f4c54', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('ff31db23-4450-4a30-bae7-143775055bf7', NULL, 'ea5a5579-6eaf-4c3d-9395-1fb7f36f4c54', 'bdcc7fef-52e9-4b4c-a0ad-1950d6a1aec4', 'ea5a5579-6eaf-4c3d-9395-1fb7f36f4c54', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('029c8d49-f558-4314-80c8-c01e11baefc2', 'c49b0faf-016d-4079-9ce2-2f0d3047f1ac', NULL, '5142ed31-f21b-4877-a35f-8a09fa5fb14c', '21b1f6f8-a34d-431b-a0b9-00259ac44618', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('131b208a-6bfd-418c-8994-a0cddc2fcc57', 'c49b0faf-016d-4079-9ce2-2f0d3047f1ac', NULL, 'ea5a5579-6eaf-4c3d-9395-1fb7f36f4c54', '5142ed31-f21b-4877-a35f-8a09fa5fb14c', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('4557b4a3-603c-48fc-bf33-08393498241a', 'c49b0faf-016d-4079-9ce2-2f0d3047f1ac', NULL, '5142ed31-f21b-4877-a35f-8a09fa5fb14c', '4f513678-c6cb-4d42-b2d9-e44038104f0c', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('3dcf8618-e92a-4b11-8342-b6a0a47ce256', 'c49b0faf-016d-4079-9ce2-2f0d3047f1ac', NULL, '43212e07-a99c-4ad3-91f5-a839d17fb4af', '8e6bb31b-e266-4598-8780-18ad63ff6045', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('da43b5af-bea9-4352-9530-d2ccba262380', 'c49b0faf-016d-4079-9ce2-2f0d3047f1ac', NULL, 'b4fc3672-18fa-4f25-aa48-e7a91d73902b', '43212e07-a99c-4ad3-91f5-a839d17fb4af', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('793e6a38-bd62-4991-aa2d-a5e5dbcd976c', 'c49b0faf-016d-4079-9ce2-2f0d3047f1ac', NULL, '4f513678-c6cb-4d42-b2d9-e44038104f0c', '43212e07-a99c-4ad3-91f5-a839d17fb4af', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('de409a60-855a-4fcb-a080-e0464eb6bf4c', 'c49b0faf-016d-4079-9ce2-2f0d3047f1ac', NULL, '43212e07-a99c-4ad3-91f5-a839d17fb4af', '19a6e99d-d08c-447d-8fae-d9ba39e5bcba', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('a875512c-b41a-472d-a72c-fec8740750cd', 'c49b0faf-016d-4079-9ce2-2f0d3047f1ac', NULL, '43212e07-a99c-4ad3-91f5-a839d17fb4af', '420a6c52-7ac3-4919-8d82-db86daccdf7c', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('fa12d6f6-4088-4ef3-adfc-cf804e12d439', 'c49b0faf-016d-4079-9ce2-2f0d3047f1ac', NULL, '43212e07-a99c-4ad3-91f5-a839d17fb4af', '32f84cbf-a88f-4a85-86c7-ef8dacb65f13', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('7e3ce650-18fc-42f5-b459-7f17d9ddef9e', 'c49b0faf-016d-4079-9ce2-2f0d3047f1ac', NULL, '5142ed31-f21b-4877-a35f-8a09fa5fb14c', '21f302be-fb10-48c6-92ce-c01f854e5a59', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('c2869d04-10d4-43c7-a376-8b240538de0f', 'c49b0faf-016d-4079-9ce2-2f0d3047f1ac', NULL, '2d941ad9-f2fe-4971-9825-2d921c2faa55', '4f513678-c6cb-4d42-b2d9-e44038104f0c', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('d424f560-79b8-47c6-af6a-7143a2148511', 'c49b0faf-016d-4079-9ce2-2f0d3047f1ac', NULL, '5a2b3a18-5711-4823-9dbb-d5391a6d8563', 'ea5a5579-6eaf-4c3d-9395-1fb7f36f4c54', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('be293bb2-aca9-4bd5-81bb-af8d247da2d5', '667be660-c8ac-48a5-91cf-655ae049bf55', NULL, '6f72f73e-7a63-45e3-b11b-97bf54a54f62', 'e5be077a-ed2f-444c-be8c-894c3809ad8b', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('fb6100fa-154a-488e-b09a-e11d270ac3b0', '667be660-c8ac-48a5-91cf-655ae049bf55', NULL, 'afc6a14a-f8c7-4c17-9b91-b615833bc002', '6f72f73e-7a63-45e3-b11b-97bf54a54f62', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('6ccfb0c6-b473-401e-87bd-60792003a16a', NULL, '6f72f73e-7a63-45e3-b11b-97bf54a54f62', 'bdcc7fef-52e9-4b4c-a0ad-1950d6a1aec4', '6f72f73e-7a63-45e3-b11b-97bf54a54f62', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('94daf21f-d536-417f-81a3-f6bbcd2fa076', '667be660-c8ac-48a5-91cf-655ae049bf55', NULL, 'd6b55eaa-193f-4fb9-9d4e-f0fa0f6db56d', '96af8640-dd74-475e-9922-809949c45590', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('f3d67e50-162d-4c71-9bb8-6d4b64b2ad8c', '667be660-c8ac-48a5-91cf-655ae049bf55', NULL, '6f72f73e-7a63-45e3-b11b-97bf54a54f62', 'd6b55eaa-193f-4fb9-9d4e-f0fa0f6db56d', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('73dd1434-a2d3-4be8-8c74-ca886affdc75', '667be660-c8ac-48a5-91cf-655ae049bf55', NULL, 'd6b55eaa-193f-4fb9-9d4e-f0fa0f6db56d', '09200181-ee51-415f-8a01-b2c4c4f532a5', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('ed14bc32-d151-4937-aa43-dc2f46553507', '667be660-c8ac-48a5-91cf-655ae049bf55', NULL, '469cbba3-724f-4e4e-b0a2-6b509d8537c7', '716139de-00aa-4069-a8d1-d7fdc73e892f', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('d097fed6-9a77-43b8-9400-87488493c00a', '667be660-c8ac-48a5-91cf-655ae049bf55', NULL, 'b4fc3672-18fa-4f25-aa48-e7a91d73902b', '469cbba3-724f-4e4e-b0a2-6b509d8537c7', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('07dd1366-1fc0-4d2c-981b-cfd7b07c1345', '667be660-c8ac-48a5-91cf-655ae049bf55', NULL, '09200181-ee51-415f-8a01-b2c4c4f532a5', '469cbba3-724f-4e4e-b0a2-6b509d8537c7', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('16f21f0c-e1d9-4c55-8647-b9fc1f1e603f', '667be660-c8ac-48a5-91cf-655ae049bf55', NULL, '469cbba3-724f-4e4e-b0a2-6b509d8537c7', '19a6e99d-d08c-447d-8fae-d9ba39e5bcba', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('d77875d2-3433-41cd-ad76-69540e160257', '667be660-c8ac-48a5-91cf-655ae049bf55', NULL, '469cbba3-724f-4e4e-b0a2-6b509d8537c7', '420a6c52-7ac3-4919-8d82-db86daccdf7c', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('8f0890bf-b8fa-43bc-8989-688255ded9c8', '667be660-c8ac-48a5-91cf-655ae049bf55', NULL, '2d941ad9-f2fe-4971-9825-2d921c2faa55', '09200181-ee51-415f-8a01-b2c4c4f532a5', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('da979804-6d68-471c-a429-f0ea8d0ab480', '667be660-c8ac-48a5-91cf-655ae049bf55', NULL, '2d941ad9-f2fe-4971-9825-2d921c2faa55', '6f72f73e-7a63-45e3-b11b-97bf54a54f62', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('021fe37a-1ef5-4c21-b86e-1942eb63e7d9', '63ab696c-163c-44b6-bd79-e82630923af2', NULL, 'cb928673-376a-40de-900b-34021f7ede66', '3fb55a5d-54f2-4a0d-ac05-b1eccc651f32', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('b470db3e-07f7-4016-927b-207c55cb48fc', '63ab696c-163c-44b6-bd79-e82630923af2', NULL, 'afc6a14a-f8c7-4c17-9b91-b615833bc002', 'cb928673-376a-40de-900b-34021f7ede66', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('1102c989-4767-41f8-97ba-13e492aacdec', NULL, 'cb928673-376a-40de-900b-34021f7ede66', 'bdcc7fef-52e9-4b4c-a0ad-1950d6a1aec4', 'cb928673-376a-40de-900b-34021f7ede66', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('47f6e41f-a5bd-4731-abe8-c6384a904238', '63ab696c-163c-44b6-bd79-e82630923af2', NULL, 'b0269de3-13ad-40de-8ab8-a11f99b1b2d8', '74590ece-16ac-4e29-b51e-d2b36e77edc0', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('81035fab-2ddb-45d7-878f-7a85ea3f8ee9', '63ab696c-163c-44b6-bd79-e82630923af2', NULL, 'cb928673-376a-40de-900b-34021f7ede66', 'b0269de3-13ad-40de-8ab8-a11f99b1b2d8', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('c5034755-4ceb-40c2-bf51-a54ea13017c2', '63ab696c-163c-44b6-bd79-e82630923af2', NULL, 'b0269de3-13ad-40de-8ab8-a11f99b1b2d8', 'c5077142-d0a8-4fd2-b617-4856c6ceebc2', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('8481d61e-fff6-4c64-a131-2e0e8b9ef16b', '63ab696c-163c-44b6-bd79-e82630923af2', NULL, '0cb05ed2-74ad-4f82-9670-6ee3928f134c', 'bedf6cbe-c4ef-45fd-baf3-a43ee8f3a2eb', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('d07ffe0c-a1ed-4532-9fce-8711ddc69e6b', '63ab696c-163c-44b6-bd79-e82630923af2', NULL, 'c9a6bfde-87e6-47bd-bee8-49d7c3f46b08', '0cb05ed2-74ad-4f82-9670-6ee3928f134c', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('c6f46a2f-ae8a-4baf-a88e-3e21fcdc388c', '63ab696c-163c-44b6-bd79-e82630923af2', NULL, 'c5077142-d0a8-4fd2-b617-4856c6ceebc2', '0cb05ed2-74ad-4f82-9670-6ee3928f134c', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('63c0bdd6-c699-4cb5-ad74-1ae07c2c75dd', '63ab696c-163c-44b6-bd79-e82630923af2', NULL, '0cb05ed2-74ad-4f82-9670-6ee3928f134c', '90cd8d25-ed92-4fba-ae4a-0d3fa9ade2e2', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('8e782880-cc06-4bf8-8226-033aa1eba07a', '63ab696c-163c-44b6-bd79-e82630923af2', NULL, '0cb05ed2-74ad-4f82-9670-6ee3928f134c', '7654b8c5-6bcd-4153-b0d6-e32f400fff60', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('9b218fb8-a24d-4e64-89ce-6ff7d9a7ca0e', '63ab696c-163c-44b6-bd79-e82630923af2', NULL, '0cb05ed2-74ad-4f82-9670-6ee3928f134c', 'a5f8ffa9-00a4-4229-a9d5-95ff9e671309', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('e93c30b9-0b14-4c5b-9327-900365c23e5e', '63ab696c-163c-44b6-bd79-e82630923af2', NULL, 'f5edf9d3-e506-41e9-8c02-0be4d3bbd494', 'c5077142-d0a8-4fd2-b617-4856c6ceebc2', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('36d334f7-041a-4178-97e1-595b8c0d4b1c', '63ab696c-163c-44b6-bd79-e82630923af2', NULL, '69976fc3-19a0-41a5-9976-3b0a62561f53', 'cb928673-376a-40de-900b-34021f7ede66', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('d1d5bf05-9cf3-4b5c-9d58-b84b7b6ffe34', '23c86f22-86df-46a1-bafb-816730494fe1', NULL, '45af5ae1-b7b4-4a19-93d6-612ca4898cb6', '63fd3409-f9b6-491e-a450-37e0e63f3dbc', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('3bda2c3b-34ec-4074-abaa-c5e308f043a1', '23c86f22-86df-46a1-bafb-816730494fe1', NULL, 'afc6a14a-f8c7-4c17-9b91-b615833bc002', '45af5ae1-b7b4-4a19-93d6-612ca4898cb6', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('ed88e147-3c02-4ac2-b2e8-d9587003937b', NULL, '45af5ae1-b7b4-4a19-93d6-612ca4898cb6', 'bdcc7fef-52e9-4b4c-a0ad-1950d6a1aec4', '45af5ae1-b7b4-4a19-93d6-612ca4898cb6', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('7479d0e3-3ceb-4a58-85a3-1150aecc28c2', '23c86f22-86df-46a1-bafb-816730494fe1', NULL, '79f17fd8-6bdc-4308-ad8a-525b66aa1202', 'b8f09985-647d-4396-b27e-d4937968db90', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('ea81bcf6-984f-4eb8-8de1-903027fa7fc4', '23c86f22-86df-46a1-bafb-816730494fe1', NULL, '45af5ae1-b7b4-4a19-93d6-612ca4898cb6', '79f17fd8-6bdc-4308-ad8a-525b66aa1202', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('742ec521-67f9-48dd-ba05-9e9698149048', '23c86f22-86df-46a1-bafb-816730494fe1', NULL, '79f17fd8-6bdc-4308-ad8a-525b66aa1202', '0699690f-54af-4635-9bf0-a2b2330467c2', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('52d75709-6dec-4946-8ddf-c89e7bed165a', '23c86f22-86df-46a1-bafb-816730494fe1', NULL, 'e7d994d2-df71-4e54-9e3c-a6885909f43a', '1a2511c9-b0bd-4827-9722-f6c469da74db', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('d24585de-d8f0-4a7d-9583-144cdb568574', '23c86f22-86df-46a1-bafb-816730494fe1', NULL, '02ee24dd-092c-458d-81ed-5bcd06e946d7', 'e7d994d2-df71-4e54-9e3c-a6885909f43a', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('315cae36-e377-43f7-883d-06d46d5a13b4', '23c86f22-86df-46a1-bafb-816730494fe1', NULL, '0699690f-54af-4635-9bf0-a2b2330467c2', 'e7d994d2-df71-4e54-9e3c-a6885909f43a', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('ad5f9913-00cd-4a3c-9518-8a54bd4e5160', '23c86f22-86df-46a1-bafb-816730494fe1', NULL, 'e7d994d2-df71-4e54-9e3c-a6885909f43a', '9b03c48b-38e5-42e7-97b1-83841034180d', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('03472eed-6080-48e9-b385-5b0346e30a09', '23c86f22-86df-46a1-bafb-816730494fe1', NULL, 'e7d994d2-df71-4e54-9e3c-a6885909f43a', 'a5f8ffa9-00a4-4229-a9d5-95ff9e671309', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('7f702c8f-d55f-48eb-adad-8933a91ed142', '23c86f22-86df-46a1-bafb-816730494fe1', NULL, 'f5edf9d3-e506-41e9-8c02-0be4d3bbd494', '0699690f-54af-4635-9bf0-a2b2330467c2', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('2727314d-7847-4306-9674-b6ff7fa2e41e', '23c86f22-86df-46a1-bafb-816730494fe1', NULL, 'f5edf9d3-e506-41e9-8c02-0be4d3bbd494', '45af5ae1-b7b4-4a19-93d6-612ca4898cb6', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('7cad3af1-be11-44c5-a9df-bf2dd6a807f9', '5a3b6183-d4d8-4e54-a680-95725e168700', NULL, '4b649075-2859-4ff0-8e51-f9c0694dd338', 'a9ab28fd-697a-4928-84f8-35eb331fe6bd', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('0941997e-28a7-4267-a0eb-100168800550', '5a3b6183-d4d8-4e54-a680-95725e168700', NULL, 'afc6a14a-f8c7-4c17-9b91-b615833bc002', '4b649075-2859-4ff0-8e51-f9c0694dd338', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('91e35863-e3bd-4044-a12a-bba1abc30e4e', NULL, '4b649075-2859-4ff0-8e51-f9c0694dd338', 'bdcc7fef-52e9-4b4c-a0ad-1950d6a1aec4', '4b649075-2859-4ff0-8e51-f9c0694dd338', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('cd36becc-e975-4087-95ee-6b3ba7e80989', '5a3b6183-d4d8-4e54-a680-95725e168700', NULL, '3dfcf95b-4037-4149-a4ac-ec3160925485', '2806e2a9-f6bc-4dc0-9dba-01e6fee95187', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('1fdb382a-a92f-455c-8b8b-650dd4e0a155', '5a3b6183-d4d8-4e54-a680-95725e168700', NULL, '4b649075-2859-4ff0-8e51-f9c0694dd338', '3dfcf95b-4037-4149-a4ac-ec3160925485', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('976373ec-ccd0-4285-9b72-79118ab6201d', '5a3b6183-d4d8-4e54-a680-95725e168700', NULL, '3dfcf95b-4037-4149-a4ac-ec3160925485', '030849d0-70ac-48a3-adc7-d6025424194a', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('177b8f50-3540-44e6-9808-5e815704e30e', '5a3b6183-d4d8-4e54-a680-95725e168700', NULL, '92dda33e-1138-445c-bf13-9bbb69c8d69b', 'cdca9ec3-0b0b-458e-b5c2-b0372b8f2d4e', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('7bdbee14-8cb3-4fd8-95e3-344edf4f6c02', '5a3b6183-d4d8-4e54-a680-95725e168700', NULL, '02ee24dd-092c-458d-81ed-5bcd06e946d7', '92dda33e-1138-445c-bf13-9bbb69c8d69b', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('5c1a6d84-ebb2-4299-9b01-ae2514ee17a2', '5a3b6183-d4d8-4e54-a680-95725e168700', NULL, '030849d0-70ac-48a3-adc7-d6025424194a', '92dda33e-1138-445c-bf13-9bbb69c8d69b', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('d1268c21-3a51-4deb-b5df-2437ba2f0926', '5a3b6183-d4d8-4e54-a680-95725e168700', NULL, '92dda33e-1138-445c-bf13-9bbb69c8d69b', '9b03c48b-38e5-42e7-97b1-83841034180d', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('c0708182-8cad-4438-a748-38b9d4bfff93', '5a3b6183-d4d8-4e54-a680-95725e168700', NULL, '92dda33e-1138-445c-bf13-9bbb69c8d69b', 'c7c42e30-f5fa-4eae-9c26-35d0756423af', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('14dd8217-c516-4eaa-918c-5c4f1738b75e', '5a3b6183-d4d8-4e54-a680-95725e168700', NULL, '92dda33e-1138-445c-bf13-9bbb69c8d69b', 'a5f8ffa9-00a4-4229-a9d5-95ff9e671309', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('c1f66f23-8e5a-440f-bc01-82c11893c086', '5a3b6183-d4d8-4e54-a680-95725e168700', NULL, 'f5edf9d3-e506-41e9-8c02-0be4d3bbd494', '030849d0-70ac-48a3-adc7-d6025424194a', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('f33cf7fb-a678-4539-8dfe-7eb2f105118d', '5a3b6183-d4d8-4e54-a680-95725e168700', NULL, 'ccd7a35d-4c6f-461d-8b9a-ca95a1f86172', '4b649075-2859-4ff0-8e51-f9c0694dd338', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('c58bab25-d684-4fe7-9ce7-0e60ff1d9320', NULL, NULL, 'afc6a14a-f8c7-4c17-9b91-b615833bc002', 'd31bc55a-3cef-46c4-8d10-1706ba3640ae', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('dc001ced-07ca-4645-8c08-7d2aa82d79cd', NULL, NULL, 'afc6a14a-f8c7-4c17-9b91-b615833bc002', '03c7b262-3dd4-4dd5-913d-95a54b7dc7ce', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('3707a4ae-2858-49f5-af6e-6fea2397d860', 'c27d1b0c-7e43-4b64-ae69-4317f51023ba', NULL, '926a19f7-ea40-407c-a9a7-36933143cf32', '9ffd0c37-7e38-467b-aa10-54fa4bea2b06', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('088b8db1-2bbb-47ce-8615-ce60a2576874', 'c27d1b0c-7e43-4b64-ae69-4317f51023ba', NULL, 'ddab9e9f-db0b-4a8c-a7be-117fc2c963ec', '40ec5666-8ee0-4484-873c-cbf9367475d9', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('ace80ee2-4fcd-4f56-9761-56eb66b1dbf6', 'c27d1b0c-7e43-4b64-ae69-4317f51023ba', NULL, '943de460-96b3-40e9-a59f-5be6fb8dca03', '9a565322-b9f9-4988-b0c6-22ccd045fb2e', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('1783d09c-f8a7-47fc-a06a-2be24aefcb57', 'c27d1b0c-7e43-4b64-ae69-4317f51023ba', NULL, '926a19f7-ea40-407c-a9a7-36933143cf32', 'd5df4b5f-2fec-4f6c-bf45-8bcc03ac0b66', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('93d272b9-9780-4442-8701-0b4bbaf5167f', 'c27d1b0c-7e43-4b64-ae69-4317f51023ba', NULL, '399b4c7e-93e2-4886-9fda-61b988a5ae29', 'da0744f7-4d11-4520-a64a-96e38a10f227', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('cef15c93-59f5-44e4-a6c9-60620d1cab7a', 'c27d1b0c-7e43-4b64-ae69-4317f51023ba', NULL, '399b4c7e-93e2-4886-9fda-61b988a5ae29', '28e1acb1-2a47-47b2-aa66-2b041d3a5fd5', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('a7cfaa57-1341-4729-9d1f-2e8e610aeb10', '11583dae-da71-4786-a61d-d70f51ce988e', NULL, '87fb27a9-3d42-4ea2-89cb-b1d21f87d5eb', 'a1d673b3-7cad-4c76-ae04-6de8308add65', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('e19687a6-a790-4b28-96b8-c8c215d5e4d7', '11583dae-da71-4786-a61d-d70f51ce988e', NULL, 'b5ab545c-b649-4c68-ac44-69349ebe8036', '9131a4a7-61d9-4622-be21-0b9851343606', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('da3fff79-1454-4e2d-8a58-b25a051fa3b1', '11583dae-da71-4786-a61d-d70f51ce988e', NULL, '45e9ba6d-f4d9-4d24-bed3-09207ae0db40', 'f7f740ac-2f38-44fa-8277-55010581a205', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('3433faf4-12ba-475e-a88c-12e275164095', '11583dae-da71-4786-a61d-d70f51ce988e', NULL, '87fb27a9-3d42-4ea2-89cb-b1d21f87d5eb', '1613d738-5907-4bc6-abce-911eddd3dc33', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('91b19760-bfa5-4e06-a037-68d37321eab9', '11583dae-da71-4786-a61d-d70f51ce988e', NULL, '7da9eb31-516f-488d-831f-0c25585aedc7', 'cbb47a7c-602c-4c34-aaab-1deb531147c6', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('22b2c7d8-e16e-4742-8231-ca64fa8692e3', '11583dae-da71-4786-a61d-d70f51ce988e', NULL, '7da9eb31-516f-488d-831f-0c25585aedc7', '452dba8c-1dee-4ea2-be7a-6a1cf6ec53b8', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('ab9e228f-11f3-43d0-b809-7939e7bbb9af', '7fe704c0-2e54-463e-891e-533f0274da76', NULL, 'de8f642d-37c0-4498-8d2e-54ba4cddbd17', '90d8f778-a2f7-4727-a306-4477450e61a7', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('b9b1cd92-d6d2-4f37-a09d-ff58e8a318d0', '7fe704c0-2e54-463e-891e-533f0274da76', NULL, '898325ca-b5e0-4c70-b301-3b9a141931c8', 'e63dfaa5-0072-4df2-9689-58a2ae260903', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('99da6a58-832c-48b9-b236-55a7c83ee30f', '7fe704c0-2e54-463e-891e-533f0274da76', NULL, '260d863e-eb9f-441d-96d6-5a767f2e8973', '06fa4a05-6359-4469-ba78-09876aedc34f', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('2102801d-93f4-43c1-9085-34c1455bb91d', '7fe704c0-2e54-463e-891e-533f0274da76', NULL, 'de8f642d-37c0-4498-8d2e-54ba4cddbd17', '0f9f3667-041f-4266-a5e8-72c4a516ccbf', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('c32f552f-bb54-4c5e-91e9-a14da21918ea', '7fe704c0-2e54-463e-891e-533f0274da76', NULL, '60ee51bd-f34c-4a9b-b692-c2476ab44de5', 'a6b33e97-a326-4d10-9d17-76c90e1c2012', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('02d05ca6-9ddd-4bad-a445-e18fb2240c17', '7fe704c0-2e54-463e-891e-533f0274da76', NULL, '60ee51bd-f34c-4a9b-b692-c2476ab44de5', '654aa3c9-19af-4ee5-a294-0fde31eb1657', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('f3ad9976-8ab6-42d0-b22f-ffc5de0975e9', '8d685609-a88e-4005-a265-994f34f28128', NULL, '1d8f7150-b928-4f7e-90d9-faa9d64bf128', '5390f731-c04f-4d6e-8482-6c623b51ddf3', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('c87b067e-2231-488b-b050-8bb956eebf17', '8d685609-a88e-4005-a265-994f34f28128', NULL, 'a8455ef5-5a4f-4ebb-bc28-dc7740e7523f', '2c3b2b5a-e8ed-4e3b-b0c0-660b0a4e554f', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('659546a0-0cee-4444-801a-eb78b4c073c3', '8d685609-a88e-4005-a265-994f34f28128', NULL, '4390cac7-7f27-4a60-8114-9d5e43045fbb', '55320cf2-82ac-40c6-9066-7d03657e8919', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('5c3f1dad-260a-4365-ace2-e8f1c086c9e0', '8d685609-a88e-4005-a265-994f34f28128', NULL, '1d8f7150-b928-4f7e-90d9-faa9d64bf128', 'c3a961d2-2f6e-4dcb-be4f-5c9adf192a14', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('60178c98-e593-4e72-906a-a2a1546c1f0d', '8d685609-a88e-4005-a265-994f34f28128', NULL, '700a8e97-af5d-45a3-9a6b-0db0857b012d', 'c6c2e373-d665-4fe0-bd36-5a9a738c183e', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('2f4109e2-ff4b-4a50-9b14-d5eb6fd8d2f1', '8d685609-a88e-4005-a265-994f34f28128', NULL, '700a8e97-af5d-45a3-9a6b-0db0857b012d', 'caa88278-934a-4006-9881-34bdf5aee37e', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('1bb839c9-5872-4a0a-b895-6d5ffc53a0e0', 'a48308b2-ab59-4bfc-ab21-eb0ff4389b18', NULL, 'cb928673-376a-40de-900b-34021f7ede66', '516c2804-5c3f-49bf-8cc0-a168796de948', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('31870eaf-52b1-4a98-8947-ff4b011eec3e', 'a48308b2-ab59-4bfc-ab21-eb0ff4389b18', NULL, '0cb05ed2-74ad-4f82-9670-6ee3928f134c', '456557c7-f3e8-4eca-8ac9-40e9d85a133d', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('e65bbe39-7ba7-4132-9846-593c399ece59', 'a48308b2-ab59-4bfc-ab21-eb0ff4389b18', NULL, 'b0269de3-13ad-40de-8ab8-a11f99b1b2d8', '6db4adc8-8f0b-4bdb-8103-a12bf33a6b14', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('4a713eb7-1278-40e9-a799-8122a0444c83', 'a48308b2-ab59-4bfc-ab21-eb0ff4389b18', NULL, 'cb928673-376a-40de-900b-34021f7ede66', 'cacea311-52f7-4cd9-99b7-b3ac7b7b043f', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('420f2bba-3202-4eb7-b3df-cd2729c76215', 'a48308b2-ab59-4bfc-ab21-eb0ff4389b18', NULL, 'c5077142-d0a8-4fd2-b617-4856c6ceebc2', '7a570fb0-5c2a-4f1c-a118-4294c625a681', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('37f3bb66-c2a2-41e0-86a7-6b8c33287bd7', 'a48308b2-ab59-4bfc-ab21-eb0ff4389b18', NULL, 'c5077142-d0a8-4fd2-b617-4856c6ceebc2', 'f9f6d4d4-1d49-4a0e-b4ea-66d1a177ee75', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('ca04f528-9759-45e3-8f65-7508a72240b7', '50b5215d-4fdc-48be-a196-22fbe9325efb', NULL, '182d7845-e866-448a-b758-77c6b08c96d8', '6d0dbb52-af7f-4136-984e-f85ba9b5f588', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('3d289612-497e-4384-97a0-64af964ae9ce', '50b5215d-4fdc-48be-a196-22fbe9325efb', NULL, 'afc6a14a-f8c7-4c17-9b91-b615833bc002', '182d7845-e866-448a-b758-77c6b08c96d8', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('46858e39-1c7f-4e57-a169-711acbd24aa0', NULL, '182d7845-e866-448a-b758-77c6b08c96d8', '4d8dee89-75e0-49a9-8078-2c4c478a9665', '182d7845-e866-448a-b758-77c6b08c96d8', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('1b811a98-79b2-44b6-9373-f5457eaeb6d9', '50b5215d-4fdc-48be-a196-22fbe9325efb', NULL, '3fea832b-423c-46a7-8b58-20132f86a1f2', '615ac8b2-0862-47fd-9484-bc885086b26d', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('0a2ba812-33c7-4bde-ae41-12094589c943', '50b5215d-4fdc-48be-a196-22fbe9325efb', NULL, '182d7845-e866-448a-b758-77c6b08c96d8', '3fea832b-423c-46a7-8b58-20132f86a1f2', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('56ccf032-3eb1-4dc7-b362-a064e048f2b2', '50b5215d-4fdc-48be-a196-22fbe9325efb', NULL, '5765745b-dbca-4a60-b699-a2c1705aacf1', '7f38985a-9537-4c82-bd1c-4702e61de51f', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('45d55215-5102-47b9-9499-d029cb3783c0', '50b5215d-4fdc-48be-a196-22fbe9325efb', NULL, '3fea832b-423c-46a7-8b58-20132f86a1f2', '5765745b-dbca-4a60-b699-a2c1705aacf1', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('f0235837-9619-4b9d-b197-967ee549c6b0', 'ba3b7687-f7ca-4520-ae16-6d3701fc5df9', NULL, '17e4e882-d1be-4cb8-90ec-b00b30cd0c59', '46ed17dd-faba-46c0-bff9-c0886ba335f7', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('9f621077-25ed-4afd-a375-9f9dab83cff6', 'ba3b7687-f7ca-4520-ae16-6d3701fc5df9', NULL, 'afc6a14a-f8c7-4c17-9b91-b615833bc002', '17e4e882-d1be-4cb8-90ec-b00b30cd0c59', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('c8ef3667-51f1-4779-8359-b89c6bd67bde', NULL, '17e4e882-d1be-4cb8-90ec-b00b30cd0c59', '41cb1f57-77f0-4cf3-a877-680418e29e3b', '17e4e882-d1be-4cb8-90ec-b00b30cd0c59', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('2408c493-9208-4ac2-ac1d-aa4d4cc9fddd', 'ba3b7687-f7ca-4520-ae16-6d3701fc5df9', NULL, '279700d9-00b9-45e3-b2d9-b20fa0b8810c', '3067c987-609d-4df6-8f9a-6ea135f60afa', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('b83bef60-b2a3-4d04-be28-d45a398c9d6f', 'ba3b7687-f7ca-4520-ae16-6d3701fc5df9', NULL, '17e4e882-d1be-4cb8-90ec-b00b30cd0c59', '279700d9-00b9-45e3-b2d9-b20fa0b8810c', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('e959d301-6f38-48ce-816c-0a765e97654d', 'ba3b7687-f7ca-4520-ae16-6d3701fc5df9', NULL, '9bd4c9b1-f8ae-4cf9-821c-a3ccc0fa36f6', 'ec7e672d-f5df-407e-9050-92adba41d733', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('55a36540-8fbf-43a5-8741-4acaf4468fe4', 'ba3b7687-f7ca-4520-ae16-6d3701fc5df9', NULL, '279700d9-00b9-45e3-b2d9-b20fa0b8810c', '9bd4c9b1-f8ae-4cf9-821c-a3ccc0fa36f6', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('b8fda796-0384-4167-9780-d51d6087b7bc', '33c27d3b-b8ea-4096-8d71-ee351ebed0a9', NULL, '8e7e5c39-f941-441c-aae2-2de5e160f6e4', 'bcc6e166-5595-4b00-baa1-766440aec048', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('b35aa38f-7c37-43ab-a36f-4830f996a499', '33c27d3b-b8ea-4096-8d71-ee351ebed0a9', NULL, 'afc6a14a-f8c7-4c17-9b91-b615833bc002', '8e7e5c39-f941-441c-aae2-2de5e160f6e4', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('67271ec3-7d0e-40e9-8281-f1af16e90102', NULL, '8e7e5c39-f941-441c-aae2-2de5e160f6e4', 'b0818c50-a43b-4e5f-837c-6cd0bfa6f2c0', '8e7e5c39-f941-441c-aae2-2de5e160f6e4', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('140fe527-e343-43c9-ba02-362cf05086cc', '33c27d3b-b8ea-4096-8d71-ee351ebed0a9', NULL, '9b3278e9-9156-4fd3-aa57-b7ac12cc7b3c', '98d996e7-403f-4773-9fbe-4b51c991736c', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('24d2731d-c7f7-4c65-970c-180d91982c37', '33c27d3b-b8ea-4096-8d71-ee351ebed0a9', NULL, '8e7e5c39-f941-441c-aae2-2de5e160f6e4', '9b3278e9-9156-4fd3-aa57-b7ac12cc7b3c', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('281a5ee0-1bc2-4c46-929e-6fed8bcfcdc1', '33c27d3b-b8ea-4096-8d71-ee351ebed0a9', NULL, 'fa5cdc5a-394a-44d3-a892-4e6485647527', '25585475-81b8-4556-b433-60fd14aebc19', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('2b86bffb-d516-4e81-8ac1-81f08b3b7304', '33c27d3b-b8ea-4096-8d71-ee351ebed0a9', NULL, '9b3278e9-9156-4fd3-aa57-b7ac12cc7b3c', 'fa5cdc5a-394a-44d3-a892-4e6485647527', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('2326183f-5f3a-4d59-a822-93c082fd74dc', '754ac83e-c0bb-4391-bc56-14636708b9c4', NULL, '18f90be5-7979-4f4b-a53e-326398e408a9', '83680b36-9bef-49fe-9461-ecff189b65f3', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('d4f262dc-13c6-418d-8312-75803502a4eb', '754ac83e-c0bb-4391-bc56-14636708b9c4', NULL, 'afc6a14a-f8c7-4c17-9b91-b615833bc002', '18f90be5-7979-4f4b-a53e-326398e408a9', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('2cc29cd7-314a-4476-8cd0-4a7671eb226e', NULL, '18f90be5-7979-4f4b-a53e-326398e408a9', '81536900-27e8-4b17-99f5-b957fd4a4426', '18f90be5-7979-4f4b-a53e-326398e408a9', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('c154b450-28b7-44ce-9495-361465a452d8', '754ac83e-c0bb-4391-bc56-14636708b9c4', NULL, 'b244fa4b-d0ab-4e7b-b959-b6f15fa74b23', 'e2c30de4-1d2f-40af-90d6-8016e727b0d7', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('a2cc1a63-a4c2-4a76-a572-2d5baf82b1b7', '754ac83e-c0bb-4391-bc56-14636708b9c4', NULL, '18f90be5-7979-4f4b-a53e-326398e408a9', 'b244fa4b-d0ab-4e7b-b959-b6f15fa74b23', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('9379a370-fe87-4be2-b0fa-fb0de3177124', '754ac83e-c0bb-4391-bc56-14636708b9c4', NULL, 'ecf437ed-5f47-4ffb-8bfb-456e929e5bce', '9253682c-c8c3-4e13-ad39-4e559db2e6d2', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('39ed05b0-512f-4a8f-a8b3-c9d652c22960', '754ac83e-c0bb-4391-bc56-14636708b9c4', NULL, 'b244fa4b-d0ab-4e7b-b959-b6f15fa74b23', 'ecf437ed-5f47-4ffb-8bfb-456e929e5bce', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('cd6c07f3-ef03-4617-b81c-07cc7622642e', 'b0ad26e4-3b28-4450-8a51-72a63112baea', NULL, 'a8c8215b-c170-49fe-9c7c-33ab0b46e1ef', '5d7e738c-56d5-4d39-911e-9dd9372822bc', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('ab5f03c6-31c5-4725-b032-f76e1013518f', 'b0ad26e4-3b28-4450-8a51-72a63112baea', NULL, 'afc6a14a-f8c7-4c17-9b91-b615833bc002', 'a8c8215b-c170-49fe-9c7c-33ab0b46e1ef', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('7ed0733b-71b4-454e-bd73-21b551f1236d', NULL, 'a8c8215b-c170-49fe-9c7c-33ab0b46e1ef', '7f239c0c-707e-486d-b38b-e39d51a84f11', 'a8c8215b-c170-49fe-9c7c-33ab0b46e1ef', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('b90eb493-79ce-44d7-b3bc-ff81647d69a7', 'b0ad26e4-3b28-4450-8a51-72a63112baea', NULL, '9559f353-1187-4e4c-bec5-54216ce48cf8', 'fce58004-a8ee-49c5-9fef-72ef022d9696', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('49ad491f-adc1-4abc-b7aa-7a9debf68ed0', 'b0ad26e4-3b28-4450-8a51-72a63112baea', NULL, 'a8c8215b-c170-49fe-9c7c-33ab0b46e1ef', '9559f353-1187-4e4c-bec5-54216ce48cf8', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('019630a7-e2c9-46ee-9f6f-ecb324586b33', 'b0ad26e4-3b28-4450-8a51-72a63112baea', NULL, 'c11f4188-22ab-408c-9b93-a10c1cdef357', 'c8204996-e351-4077-b607-8813595e9fb4', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('723cc711-fd24-4b1a-a18f-0b34ff0e12a8', 'b0ad26e4-3b28-4450-8a51-72a63112baea', NULL, '9559f353-1187-4e4c-bec5-54216ce48cf8', 'c11f4188-22ab-408c-9b93-a10c1cdef357', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('9d962519-e1bf-4f18-9682-5dce7e614607', '28813a5d-54c6-435e-b0a7-b78d858f874e', NULL, '6d984b48-29de-4ac2-9c17-9d527510c936', '35e2783b-8489-40d2-bb9b-38bc50e72038', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('9186e29a-5913-451c-b312-b9f403f7c73b', '28813a5d-54c6-435e-b0a7-b78d858f874e', NULL, 'afc6a14a-f8c7-4c17-9b91-b615833bc002', '6d984b48-29de-4ac2-9c17-9d527510c936', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('599bc2ec-3b7e-47ee-a193-fdd6e8fef27e', NULL, '6d984b48-29de-4ac2-9c17-9d527510c936', 'b502c841-3b77-4a4f-b979-e3e0a708022c', '6d984b48-29de-4ac2-9c17-9d527510c936', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('3d7df1d1-5e98-4add-ab3b-31013d5a38ca', '28813a5d-54c6-435e-b0a7-b78d858f874e', NULL, '2f98958a-f959-4f5e-9ca1-eced40ef5e68', '45ee7e96-1d79-483a-9349-5bfc1e79ded4', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('0a99bcc4-ef7a-4617-ad47-69c26ad2346b', '28813a5d-54c6-435e-b0a7-b78d858f874e', NULL, '6d984b48-29de-4ac2-9c17-9d527510c936', '2f98958a-f959-4f5e-9ca1-eced40ef5e68', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('bf7e5046-2e9a-4001-9590-67f0c410205f', '28813a5d-54c6-435e-b0a7-b78d858f874e', NULL, '91cf9d69-2998-4ee3-b666-17cbe2c5983e', '69cd0e18-d897-4959-b137-e79e9f82d913', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('eb4d5f8c-2219-4fdf-ad0e-e2e5b5cba57d', '28813a5d-54c6-435e-b0a7-b78d858f874e', NULL, '2f98958a-f959-4f5e-9ca1-eced40ef5e68', '91cf9d69-2998-4ee3-b666-17cbe2c5983e', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('381df64a-209e-477d-8a2b-542ef1e14920', '8b6362a1-d6d5-437e-980e-f1fe4043de6a', NULL, 'e6463959-eae0-4aa1-a09f-b143adc7280b', 'adcde1cd-f82d-458f-8ee4-d7e94bc9fd73', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('5e162221-5623-476e-9a99-51019edfb5ec', '8b6362a1-d6d5-437e-980e-f1fe4043de6a', NULL, 'afc6a14a-f8c7-4c17-9b91-b615833bc002', 'e6463959-eae0-4aa1-a09f-b143adc7280b', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('9b27d6fd-744f-4a4c-9248-13b0cc4ea507', NULL, 'e6463959-eae0-4aa1-a09f-b143adc7280b', '8891a19d-c2c7-4dd5-baff-60bad149012f', 'e6463959-eae0-4aa1-a09f-b143adc7280b', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('42e57089-a10d-417c-bebc-edd9d77050cc', '8b6362a1-d6d5-437e-980e-f1fe4043de6a', NULL, 'd9570ae8-1703-4297-9b0b-e2119cb0de6a', '819cc93b-9c06-41ce-ac21-4cded12ce169', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('3b2c0457-9c99-44da-a394-aba611c1141b', '8b6362a1-d6d5-437e-980e-f1fe4043de6a', NULL, 'e6463959-eae0-4aa1-a09f-b143adc7280b', 'd9570ae8-1703-4297-9b0b-e2119cb0de6a', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('ce5ed046-76cd-44e0-a602-d6ce1b01dc4a', '8b6362a1-d6d5-437e-980e-f1fe4043de6a', NULL, '612cbbc2-83cc-4c76-aea0-3b041b610e25', '4cde907f-26c9-4d3f-878f-4d101c4ea33b', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('4f227c83-4d04-4844-abd3-32412b0e913f', '8b6362a1-d6d5-437e-980e-f1fe4043de6a', NULL, 'd9570ae8-1703-4297-9b0b-e2119cb0de6a', '612cbbc2-83cc-4c76-aea0-3b041b610e25', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('a26fd15e-879b-4770-b200-0da1575310bb', '843b098d-12af-4980-b211-703a20192443', NULL, '418ab944-42ba-4e3b-b7dc-c9ae17ec48b8', '285d3725-e1bc-4581-b638-4df461746349', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('ab4b34c9-3c59-4723-9252-4fe68c718c75', '843b098d-12af-4980-b211-703a20192443', NULL, 'afc6a14a-f8c7-4c17-9b91-b615833bc002', '418ab944-42ba-4e3b-b7dc-c9ae17ec48b8', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('b5b37698-3aa0-4a28-8568-618aaa8f84f4', NULL, '418ab944-42ba-4e3b-b7dc-c9ae17ec48b8', '0594c065-f593-4f3f-acb1-f372bd4346f3', '418ab944-42ba-4e3b-b7dc-c9ae17ec48b8', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('dfe4c9b0-f79c-46c4-a14e-f6dd8760ce38', '843b098d-12af-4980-b211-703a20192443', NULL, 'b75a103b-9949-4d54-98e6-aca80190fa96', 'dd28280d-ae72-42ea-985f-1f1de85993e2', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('8aa876ba-bc5f-44ef-b942-2d25af24737e', '843b098d-12af-4980-b211-703a20192443', NULL, '418ab944-42ba-4e3b-b7dc-c9ae17ec48b8', 'b75a103b-9949-4d54-98e6-aca80190fa96', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('65bc68d7-86f0-4e9b-88bd-b8592b59c4ee', '843b098d-12af-4980-b211-703a20192443', NULL, '88bb00dd-0344-41b0-abaa-619f4779dc01', '85aba709-c42b-4cab-b8f7-f63d654e0170', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('e0e65d5a-7958-412a-9185-3778b732bde3', '843b098d-12af-4980-b211-703a20192443', NULL, 'b75a103b-9949-4d54-98e6-aca80190fa96', '88bb00dd-0344-41b0-abaa-619f4779dc01', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('4a0b6a12-8198-4361-9b4f-e900cf8cec20', NULL, NULL, 'afc6a14a-f8c7-4c17-9b91-b615833bc002', '8332f9ee-f387-4389-b9a0-8e95b7c4aa0e', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('9b950a63-701d-40f3-b1b8-3451c863bee9', '5b3529ca-f6da-495c-ad52-b0e4894a82b2', NULL, 'db2ecdbd-608e-4af8-898a-4c789ec60993', '5765745b-dbca-4a60-b699-a2c1705aacf1', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('6e3d1beb-6783-424f-a2e2-51227f0616fd', '5b3529ca-f6da-495c-ad52-b0e4894a82b2', NULL, '943de460-96b3-40e9-a59f-5be6fb8dca03', '83a1630d-c711-4dd0-a467-5ed87feee835', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('6fbe3765-74cb-44e6-b4a5-fadabaec147f', '5b3529ca-f6da-495c-ad52-b0e4894a82b2', NULL, '3fea832b-423c-46a7-8b58-20132f86a1f2', 'db2ecdbd-608e-4af8-898a-4c789ec60993', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('382c785a-0697-4e92-879a-2f1ba894937f', '5b3529ca-f6da-495c-ad52-b0e4894a82b2', NULL, '399b4c7e-93e2-4886-9fda-61b988a5ae29', 'db2ecdbd-608e-4af8-898a-4c789ec60993', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('9c9e798e-e66e-4522-84d7-8b1e0c8534ee', '5b3529ca-f6da-495c-ad52-b0e4894a82b2', NULL, 'db2ecdbd-608e-4af8-898a-4c789ec60993', 'ddab9e9f-db0b-4a8c-a7be-117fc2c963ec', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('1bfd26ae-c000-4057-9c4c-dfd23b3bf7bd', '5b3529ca-f6da-495c-ad52-b0e4894a82b2', NULL, '5fa8de94-9c00-455d-9655-d0409224971e', '09450839-b8b4-40cd-bc96-163b03233ce5', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('71864b76-8926-484d-8565-e7d6a4b4f5f8', '5b3529ca-f6da-495c-ad52-b0e4894a82b2', NULL, '95af5ad8-b74d-4cdc-9931-583c5e3d68f8', 'e15b64af-92ce-4bef-aca5-20092a79c04f', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('446e65e3-59f0-4fa5-b1c6-7051894fa653', '5b3529ca-f6da-495c-ad52-b0e4894a82b2', NULL, '83a1630d-c711-4dd0-a467-5ed87feee835', '77683856-587b-480a-9067-27bfaa3f80d1', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('a1803df8-8301-44fa-bbed-899e5818bc11', '5d5fa77a-455f-4603-8940-00af676b66aa', NULL, '0fe24c9a-08a0-43f8-939e-e867af52bece', 'fa5cdc5a-394a-44d3-a892-4e6485647527', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('e38b20a7-3b99-493b-ba23-829a748d1adc', '5d5fa77a-455f-4603-8940-00af676b66aa', NULL, '45e9ba6d-f4d9-4d24-bed3-09207ae0db40', '4a5bed60-bc5c-4131-9f5e-4d8fe0c1612e', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('3afde772-08d5-415d-a417-7914b49e127a', '5d5fa77a-455f-4603-8940-00af676b66aa', NULL, '9b3278e9-9156-4fd3-aa57-b7ac12cc7b3c', '0fe24c9a-08a0-43f8-939e-e867af52bece', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('6220ec9d-81ca-4a95-b069-3d2341e22032', '5d5fa77a-455f-4603-8940-00af676b66aa', NULL, '7da9eb31-516f-488d-831f-0c25585aedc7', '0fe24c9a-08a0-43f8-939e-e867af52bece', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('92a9b146-22bb-4d12-bc73-56d8a594a6ac', '5d5fa77a-455f-4603-8940-00af676b66aa', NULL, '0fe24c9a-08a0-43f8-939e-e867af52bece', 'b5ab545c-b649-4c68-ac44-69349ebe8036', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('197b2e8c-2ad0-40a0-8737-19401969c5d1', '5d5fa77a-455f-4603-8940-00af676b66aa', NULL, '8bba1df2-a018-4f08-ac0c-bb9d1fcac6d3', '443e3968-dbf6-46f1-aa7b-4303f87d6284', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('d05617fd-392a-4e47-a0ea-6ba4ddf83a49', '5d5fa77a-455f-4603-8940-00af676b66aa', NULL, '5062fecc-90b8-4ef4-b336-fcbe9a73a6e0', 'b8e49a03-d0e5-4ab8-9c06-4635af28ac91', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('036d02db-fbe7-43db-90d7-c8b687d4a517', '5d5fa77a-455f-4603-8940-00af676b66aa', NULL, '4a5bed60-bc5c-4131-9f5e-4d8fe0c1612e', '79b0400c-197f-4215-af56-c5a335adece4', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('3544ebd0-e198-486f-b884-672f20e439ad', 'd8cab65b-91be-4f1a-846b-887c95be1d38', NULL, 'e90b5799-82c7-4ee4-8e35-7f57cb523f94', 'ecf437ed-5f47-4ffb-8bfb-456e929e5bce', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('27dfa274-2a68-42c5-a3ba-87f97e477f0a', 'd8cab65b-91be-4f1a-846b-887c95be1d38', NULL, '260d863e-eb9f-441d-96d6-5a767f2e8973', '02616b32-c6fa-408b-97fc-d8fb1e8a641b', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('0a10a481-a0b8-49d9-9df1-a176e411bbd4', 'd8cab65b-91be-4f1a-846b-887c95be1d38', NULL, 'b244fa4b-d0ab-4e7b-b959-b6f15fa74b23', 'e90b5799-82c7-4ee4-8e35-7f57cb523f94', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('dea08304-ec4e-4305-abb1-3c9e63d3d877', 'd8cab65b-91be-4f1a-846b-887c95be1d38', NULL, '60ee51bd-f34c-4a9b-b692-c2476ab44de5', 'e90b5799-82c7-4ee4-8e35-7f57cb523f94', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('ef5213f3-ecac-41ea-b6bf-4b80afdde619', 'd8cab65b-91be-4f1a-846b-887c95be1d38', NULL, 'e90b5799-82c7-4ee4-8e35-7f57cb523f94', '898325ca-b5e0-4c70-b301-3b9a141931c8', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('b452915e-6ea7-41e1-9215-2b50187ed8bb', 'd8cab65b-91be-4f1a-846b-887c95be1d38', NULL, '2fe324b3-8ddf-4c56-98e1-511152108b2d', '5c63b912-4157-4569-8f49-d3a814cf6829', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('ecfddd6d-b11a-4784-97bb-4f4f948b0c51', 'd8cab65b-91be-4f1a-846b-887c95be1d38', NULL, '998ff776-dd14-4180-9e73-a2ff618e08e6', '0279db2c-3f3e-4e94-8be6-60ac909da107', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('62b7cf79-21b8-4bea-94c5-ecb36081e641', 'd8cab65b-91be-4f1a-846b-887c95be1d38', NULL, '02616b32-c6fa-408b-97fc-d8fb1e8a641b', '9b6c1276-e869-4fa8-842e-e7963c9aaea3', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('c7b578d3-6ceb-4ef0-9272-da818d218819', NULL, NULL, '83a1630d-c711-4dd0-a467-5ed87feee835', '8a87e2cb-1b22-4130-9ea9-000303fab945', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('683066c2-66df-41e8-801d-39eb9d253bd2', NULL, NULL, '4a5bed60-bc5c-4131-9f5e-4d8fe0c1612e', '09325b23-e854-4e4d-bf5a-89d54156c06b', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('19a5cad2-4d4b-47ac-8431-5a74eb75462a', NULL, NULL, '02616b32-c6fa-408b-97fc-d8fb1e8a641b', '8c5a9229-036e-4014-b760-0dd84e71fc46', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('cf49b444-165c-4cc4-bc35-02298c0a1bf2', NULL, NULL, 'd6b55eaa-193f-4fb9-9d4e-f0fa0f6db56d', '3f44701d-2cd5-4a78-8f6b-472e73af5068', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('00045e7f-1de6-44c4-bd71-4b59120cc1f3', NULL, NULL, '79f17fd8-6bdc-4308-ad8a-525b66aa1202', 'f6fe66ca-c5a9-4b21-ad37-a2716d4fee4c', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('58aaf740-db84-4bfc-8143-2b02b625194d', 'f1ce41de-5c44-4b5a-8c75-d32c9652df8c', NULL, 'e798f2a7-8f02-4657-81b3-a35445938928', '6fa7d3d9-a24f-4f38-b8ce-34262c867600', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('d16fee07-257e-4315-97ff-633404c5e018', 'f1ce41de-5c44-4b5a-8c75-d32c9652df8c', NULL, 'afc6a14a-f8c7-4c17-9b91-b615833bc002', 'e798f2a7-8f02-4657-81b3-a35445938928', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('079ea651-5b4a-4389-9a7b-b65487874b5d', NULL, 'e798f2a7-8f02-4657-81b3-a35445938928', 'bdcc7fef-52e9-4b4c-a0ad-1950d6a1aec4', 'e798f2a7-8f02-4657-81b3-a35445938928', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('37d4787c-857b-4a57-a719-1bbb36c8535f', 'f1ce41de-5c44-4b5a-8c75-d32c9652df8c', NULL, '655eb9fb-d2d6-4f72-b2c3-5a692e3204b9', 'cf85031e-f790-44f0-8d22-679726d0cdab', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('d9a5c43f-9f0d-41d7-8601-e498ceafd9bf', 'f1ce41de-5c44-4b5a-8c75-d32c9652df8c', NULL, 'e798f2a7-8f02-4657-81b3-a35445938928', '655eb9fb-d2d6-4f72-b2c3-5a692e3204b9', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('704aecd9-ae42-40e0-8352-ade3b1650c0d', 'f1ce41de-5c44-4b5a-8c75-d32c9652df8c', NULL, '655eb9fb-d2d6-4f72-b2c3-5a692e3204b9', 'cbdd535b-122a-464a-8c5b-458897f9ac50', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('76267b2f-6767-49af-afd5-53750be8fc28', 'f1ce41de-5c44-4b5a-8c75-d32c9652df8c', NULL, 'cbdd535b-122a-464a-8c5b-458897f9ac50', '5765745b-dbca-4a60-b699-a2c1705aacf1', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('596ffdf4-07b0-479e-85b0-3fede95ff35a', 'f1ce41de-5c44-4b5a-8c75-d32c9652df8c', NULL, 'cbdd535b-122a-464a-8c5b-458897f9ac50', 'db2ecdbd-608e-4af8-898a-4c789ec60993', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('6dac8b63-3fb2-4778-b749-e00515088a69', 'f1ce41de-5c44-4b5a-8c75-d32c9652df8c', NULL, 'ddd70217-d1b5-4c41-b1d2-5b970190bbc7', 'f4c7459e-3e76-4b4c-9294-cb3c35d86f2c', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('aaf3c6b4-9ad1-4beb-b093-89c504d27c79', 'f1ce41de-5c44-4b5a-8c75-d32c9652df8c', NULL, '3fea832b-423c-46a7-8b58-20132f86a1f2', 'ddd70217-d1b5-4c41-b1d2-5b970190bbc7', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('167728d5-4f86-4298-9fff-20dcdf8660f9', 'f1ce41de-5c44-4b5a-8c75-d32c9652df8c', NULL, 'db2ecdbd-608e-4af8-898a-4c789ec60993', 'ddd70217-d1b5-4c41-b1d2-5b970190bbc7', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('d8238ba0-3bd0-4322-89d8-a5e2a8bace41', 'f1ce41de-5c44-4b5a-8c75-d32c9652df8c', NULL, 'cbdd535b-122a-464a-8c5b-458897f9ac50', 'ddd70217-d1b5-4c41-b1d2-5b970190bbc7', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('d47dbda5-26e3-4181-a581-43841ae8fc9a', 'f1ce41de-5c44-4b5a-8c75-d32c9652df8c', NULL, 'ddd70217-d1b5-4c41-b1d2-5b970190bbc7', '95af5ad8-b74d-4cdc-9931-583c5e3d68f8', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('911e9ab8-1c25-4e70-b1c8-4b5a20dca02d', '2b5b7481-0bd4-43a7-bb97-1d96b1cbca68', NULL, '5e1fde1e-8aa9-48b4-8069-9fb368391887', 'df488bd9-41d5-42c4-a440-6c3010d4d436', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('fb98ea0d-a0f3-4f22-b275-3ad751f85fa0', '2b5b7481-0bd4-43a7-bb97-1d96b1cbca68', NULL, 'afc6a14a-f8c7-4c17-9b91-b615833bc002', '5e1fde1e-8aa9-48b4-8069-9fb368391887', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('2d91ab9a-9878-49e7-8455-6a4bbc1d0276', NULL, '5e1fde1e-8aa9-48b4-8069-9fb368391887', 'bdcc7fef-52e9-4b4c-a0ad-1950d6a1aec4', '5e1fde1e-8aa9-48b4-8069-9fb368391887', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('a43ec81c-d7bb-4f3d-aaea-687e17f1a4b1', '2b5b7481-0bd4-43a7-bb97-1d96b1cbca68', NULL, '9ceeccc9-b21d-44bb-ac4b-c430111e0297', '529a7657-de76-4e5d-a1d5-384947e8915d', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('2eff9877-8022-430a-8f37-16dd45b5a7c1', '2b5b7481-0bd4-43a7-bb97-1d96b1cbca68', NULL, '5e1fde1e-8aa9-48b4-8069-9fb368391887', '9ceeccc9-b21d-44bb-ac4b-c430111e0297', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('b8a32e18-e2a7-4e81-9de3-aec60badbaa1', '2b5b7481-0bd4-43a7-bb97-1d96b1cbca68', NULL, '9ceeccc9-b21d-44bb-ac4b-c430111e0297', 'fc123ec2-56db-4df9-a31b-ddafa0d75ed2', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('76ac10db-f674-4095-b3f1-423d32e3d581', '2b5b7481-0bd4-43a7-bb97-1d96b1cbca68', NULL, 'fc123ec2-56db-4df9-a31b-ddafa0d75ed2', 'fa5cdc5a-394a-44d3-a892-4e6485647527', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('2a73dc5f-67d6-4d95-bce7-8b7a6906fc16', '2b5b7481-0bd4-43a7-bb97-1d96b1cbca68', NULL, 'fc123ec2-56db-4df9-a31b-ddafa0d75ed2', '0fe24c9a-08a0-43f8-939e-e867af52bece', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('3b32f724-8a1f-4db8-b066-02eed1f2dd4b', '2b5b7481-0bd4-43a7-bb97-1d96b1cbca68', NULL, '6149ac62-1f9a-4801-b995-a4a58d80e4e4', '7d222a98-94ad-41c4-8a40-0b17afaefe75', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('a02fb84f-87f7-48a1-96c8-e3811f11215e', '2b5b7481-0bd4-43a7-bb97-1d96b1cbca68', NULL, '9b3278e9-9156-4fd3-aa57-b7ac12cc7b3c', '6149ac62-1f9a-4801-b995-a4a58d80e4e4', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('544beb0c-beb9-46ce-aea6-1c936da7b2e1', '2b5b7481-0bd4-43a7-bb97-1d96b1cbca68', NULL, '0fe24c9a-08a0-43f8-939e-e867af52bece', '6149ac62-1f9a-4801-b995-a4a58d80e4e4', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('e15a07de-5066-43ad-a476-7976f4a9c58a', '2b5b7481-0bd4-43a7-bb97-1d96b1cbca68', NULL, 'fc123ec2-56db-4df9-a31b-ddafa0d75ed2', '6149ac62-1f9a-4801-b995-a4a58d80e4e4', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('f910429d-35c7-4bc8-a59f-0f6a939c7f27', '2b5b7481-0bd4-43a7-bb97-1d96b1cbca68', NULL, '6149ac62-1f9a-4801-b995-a4a58d80e4e4', '5062fecc-90b8-4ef4-b336-fcbe9a73a6e0', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('dc38ef5f-98f3-4c9f-a5fd-81d40f7c8c7a', '3a909c22-3e39-47cc-bb75-22a69eeaf720', NULL, 'f8f17e79-3afe-424d-9eed-a72d71a8842c', '69b25d5a-8337-4bc7-b0d2-cd37ecd14b4b', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('86cc41a1-97fa-4dc9-b70b-f15b1479a313', '3a909c22-3e39-47cc-bb75-22a69eeaf720', NULL, 'afc6a14a-f8c7-4c17-9b91-b615833bc002', 'f8f17e79-3afe-424d-9eed-a72d71a8842c', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('1769c9f7-8cbc-4a5b-9ade-de1ea6e03ad4', NULL, 'f8f17e79-3afe-424d-9eed-a72d71a8842c', 'bdcc7fef-52e9-4b4c-a0ad-1950d6a1aec4', 'f8f17e79-3afe-424d-9eed-a72d71a8842c', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('b3c421bc-3bf7-4152-8865-1597a64560ef', '3a909c22-3e39-47cc-bb75-22a69eeaf720', NULL, '2058a61c-6387-40de-8c01-224242db669a', '91ae2adb-b9fb-4ef2-8c41-efef89fc0ea7', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('269aed06-0825-4a4d-9899-9cafa57a19ea', '3a909c22-3e39-47cc-bb75-22a69eeaf720', NULL, 'f8f17e79-3afe-424d-9eed-a72d71a8842c', '2058a61c-6387-40de-8c01-224242db669a', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('61e10eab-d6be-499c-b02c-69bdc5162bea', '3a909c22-3e39-47cc-bb75-22a69eeaf720', NULL, '2058a61c-6387-40de-8c01-224242db669a', '54d32de5-96ad-4e11-81e1-7e21fee79e0f', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('bf254d94-7fe1-4fb6-9f47-36f7c540414a', '3a909c22-3e39-47cc-bb75-22a69eeaf720', NULL, '54d32de5-96ad-4e11-81e1-7e21fee79e0f', 'ecf437ed-5f47-4ffb-8bfb-456e929e5bce', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('4cf3c878-6a67-4a71-b16f-53835c4d9419', '3a909c22-3e39-47cc-bb75-22a69eeaf720', NULL, '54d32de5-96ad-4e11-81e1-7e21fee79e0f', 'e90b5799-82c7-4ee4-8e35-7f57cb523f94', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('de0a4b21-0d98-48ec-af68-2a71be36bc95', '3a909c22-3e39-47cc-bb75-22a69eeaf720', NULL, '20fb1b3b-31a9-4f66-901a-99fe4ee8bf44', '42f3cf54-55dd-4352-8fc5-2727996f68cc', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('c086d4bf-523d-419d-8f00-41ad8173a180', '3a909c22-3e39-47cc-bb75-22a69eeaf720', NULL, 'b244fa4b-d0ab-4e7b-b959-b6f15fa74b23', '20fb1b3b-31a9-4f66-901a-99fe4ee8bf44', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('890c7cac-cab6-43de-baed-ea129486b388', '3a909c22-3e39-47cc-bb75-22a69eeaf720', NULL, 'e90b5799-82c7-4ee4-8e35-7f57cb523f94', '20fb1b3b-31a9-4f66-901a-99fe4ee8bf44', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('5b447651-fb5b-4be6-aed7-6d11cd0c31ce', '3a909c22-3e39-47cc-bb75-22a69eeaf720', NULL, '54d32de5-96ad-4e11-81e1-7e21fee79e0f', '20fb1b3b-31a9-4f66-901a-99fe4ee8bf44', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('12322e08-1d79-4f37-9491-bd01c4b1c810', '3a909c22-3e39-47cc-bb75-22a69eeaf720', NULL, '20fb1b3b-31a9-4f66-901a-99fe4ee8bf44', '998ff776-dd14-4180-9e73-a2ff618e08e6', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('4cb29f9b-9f9d-4581-af04-3696fa34300f', NULL, NULL, 'afc6a14a-f8c7-4c17-9b91-b615833bc002', 'e9adbd81-d37f-4190-aeab-9a18bb71f057', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('f1d57805-8b32-48c3-a0c0-c67c43ce241c', NULL, '13d87b00-978a-45a5-9223-02389aeeb777', 'bdcc7fef-52e9-4b4c-a0ad-1950d6a1aec4', '13d87b00-978a-45a5-9223-02389aeeb777', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('0bb4e5c9-1adc-48c3-b525-94f9f1d16c80', '4330e211-e36c-45ec-9332-f7593ff42811', NULL, 'f4926d93-063a-4959-b6fc-1db4d0d5653e', 'e8c3e08f-4e74-4db9-93aa-84d4191de467', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('1ba79829-8ca7-4a71-9327-abaace0cb1a9', '4330e211-e36c-45ec-9332-f7593ff42811', NULL, 'f4926d93-063a-4959-b6fc-1db4d0d5653e', 'ec76a594-0f58-44cc-8bc8-0e878f4c221b', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('8024592d-cae8-4c79-a29a-68d2a1a011ce', '4330e211-e36c-45ec-9332-f7593ff42811', NULL, '13d87b00-978a-45a5-9223-02389aeeb777', 'f4926d93-063a-4959-b6fc-1db4d0d5653e', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('7d6c0aef-0885-4e84-9e94-37e0e1dbcd2b', '4330e211-e36c-45ec-9332-f7593ff42811', NULL, '943de460-96b3-40e9-a59f-5be6fb8dca03', 'f4926d93-063a-4959-b6fc-1db4d0d5653e', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('3588ed44-79bb-40d8-bb13-e49d9f53613b', '4330e211-e36c-45ec-9332-f7593ff42811', NULL, 'a2bd22e3-a8ae-4088-b96a-8d5100b111ae', '8586cdba-d0d2-45a3-8149-b7445b6a580f', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('501699b4-6388-4eeb-9f7c-2a1f48d5ddb7', '4330e211-e36c-45ec-9332-f7593ff42811', NULL, 'f4926d93-063a-4959-b6fc-1db4d0d5653e', 'a2bd22e3-a8ae-4088-b96a-8d5100b111ae', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('e354f19f-a852-4f45-b467-b19a52b87557', '4330e211-e36c-45ec-9332-f7593ff42811', NULL, '399b4c7e-93e2-4886-9fda-61b988a5ae29', 'a2bd22e3-a8ae-4088-b96a-8d5100b111ae', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('1769f653-f3c8-470b-8744-c967c86514b9', '4330e211-e36c-45ec-9332-f7593ff42811', NULL, 'a2bd22e3-a8ae-4088-b96a-8d5100b111ae', 'ddab9e9f-db0b-4a8c-a7be-117fc2c963ec', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('0357fb61-74cd-4b82-8127-5699968e4c77', NULL, 'bde79965-6dbb-4d8b-a85f-f3398e815495', 'bdcc7fef-52e9-4b4c-a0ad-1950d6a1aec4', 'bde79965-6dbb-4d8b-a85f-f3398e815495', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('d5fdc9d8-2a14-417c-bd16-55dd47a9e114', 'bed3c145-aa55-425f-9211-be9f5e9f4ebe', NULL, 'e81132af-026a-4333-82b2-fae091761e55', '42b91310-d8ba-45fb-b359-5bb4d372d33e', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('d1f9acd7-5cef-4002-a368-195d68ca930c', 'bed3c145-aa55-425f-9211-be9f5e9f4ebe', NULL, 'e81132af-026a-4333-82b2-fae091761e55', 'e0a80aa3-ed0d-48a0-b1e3-2ba13a068334', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('9f71315e-a620-4ba9-bd2b-decf49a76d5d', 'bed3c145-aa55-425f-9211-be9f5e9f4ebe', NULL, 'bde79965-6dbb-4d8b-a85f-f3398e815495', 'e81132af-026a-4333-82b2-fae091761e55', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('9eb36a84-d06d-46bb-846d-fa0c77a78ede', 'bed3c145-aa55-425f-9211-be9f5e9f4ebe', NULL, '45e9ba6d-f4d9-4d24-bed3-09207ae0db40', 'e81132af-026a-4333-82b2-fae091761e55', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('888a26c9-8853-4f02-a9f8-08a90cb46221', 'bed3c145-aa55-425f-9211-be9f5e9f4ebe', NULL, '35628825-27df-48e2-979c-63619d535ec7', 'b2dd09df-4c04-4771-9b3e-a13aba911e2c', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('c0679186-0f84-43c0-ae6c-59740c91c28e', 'bed3c145-aa55-425f-9211-be9f5e9f4ebe', NULL, 'e81132af-026a-4333-82b2-fae091761e55', '35628825-27df-48e2-979c-63619d535ec7', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('37bb34e7-4364-4cae-9413-46de9399c87b', 'bed3c145-aa55-425f-9211-be9f5e9f4ebe', NULL, '7da9eb31-516f-488d-831f-0c25585aedc7', '35628825-27df-48e2-979c-63619d535ec7', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('5859beb7-e674-4cd3-a478-3983f84b05c4', 'bed3c145-aa55-425f-9211-be9f5e9f4ebe', NULL, '35628825-27df-48e2-979c-63619d535ec7', 'b5ab545c-b649-4c68-ac44-69349ebe8036', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('6fe2ed1a-e8ee-451c-a92f-9d9648d96612', NULL, '643b3b80-5ad3-4bfc-be99-f0a931ea601a', 'bdcc7fef-52e9-4b4c-a0ad-1950d6a1aec4', '643b3b80-5ad3-4bfc-be99-f0a931ea601a', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('a6b4b596-2a6e-4a11-8e4c-588998614896', 'a42d61c5-7dad-4379-9dd9-39a8d21ddc32', NULL, 'c8ca51cb-a2b6-453c-8f90-4ef7c1d2d5d9', '34e20ce9-98b7-433f-93c5-5de2382f7d13', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('f7b93e28-a947-4c78-8b98-467c5b09e31d', 'a42d61c5-7dad-4379-9dd9-39a8d21ddc32', NULL, 'c8ca51cb-a2b6-453c-8f90-4ef7c1d2d5d9', 'b57e53da-324e-4d59-beb9-9dcfe4b99c27', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('6082d173-5a6d-4f17-8d1b-1afbe726d21f', 'a42d61c5-7dad-4379-9dd9-39a8d21ddc32', NULL, '643b3b80-5ad3-4bfc-be99-f0a931ea601a', 'c8ca51cb-a2b6-453c-8f90-4ef7c1d2d5d9', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('28c83f1f-9f9e-4d7e-a7e6-b5330a06fead', 'a42d61c5-7dad-4379-9dd9-39a8d21ddc32', NULL, '260d863e-eb9f-441d-96d6-5a767f2e8973', 'c8ca51cb-a2b6-453c-8f90-4ef7c1d2d5d9', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('ae58dc25-f738-49bb-a9c6-8f3f5a4c65be', 'a42d61c5-7dad-4379-9dd9-39a8d21ddc32', NULL, '07993766-fac8-4c89-8efa-d3f21a5d7931', 'cfc6d138-80ae-4cda-a870-cca51f8a4dae', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('03587101-c46a-4825-939f-34a33b839068', 'a42d61c5-7dad-4379-9dd9-39a8d21ddc32', NULL, 'c8ca51cb-a2b6-453c-8f90-4ef7c1d2d5d9', '07993766-fac8-4c89-8efa-d3f21a5d7931', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('6e3767f6-96ab-4558-b0df-ced1f11ba225', 'a42d61c5-7dad-4379-9dd9-39a8d21ddc32', NULL, '60ee51bd-f34c-4a9b-b692-c2476ab44de5', '07993766-fac8-4c89-8efa-d3f21a5d7931', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('f377d20f-1154-46de-81c7-a2df04514bf8', 'a42d61c5-7dad-4379-9dd9-39a8d21ddc32', NULL, '07993766-fac8-4c89-8efa-d3f21a5d7931', '898325ca-b5e0-4c70-b301-3b9a141931c8', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('13b4ec74-8bff-466e-b617-5c3c91f5a42e', NULL, NULL, 'f4926d93-063a-4959-b6fc-1db4d0d5653e', '89271511-193e-44ba-bd85-7ffa2616df36', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('61774cb2-d5ce-48e8-9c04-71f5c5112997', NULL, NULL, 'e81132af-026a-4333-82b2-fae091761e55', 'c4d24b45-9c62-477e-a1f1-bc73e39434f0', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('1606ad50-e9fc-470f-841c-92d0cd489faf', NULL, NULL, 'c8ca51cb-a2b6-453c-8f90-4ef7c1d2d5d9', '575d5355-4937-4966-80ff-85d4be2fc783', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('8f0f03f3-66d0-428b-b2fb-b5df9cd8ef3f', 'fbe75170-bd97-4751-954a-58609e33f5c1', NULL, 'a2bd22e3-a8ae-4088-b96a-8d5100b111ae', '8e26528d-7a8d-4823-bf3a-157182e42840', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('74fbff21-c5bb-4beb-bf86-b6cdbda37dc5', 'fbe75170-bd97-4751-954a-58609e33f5c1', NULL, 'f4926d93-063a-4959-b6fc-1db4d0d5653e', 'd996683f-4047-47af-bd4c-cbf3e42e802f', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('ac5fc337-44a2-41fd-9907-4bfc4f0bdccc', '13c5c422-4f47-4191-8bd6-f6d7ee820de2', NULL, 'a2bd22e3-a8ae-4088-b96a-8d5100b111ae', '89234548-3644-477f-9fcc-7070d423547f', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('ae9be2b7-d1ec-4e04-b9ed-9811950fc08d', '13c5c422-4f47-4191-8bd6-f6d7ee820de2', NULL, 'f4926d93-063a-4959-b6fc-1db4d0d5653e', '01f7a098-b975-464c-b5b1-f4c473aa6abd', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('bb0d4114-88d2-40b1-a207-fb775c6edae3', '6c88beac-8b25-4adc-a0ee-ae46351c7687', NULL, 'a2bd22e3-a8ae-4088-b96a-8d5100b111ae', 'eb3c9d8b-1177-4eb1-92cd-4d28780978d0', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('fa5a9226-6f4a-49ff-874f-169aa94a989f', '6c88beac-8b25-4adc-a0ee-ae46351c7687', NULL, 'f4926d93-063a-4959-b6fc-1db4d0d5653e', '23d880a7-8096-46de-b204-81f9888db962', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('c44be6a6-a0db-45a5-ac82-acca96a5dd48', 'b7c65b95-9fb8-43b1-8b20-5f3b168c573a', NULL, 'a2bd22e3-a8ae-4088-b96a-8d5100b111ae', '470bd21a-a64d-4407-b084-ff480cc2c49e', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('7bc5abd6-a098-408f-b740-d1104ebd3392', 'b7c65b95-9fb8-43b1-8b20-5f3b168c573a', NULL, 'f4926d93-063a-4959-b6fc-1db4d0d5653e', '20add1b9-e47c-4dec-a757-2f36b0a98f29', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('6a00527a-10c7-4dfe-b4f9-aeb819514426', '42907488-176f-4662-9fb6-b819f1c5c306', NULL, '35628825-27df-48e2-979c-63619d535ec7', '7a76a8f1-f77a-401a-8445-3c74d991c869', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('c59158ac-e3df-42e3-8a55-f397ba574623', '42907488-176f-4662-9fb6-b819f1c5c306', NULL, 'e81132af-026a-4333-82b2-fae091761e55', 'e6a2962a-a128-4587-8788-cf0fe9f9b18e', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('d29e8492-54aa-40ee-90c6-c5dcd5ec99ac', '47b33cb7-44b3-4596-96e9-8a8e34aad841', NULL, '35628825-27df-48e2-979c-63619d535ec7', 'a56a4381-b906-4d27-b88e-0653ae72fc3e', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('dd8a6f45-32e3-4d00-b1a2-ef826c9f8ba6', '47b33cb7-44b3-4596-96e9-8a8e34aad841', NULL, 'e81132af-026a-4333-82b2-fae091761e55', '657d13fc-fa82-491a-9e87-c2ef3c89ae91', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('5379baa2-ca6b-4479-a753-359ce83648b7', '7931bf2e-a490-42f7-855d-a4b632b76b0e', NULL, '35628825-27df-48e2-979c-63619d535ec7', 'f709b0a6-7222-44dd-9bbe-c58ebe41ef24', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('ec9daef5-adb3-49f9-8cab-73f87e94e115', '7931bf2e-a490-42f7-855d-a4b632b76b0e', NULL, 'e81132af-026a-4333-82b2-fae091761e55', 'b74cc117-1f65-4d2c-a080-89b53b18af48', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('22fb9adb-cdc2-4d64-9fe7-15c44369916c', 'a2d13b57-6242-43a3-a26d-e640c385f925', NULL, '35628825-27df-48e2-979c-63619d535ec7', 'abb36dda-d309-456d-b25a-c5f6b0f8c22c', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('4833e76d-f5af-4908-a20c-da39e7ae0c61', 'a2d13b57-6242-43a3-a26d-e640c385f925', NULL, 'e81132af-026a-4333-82b2-fae091761e55', '4384b952-24c3-4d35-ae45-be3e7db43658', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('7a493458-8f41-422a-9bfb-9abaf2fe1547', 'bec4ce08-76ac-4b6d-93f8-62307fc4cd4b', NULL, '07993766-fac8-4c89-8efa-d3f21a5d7931', 'a092a4e5-dcfc-45b8-b5e6-c70036545c4d', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('330b1318-d6ae-4c63-a029-b9f315386fb1', 'bec4ce08-76ac-4b6d-93f8-62307fc4cd4b', NULL, 'c8ca51cb-a2b6-453c-8f90-4ef7c1d2d5d9', '79a4fb5f-60e6-4f6b-9534-e7096cd749c1', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('f0688dd7-7d8c-4ead-a834-45006a699499', '1e20d973-b79f-4b5b-bb9e-6a8af9513a35', NULL, '07993766-fac8-4c89-8efa-d3f21a5d7931', 'ee1e253a-2e60-41ca-a014-dd522669d2ea', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('3d2e275e-80b9-498c-aa72-dde2509471df', '1e20d973-b79f-4b5b-bb9e-6a8af9513a35', NULL, 'c8ca51cb-a2b6-453c-8f90-4ef7c1d2d5d9', '2ad44d60-aa28-4d06-979d-b9b0dfaf370f', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('dec7e15b-4c67-42a8-8c0c-257661b52363', '0737dc7d-1634-4e9a-a8d9-dd5d96ac2c61', NULL, '07993766-fac8-4c89-8efa-d3f21a5d7931', '28cc8d9e-7ccb-479c-b3ad-f01e8b26c536', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('52d7e2f0-b2c5-4cc2-bc9b-ca0243012a0e', '0737dc7d-1634-4e9a-a8d9-dd5d96ac2c61', NULL, 'c8ca51cb-a2b6-453c-8f90-4ef7c1d2d5d9', '212acd85-041a-481e-a578-e6a59bd115a5', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('f8255a26-3b5c-40a5-966d-c00d8fd324ec', 'dd1243f6-6a49-4cee-a45f-28d153bbc84e', NULL, '07993766-fac8-4c89-8efa-d3f21a5d7931', 'cae180e8-6a23-44ef-92d3-f1fe270fc300', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('28b91cf2-d297-421d-80ca-29a52f2a6793', 'dd1243f6-6a49-4cee-a45f-28d153bbc84e', NULL, 'c8ca51cb-a2b6-453c-8f90-4ef7c1d2d5d9', '5950c5a7-4afe-4d95-a7f4-26376fce76b1', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('0b79596e-642d-4fb7-a17c-b13f12487089', NULL, NULL, 'f4926d93-063a-4959-b6fc-1db4d0d5653e', 'd7dde6d6-0d8d-478d-89e4-93448eaff939', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('0394eb63-ece8-491f-9018-7ca8cac857d6', NULL, NULL, 'e81132af-026a-4333-82b2-fae091761e55', '6b7a97cd-5842-48cf-b82b-32e650f5e200', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('1d63fc9a-4e9a-4afc-b203-719e3aac21de', NULL, NULL, 'c8ca51cb-a2b6-453c-8f90-4ef7c1d2d5d9', '4781a17c-a119-4726-acec-647ab4178314', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('2c3e8d2d-c9f7-4b3c-a053-3b994b083804', '676ed5a4-28ad-4631-8d60-6f5d6ce322bc', NULL, 'a2bd22e3-a8ae-4088-b96a-8d5100b111ae', '4223af96-be57-43fe-8757-97f1fc7efe73', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('4c41a1e9-fbf9-4889-9d06-daefdea04ce4', '676ed5a4-28ad-4631-8d60-6f5d6ce322bc', NULL, 'f4926d93-063a-4959-b6fc-1db4d0d5653e', 'e0a2ad3c-6c4d-4f3f-8030-fc44d5c99cd9', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('154f8b3e-0560-4394-9cf8-57cf54c9385b', 'b627613a-10e4-435b-8f81-c7c31abe114b', NULL, 'a2bd22e3-a8ae-4088-b96a-8d5100b111ae', '7970eea3-ad13-4185-82a4-869946a82943', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('f787df1d-288a-4f01-ac3f-09f4df93e397', 'b627613a-10e4-435b-8f81-c7c31abe114b', NULL, 'f4926d93-063a-4959-b6fc-1db4d0d5653e', '810383b9-26cf-4faa-8655-cd89599a59c4', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('281ae2e9-3d13-4d6c-8b23-9838086493e9', '240d8194-43e0-455c-b759-aca1d68d129a', NULL, 'a2bd22e3-a8ae-4088-b96a-8d5100b111ae', 'af8aad0a-38a8-4b2e-b26d-466bb9efcb36', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('95c31da8-0873-44a1-b3cf-4fd776e3ef83', '240d8194-43e0-455c-b759-aca1d68d129a', NULL, 'f4926d93-063a-4959-b6fc-1db4d0d5653e', '2cf35377-01af-4114-a4b4-699c3ddec40f', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('9e8b3623-acf9-43de-8f67-38ce4bb168fb', '0cff5e6f-c936-4ba6-8eaa-dde92514b7f4', NULL, 'a2bd22e3-a8ae-4088-b96a-8d5100b111ae', '4237bb9a-cfb3-45c1-8c6f-b6e9acb68a92', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('afb2aa43-39d6-4a82-9b12-ed39506e5154', '0cff5e6f-c936-4ba6-8eaa-dde92514b7f4', NULL, 'f4926d93-063a-4959-b6fc-1db4d0d5653e', '82586c79-9d1c-410e-a9ad-a58921226ce6', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('209f4313-ea72-41f4-ad28-edc0d2d7aa62', '9c5fe71c-5a01-4769-96b3-f96d1fc96887', NULL, 'a2bd22e3-a8ae-4088-b96a-8d5100b111ae', '59784630-e4d4-4348-ac23-29a97458f818', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('0c5e5eb3-ef84-4349-9f2a-07b9fd23242a', '9c5fe71c-5a01-4769-96b3-f96d1fc96887', NULL, 'f4926d93-063a-4959-b6fc-1db4d0d5653e', '698c3f76-c309-48d6-a5fb-bba764dcc1f7', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('23188337-9310-4127-a6c8-49516c2b8839', 'c8dcdb55-672f-4152-865c-16907f83ff5a', NULL, 'a2bd22e3-a8ae-4088-b96a-8d5100b111ae', 'cf906251-f454-4731-b817-eb98ec0806e6', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('ce8966a2-d3c1-4ec7-80a3-c8f2b56ff33b', 'c8dcdb55-672f-4152-865c-16907f83ff5a', NULL, 'f4926d93-063a-4959-b6fc-1db4d0d5653e', '868e25ae-005e-4dee-b631-8d8921bacba5', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('bd4d3bea-e681-4464-8865-43fd9ff8827d', '88e5084c-472f-4c27-b51b-dc22dc13b9eb', NULL, '35628825-27df-48e2-979c-63619d535ec7', '34814cb8-baa1-409e-a706-c8eb0e635ff7', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('f5498d0f-1ca3-4a9d-9779-c25f596d6078', '88e5084c-472f-4c27-b51b-dc22dc13b9eb', NULL, 'e81132af-026a-4333-82b2-fae091761e55', 'fc7eda4d-73bc-4712-af0a-22a622c29156', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('42b5c913-d37c-4759-8b2c-c93f206412f0', '92ec36a4-d652-4051-9fc9-4d316fb2f0e6', NULL, '35628825-27df-48e2-979c-63619d535ec7', '99128846-713a-47f3-98ce-ef24d8e4158e', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('959a2be4-d4d0-41ef-8cc4-3f1cb8232a4c', '92ec36a4-d652-4051-9fc9-4d316fb2f0e6', NULL, 'e81132af-026a-4333-82b2-fae091761e55', '0aa035fd-e6b5-4ef6-8f98-8914da2d6d28', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('6a97856f-3bf1-4a38-b19b-35fd1e45f5b0', 'db57c933-f269-4a49-8d48-3412ed1674dd', NULL, '35628825-27df-48e2-979c-63619d535ec7', '74599a1a-6d80-4571-baae-9c2d908d0f1c', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('b6f306b8-c7c0-42b9-8d84-7cb226e64024', 'db57c933-f269-4a49-8d48-3412ed1674dd', NULL, 'e81132af-026a-4333-82b2-fae091761e55', 'b59da3aa-865c-4f53-8220-245d3b4e4c83', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('3173ea9e-97b8-40f2-830e-28cf0fe86f44', 'bf523f40-d58e-43d0-88a3-2f27e6a694dc', NULL, '35628825-27df-48e2-979c-63619d535ec7', '3abdb59e-14d2-4128-ad58-491ee3ea5a35', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('42e9899f-3388-4b71-a157-af22418ad7a7', 'bf523f40-d58e-43d0-88a3-2f27e6a694dc', NULL, 'e81132af-026a-4333-82b2-fae091761e55', '9b36937d-e5d0-457c-8707-beb9efa16748', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('90539e02-a329-420a-93d9-5adcce15a23d', '66174fa7-76cf-43e0-bb52-b8a8a0ca8008', NULL, '35628825-27df-48e2-979c-63619d535ec7', '9f7ff415-ceef-4614-9b20-1fb30986779b', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('b65cf6b0-c927-49d9-8214-b08aea475cfe', '66174fa7-76cf-43e0-bb52-b8a8a0ca8008', NULL, 'e81132af-026a-4333-82b2-fae091761e55', 'ce9c2fbe-a8d5-4507-8736-86152a83d408', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('b985b606-b9cc-45a7-a6b1-037f4b5d22d3', '2ead4c75-3e6a-405a-8e53-64c210372611', NULL, '35628825-27df-48e2-979c-63619d535ec7', '2e074648-b51b-4782-b283-fb401f6ee1bc', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('b81493bb-a54c-44c8-bed1-8006d3cf3fdb', '2ead4c75-3e6a-405a-8e53-64c210372611', NULL, 'e81132af-026a-4333-82b2-fae091761e55', '7f5f0fce-71c5-4f53-9d87-a43c1623ed86', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('18989e98-df8b-4560-9298-893f5c0b490b', 'f345fb37-7603-4ca7-934a-517dd801ae63', NULL, '07993766-fac8-4c89-8efa-d3f21a5d7931', '40dfa45a-022c-4fcb-876b-d9050a8fdccc', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('96f2e5a3-1e56-41a0-9aaf-76568ffe0426', 'f345fb37-7603-4ca7-934a-517dd801ae63', NULL, 'c8ca51cb-a2b6-453c-8f90-4ef7c1d2d5d9', '3796da6c-9ce7-4974-bdc3-6561ed88c022', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('54b6c3b7-6555-43d3-b63f-f8d996dd95fd', 'b6c0a950-f1b0-4b69-9c67-3b2de780cbdb', NULL, '07993766-fac8-4c89-8efa-d3f21a5d7931', 'ab290567-cb39-4339-90c1-1e5ccb185127', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('3e32dd58-3dee-4430-be46-e255d0eae6dd', 'b6c0a950-f1b0-4b69-9c67-3b2de780cbdb', NULL, 'c8ca51cb-a2b6-453c-8f90-4ef7c1d2d5d9', '3ecfe08d-3a10-4a8a-8ac1-1c0901e57002', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('7b8c086c-78c8-4e50-88e6-ee65215104ce', '890e8afe-1dcd-424d-8191-747af2d09ff4', NULL, '07993766-fac8-4c89-8efa-d3f21a5d7931', 'b0f2ae0a-7812-480e-ba03-b7c8dc9023e9', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('4033cd81-8e16-48b6-af9d-9d8550f81acb', '890e8afe-1dcd-424d-8191-747af2d09ff4', NULL, 'c8ca51cb-a2b6-453c-8f90-4ef7c1d2d5d9', '14fc443e-d5ec-4fea-95c4-dd0441ef5f33', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('05c408f5-b4aa-4ba9-88c3-3160a37228f0', '1478a182-927f-44fe-9da0-1e09108a7d7e', NULL, '07993766-fac8-4c89-8efa-d3f21a5d7931', '01d8356c-bc96-4c2a-b323-7fc64e81a90d', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('677d7575-9c21-4d83-ada9-11962993c639', '1478a182-927f-44fe-9da0-1e09108a7d7e', NULL, 'c8ca51cb-a2b6-453c-8f90-4ef7c1d2d5d9', '19a9de73-cc36-4749-9a3c-e36e07e88bf3', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('b3769317-084c-4531-954c-5c975c7e9cb4', 'c7ef7757-abff-4f30-a234-62ff69f8d032', NULL, '07993766-fac8-4c89-8efa-d3f21a5d7931', '2c6af4ff-0644-4df6-97a0-69c8af1a0a85', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('80dd58ae-ddf7-4aa6-8ac9-1786efe01993', 'c7ef7757-abff-4f30-a234-62ff69f8d032', NULL, 'c8ca51cb-a2b6-453c-8f90-4ef7c1d2d5d9', '64406a89-05c6-403c-a33f-3ebb75e3af1a', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('54a144a6-d90c-411d-8a2f-732a927c8213', '7c86e357-7d6a-4f5a-a3cc-d4f6958dbf60', NULL, '07993766-fac8-4c89-8efa-d3f21a5d7931', 'adb92385-51b4-4662-b916-4c67082c5176', true);
INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('88f42463-fc14-47c2-89fc-cb6676329cc8', '7c86e357-7d6a-4f5a-a3cc-d4f6958dbf60', NULL, 'c8ca51cb-a2b6-453c-8f90-4ef7c1d2d5d9', '038c505b-0145-4943-8835-ed64861fe269', true);
--
-- Data for Name: object; Type: TABLE DATA; Schema: rbac; Owner: postgres
--
INSERT INTO rbac.object (uuid, serialid, objecttable) VALUES ('fb819667-b171-4b6e-ae3e-31c6a40d4be8', 1, 'rbac.global');
INSERT INTO rbac.object (uuid, serialid, objecttable) VALUES ('dbbfdc0a-a952-4886-b6df-a242f80b1233', 2, 'rbactest.customer');
INSERT INTO rbac.object (uuid, serialid, objecttable) VALUES ('03b1f749-8010-4c9c-a256-3911d64385a0', 3, 'rbactest.customer');
INSERT INTO rbac.object (uuid, serialid, objecttable) VALUES ('ccbb2b4b-68cd-4fd6-8467-2357874a3eab', 4, 'rbactest.customer');
INSERT INTO rbac.object (uuid, serialid, objecttable) VALUES ('1f378616-047c-4cf3-a70b-54c88f9608d6', 5, 'rbactest.package');
INSERT INTO rbac.object (uuid, serialid, objecttable) VALUES ('5a10e27a-311d-4527-b0ac-38f2fd6e16c4', 6, 'rbactest.package');
INSERT INTO rbac.object (uuid, serialid, objecttable) VALUES ('dd13db03-932e-4c71-9ae7-ff197cc02341', 7, 'rbactest.package');
INSERT INTO rbac.object (uuid, serialid, objecttable) VALUES ('9464ead9-4f16-477c-bf3b-14669a9c42be', 8, 'rbactest.package');
INSERT INTO rbac.object (uuid, serialid, objecttable) VALUES ('a6b15d0a-f7a3-4c40-8fe6-cbb62c2a868b', 9, 'rbactest.package');
INSERT INTO rbac.object (uuid, serialid, objecttable) VALUES ('3c243156-033e-4e72-96cf-5e204d04900c', 10, 'rbactest.package');
INSERT INTO rbac.object (uuid, serialid, objecttable) VALUES ('b2f57e12-f448-4b73-9b16-0f39b1eb101d', 11, 'rbactest.package');
INSERT INTO rbac.object (uuid, serialid, objecttable) VALUES ('5ffddd10-8ef2-4e3f-a62d-8971e0d1afb3', 12, 'rbactest.package');
INSERT INTO rbac.object (uuid, serialid, objecttable) VALUES ('7154bf1a-2801-4e65-9d74-5bce9d9b429f', 13, 'rbactest.package');
INSERT INTO rbac.object (uuid, serialid, objecttable) VALUES ('35e7e703-d051-48f2-b8cd-893575ec22d5', 14, 'rbactest.domain');
INSERT INTO rbac.object (uuid, serialid, objecttable) VALUES ('69acd255-c446-4fcb-9175-30ac8139a69c', 15, 'rbactest.domain');
INSERT INTO rbac.object (uuid, serialid, objecttable) VALUES ('1b25341f-3344-4378-a7ba-4a10a5180083', 16, 'rbactest.domain');
INSERT INTO rbac.object (uuid, serialid, objecttable) VALUES ('18a43fac-4e7d-4ea3-8d2c-ecc95666bda4', 17, 'rbactest.domain');
INSERT INTO rbac.object (uuid, serialid, objecttable) VALUES ('6eb719a3-1418-4318-8861-610d343bdee1', 18, 'rbactest.domain');
INSERT INTO rbac.object (uuid, serialid, objecttable) VALUES ('e7dcf9da-7a53-494e-a231-4ddb73b6729d', 19, 'rbactest.domain');
INSERT INTO rbac.object (uuid, serialid, objecttable) VALUES ('a6242be9-717a-4011-a04f-f501f84adcb2', 20, 'rbactest.domain');
INSERT INTO rbac.object (uuid, serialid, objecttable) VALUES ('5796ae29-666f-4ee3-9f20-75ffc3b21f4c', 21, 'rbactest.domain');
INSERT INTO rbac.object (uuid, serialid, objecttable) VALUES ('58357452-4e31-4d21-8148-d33943331b43', 22, 'rbactest.domain');
INSERT INTO rbac.object (uuid, serialid, objecttable) VALUES ('3fe6bfb7-956b-4f4e-8009-34c31429b1c8', 23, 'rbactest.domain');
INSERT INTO rbac.object (uuid, serialid, objecttable) VALUES ('6eba7088-7968-4d92-85f3-fbd1403a56b1', 24, 'rbactest.domain');
INSERT INTO rbac.object (uuid, serialid, objecttable) VALUES ('d690e5bd-7814-436e-ba1c-8c57760866cc', 25, 'rbactest.domain');
INSERT INTO rbac.object (uuid, serialid, objecttable) VALUES ('a27caa13-80b1-4784-b891-5b4f12d3bef5', 26, 'rbactest.domain');
INSERT INTO rbac.object (uuid, serialid, objecttable) VALUES ('a56186b3-786f-407d-b814-959df21edc5d', 27, 'rbactest.domain');
INSERT INTO rbac.object (uuid, serialid, objecttable) VALUES ('1cbdd8c5-207a-43e2-98b9-af2265216c14', 28, 'rbactest.domain');
INSERT INTO rbac.object (uuid, serialid, objecttable) VALUES ('df500901-140d-48ae-9ce0-e20d3880db92', 29, 'rbactest.domain');
INSERT INTO rbac.object (uuid, serialid, objecttable) VALUES ('153715cb-8cb1-4f09-bd70-08be928534b7', 30, 'rbactest.domain');
INSERT INTO rbac.object (uuid, serialid, objecttable) VALUES ('26642094-e1f4-464d-ab40-5234b4e0228d', 31, 'rbactest.domain');
INSERT INTO rbac.object (uuid, serialid, objecttable) VALUES ('e256cae4-99d8-44f3-961a-ecbffaeb17e4', 32, 'hs_office.contact');
INSERT INTO rbac.object (uuid, serialid, objecttable) VALUES ('a6db17a5-0427-4e3f-96e1-606127ad6d98', 33, 'hs_office.contact');
INSERT INTO rbac.object (uuid, serialid, objecttable) VALUES ('ae0320f6-d268-470e-8ded-142acddb2243', 34, 'hs_office.contact');
INSERT INTO rbac.object (uuid, serialid, objecttable) VALUES ('1649730d-2c49-40e2-9000-7615a085477c', 35, 'hs_office.contact');
INSERT INTO rbac.object (uuid, serialid, objecttable) VALUES ('beda1946-685d-45a4-ad22-fd6842e14b54', 36, 'hs_office.contact');
INSERT INTO rbac.object (uuid, serialid, objecttable) VALUES ('6cdd8a31-27b3-4b0e-8297-67794b74cd5c', 37, 'hs_office.contact');
INSERT INTO rbac.object (uuid, serialid, objecttable) VALUES ('5336a6e7-2f9a-4f73-8385-04ac89c46f5e', 38, 'hs_office.contact');
INSERT INTO rbac.object (uuid, serialid, objecttable) VALUES ('0fc7fedf-6a52-462e-85bb-689f4b2a8d2d', 39, 'hs_office.contact');
INSERT INTO rbac.object (uuid, serialid, objecttable) VALUES ('fdf97406-0693-48dc-8bfe-185045a90437', 40, 'hs_office.contact');
INSERT INTO rbac.object (uuid, serialid, objecttable) VALUES ('6e689f4c-93d2-4a88-b3dd-8370cf3e8da4', 41, 'hs_office.contact');
INSERT INTO rbac.object (uuid, serialid, objecttable) VALUES ('0c4e6c68-6f1f-4ea9-bcdd-1752763a3945', 42, 'hs_office.contact');
INSERT INTO rbac.object (uuid, serialid, objecttable) VALUES ('c24bfb2f-9b72-4754-9d9c-52be22cf01a6', 43, 'hs_office.contact');
INSERT INTO rbac.object (uuid, serialid, objecttable) VALUES ('dbe89951-4cc8-40ac-97b3-49176567984d', 44, 'hs_office.person');
INSERT INTO rbac.object (uuid, serialid, objecttable) VALUES ('37928681-5849-48f7-aa81-bbe2d68944f9', 45, 'hs_office.person');
INSERT INTO rbac.object (uuid, serialid, objecttable) VALUES ('b4566b68-3318-4bd2-b1cb-a9c58ae91b6e', 46, 'hs_office.person');
INSERT INTO rbac.object (uuid, serialid, objecttable) VALUES ('a5bdcdee-bc0e-4340-aaf3-d3d7d43dcc1a', 47, 'hs_office.person');
INSERT INTO rbac.object (uuid, serialid, objecttable) VALUES ('43cf65a6-59e5-44d6-bf66-0fcf7266404a', 48, 'hs_office.person');
INSERT INTO rbac.object (uuid, serialid, objecttable) VALUES ('958aa7a0-2531-4661-9444-5e00207fb8c4', 49, 'hs_office.person');
INSERT INTO rbac.object (uuid, serialid, objecttable) VALUES ('a2bdfd07-bbc1-417b-b91e-a567641d19c2', 50, 'hs_office.person');
INSERT INTO rbac.object (uuid, serialid, objecttable) VALUES ('2ddcf68b-eb88-45e7-a6aa-3da9c32115a1', 51, 'hs_office.person');
INSERT INTO rbac.object (uuid, serialid, objecttable) VALUES ('8931b7ef-2f89-44c5-b7c2-730b898f2227', 52, 'hs_office.person');
INSERT INTO rbac.object (uuid, serialid, objecttable) VALUES ('6d226408-de6e-497a-abbb-7a9c66cee762', 53, 'hs_office.person');
INSERT INTO rbac.object (uuid, serialid, objecttable) VALUES ('eea4f215-2c8a-4d14-a9e7-82860faa5a42', 54, 'hs_office.person');
INSERT INTO rbac.object (uuid, serialid, objecttable) VALUES ('6d1a20f7-2fd0-4c62-a304-1fc1eeedb59d', 55, 'hs_office.person');
INSERT INTO rbac.object (uuid, serialid, objecttable) VALUES ('195ef8b7-3c56-4ef4-8db6-47b4cf15d572', 56, 'hs_office.person');
INSERT INTO rbac.object (uuid, serialid, objecttable) VALUES ('4ce59c0d-417c-4676-8de5-25aafd780613', 57, 'hs_office.relation');
INSERT INTO rbac.object (uuid, serialid, objecttable) VALUES ('9090accb-cae9-4f85-8380-2c6d740b6520', 58, 'hs_office.relation');
INSERT INTO rbac.object (uuid, serialid, objecttable) VALUES ('7db0877f-0116-430f-9db3-c35a2b693d00', 59, 'hs_office.relation');
INSERT INTO rbac.object (uuid, serialid, objecttable) VALUES ('cefb9d07-7142-4a0e-a924-310534a2a516', 60, 'hs_office.relation');
INSERT INTO rbac.object (uuid, serialid, objecttable) VALUES ('74ca4b73-4a8e-4658-8924-5bad48e77e71', 61, 'hs_office.relation');
INSERT INTO rbac.object (uuid, serialid, objecttable) VALUES ('bcee4fcb-c7a5-4191-8d4e-6b1d9dfe23c3', 62, 'hs_office.relation');
INSERT INTO rbac.object (uuid, serialid, objecttable) VALUES ('5c0f9fee-6087-4b83-bcb7-da8a525b8662', 63, 'hs_office.relation');
INSERT INTO rbac.object (uuid, serialid, objecttable) VALUES ('7a6b8585-8bcc-4bcc-a1f6-a905bfd2cb05', 64, 'hs_office.relation');
INSERT INTO rbac.object (uuid, serialid, objecttable) VALUES ('0eba2cf6-e74b-4f41-bac5-9c0292f8e9e1', 65, 'hs_office.relation');
INSERT INTO rbac.object (uuid, serialid, objecttable) VALUES ('83a4f8c9-9f65-4b7d-9ed6-963325a3ba7f', 66, 'hs_office.relation');
INSERT INTO rbac.object (uuid, serialid, objecttable) VALUES ('c49b0faf-016d-4079-9ce2-2f0d3047f1ac', 67, 'hs_office.relation');
INSERT INTO rbac.object (uuid, serialid, objecttable) VALUES ('667be660-c8ac-48a5-91cf-655ae049bf55', 68, 'hs_office.relation');
INSERT INTO rbac.object (uuid, serialid, objecttable) VALUES ('63ab696c-163c-44b6-bd79-e82630923af2', 69, 'hs_office.relation');
INSERT INTO rbac.object (uuid, serialid, objecttable) VALUES ('23c86f22-86df-46a1-bafb-816730494fe1', 70, 'hs_office.relation');
INSERT INTO rbac.object (uuid, serialid, objecttable) VALUES ('5a3b6183-d4d8-4e54-a680-95725e168700', 71, 'hs_office.relation');
INSERT INTO rbac.object (uuid, serialid, objecttable) VALUES ('ef607549-e66b-4e42-ab70-dd0f7a4ee791', 72, 'hs_office.partner_details');
INSERT INTO rbac.object (uuid, serialid, objecttable) VALUES ('c27d1b0c-7e43-4b64-ae69-4317f51023ba', 73, 'hs_office.partner');
INSERT INTO rbac.object (uuid, serialid, objecttable) VALUES ('9cee97fc-5961-4b64-8888-6ee8d1ee34fc', 74, 'hs_office.partner_details');
INSERT INTO rbac.object (uuid, serialid, objecttable) VALUES ('11583dae-da71-4786-a61d-d70f51ce988e', 75, 'hs_office.partner');
INSERT INTO rbac.object (uuid, serialid, objecttable) VALUES ('29234c1d-d128-4eb1-8efa-b9528d11b138', 76, 'hs_office.partner_details');
INSERT INTO rbac.object (uuid, serialid, objecttable) VALUES ('7fe704c0-2e54-463e-891e-533f0274da76', 77, 'hs_office.partner');
INSERT INTO rbac.object (uuid, serialid, objecttable) VALUES ('a297a917-aebe-4662-92fb-0729aa1c525c', 78, 'hs_office.partner_details');
INSERT INTO rbac.object (uuid, serialid, objecttable) VALUES ('8d685609-a88e-4005-a265-994f34f28128', 79, 'hs_office.partner');
INSERT INTO rbac.object (uuid, serialid, objecttable) VALUES ('92a9e974-65f6-4428-a410-8b44d33514a0', 80, 'hs_office.partner_details');
INSERT INTO rbac.object (uuid, serialid, objecttable) VALUES ('a48308b2-ab59-4bfc-ab21-eb0ff4389b18', 81, 'hs_office.partner');
INSERT INTO rbac.object (uuid, serialid, objecttable) VALUES ('50b5215d-4fdc-48be-a196-22fbe9325efb', 82, 'hs_office.bankaccount');
INSERT INTO rbac.object (uuid, serialid, objecttable) VALUES ('ba3b7687-f7ca-4520-ae16-6d3701fc5df9', 83, 'hs_office.bankaccount');
INSERT INTO rbac.object (uuid, serialid, objecttable) VALUES ('33c27d3b-b8ea-4096-8d71-ee351ebed0a9', 84, 'hs_office.bankaccount');
INSERT INTO rbac.object (uuid, serialid, objecttable) VALUES ('754ac83e-c0bb-4391-bc56-14636708b9c4', 85, 'hs_office.bankaccount');
INSERT INTO rbac.object (uuid, serialid, objecttable) VALUES ('b0ad26e4-3b28-4450-8a51-72a63112baea', 86, 'hs_office.bankaccount');
INSERT INTO rbac.object (uuid, serialid, objecttable) VALUES ('28813a5d-54c6-435e-b0a7-b78d858f874e', 87, 'hs_office.bankaccount');
INSERT INTO rbac.object (uuid, serialid, objecttable) VALUES ('8b6362a1-d6d5-437e-980e-f1fe4043de6a', 88, 'hs_office.bankaccount');
INSERT INTO rbac.object (uuid, serialid, objecttable) VALUES ('843b098d-12af-4980-b211-703a20192443', 89, 'hs_office.bankaccount');
INSERT INTO rbac.object (uuid, serialid, objecttable) VALUES ('5b3529ca-f6da-495c-ad52-b0e4894a82b2', 90, 'hs_office.debitor');
INSERT INTO rbac.object (uuid, serialid, objecttable) VALUES ('5d5fa77a-455f-4603-8940-00af676b66aa', 91, 'hs_office.debitor');
INSERT INTO rbac.object (uuid, serialid, objecttable) VALUES ('d8cab65b-91be-4f1a-846b-887c95be1d38', 92, 'hs_office.debitor');
INSERT INTO rbac.object (uuid, serialid, objecttable) VALUES ('f1ce41de-5c44-4b5a-8c75-d32c9652df8c', 93, 'hs_office.sepamandate');
INSERT INTO rbac.object (uuid, serialid, objecttable) VALUES ('2b5b7481-0bd4-43a7-bb97-1d96b1cbca68', 94, 'hs_office.sepamandate');
INSERT INTO rbac.object (uuid, serialid, objecttable) VALUES ('3a909c22-3e39-47cc-bb75-22a69eeaf720', 95, 'hs_office.sepamandate');
INSERT INTO rbac.object (uuid, serialid, objecttable) VALUES ('4330e211-e36c-45ec-9332-f7593ff42811', 96, 'hs_office.membership');
INSERT INTO rbac.object (uuid, serialid, objecttable) VALUES ('bed3c145-aa55-425f-9211-be9f5e9f4ebe', 97, 'hs_office.membership');
INSERT INTO rbac.object (uuid, serialid, objecttable) VALUES ('a42d61c5-7dad-4379-9dd9-39a8d21ddc32', 98, 'hs_office.membership');
INSERT INTO rbac.object (uuid, serialid, objecttable) VALUES ('fbe75170-bd97-4751-954a-58609e33f5c1', 99, 'hs_office.coopsharetx');
INSERT INTO rbac.object (uuid, serialid, objecttable) VALUES ('13c5c422-4f47-4191-8bd6-f6d7ee820de2', 100, 'hs_office.coopsharetx');
INSERT INTO rbac.object (uuid, serialid, objecttable) VALUES ('6c88beac-8b25-4adc-a0ee-ae46351c7687', 101, 'hs_office.coopsharetx');
INSERT INTO rbac.object (uuid, serialid, objecttable) VALUES ('b7c65b95-9fb8-43b1-8b20-5f3b168c573a', 102, 'hs_office.coopsharetx');
INSERT INTO rbac.object (uuid, serialid, objecttable) VALUES ('42907488-176f-4662-9fb6-b819f1c5c306', 103, 'hs_office.coopsharetx');
INSERT INTO rbac.object (uuid, serialid, objecttable) VALUES ('47b33cb7-44b3-4596-96e9-8a8e34aad841', 104, 'hs_office.coopsharetx');
INSERT INTO rbac.object (uuid, serialid, objecttable) VALUES ('7931bf2e-a490-42f7-855d-a4b632b76b0e', 105, 'hs_office.coopsharetx');
INSERT INTO rbac.object (uuid, serialid, objecttable) VALUES ('a2d13b57-6242-43a3-a26d-e640c385f925', 106, 'hs_office.coopsharetx');
INSERT INTO rbac.object (uuid, serialid, objecttable) VALUES ('bec4ce08-76ac-4b6d-93f8-62307fc4cd4b', 107, 'hs_office.coopsharetx');
INSERT INTO rbac.object (uuid, serialid, objecttable) VALUES ('1e20d973-b79f-4b5b-bb9e-6a8af9513a35', 108, 'hs_office.coopsharetx');
INSERT INTO rbac.object (uuid, serialid, objecttable) VALUES ('0737dc7d-1634-4e9a-a8d9-dd5d96ac2c61', 109, 'hs_office.coopsharetx');
INSERT INTO rbac.object (uuid, serialid, objecttable) VALUES ('dd1243f6-6a49-4cee-a45f-28d153bbc84e', 110, 'hs_office.coopsharetx');
INSERT INTO rbac.object (uuid, serialid, objecttable) VALUES ('676ed5a4-28ad-4631-8d60-6f5d6ce322bc', 111, 'hs_office.coopassettx');
INSERT INTO rbac.object (uuid, serialid, objecttable) VALUES ('b627613a-10e4-435b-8f81-c7c31abe114b', 112, 'hs_office.coopassettx');
INSERT INTO rbac.object (uuid, serialid, objecttable) VALUES ('240d8194-43e0-455c-b759-aca1d68d129a', 113, 'hs_office.coopassettx');
INSERT INTO rbac.object (uuid, serialid, objecttable) VALUES ('0cff5e6f-c936-4ba6-8eaa-dde92514b7f4', 114, 'hs_office.coopassettx');
INSERT INTO rbac.object (uuid, serialid, objecttable) VALUES ('9c5fe71c-5a01-4769-96b3-f96d1fc96887', 115, 'hs_office.coopassettx');
INSERT INTO rbac.object (uuid, serialid, objecttable) VALUES ('c8dcdb55-672f-4152-865c-16907f83ff5a', 116, 'hs_office.coopassettx');
INSERT INTO rbac.object (uuid, serialid, objecttable) VALUES ('88e5084c-472f-4c27-b51b-dc22dc13b9eb', 117, 'hs_office.coopassettx');
INSERT INTO rbac.object (uuid, serialid, objecttable) VALUES ('92ec36a4-d652-4051-9fc9-4d316fb2f0e6', 118, 'hs_office.coopassettx');
INSERT INTO rbac.object (uuid, serialid, objecttable) VALUES ('db57c933-f269-4a49-8d48-3412ed1674dd', 119, 'hs_office.coopassettx');
INSERT INTO rbac.object (uuid, serialid, objecttable) VALUES ('bf523f40-d58e-43d0-88a3-2f27e6a694dc', 120, 'hs_office.coopassettx');
INSERT INTO rbac.object (uuid, serialid, objecttable) VALUES ('66174fa7-76cf-43e0-bb52-b8a8a0ca8008', 121, 'hs_office.coopassettx');
INSERT INTO rbac.object (uuid, serialid, objecttable) VALUES ('2ead4c75-3e6a-405a-8e53-64c210372611', 122, 'hs_office.coopassettx');
INSERT INTO rbac.object (uuid, serialid, objecttable) VALUES ('f345fb37-7603-4ca7-934a-517dd801ae63', 123, 'hs_office.coopassettx');
INSERT INTO rbac.object (uuid, serialid, objecttable) VALUES ('b6c0a950-f1b0-4b69-9c67-3b2de780cbdb', 124, 'hs_office.coopassettx');
INSERT INTO rbac.object (uuid, serialid, objecttable) VALUES ('890e8afe-1dcd-424d-8191-747af2d09ff4', 125, 'hs_office.coopassettx');
INSERT INTO rbac.object (uuid, serialid, objecttable) VALUES ('1478a182-927f-44fe-9da0-1e09108a7d7e', 126, 'hs_office.coopassettx');
INSERT INTO rbac.object (uuid, serialid, objecttable) VALUES ('c7ef7757-abff-4f30-a234-62ff69f8d032', 127, 'hs_office.coopassettx');
INSERT INTO rbac.object (uuid, serialid, objecttable) VALUES ('7c86e357-7d6a-4f5a-a3cc-d4f6958dbf60', 128, 'hs_office.coopassettx');
--
-- Data for Name: permission; Type: TABLE DATA; Schema: rbac; Owner: postgres
--
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('6f1ad20c-6f1b-413c-b82c-4d8022ea202a', 'fb819667-b171-4b6e-ae3e-31c6a40d4be8', 'INSERT', 'rbactest.customer');
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('53269892-7005-48c4-bdbf-08da6cc40c92', 'dbbfdc0a-a952-4886-b6df-a242f80b1233', 'DELETE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('0f25ae4c-082c-4bfc-912b-7fffec4c28c9', 'dbbfdc0a-a952-4886-b6df-a242f80b1233', 'UPDATE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('83cebf26-8a7c-4f1d-8be4-195fd38d28af', 'dbbfdc0a-a952-4886-b6df-a242f80b1233', 'SELECT', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('b69a11b3-7f06-4115-baaf-d3caa34b2772', '03b1f749-8010-4c9c-a256-3911d64385a0', 'DELETE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('0d1bbf95-1083-4add-bdf0-505c59b4facb', '03b1f749-8010-4c9c-a256-3911d64385a0', 'UPDATE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('e8e990e2-c26e-43b6-ad15-ab1c0e4b4ffa', '03b1f749-8010-4c9c-a256-3911d64385a0', 'SELECT', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('77c4fd8d-ae88-4266-b3db-b367d40c2ba9', 'ccbb2b4b-68cd-4fd6-8467-2357874a3eab', 'DELETE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('248bca20-bbc4-4337-8578-91c9c9c8886e', 'ccbb2b4b-68cd-4fd6-8467-2357874a3eab', 'UPDATE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('4aeba6eb-ab10-46fd-8112-25773bf87f49', 'ccbb2b4b-68cd-4fd6-8467-2357874a3eab', 'SELECT', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('1d236ccf-a539-4442-a58b-0a1d71494c89', 'dbbfdc0a-a952-4886-b6df-a242f80b1233', 'INSERT', 'rbactest.package');
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('0802661d-8546-4f62-b6ec-11c755819a7c', '03b1f749-8010-4c9c-a256-3911d64385a0', 'INSERT', 'rbactest.package');
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('0f834fc6-4202-4bc6-9c26-e284913be6f0', 'ccbb2b4b-68cd-4fd6-8467-2357874a3eab', 'INSERT', 'rbactest.package');
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('86176933-cf96-4c96-93c9-300bea07d6d8', '1f378616-047c-4cf3-a70b-54c88f9608d6', 'DELETE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('121719be-0a9e-4db7-b08b-7cb2c70c2746', '1f378616-047c-4cf3-a70b-54c88f9608d6', 'UPDATE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('ce29c503-5f21-4128-8cb8-98ea3aeca5f0', '1f378616-047c-4cf3-a70b-54c88f9608d6', 'SELECT', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('d1b6c45a-ea36-4933-8616-d5d9a4c7e2a9', '5a10e27a-311d-4527-b0ac-38f2fd6e16c4', 'DELETE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('bf660924-c6e9-4ff6-b25a-ee86f1d0be65', '5a10e27a-311d-4527-b0ac-38f2fd6e16c4', 'UPDATE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('726bffdc-94d6-404b-9929-2bbdd8438400', '5a10e27a-311d-4527-b0ac-38f2fd6e16c4', 'SELECT', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('ea153d1c-7c2c-423f-b50d-d6a4b74eb0a3', 'dd13db03-932e-4c71-9ae7-ff197cc02341', 'DELETE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('cdc80d76-ba5b-4621-8176-4c5eb04f74b9', 'dd13db03-932e-4c71-9ae7-ff197cc02341', 'UPDATE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('7bb890db-fe99-410b-8771-570e6f94a3bb', 'dd13db03-932e-4c71-9ae7-ff197cc02341', 'SELECT', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('1f9cf200-6832-4fba-911d-b76e5dac5565', '9464ead9-4f16-477c-bf3b-14669a9c42be', 'DELETE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('da7279dd-cdaf-4765-8a92-47e38cc21aec', '9464ead9-4f16-477c-bf3b-14669a9c42be', 'UPDATE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('286e1ac2-8159-41c6-a2de-81baa8a11fda', '9464ead9-4f16-477c-bf3b-14669a9c42be', 'SELECT', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('150c57c6-1794-4554-9b8d-a6eaf1520759', 'a6b15d0a-f7a3-4c40-8fe6-cbb62c2a868b', 'DELETE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('0b02c7c2-4866-476a-ab7b-76e345211fb9', 'a6b15d0a-f7a3-4c40-8fe6-cbb62c2a868b', 'UPDATE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('7320ceb7-3736-4c2d-b51c-b7dc24b203a5', 'a6b15d0a-f7a3-4c40-8fe6-cbb62c2a868b', 'SELECT', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('f8559b3f-1d4f-49c3-b00c-bde86bacc35e', '3c243156-033e-4e72-96cf-5e204d04900c', 'DELETE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('5d92763f-7a4b-4185-b1f3-383a41773a3e', '3c243156-033e-4e72-96cf-5e204d04900c', 'UPDATE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('9c14dc39-4436-4e17-99af-6f1b748ebafa', '3c243156-033e-4e72-96cf-5e204d04900c', 'SELECT', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('9013f4d6-5cd4-4099-9176-c7cdda2b1635', 'b2f57e12-f448-4b73-9b16-0f39b1eb101d', 'DELETE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('7d0ff486-912a-45a9-8dc4-350ec6063566', 'b2f57e12-f448-4b73-9b16-0f39b1eb101d', 'UPDATE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('23e15778-8c34-4375-bb74-639d37ecc442', 'b2f57e12-f448-4b73-9b16-0f39b1eb101d', 'SELECT', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('5b5cce57-0cd5-495a-88bb-4c70d76eae67', '5ffddd10-8ef2-4e3f-a62d-8971e0d1afb3', 'DELETE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('4a7c58e6-bd2b-4982-9a53-46bffa19201a', '5ffddd10-8ef2-4e3f-a62d-8971e0d1afb3', 'UPDATE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('4747c475-6a75-46dd-8962-eabe603f461a', '5ffddd10-8ef2-4e3f-a62d-8971e0d1afb3', 'SELECT', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('3117d357-8613-4eaf-9a91-a7230aa79e87', '7154bf1a-2801-4e65-9d74-5bce9d9b429f', 'DELETE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('a689b525-e82e-4a60-99b5-5d0e7abccf78', '7154bf1a-2801-4e65-9d74-5bce9d9b429f', 'UPDATE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('30d01eb1-2556-4345-9ff5-12c36d42a383', '7154bf1a-2801-4e65-9d74-5bce9d9b429f', 'SELECT', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('7568cc94-e02d-4e9e-a517-902a89f6affa', '1f378616-047c-4cf3-a70b-54c88f9608d6', 'INSERT', 'rbactest.domain');
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('8894c3c0-7dbe-4aa6-8cd9-c02319dcc3a1', '5a10e27a-311d-4527-b0ac-38f2fd6e16c4', 'INSERT', 'rbactest.domain');
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('df597493-58d3-4b0c-86a5-20fa095f4be0', 'dd13db03-932e-4c71-9ae7-ff197cc02341', 'INSERT', 'rbactest.domain');
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('a8180460-73fe-4a89-95a1-30f80381afc9', '9464ead9-4f16-477c-bf3b-14669a9c42be', 'INSERT', 'rbactest.domain');
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('3d1f582c-6887-4b97-a2f9-7885e74add69', 'a6b15d0a-f7a3-4c40-8fe6-cbb62c2a868b', 'INSERT', 'rbactest.domain');
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('f847e293-6ca1-4b36-a31c-e399279bd017', '3c243156-033e-4e72-96cf-5e204d04900c', 'INSERT', 'rbactest.domain');
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('23a0185a-2c7f-4e97-b7ab-a0c9f9872ea9', 'b2f57e12-f448-4b73-9b16-0f39b1eb101d', 'INSERT', 'rbactest.domain');
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('07860c3d-300a-4145-80e3-73b5cfc9fc72', '5ffddd10-8ef2-4e3f-a62d-8971e0d1afb3', 'INSERT', 'rbactest.domain');
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('128ed79a-2fa8-4d43-9897-716294599a9f', '7154bf1a-2801-4e65-9d74-5bce9d9b429f', 'INSERT', 'rbactest.domain');
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('309dfc5b-c14e-46a0-ae5a-1d4226ccb123', '35e7e703-d051-48f2-b8cd-893575ec22d5', 'DELETE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('f11a3203-ffb3-4ec0-81eb-fa029f156b5e', '35e7e703-d051-48f2-b8cd-893575ec22d5', 'UPDATE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('f03147f0-04e0-432a-8e76-8ca84a699425', '35e7e703-d051-48f2-b8cd-893575ec22d5', 'SELECT', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('4a9f21ff-ba8c-4a03-b589-77b9247280e6', '69acd255-c446-4fcb-9175-30ac8139a69c', 'DELETE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('12b28236-0be7-4a3a-9dca-6a2b84dd0552', '69acd255-c446-4fcb-9175-30ac8139a69c', 'UPDATE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('b76cffed-962e-4f5b-a74c-1357ded6d32a', '69acd255-c446-4fcb-9175-30ac8139a69c', 'SELECT', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('57e5d419-277c-48dd-8b01-44a5aac731bd', '1b25341f-3344-4378-a7ba-4a10a5180083', 'DELETE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('2b17d8b7-9f20-4742-8470-1cac8d92d7e0', '1b25341f-3344-4378-a7ba-4a10a5180083', 'UPDATE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('aa58299d-2e75-4678-b668-20cc10bd2549', '1b25341f-3344-4378-a7ba-4a10a5180083', 'SELECT', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('4fee1f89-59e3-4c3b-9cea-2509e2f43c7f', '18a43fac-4e7d-4ea3-8d2c-ecc95666bda4', 'DELETE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('67da1b8a-ac2c-4998-8b91-48384df171a0', '18a43fac-4e7d-4ea3-8d2c-ecc95666bda4', 'UPDATE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('647f9235-92dd-4f42-8132-edbebe82d849', '18a43fac-4e7d-4ea3-8d2c-ecc95666bda4', 'SELECT', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('9ba6ccca-1554-4e22-82c6-80f150553396', '6eb719a3-1418-4318-8861-610d343bdee1', 'DELETE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('357b1ba9-9d01-49e4-b1ca-4c1cdd2cfb63', '6eb719a3-1418-4318-8861-610d343bdee1', 'UPDATE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('bcee7404-c0bf-4212-8a22-0604d27b325d', '6eb719a3-1418-4318-8861-610d343bdee1', 'SELECT', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('fe091b95-fde6-4efe-95a3-e186acc710a5', 'e7dcf9da-7a53-494e-a231-4ddb73b6729d', 'DELETE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('275fd74d-08a5-43d1-a5da-d6694792cee6', 'e7dcf9da-7a53-494e-a231-4ddb73b6729d', 'UPDATE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('57c79cf9-5514-4a11-ac94-2a4a04c4d6f5', 'e7dcf9da-7a53-494e-a231-4ddb73b6729d', 'SELECT', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('ec550aae-f868-4e9a-ae46-dea684ac8025', 'a6242be9-717a-4011-a04f-f501f84adcb2', 'DELETE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('0df2ff3e-8d9b-4fa1-a0a5-c4f0d6670745', 'a6242be9-717a-4011-a04f-f501f84adcb2', 'UPDATE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('656e591b-380c-4ce9-8329-948a5db3c48b', 'a6242be9-717a-4011-a04f-f501f84adcb2', 'SELECT', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('d14cda32-545d-4f58-9912-0e02810bb20d', '5796ae29-666f-4ee3-9f20-75ffc3b21f4c', 'DELETE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('2a34d512-316f-44ca-a88d-2e92b7ae0c9f', '5796ae29-666f-4ee3-9f20-75ffc3b21f4c', 'UPDATE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('e06ce4f8-a4db-4bc9-be65-08b5a956e824', '5796ae29-666f-4ee3-9f20-75ffc3b21f4c', 'SELECT', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('bfd8eda3-3315-48bf-91b8-1e1910baf143', '58357452-4e31-4d21-8148-d33943331b43', 'DELETE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('a7d26a3d-efca-4015-8fb0-8208df70a358', '58357452-4e31-4d21-8148-d33943331b43', 'UPDATE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('07282505-7ac0-40c0-8760-52394d951c72', '58357452-4e31-4d21-8148-d33943331b43', 'SELECT', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('7b0423cc-423d-48c0-b94d-dc395548ceaf', '3fe6bfb7-956b-4f4e-8009-34c31429b1c8', 'DELETE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('c322154b-c233-4de6-b15e-c0519694a7ea', '3fe6bfb7-956b-4f4e-8009-34c31429b1c8', 'UPDATE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('26429570-88af-4838-8f1f-7bd29ef2adde', '3fe6bfb7-956b-4f4e-8009-34c31429b1c8', 'SELECT', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('8c4bdcff-1b30-494d-94c3-750a5c1ce354', '6eba7088-7968-4d92-85f3-fbd1403a56b1', 'DELETE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('1f43190a-5094-44af-92db-03affc9b2184', '6eba7088-7968-4d92-85f3-fbd1403a56b1', 'UPDATE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('f9bdd8c1-81eb-4723-b17e-a0b44b119601', '6eba7088-7968-4d92-85f3-fbd1403a56b1', 'SELECT', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('0ab236b9-ab03-458d-98a8-ddf5246a5f77', 'd690e5bd-7814-436e-ba1c-8c57760866cc', 'DELETE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('c07dc67f-8c62-4485-836d-d448fb287c4a', 'd690e5bd-7814-436e-ba1c-8c57760866cc', 'UPDATE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('9218b6bb-9c63-47f6-814b-7a8701eb0e22', 'd690e5bd-7814-436e-ba1c-8c57760866cc', 'SELECT', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('ff141fdf-f60b-46c3-af9d-60472765c8cb', 'a27caa13-80b1-4784-b891-5b4f12d3bef5', 'DELETE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('2f06b454-9fdd-426f-b791-413f24c538e8', 'a27caa13-80b1-4784-b891-5b4f12d3bef5', 'UPDATE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('16f27fa0-25ea-4be0-b086-3ba3a5042b39', 'a27caa13-80b1-4784-b891-5b4f12d3bef5', 'SELECT', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('b8cb9da6-8585-49c4-a413-97403f9507ee', 'a56186b3-786f-407d-b814-959df21edc5d', 'DELETE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('3a3da60f-2006-4806-9f93-16bd6da6b441', 'a56186b3-786f-407d-b814-959df21edc5d', 'UPDATE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('6bed9fba-b6e1-4c28-bc93-cc0eb0b07e58', 'a56186b3-786f-407d-b814-959df21edc5d', 'SELECT', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('abed2f54-d15d-4290-b01b-b0697ac967ba', '1cbdd8c5-207a-43e2-98b9-af2265216c14', 'DELETE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('bc5bd07b-4f58-4477-86d6-99067ddc2082', '1cbdd8c5-207a-43e2-98b9-af2265216c14', 'UPDATE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('ffca12ab-f74e-40cc-8c3b-bdd9ab68541d', '1cbdd8c5-207a-43e2-98b9-af2265216c14', 'SELECT', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('402b3d48-c423-4319-8bd1-d20d128c6caf', 'df500901-140d-48ae-9ce0-e20d3880db92', 'DELETE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('7613a6f1-04ab-46c4-8f13-d01d7b60b77d', 'df500901-140d-48ae-9ce0-e20d3880db92', 'UPDATE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('ab86dad6-efa6-4be8-8f07-97765e38df5a', 'df500901-140d-48ae-9ce0-e20d3880db92', 'SELECT', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('0bf027e6-dd84-4c91-8dde-2e54189408d6', '153715cb-8cb1-4f09-bd70-08be928534b7', 'DELETE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('c34ff153-528b-4533-bb2a-6af4776d7d46', '153715cb-8cb1-4f09-bd70-08be928534b7', 'UPDATE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('a3d4c041-c32c-491e-9a04-cd00985f90d9', '153715cb-8cb1-4f09-bd70-08be928534b7', 'SELECT', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('b463ee37-3d33-4330-b16f-7ab84a06658a', '26642094-e1f4-464d-ab40-5234b4e0228d', 'DELETE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('1a559ee1-da5d-4b85-b48f-ee15eb5069aa', '26642094-e1f4-464d-ab40-5234b4e0228d', 'UPDATE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('04c7e2df-fb54-4f6a-a529-0316d6ac8de2', '26642094-e1f4-464d-ab40-5234b4e0228d', 'SELECT', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('f3f56d40-e253-4848-8fb3-a89e123f9b6f', 'e256cae4-99d8-44f3-961a-ecbffaeb17e4', 'DELETE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('5aa6c37b-585a-4ff4-86f3-9c7b76bb09ab', 'e256cae4-99d8-44f3-961a-ecbffaeb17e4', 'UPDATE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('d9a38c00-a3b0-4f6e-9353-a4b1c6d03677', 'e256cae4-99d8-44f3-961a-ecbffaeb17e4', 'SELECT', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('f07d8d65-42cb-4c05-911e-e1fcbbe1b03a', 'a6db17a5-0427-4e3f-96e1-606127ad6d98', 'DELETE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('6d2e3006-a7df-4670-b81a-420027c8626e', 'a6db17a5-0427-4e3f-96e1-606127ad6d98', 'UPDATE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('07849131-0aa5-42a1-8a96-4e36715ffcfe', 'a6db17a5-0427-4e3f-96e1-606127ad6d98', 'SELECT', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('c4b18fe6-5a32-4818-b3c1-98068b1eba45', 'ae0320f6-d268-470e-8ded-142acddb2243', 'DELETE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('cabfa94d-1cf9-4880-b304-2aea50c6b1c4', 'ae0320f6-d268-470e-8ded-142acddb2243', 'UPDATE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('ded51145-aa1b-4bb8-9a90-22c7d274af9e', 'ae0320f6-d268-470e-8ded-142acddb2243', 'SELECT', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('5391d28d-1734-4a8d-8dc0-d122fd748624', '1649730d-2c49-40e2-9000-7615a085477c', 'DELETE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('a4bc590a-4be9-4c0f-862a-4780478f87bb', '1649730d-2c49-40e2-9000-7615a085477c', 'UPDATE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('9ca15a97-5677-4362-bcbb-857ea36142e2', '1649730d-2c49-40e2-9000-7615a085477c', 'SELECT', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('a2a465dd-0284-4840-986b-c2237cd1bb5c', 'beda1946-685d-45a4-ad22-fd6842e14b54', 'DELETE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('71d72963-9ab5-43c2-996b-8c6b53904b79', 'beda1946-685d-45a4-ad22-fd6842e14b54', 'UPDATE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('df3b0e5e-1488-45eb-8c46-75b5d065765b', 'beda1946-685d-45a4-ad22-fd6842e14b54', 'SELECT', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('968bac14-e972-4278-8553-325c9287c0f2', '6cdd8a31-27b3-4b0e-8297-67794b74cd5c', 'DELETE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('58f6066c-61f5-470a-bf6d-1caca87ec950', '6cdd8a31-27b3-4b0e-8297-67794b74cd5c', 'UPDATE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('59307614-cf25-4bce-a739-128357d00fb3', '6cdd8a31-27b3-4b0e-8297-67794b74cd5c', 'SELECT', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('ebf15e28-1fab-461e-a4d7-95ec44eeaf05', '5336a6e7-2f9a-4f73-8385-04ac89c46f5e', 'DELETE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('4411d45c-358e-4b93-8923-917df409afbd', '5336a6e7-2f9a-4f73-8385-04ac89c46f5e', 'UPDATE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('58f504e7-6122-4118-90ca-16726525820c', '5336a6e7-2f9a-4f73-8385-04ac89c46f5e', 'SELECT', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('899f7de8-415a-425b-8f6f-0e254f2fff25', '0fc7fedf-6a52-462e-85bb-689f4b2a8d2d', 'DELETE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('89a6eb87-3cd6-442d-8870-ee4a1febe2fe', '0fc7fedf-6a52-462e-85bb-689f4b2a8d2d', 'UPDATE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('88925521-a4b8-4893-954d-1183392463aa', '0fc7fedf-6a52-462e-85bb-689f4b2a8d2d', 'SELECT', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('7780ce1c-74cd-4062-9c31-8ca350e72bbc', 'fdf97406-0693-48dc-8bfe-185045a90437', 'DELETE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('2c4784a4-f03a-4815-bec4-fa353a0fb781', 'fdf97406-0693-48dc-8bfe-185045a90437', 'UPDATE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('5e028ef1-9fd8-41fd-b3f4-82c16d106259', 'fdf97406-0693-48dc-8bfe-185045a90437', 'SELECT', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('1632cbb0-5b47-4404-92cb-73a8d528952b', '6e689f4c-93d2-4a88-b3dd-8370cf3e8da4', 'DELETE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('f070d05f-67d6-4f81-9c7e-b24df55f3e6d', '6e689f4c-93d2-4a88-b3dd-8370cf3e8da4', 'UPDATE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('fd1c2063-58e7-45dd-b198-fc51d0397833', '6e689f4c-93d2-4a88-b3dd-8370cf3e8da4', 'SELECT', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('1e7e133e-a662-4f39-98ba-c43e643f594d', '0c4e6c68-6f1f-4ea9-bcdd-1752763a3945', 'DELETE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('4805d0b6-fb04-4216-883d-d0c3fb38ae12', '0c4e6c68-6f1f-4ea9-bcdd-1752763a3945', 'UPDATE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('1921c901-c56e-46a1-8be5-a3299d4eb029', '0c4e6c68-6f1f-4ea9-bcdd-1752763a3945', 'SELECT', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('4ff09f9e-2bf5-4f96-98ef-396e7454991d', 'c24bfb2f-9b72-4754-9d9c-52be22cf01a6', 'DELETE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('913d80a9-9d41-4204-9cb3-498c0e36631c', 'c24bfb2f-9b72-4754-9d9c-52be22cf01a6', 'UPDATE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('13e1b4af-d1b0-47c4-a86c-d23f81fa9db9', 'c24bfb2f-9b72-4754-9d9c-52be22cf01a6', 'SELECT', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('abc45989-35de-4b24-a0ce-866e6aef5795', 'dbe89951-4cc8-40ac-97b3-49176567984d', 'DELETE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('8c7a2fd3-4ee7-4ae3-9be1-297a0460a65f', 'dbe89951-4cc8-40ac-97b3-49176567984d', 'UPDATE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('7d2e2a89-c04b-4a0b-858d-f1d00d8edd3d', 'dbe89951-4cc8-40ac-97b3-49176567984d', 'SELECT', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('a0d1bab6-d38f-40c1-87c0-be938c767c47', '37928681-5849-48f7-aa81-bbe2d68944f9', 'DELETE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('b52d07f1-b3c7-41ef-8596-e56cf76eb631', '37928681-5849-48f7-aa81-bbe2d68944f9', 'UPDATE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('a7901be2-d3f0-4aaf-ac50-97c4910542d8', '37928681-5849-48f7-aa81-bbe2d68944f9', 'SELECT', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('79de24ea-b0b2-4e50-80a4-f85bec336c17', 'b4566b68-3318-4bd2-b1cb-a9c58ae91b6e', 'DELETE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('9511a1de-0795-4bb2-833f-6aba775dd055', 'b4566b68-3318-4bd2-b1cb-a9c58ae91b6e', 'UPDATE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('4af33648-7cf2-48bf-a42a-14ac004dd7e6', 'b4566b68-3318-4bd2-b1cb-a9c58ae91b6e', 'SELECT', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('532cc7a0-1735-4f4f-9cc4-93772b608b7d', 'a5bdcdee-bc0e-4340-aaf3-d3d7d43dcc1a', 'DELETE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('68fa1c11-6877-4c90-aed7-e08c4facabfd', 'a5bdcdee-bc0e-4340-aaf3-d3d7d43dcc1a', 'UPDATE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('12502278-cd64-4750-bad4-5facf1ef26fd', 'a5bdcdee-bc0e-4340-aaf3-d3d7d43dcc1a', 'SELECT', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('87c70e01-fb62-46c0-9fe3-ec351c381617', '43cf65a6-59e5-44d6-bf66-0fcf7266404a', 'DELETE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('95820ab0-b42c-4de0-abac-cee8f5c6a608', '43cf65a6-59e5-44d6-bf66-0fcf7266404a', 'UPDATE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('d7b81343-d5c9-4c3a-8a56-e0a9357320e8', '43cf65a6-59e5-44d6-bf66-0fcf7266404a', 'SELECT', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('56ecf20e-0e1a-4d79-a632-e26d3d2c8c0d', '958aa7a0-2531-4661-9444-5e00207fb8c4', 'DELETE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('a598e5fb-719c-4c08-9e5d-821b296abddc', '958aa7a0-2531-4661-9444-5e00207fb8c4', 'UPDATE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('2c322336-be01-4450-a782-35fa22c2a195', '958aa7a0-2531-4661-9444-5e00207fb8c4', 'SELECT', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('5f180362-48d7-4fef-b049-b5f0947da2c0', 'a2bdfd07-bbc1-417b-b91e-a567641d19c2', 'DELETE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('249b68db-c1ef-4aa2-95f5-cb9404909c53', 'a2bdfd07-bbc1-417b-b91e-a567641d19c2', 'UPDATE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('ccc64280-0b0b-4f41-a1cb-bd37612a1baa', 'a2bdfd07-bbc1-417b-b91e-a567641d19c2', 'SELECT', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('fe53df6e-c9a5-46e1-a571-c3c0062cd655', '2ddcf68b-eb88-45e7-a6aa-3da9c32115a1', 'DELETE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('4c248fa5-c31d-49d4-a7e6-97b496b777e0', '2ddcf68b-eb88-45e7-a6aa-3da9c32115a1', 'UPDATE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('0c7bf875-e45c-4336-952f-a611c8383f29', '2ddcf68b-eb88-45e7-a6aa-3da9c32115a1', 'SELECT', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('db868607-e90d-4c4d-95ed-4a272e20b1b3', '8931b7ef-2f89-44c5-b7c2-730b898f2227', 'DELETE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('4b6a2695-e4f5-4192-80bb-c90655e08afc', '8931b7ef-2f89-44c5-b7c2-730b898f2227', 'UPDATE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('85f13df2-ace9-49db-8f95-09abe7ec42f3', '8931b7ef-2f89-44c5-b7c2-730b898f2227', 'SELECT', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('0938e4de-6cc4-456c-808f-74559536537e', '6d226408-de6e-497a-abbb-7a9c66cee762', 'DELETE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('c6be536b-27a3-4a27-8e9a-29a63502e10b', '6d226408-de6e-497a-abbb-7a9c66cee762', 'UPDATE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('1d96f733-ce69-43d5-a96e-70795d90717f', '6d226408-de6e-497a-abbb-7a9c66cee762', 'SELECT', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('3533f183-c696-483e-b6e0-26255a21a8e4', 'eea4f215-2c8a-4d14-a9e7-82860faa5a42', 'DELETE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('666482c0-4cfb-4ba3-ae6f-6b1844493eb1', 'eea4f215-2c8a-4d14-a9e7-82860faa5a42', 'UPDATE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('4dc9b3e7-a8ad-402a-9743-192752197e9f', 'eea4f215-2c8a-4d14-a9e7-82860faa5a42', 'SELECT', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('87f63786-04ee-4b28-81ec-14a90047dd07', '6d1a20f7-2fd0-4c62-a304-1fc1eeedb59d', 'DELETE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('17f44032-ab36-4531-8c16-0762a497a6a5', '6d1a20f7-2fd0-4c62-a304-1fc1eeedb59d', 'UPDATE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('f9d798ba-a93f-49d7-99c8-2bfd6b8c9000', '6d1a20f7-2fd0-4c62-a304-1fc1eeedb59d', 'SELECT', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('3548e5cc-735d-4416-96a9-16edb44a2033', '195ef8b7-3c56-4ef4-8db6-47b4cf15d572', 'DELETE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('c6767463-d297-4e51-9fd0-52e5fe81fb75', '195ef8b7-3c56-4ef4-8db6-47b4cf15d572', 'UPDATE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('8d11fb25-d2b6-49e1-9382-a8ac1417e982', '195ef8b7-3c56-4ef4-8db6-47b4cf15d572', 'SELECT', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('cbff1b28-ba34-4af2-9b72-ac7c2ee64923', 'dbe89951-4cc8-40ac-97b3-49176567984d', 'INSERT', 'hs_office.relation');
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('479e6c05-3384-4674-9ba6-73169af0fdc2', '37928681-5849-48f7-aa81-bbe2d68944f9', 'INSERT', 'hs_office.relation');
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('c39a8975-d05e-413f-ab05-9232d2ece52b', 'b4566b68-3318-4bd2-b1cb-a9c58ae91b6e', 'INSERT', 'hs_office.relation');
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('e7de223c-8cae-4c61-b278-773043bc7b45', 'a5bdcdee-bc0e-4340-aaf3-d3d7d43dcc1a', 'INSERT', 'hs_office.relation');
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('a993fe9d-b75d-41f3-b5ce-f3c23d4b10bc', '43cf65a6-59e5-44d6-bf66-0fcf7266404a', 'INSERT', 'hs_office.relation');
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('b208da56-8b31-461e-af6b-782c47e743d9', '958aa7a0-2531-4661-9444-5e00207fb8c4', 'INSERT', 'hs_office.relation');
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('70f14bc1-0f85-4c75-8d00-79f4312f1fc9', 'a2bdfd07-bbc1-417b-b91e-a567641d19c2', 'INSERT', 'hs_office.relation');
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('e5c6ab9b-6407-4f6d-a496-b03464b1ceb4', '2ddcf68b-eb88-45e7-a6aa-3da9c32115a1', 'INSERT', 'hs_office.relation');
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('658d0402-c0a8-45cd-99ad-3fa3e8e950b0', '8931b7ef-2f89-44c5-b7c2-730b898f2227', 'INSERT', 'hs_office.relation');
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('40c16524-d542-45e7-ab2d-9e30cb00ce28', '6d226408-de6e-497a-abbb-7a9c66cee762', 'INSERT', 'hs_office.relation');
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('99e22069-e338-499d-9ba7-096402a0b262', 'eea4f215-2c8a-4d14-a9e7-82860faa5a42', 'INSERT', 'hs_office.relation');
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('7fa170cc-11d6-45fd-a82c-8c77d3a4db2f', '6d1a20f7-2fd0-4c62-a304-1fc1eeedb59d', 'INSERT', 'hs_office.relation');
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('c4d90988-1bcc-4afe-aff5-dedb58694561', '195ef8b7-3c56-4ef4-8db6-47b4cf15d572', 'INSERT', 'hs_office.relation');
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('d5a6734f-bcc9-4d02-8444-8744f975e996', '4ce59c0d-417c-4676-8de5-25aafd780613', 'DELETE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('3ca84253-aede-4954-8974-4406048ae2e9', '4ce59c0d-417c-4676-8de5-25aafd780613', 'UPDATE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('59c0e046-8833-4a00-b530-2b0cda55ee9d', '4ce59c0d-417c-4676-8de5-25aafd780613', 'SELECT', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('c59c6253-8950-42e4-a1a2-bff8770d91d5', '9090accb-cae9-4f85-8380-2c6d740b6520', 'DELETE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('b31d5cbc-86c6-4d56-803f-0f78966635d2', '9090accb-cae9-4f85-8380-2c6d740b6520', 'UPDATE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('fabe799c-72f9-48d8-b037-9d219b3b5b8a', '9090accb-cae9-4f85-8380-2c6d740b6520', 'SELECT', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('eb7472ef-fa8d-4bbc-918d-72bb1383ce1d', '7db0877f-0116-430f-9db3-c35a2b693d00', 'DELETE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('a81e8ff5-c7b4-4daf-b066-a7210060b489', '7db0877f-0116-430f-9db3-c35a2b693d00', 'UPDATE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('9db735c2-4447-4768-a4aa-b90769c534ec', '7db0877f-0116-430f-9db3-c35a2b693d00', 'SELECT', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('5303cc15-a309-44cd-9f15-ffa596d65070', 'cefb9d07-7142-4a0e-a924-310534a2a516', 'DELETE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('f68de70c-8733-440d-93c5-596306d359d0', 'cefb9d07-7142-4a0e-a924-310534a2a516', 'UPDATE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('423112db-0d7a-4670-892a-738460ac58d5', 'cefb9d07-7142-4a0e-a924-310534a2a516', 'SELECT', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('41b9adb1-6754-42ce-a8c3-07cb2a7d74be', '74ca4b73-4a8e-4658-8924-5bad48e77e71', 'DELETE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('e89394f7-13bd-490a-a8af-b56f04be9ac8', '74ca4b73-4a8e-4658-8924-5bad48e77e71', 'UPDATE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('d4ad5233-6ac5-404f-9c04-5e333d77145d', '74ca4b73-4a8e-4658-8924-5bad48e77e71', 'SELECT', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('a26bcc60-b205-4477-96ea-bb515b25807c', 'bcee4fcb-c7a5-4191-8d4e-6b1d9dfe23c3', 'DELETE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('8d94ac7b-7755-4edc-a272-3af5a3ae9f26', 'bcee4fcb-c7a5-4191-8d4e-6b1d9dfe23c3', 'UPDATE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('046aed6f-a51a-413d-a9d1-f0ea3f35f742', 'bcee4fcb-c7a5-4191-8d4e-6b1d9dfe23c3', 'SELECT', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('448f3ff1-2606-4627-b798-b00b024ebecd', '5c0f9fee-6087-4b83-bcb7-da8a525b8662', 'DELETE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('8e6515ac-362e-4e37-af76-9b48fce00d6f', '5c0f9fee-6087-4b83-bcb7-da8a525b8662', 'UPDATE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('d3b44be0-0045-4d62-ad2c-9d8b6694c2f7', '5c0f9fee-6087-4b83-bcb7-da8a525b8662', 'SELECT', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('ce68396e-a8a3-4eaf-a724-a6204d6ec27f', '7a6b8585-8bcc-4bcc-a1f6-a905bfd2cb05', 'DELETE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('04f4c547-9f70-4cc0-874c-73924e4a0c8c', '7a6b8585-8bcc-4bcc-a1f6-a905bfd2cb05', 'UPDATE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('686a425a-bf28-46da-b5ef-674d0a641214', '7a6b8585-8bcc-4bcc-a1f6-a905bfd2cb05', 'SELECT', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('b70ad539-728d-4ae7-829b-5aaf9f82a6ec', '0eba2cf6-e74b-4f41-bac5-9c0292f8e9e1', 'DELETE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('1718d6ec-bd44-4b4c-8b96-ab324206580a', '0eba2cf6-e74b-4f41-bac5-9c0292f8e9e1', 'UPDATE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('5828fda5-8474-4285-82d5-2188c65ab458', '0eba2cf6-e74b-4f41-bac5-9c0292f8e9e1', 'SELECT', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('a2dd86a3-b678-4a1b-a258-f5d69d198767', '83a4f8c9-9f65-4b7d-9ed6-963325a3ba7f', 'DELETE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('78508ab6-9cc5-41d3-95d0-53ad967fe555', '83a4f8c9-9f65-4b7d-9ed6-963325a3ba7f', 'UPDATE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('c0c4e7b4-147f-4677-9603-9df6b63bab19', '83a4f8c9-9f65-4b7d-9ed6-963325a3ba7f', 'SELECT', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('5c55efce-7166-4997-b3e9-f64d26dbf612', 'c49b0faf-016d-4079-9ce2-2f0d3047f1ac', 'DELETE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('21b1f6f8-a34d-431b-a0b9-00259ac44618', 'c49b0faf-016d-4079-9ce2-2f0d3047f1ac', 'UPDATE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('8e6bb31b-e266-4598-8780-18ad63ff6045', 'c49b0faf-016d-4079-9ce2-2f0d3047f1ac', 'SELECT', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('e5be077a-ed2f-444c-be8c-894c3809ad8b', '667be660-c8ac-48a5-91cf-655ae049bf55', 'DELETE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('96af8640-dd74-475e-9922-809949c45590', '667be660-c8ac-48a5-91cf-655ae049bf55', 'UPDATE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('716139de-00aa-4069-a8d1-d7fdc73e892f', '667be660-c8ac-48a5-91cf-655ae049bf55', 'SELECT', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('3fb55a5d-54f2-4a0d-ac05-b1eccc651f32', '63ab696c-163c-44b6-bd79-e82630923af2', 'DELETE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('74590ece-16ac-4e29-b51e-d2b36e77edc0', '63ab696c-163c-44b6-bd79-e82630923af2', 'UPDATE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('bedf6cbe-c4ef-45fd-baf3-a43ee8f3a2eb', '63ab696c-163c-44b6-bd79-e82630923af2', 'SELECT', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('63fd3409-f9b6-491e-a450-37e0e63f3dbc', '23c86f22-86df-46a1-bafb-816730494fe1', 'DELETE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('b8f09985-647d-4396-b27e-d4937968db90', '23c86f22-86df-46a1-bafb-816730494fe1', 'UPDATE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('1a2511c9-b0bd-4827-9722-f6c469da74db', '23c86f22-86df-46a1-bafb-816730494fe1', 'SELECT', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('a9ab28fd-697a-4928-84f8-35eb331fe6bd', '5a3b6183-d4d8-4e54-a680-95725e168700', 'DELETE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('2806e2a9-f6bc-4dc0-9dba-01e6fee95187', '5a3b6183-d4d8-4e54-a680-95725e168700', 'UPDATE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('cdca9ec3-0b0b-458e-b5c2-b0372b8f2d4e', '5a3b6183-d4d8-4e54-a680-95725e168700', 'SELECT', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('d31bc55a-3cef-46c4-8d10-1706ba3640ae', 'fb819667-b171-4b6e-ae3e-31c6a40d4be8', 'INSERT', 'hs_office.partner');
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('03c7b262-3dd4-4dd5-913d-95a54b7dc7ce', 'fb819667-b171-4b6e-ae3e-31c6a40d4be8', 'INSERT', 'hs_office.partner_details');
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('9ffd0c37-7e38-467b-aa10-54fa4bea2b06', 'c27d1b0c-7e43-4b64-ae69-4317f51023ba', 'DELETE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('40ec5666-8ee0-4484-873c-cbf9367475d9', 'c27d1b0c-7e43-4b64-ae69-4317f51023ba', 'SELECT', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('9a565322-b9f9-4988-b0c6-22ccd045fb2e', 'c27d1b0c-7e43-4b64-ae69-4317f51023ba', 'UPDATE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('d5df4b5f-2fec-4f6c-bf45-8bcc03ac0b66', 'ef607549-e66b-4e42-ab70-dd0f7a4ee791', 'DELETE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('da0744f7-4d11-4520-a64a-96e38a10f227', 'ef607549-e66b-4e42-ab70-dd0f7a4ee791', 'SELECT', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('28e1acb1-2a47-47b2-aa66-2b041d3a5fd5', 'ef607549-e66b-4e42-ab70-dd0f7a4ee791', 'UPDATE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('a1d673b3-7cad-4c76-ae04-6de8308add65', '11583dae-da71-4786-a61d-d70f51ce988e', 'DELETE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('9131a4a7-61d9-4622-be21-0b9851343606', '11583dae-da71-4786-a61d-d70f51ce988e', 'SELECT', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('f7f740ac-2f38-44fa-8277-55010581a205', '11583dae-da71-4786-a61d-d70f51ce988e', 'UPDATE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('1613d738-5907-4bc6-abce-911eddd3dc33', '9cee97fc-5961-4b64-8888-6ee8d1ee34fc', 'DELETE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('cbb47a7c-602c-4c34-aaab-1deb531147c6', '9cee97fc-5961-4b64-8888-6ee8d1ee34fc', 'SELECT', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('452dba8c-1dee-4ea2-be7a-6a1cf6ec53b8', '9cee97fc-5961-4b64-8888-6ee8d1ee34fc', 'UPDATE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('90d8f778-a2f7-4727-a306-4477450e61a7', '7fe704c0-2e54-463e-891e-533f0274da76', 'DELETE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('e63dfaa5-0072-4df2-9689-58a2ae260903', '7fe704c0-2e54-463e-891e-533f0274da76', 'SELECT', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('06fa4a05-6359-4469-ba78-09876aedc34f', '7fe704c0-2e54-463e-891e-533f0274da76', 'UPDATE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('0f9f3667-041f-4266-a5e8-72c4a516ccbf', '29234c1d-d128-4eb1-8efa-b9528d11b138', 'DELETE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('a6b33e97-a326-4d10-9d17-76c90e1c2012', '29234c1d-d128-4eb1-8efa-b9528d11b138', 'SELECT', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('654aa3c9-19af-4ee5-a294-0fde31eb1657', '29234c1d-d128-4eb1-8efa-b9528d11b138', 'UPDATE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('5390f731-c04f-4d6e-8482-6c623b51ddf3', '8d685609-a88e-4005-a265-994f34f28128', 'DELETE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('2c3b2b5a-e8ed-4e3b-b0c0-660b0a4e554f', '8d685609-a88e-4005-a265-994f34f28128', 'SELECT', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('55320cf2-82ac-40c6-9066-7d03657e8919', '8d685609-a88e-4005-a265-994f34f28128', 'UPDATE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('c3a961d2-2f6e-4dcb-be4f-5c9adf192a14', 'a297a917-aebe-4662-92fb-0729aa1c525c', 'DELETE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('c6c2e373-d665-4fe0-bd36-5a9a738c183e', 'a297a917-aebe-4662-92fb-0729aa1c525c', 'SELECT', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('caa88278-934a-4006-9881-34bdf5aee37e', 'a297a917-aebe-4662-92fb-0729aa1c525c', 'UPDATE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('516c2804-5c3f-49bf-8cc0-a168796de948', 'a48308b2-ab59-4bfc-ab21-eb0ff4389b18', 'DELETE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('456557c7-f3e8-4eca-8ac9-40e9d85a133d', 'a48308b2-ab59-4bfc-ab21-eb0ff4389b18', 'SELECT', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('6db4adc8-8f0b-4bdb-8103-a12bf33a6b14', 'a48308b2-ab59-4bfc-ab21-eb0ff4389b18', 'UPDATE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('cacea311-52f7-4cd9-99b7-b3ac7b7b043f', '92a9e974-65f6-4428-a410-8b44d33514a0', 'DELETE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('7a570fb0-5c2a-4f1c-a118-4294c625a681', '92a9e974-65f6-4428-a410-8b44d33514a0', 'SELECT', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('f9f6d4d4-1d49-4a0e-b4ea-66d1a177ee75', '92a9e974-65f6-4428-a410-8b44d33514a0', 'UPDATE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('6d0dbb52-af7f-4136-984e-f85ba9b5f588', '50b5215d-4fdc-48be-a196-22fbe9325efb', 'DELETE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('615ac8b2-0862-47fd-9484-bc885086b26d', '50b5215d-4fdc-48be-a196-22fbe9325efb', 'UPDATE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('7f38985a-9537-4c82-bd1c-4702e61de51f', '50b5215d-4fdc-48be-a196-22fbe9325efb', 'SELECT', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('46ed17dd-faba-46c0-bff9-c0886ba335f7', 'ba3b7687-f7ca-4520-ae16-6d3701fc5df9', 'DELETE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('3067c987-609d-4df6-8f9a-6ea135f60afa', 'ba3b7687-f7ca-4520-ae16-6d3701fc5df9', 'UPDATE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('ec7e672d-f5df-407e-9050-92adba41d733', 'ba3b7687-f7ca-4520-ae16-6d3701fc5df9', 'SELECT', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('bcc6e166-5595-4b00-baa1-766440aec048', '33c27d3b-b8ea-4096-8d71-ee351ebed0a9', 'DELETE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('98d996e7-403f-4773-9fbe-4b51c991736c', '33c27d3b-b8ea-4096-8d71-ee351ebed0a9', 'UPDATE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('25585475-81b8-4556-b433-60fd14aebc19', '33c27d3b-b8ea-4096-8d71-ee351ebed0a9', 'SELECT', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('83680b36-9bef-49fe-9461-ecff189b65f3', '754ac83e-c0bb-4391-bc56-14636708b9c4', 'DELETE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('e2c30de4-1d2f-40af-90d6-8016e727b0d7', '754ac83e-c0bb-4391-bc56-14636708b9c4', 'UPDATE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('9253682c-c8c3-4e13-ad39-4e559db2e6d2', '754ac83e-c0bb-4391-bc56-14636708b9c4', 'SELECT', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('5d7e738c-56d5-4d39-911e-9dd9372822bc', 'b0ad26e4-3b28-4450-8a51-72a63112baea', 'DELETE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('fce58004-a8ee-49c5-9fef-72ef022d9696', 'b0ad26e4-3b28-4450-8a51-72a63112baea', 'UPDATE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('c8204996-e351-4077-b607-8813595e9fb4', 'b0ad26e4-3b28-4450-8a51-72a63112baea', 'SELECT', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('35e2783b-8489-40d2-bb9b-38bc50e72038', '28813a5d-54c6-435e-b0a7-b78d858f874e', 'DELETE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('45ee7e96-1d79-483a-9349-5bfc1e79ded4', '28813a5d-54c6-435e-b0a7-b78d858f874e', 'UPDATE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('69cd0e18-d897-4959-b137-e79e9f82d913', '28813a5d-54c6-435e-b0a7-b78d858f874e', 'SELECT', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('adcde1cd-f82d-458f-8ee4-d7e94bc9fd73', '8b6362a1-d6d5-437e-980e-f1fe4043de6a', 'DELETE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('819cc93b-9c06-41ce-ac21-4cded12ce169', '8b6362a1-d6d5-437e-980e-f1fe4043de6a', 'UPDATE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('4cde907f-26c9-4d3f-878f-4d101c4ea33b', '8b6362a1-d6d5-437e-980e-f1fe4043de6a', 'SELECT', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('285d3725-e1bc-4581-b638-4df461746349', '843b098d-12af-4980-b211-703a20192443', 'DELETE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('dd28280d-ae72-42ea-985f-1f1de85993e2', '843b098d-12af-4980-b211-703a20192443', 'UPDATE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('85aba709-c42b-4cab-b8f7-f63d654e0170', '843b098d-12af-4980-b211-703a20192443', 'SELECT', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('8332f9ee-f387-4389-b9a0-8e95b7c4aa0e', 'fb819667-b171-4b6e-ae3e-31c6a40d4be8', 'INSERT', 'hs_office.debitor');
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('09450839-b8b4-40cd-bc96-163b03233ce5', '5b3529ca-f6da-495c-ad52-b0e4894a82b2', 'DELETE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('e15b64af-92ce-4bef-aca5-20092a79c04f', '5b3529ca-f6da-495c-ad52-b0e4894a82b2', 'SELECT', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('77683856-587b-480a-9067-27bfaa3f80d1', '5b3529ca-f6da-495c-ad52-b0e4894a82b2', 'UPDATE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('443e3968-dbf6-46f1-aa7b-4303f87d6284', '5d5fa77a-455f-4603-8940-00af676b66aa', 'DELETE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('b8e49a03-d0e5-4ab8-9c06-4635af28ac91', '5d5fa77a-455f-4603-8940-00af676b66aa', 'SELECT', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('79b0400c-197f-4215-af56-c5a335adece4', '5d5fa77a-455f-4603-8940-00af676b66aa', 'UPDATE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('5c63b912-4157-4569-8f49-d3a814cf6829', 'd8cab65b-91be-4f1a-846b-887c95be1d38', 'DELETE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('0279db2c-3f3e-4e94-8be6-60ac909da107', 'd8cab65b-91be-4f1a-846b-887c95be1d38', 'SELECT', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('9b6c1276-e869-4fa8-842e-e7963c9aaea3', 'd8cab65b-91be-4f1a-846b-887c95be1d38', 'UPDATE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('8a87e2cb-1b22-4130-9ea9-000303fab945', '7db0877f-0116-430f-9db3-c35a2b693d00', 'INSERT', 'hs_office.sepamandate');
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('09325b23-e854-4e4d-bf5a-89d54156c06b', 'bcee4fcb-c7a5-4191-8d4e-6b1d9dfe23c3', 'INSERT', 'hs_office.sepamandate');
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('8c5a9229-036e-4014-b760-0dd84e71fc46', '0eba2cf6-e74b-4f41-bac5-9c0292f8e9e1', 'INSERT', 'hs_office.sepamandate');
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('3f44701d-2cd5-4a78-8f6b-472e73af5068', '667be660-c8ac-48a5-91cf-655ae049bf55', 'INSERT', 'hs_office.sepamandate');
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('f6fe66ca-c5a9-4b21-ad37-a2716d4fee4c', '23c86f22-86df-46a1-bafb-816730494fe1', 'INSERT', 'hs_office.sepamandate');
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('6fa7d3d9-a24f-4f38-b8ce-34262c867600', 'f1ce41de-5c44-4b5a-8c75-d32c9652df8c', 'DELETE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('cf85031e-f790-44f0-8d22-679726d0cdab', 'f1ce41de-5c44-4b5a-8c75-d32c9652df8c', 'UPDATE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('f4c7459e-3e76-4b4c-9294-cb3c35d86f2c', 'f1ce41de-5c44-4b5a-8c75-d32c9652df8c', 'SELECT', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('df488bd9-41d5-42c4-a440-6c3010d4d436', '2b5b7481-0bd4-43a7-bb97-1d96b1cbca68', 'DELETE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('529a7657-de76-4e5d-a1d5-384947e8915d', '2b5b7481-0bd4-43a7-bb97-1d96b1cbca68', 'UPDATE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('7d222a98-94ad-41c4-8a40-0b17afaefe75', '2b5b7481-0bd4-43a7-bb97-1d96b1cbca68', 'SELECT', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('69b25d5a-8337-4bc7-b0d2-cd37ecd14b4b', '3a909c22-3e39-47cc-bb75-22a69eeaf720', 'DELETE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('91ae2adb-b9fb-4ef2-8c41-efef89fc0ea7', '3a909c22-3e39-47cc-bb75-22a69eeaf720', 'UPDATE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('42f3cf54-55dd-4352-8fc5-2727996f68cc', '3a909c22-3e39-47cc-bb75-22a69eeaf720', 'SELECT', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('e9adbd81-d37f-4190-aeab-9a18bb71f057', 'fb819667-b171-4b6e-ae3e-31c6a40d4be8', 'INSERT', 'hs_office.membership');
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('e8c3e08f-4e74-4db9-93aa-84d4191de467', '4330e211-e36c-45ec-9332-f7593ff42811', 'DELETE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('ec76a594-0f58-44cc-8bc8-0e878f4c221b', '4330e211-e36c-45ec-9332-f7593ff42811', 'UPDATE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('8586cdba-d0d2-45a3-8149-b7445b6a580f', '4330e211-e36c-45ec-9332-f7593ff42811', 'SELECT', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('42b91310-d8ba-45fb-b359-5bb4d372d33e', 'bed3c145-aa55-425f-9211-be9f5e9f4ebe', 'DELETE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('e0a80aa3-ed0d-48a0-b1e3-2ba13a068334', 'bed3c145-aa55-425f-9211-be9f5e9f4ebe', 'UPDATE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('b2dd09df-4c04-4771-9b3e-a13aba911e2c', 'bed3c145-aa55-425f-9211-be9f5e9f4ebe', 'SELECT', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('34e20ce9-98b7-433f-93c5-5de2382f7d13', 'a42d61c5-7dad-4379-9dd9-39a8d21ddc32', 'DELETE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('b57e53da-324e-4d59-beb9-9dcfe4b99c27', 'a42d61c5-7dad-4379-9dd9-39a8d21ddc32', 'UPDATE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('cfc6d138-80ae-4cda-a870-cca51f8a4dae', 'a42d61c5-7dad-4379-9dd9-39a8d21ddc32', 'SELECT', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('89271511-193e-44ba-bd85-7ffa2616df36', '4330e211-e36c-45ec-9332-f7593ff42811', 'INSERT', 'hs_office.coopsharetx');
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('c4d24b45-9c62-477e-a1f1-bc73e39434f0', 'bed3c145-aa55-425f-9211-be9f5e9f4ebe', 'INSERT', 'hs_office.coopsharetx');
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('575d5355-4937-4966-80ff-85d4be2fc783', 'a42d61c5-7dad-4379-9dd9-39a8d21ddc32', 'INSERT', 'hs_office.coopsharetx');
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('8e26528d-7a8d-4823-bf3a-157182e42840', 'fbe75170-bd97-4751-954a-58609e33f5c1', 'SELECT', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('d996683f-4047-47af-bd4c-cbf3e42e802f', 'fbe75170-bd97-4751-954a-58609e33f5c1', 'UPDATE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('89234548-3644-477f-9fcc-7070d423547f', '13c5c422-4f47-4191-8bd6-f6d7ee820de2', 'SELECT', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('01f7a098-b975-464c-b5b1-f4c473aa6abd', '13c5c422-4f47-4191-8bd6-f6d7ee820de2', 'UPDATE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('eb3c9d8b-1177-4eb1-92cd-4d28780978d0', '6c88beac-8b25-4adc-a0ee-ae46351c7687', 'SELECT', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('23d880a7-8096-46de-b204-81f9888db962', '6c88beac-8b25-4adc-a0ee-ae46351c7687', 'UPDATE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('470bd21a-a64d-4407-b084-ff480cc2c49e', 'b7c65b95-9fb8-43b1-8b20-5f3b168c573a', 'SELECT', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('20add1b9-e47c-4dec-a757-2f36b0a98f29', 'b7c65b95-9fb8-43b1-8b20-5f3b168c573a', 'UPDATE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('7a76a8f1-f77a-401a-8445-3c74d991c869', '42907488-176f-4662-9fb6-b819f1c5c306', 'SELECT', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('e6a2962a-a128-4587-8788-cf0fe9f9b18e', '42907488-176f-4662-9fb6-b819f1c5c306', 'UPDATE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('a56a4381-b906-4d27-b88e-0653ae72fc3e', '47b33cb7-44b3-4596-96e9-8a8e34aad841', 'SELECT', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('657d13fc-fa82-491a-9e87-c2ef3c89ae91', '47b33cb7-44b3-4596-96e9-8a8e34aad841', 'UPDATE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('f709b0a6-7222-44dd-9bbe-c58ebe41ef24', '7931bf2e-a490-42f7-855d-a4b632b76b0e', 'SELECT', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('b74cc117-1f65-4d2c-a080-89b53b18af48', '7931bf2e-a490-42f7-855d-a4b632b76b0e', 'UPDATE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('abb36dda-d309-456d-b25a-c5f6b0f8c22c', 'a2d13b57-6242-43a3-a26d-e640c385f925', 'SELECT', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('4384b952-24c3-4d35-ae45-be3e7db43658', 'a2d13b57-6242-43a3-a26d-e640c385f925', 'UPDATE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('a092a4e5-dcfc-45b8-b5e6-c70036545c4d', 'bec4ce08-76ac-4b6d-93f8-62307fc4cd4b', 'SELECT', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('79a4fb5f-60e6-4f6b-9534-e7096cd749c1', 'bec4ce08-76ac-4b6d-93f8-62307fc4cd4b', 'UPDATE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('ee1e253a-2e60-41ca-a014-dd522669d2ea', '1e20d973-b79f-4b5b-bb9e-6a8af9513a35', 'SELECT', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('2ad44d60-aa28-4d06-979d-b9b0dfaf370f', '1e20d973-b79f-4b5b-bb9e-6a8af9513a35', 'UPDATE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('28cc8d9e-7ccb-479c-b3ad-f01e8b26c536', '0737dc7d-1634-4e9a-a8d9-dd5d96ac2c61', 'SELECT', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('212acd85-041a-481e-a578-e6a59bd115a5', '0737dc7d-1634-4e9a-a8d9-dd5d96ac2c61', 'UPDATE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('cae180e8-6a23-44ef-92d3-f1fe270fc300', 'dd1243f6-6a49-4cee-a45f-28d153bbc84e', 'SELECT', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('5950c5a7-4afe-4d95-a7f4-26376fce76b1', 'dd1243f6-6a49-4cee-a45f-28d153bbc84e', 'UPDATE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('d7dde6d6-0d8d-478d-89e4-93448eaff939', '4330e211-e36c-45ec-9332-f7593ff42811', 'INSERT', 'hs_office.coopassettx');
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('6b7a97cd-5842-48cf-b82b-32e650f5e200', 'bed3c145-aa55-425f-9211-be9f5e9f4ebe', 'INSERT', 'hs_office.coopassettx');
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('4781a17c-a119-4726-acec-647ab4178314', 'a42d61c5-7dad-4379-9dd9-39a8d21ddc32', 'INSERT', 'hs_office.coopassettx');
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('4223af96-be57-43fe-8757-97f1fc7efe73', '676ed5a4-28ad-4631-8d60-6f5d6ce322bc', 'SELECT', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('e0a2ad3c-6c4d-4f3f-8030-fc44d5c99cd9', '676ed5a4-28ad-4631-8d60-6f5d6ce322bc', 'UPDATE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('7970eea3-ad13-4185-82a4-869946a82943', 'b627613a-10e4-435b-8f81-c7c31abe114b', 'SELECT', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('810383b9-26cf-4faa-8655-cd89599a59c4', 'b627613a-10e4-435b-8f81-c7c31abe114b', 'UPDATE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('af8aad0a-38a8-4b2e-b26d-466bb9efcb36', '240d8194-43e0-455c-b759-aca1d68d129a', 'SELECT', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('2cf35377-01af-4114-a4b4-699c3ddec40f', '240d8194-43e0-455c-b759-aca1d68d129a', 'UPDATE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('4237bb9a-cfb3-45c1-8c6f-b6e9acb68a92', '0cff5e6f-c936-4ba6-8eaa-dde92514b7f4', 'SELECT', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('82586c79-9d1c-410e-a9ad-a58921226ce6', '0cff5e6f-c936-4ba6-8eaa-dde92514b7f4', 'UPDATE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('59784630-e4d4-4348-ac23-29a97458f818', '9c5fe71c-5a01-4769-96b3-f96d1fc96887', 'SELECT', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('698c3f76-c309-48d6-a5fb-bba764dcc1f7', '9c5fe71c-5a01-4769-96b3-f96d1fc96887', 'UPDATE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('cf906251-f454-4731-b817-eb98ec0806e6', 'c8dcdb55-672f-4152-865c-16907f83ff5a', 'SELECT', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('868e25ae-005e-4dee-b631-8d8921bacba5', 'c8dcdb55-672f-4152-865c-16907f83ff5a', 'UPDATE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('34814cb8-baa1-409e-a706-c8eb0e635ff7', '88e5084c-472f-4c27-b51b-dc22dc13b9eb', 'SELECT', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('fc7eda4d-73bc-4712-af0a-22a622c29156', '88e5084c-472f-4c27-b51b-dc22dc13b9eb', 'UPDATE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('99128846-713a-47f3-98ce-ef24d8e4158e', '92ec36a4-d652-4051-9fc9-4d316fb2f0e6', 'SELECT', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('0aa035fd-e6b5-4ef6-8f98-8914da2d6d28', '92ec36a4-d652-4051-9fc9-4d316fb2f0e6', 'UPDATE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('74599a1a-6d80-4571-baae-9c2d908d0f1c', 'db57c933-f269-4a49-8d48-3412ed1674dd', 'SELECT', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('b59da3aa-865c-4f53-8220-245d3b4e4c83', 'db57c933-f269-4a49-8d48-3412ed1674dd', 'UPDATE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('3abdb59e-14d2-4128-ad58-491ee3ea5a35', 'bf523f40-d58e-43d0-88a3-2f27e6a694dc', 'SELECT', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('9b36937d-e5d0-457c-8707-beb9efa16748', 'bf523f40-d58e-43d0-88a3-2f27e6a694dc', 'UPDATE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('9f7ff415-ceef-4614-9b20-1fb30986779b', '66174fa7-76cf-43e0-bb52-b8a8a0ca8008', 'SELECT', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('ce9c2fbe-a8d5-4507-8736-86152a83d408', '66174fa7-76cf-43e0-bb52-b8a8a0ca8008', 'UPDATE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('2e074648-b51b-4782-b283-fb401f6ee1bc', '2ead4c75-3e6a-405a-8e53-64c210372611', 'SELECT', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('7f5f0fce-71c5-4f53-9d87-a43c1623ed86', '2ead4c75-3e6a-405a-8e53-64c210372611', 'UPDATE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('40dfa45a-022c-4fcb-876b-d9050a8fdccc', 'f345fb37-7603-4ca7-934a-517dd801ae63', 'SELECT', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('3796da6c-9ce7-4974-bdc3-6561ed88c022', 'f345fb37-7603-4ca7-934a-517dd801ae63', 'UPDATE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('ab290567-cb39-4339-90c1-1e5ccb185127', 'b6c0a950-f1b0-4b69-9c67-3b2de780cbdb', 'SELECT', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('3ecfe08d-3a10-4a8a-8ac1-1c0901e57002', 'b6c0a950-f1b0-4b69-9c67-3b2de780cbdb', 'UPDATE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('b0f2ae0a-7812-480e-ba03-b7c8dc9023e9', '890e8afe-1dcd-424d-8191-747af2d09ff4', 'SELECT', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('14fc443e-d5ec-4fea-95c4-dd0441ef5f33', '890e8afe-1dcd-424d-8191-747af2d09ff4', 'UPDATE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('01d8356c-bc96-4c2a-b323-7fc64e81a90d', '1478a182-927f-44fe-9da0-1e09108a7d7e', 'SELECT', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('19a9de73-cc36-4749-9a3c-e36e07e88bf3', '1478a182-927f-44fe-9da0-1e09108a7d7e', 'UPDATE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('2c6af4ff-0644-4df6-97a0-69c8af1a0a85', 'c7ef7757-abff-4f30-a234-62ff69f8d032', 'SELECT', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('64406a89-05c6-403c-a33f-3ebb75e3af1a', 'c7ef7757-abff-4f30-a234-62ff69f8d032', 'UPDATE', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('adb92385-51b4-4662-b916-4c67082c5176', '7c86e357-7d6a-4f5a-a3cc-d4f6958dbf60', 'SELECT', NULL);
INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('038c505b-0145-4943-8835-ed64861fe269', '7c86e357-7d6a-4f5a-a3cc-d4f6958dbf60', 'UPDATE', NULL);
--
-- Data for Name: reference; Type: TABLE DATA; Schema: rbac; Owner: postgres
--
INSERT INTO rbac.reference (uuid, type) VALUES ('afc6a14a-f8c7-4c17-9b91-b615833bc002', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('b1dff271-3e9c-4f30-8153-c891ab4eea79', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('bdcc7fef-52e9-4b4c-a0ad-1950d6a1aec4', 'rbac.subject');
INSERT INTO rbac.reference (uuid, type) VALUES ('a8051de5-7d09-4193-a48c-36c45570b871', 'rbac.subject');
INSERT INTO rbac.reference (uuid, type) VALUES ('2f2bbe7d-bd67-4687-9295-fda48420f1d2', 'rbac.subject');
INSERT INTO rbac.reference (uuid, type) VALUES ('90039166-db03-4f59-9741-0966b6d798b7', 'rbac.subject');
INSERT INTO rbac.reference (uuid, type) VALUES ('6f1ad20c-6f1b-413c-b82c-4d8022ea202a', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('25ff93a9-570e-4cc9-8361-2ad020e8ee2d', 'rbac.subject');
INSERT INTO rbac.reference (uuid, type) VALUES ('69a48e44-55d0-4465-b956-358e502f443f', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('53269892-7005-48c4-bdbf-08da6cc40c92', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('d3ef7a10-2fcb-40f2-815d-b0feeed16655', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('0f25ae4c-082c-4bfc-912b-7fffec4c28c9', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('55d5c539-b176-46b8-9d54-45d224fb4bd4', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('83cebf26-8a7c-4f1d-8be4-195fd38d28af', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('bdfe51fa-baf3-4d35-ae75-e1204cb72190', 'rbac.subject');
INSERT INTO rbac.reference (uuid, type) VALUES ('63b0d71c-5efd-4550-9a19-a6865ad0b379', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('b69a11b3-7f06-4115-baaf-d3caa34b2772', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('16a0381f-00d3-46c4-8aba-8f9850c4ce1a', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('0d1bbf95-1083-4add-bdf0-505c59b4facb', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('43dfd7bc-6516-428b-9e17-3daa025bf942', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('e8e990e2-c26e-43b6-ad15-ab1c0e4b4ffa', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('aead54d2-cdfb-4a71-85e9-81bf66657fd0', 'rbac.subject');
INSERT INTO rbac.reference (uuid, type) VALUES ('dfca3233-7ba6-45d7-bad0-d0d30ca936e2', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('77c4fd8d-ae88-4266-b3db-b367d40c2ba9', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('56452eab-b4a5-48f7-9260-9e3b73ec667c', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('248bca20-bbc4-4337-8578-91c9c9c8886e', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('2e0957db-a5b3-4226-ad54-286ab5a07013', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('4aeba6eb-ab10-46fd-8112-25773bf87f49', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('1d236ccf-a539-4442-a58b-0a1d71494c89', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('0802661d-8546-4f62-b6ec-11c755819a7c', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('0f834fc6-4202-4bc6-9c26-e284913be6f0', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('4632bead-f8ed-4fd7-8450-6373f1866480', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('86176933-cf96-4c96-93c9-300bea07d6d8', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('121719be-0a9e-4db7-b08b-7cb2c70c2746', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('ae7c30a8-38f8-4958-bdc2-443636f37cb7', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('5637f48c-8147-4bcd-8310-483992134474', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('ce29c503-5f21-4128-8cb8-98ea3aeca5f0', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('8b7aa499-a002-438e-a374-8727505fd466', 'rbac.subject');
INSERT INTO rbac.reference (uuid, type) VALUES ('26c15adf-9ef0-4582-84a0-0b88622578df', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('d1b6c45a-ea36-4933-8616-d5d9a4c7e2a9', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('bf660924-c6e9-4ff6-b25a-ee86f1d0be65', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('4270da5c-c719-492e-b4f5-1311f850bf74', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('8e0d16b2-360a-454e-8019-9c1882c04e5f', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('726bffdc-94d6-404b-9929-2bbdd8438400', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('996b095f-6390-4c22-8513-4b0d6a42a3e5', 'rbac.subject');
INSERT INTO rbac.reference (uuid, type) VALUES ('3be7ab56-f11b-43dd-a915-0b2c2d83cde0', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('ea153d1c-7c2c-423f-b50d-d6a4b74eb0a3', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('cdc80d76-ba5b-4621-8176-4c5eb04f74b9', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('bd39a86a-6d69-4aba-b2ba-93e4ba7d5e68', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('6c23d1e8-bab1-4307-9906-6f2970b148fa', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('7bb890db-fe99-410b-8771-570e6f94a3bb', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('36351f3a-53ef-489b-a357-a5b313bb342f', 'rbac.subject');
INSERT INTO rbac.reference (uuid, type) VALUES ('1bf9f801-9500-4956-b1b8-22a41d0b96e5', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('1f9cf200-6832-4fba-911d-b76e5dac5565', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('da7279dd-cdaf-4765-8a92-47e38cc21aec', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('a3fa28dd-26b8-4ab0-b503-96bab5f862b5', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('202174cc-19e8-47f0-9f62-8fa7509dde3e', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('286e1ac2-8159-41c6-a2de-81baa8a11fda', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('ca6b27c0-170f-4e0b-9838-09b782d3c795', 'rbac.subject');
INSERT INTO rbac.reference (uuid, type) VALUES ('a91544fb-c5ae-4ccf-a813-f3bcbaa99fb7', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('150c57c6-1794-4554-9b8d-a6eaf1520759', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('0b02c7c2-4866-476a-ab7b-76e345211fb9', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('cc984f70-1ca8-46b8-9cd0-c9c0aa1ce496', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('a2d469da-0bb9-4bd2-9002-6fbcfa0e2e2c', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('7320ceb7-3736-4c2d-b51c-b7dc24b203a5', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('1a50753a-716d-4c91-8691-2e7ac8c0ebee', 'rbac.subject');
INSERT INTO rbac.reference (uuid, type) VALUES ('4cb800e0-5963-402a-9c4e-138845ca1956', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('f8559b3f-1d4f-49c3-b00c-bde86bacc35e', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('5d92763f-7a4b-4185-b1f3-383a41773a3e', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('e9bb76c9-81f5-4d34-928d-2b7a2da11616', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('12fe4b88-87b8-44d3-a25a-b2a2983343a0', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('9c14dc39-4436-4e17-99af-6f1b748ebafa', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('af97c31c-aa68-49c6-995a-ec5e59bde048', 'rbac.subject');
INSERT INTO rbac.reference (uuid, type) VALUES ('de0b5552-a3b5-4f62-a4c5-a894c3f176a1', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('9013f4d6-5cd4-4099-9176-c7cdda2b1635', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('7d0ff486-912a-45a9-8dc4-350ec6063566', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('495c8c16-f7d9-459d-a7f2-ce7e3c42150c', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('a528582d-4f8b-46f8-80b1-0410c33a0755', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('23e15778-8c34-4375-bb74-639d37ecc442', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('0d291c35-1be3-4b9f-809f-fb6f9403f6ab', 'rbac.subject');
INSERT INTO rbac.reference (uuid, type) VALUES ('484f2625-cbe8-407c-b9cd-01a3d4b68505', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('5b5cce57-0cd5-495a-88bb-4c70d76eae67', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('4a7c58e6-bd2b-4982-9a53-46bffa19201a', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('591c1bc7-7d2d-447f-880d-16615035ab72', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('7154af3b-c2cd-4dc2-a94a-83af7e05b44a', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('4747c475-6a75-46dd-8962-eabe603f461a', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('a5acc2d7-12a6-479b-8c1a-d003105fdfb6', 'rbac.subject');
INSERT INTO rbac.reference (uuid, type) VALUES ('7eba67bb-a92f-451f-abcd-091318ce7437', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('3117d357-8613-4eaf-9a91-a7230aa79e87', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('a689b525-e82e-4a60-99b5-5d0e7abccf78', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('ad810d9e-7f6e-46ce-98cb-f4218ae41c70', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('a6654910-2ada-4c04-8a67-773b4e4ab17f', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('30d01eb1-2556-4345-9ff5-12c36d42a383', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('61f888aa-5567-4fdf-a856-700a520ee0f4', 'rbac.subject');
INSERT INTO rbac.reference (uuid, type) VALUES ('7568cc94-e02d-4e9e-a517-902a89f6affa', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('8894c3c0-7dbe-4aa6-8cd9-c02319dcc3a1', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('df597493-58d3-4b0c-86a5-20fa095f4be0', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('a8180460-73fe-4a89-95a1-30f80381afc9', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('3d1f582c-6887-4b97-a2f9-7885e74add69', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('f847e293-6ca1-4b36-a31c-e399279bd017', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('23a0185a-2c7f-4e97-b7ab-a0c9f9872ea9', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('07860c3d-300a-4145-80e3-73b5cfc9fc72', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('128ed79a-2fa8-4d43-9897-716294599a9f', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('81a2e24a-a975-48f1-847e-bfa412fdf9d1', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('309dfc5b-c14e-46a0-ae5a-1d4226ccb123', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('f11a3203-ffb3-4ec0-81eb-fa029f156b5e', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('40dc1aaa-2842-4b54-bb6d-80d28b709bab', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('f03147f0-04e0-432a-8e76-8ca84a699425', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('6d0f3cd9-1e42-4ee0-a77b-883d86f8659c', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('4a9f21ff-ba8c-4a03-b589-77b9247280e6', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('12b28236-0be7-4a3a-9dca-6a2b84dd0552', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('87eab1a3-1c75-4ce1-a247-100242e4c8c1', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('b76cffed-962e-4f5b-a74c-1357ded6d32a', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('df7cdac4-aee3-4912-81b0-be36b38b9461', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('57e5d419-277c-48dd-8b01-44a5aac731bd', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('2b17d8b7-9f20-4742-8470-1cac8d92d7e0', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('f72a01f4-d589-49a5-85aa-e91f909337b5', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('aa58299d-2e75-4678-b668-20cc10bd2549', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('d4b918cd-e1f3-47eb-a071-456de0ee1ce8', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('4fee1f89-59e3-4c3b-9cea-2509e2f43c7f', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('67da1b8a-ac2c-4998-8b91-48384df171a0', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('e541f5ce-259f-4589-b2b6-2f4da9c6a84b', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('647f9235-92dd-4f42-8132-edbebe82d849', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('e424ff4a-849f-4599-96cb-41a3ef66c3a3', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('9ba6ccca-1554-4e22-82c6-80f150553396', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('357b1ba9-9d01-49e4-b1ca-4c1cdd2cfb63', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('73c287a0-1ef5-4cb3-94fe-b67f5c6ca98b', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('bcee7404-c0bf-4212-8a22-0604d27b325d', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('1c3d5ed0-13dc-4a14-b44b-e708bac718bc', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('fe091b95-fde6-4efe-95a3-e186acc710a5', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('275fd74d-08a5-43d1-a5da-d6694792cee6', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('ee290b3a-8cd0-48d1-9a7f-5315762e4744', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('57c79cf9-5514-4a11-ac94-2a4a04c4d6f5', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('89c9d640-8cc4-465c-8a67-65b90683aa40', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('ec550aae-f868-4e9a-ae46-dea684ac8025', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('0df2ff3e-8d9b-4fa1-a0a5-c4f0d6670745', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('7e981c79-e079-45d2-9c86-6966a3bef7f2', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('656e591b-380c-4ce9-8329-948a5db3c48b', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('3d2f1085-216f-4c28-b393-483809a50dfe', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('d14cda32-545d-4f58-9912-0e02810bb20d', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('2a34d512-316f-44ca-a88d-2e92b7ae0c9f', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('aaa7d42d-37e9-4486-b5d2-047b03e314d0', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('e06ce4f8-a4db-4bc9-be65-08b5a956e824', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('9fad7ccf-f6d5-4915-8c6d-ff59813b85d6', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('bfd8eda3-3315-48bf-91b8-1e1910baf143', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('a7d26a3d-efca-4015-8fb0-8208df70a358', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('d3d40295-64fd-4366-954a-753fc6b77859', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('07282505-7ac0-40c0-8760-52394d951c72', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('28cfd978-beba-40c2-b0a7-97819d623214', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('7b0423cc-423d-48c0-b94d-dc395548ceaf', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('c322154b-c233-4de6-b15e-c0519694a7ea', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('b667797a-6f3e-481d-8900-9aed99ded908', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('26429570-88af-4838-8f1f-7bd29ef2adde', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('5161c876-3b54-4601-a09f-1b1e76d1ad71', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('8c4bdcff-1b30-494d-94c3-750a5c1ce354', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('1f43190a-5094-44af-92db-03affc9b2184', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('eac05ae5-af18-4cc6-8077-f816c805a8d0', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('f9bdd8c1-81eb-4723-b17e-a0b44b119601', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('2ca76740-7e93-4ebe-a831-09bc4e0e287a', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('0ab236b9-ab03-458d-98a8-ddf5246a5f77', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('c07dc67f-8c62-4485-836d-d448fb287c4a', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('e236a8e5-d4c4-423c-8a92-efc20b510e9a', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('9218b6bb-9c63-47f6-814b-7a8701eb0e22', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('c6640f54-1b24-470d-876c-ba77401772d3', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('ff141fdf-f60b-46c3-af9d-60472765c8cb', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('2f06b454-9fdd-426f-b791-413f24c538e8', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('f55e8920-a037-4769-ad39-5d0cc77dfcb0', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('16f27fa0-25ea-4be0-b086-3ba3a5042b39', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('4096230e-1260-42b6-9eff-7ddb4f0a5f21', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('b8cb9da6-8585-49c4-a413-97403f9507ee', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('3a3da60f-2006-4806-9f93-16bd6da6b441', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('54ff21e9-56e6-42dd-a17c-b6c4259a5523', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('6bed9fba-b6e1-4c28-bc93-cc0eb0b07e58', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('2c1a1a87-fff0-4970-b861-9560793314e4', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('abed2f54-d15d-4290-b01b-b0697ac967ba', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('bc5bd07b-4f58-4477-86d6-99067ddc2082', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('517ca825-fed2-44c5-ab7a-b95ee0350dbf', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('ffca12ab-f74e-40cc-8c3b-bdd9ab68541d', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('99428858-c5de-4c13-b91e-8d01d93225b0', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('402b3d48-c423-4319-8bd1-d20d128c6caf', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('7613a6f1-04ab-46c4-8f13-d01d7b60b77d', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('2b22b79f-b1f7-415d-b50b-5938ffba113a', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('ab86dad6-efa6-4be8-8f07-97765e38df5a', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('c7b0d4c7-17b3-42ed-b151-fd1d3cf1105c', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('0bf027e6-dd84-4c91-8dde-2e54189408d6', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('c34ff153-528b-4533-bb2a-6af4776d7d46', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('e439174f-b436-4675-8d59-a4c003301f75', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('a3d4c041-c32c-491e-9a04-cd00985f90d9', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('b34325fa-7c47-45a2-979b-d88eb8c4758e', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('b463ee37-3d33-4330-b16f-7ab84a06658a', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('1a559ee1-da5d-4b85-b48f-ee15eb5069aa', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('0c3fbe1e-ad08-40a2-a685-436ca0aec27e', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('04c7e2df-fb54-4f6a-a529-0316d6ac8de2', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('5de0a8e1-a0d7-400e-90a6-840705faaebc', 'rbac.subject');
INSERT INTO rbac.reference (uuid, type) VALUES ('e93073b3-d214-42fa-983f-da394322ea7d', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('f3f56d40-e253-4848-8fb3-a89e123f9b6f', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('cde57d67-7a2c-47d1-8408-46bb662a97e1', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('5aa6c37b-585a-4ff4-86f3-9c7b76bb09ab', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('dfd9ff64-fab2-4f2e-ab9a-1e72780457bc', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('d9a38c00-a3b0-4f6e-9353-a4b1c6d03677', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('923b54ed-8d82-4612-8be0-4db6e9e8d532', 'rbac.subject');
INSERT INTO rbac.reference (uuid, type) VALUES ('382d0e66-a8c7-42ef-ad45-8eed2bacab6f', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('f07d8d65-42cb-4c05-911e-e1fcbbe1b03a', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('c542f563-0c30-4023-a057-9aa2d95341c8', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('6d2e3006-a7df-4670-b81a-420027c8626e', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('9dcd1cf4-2293-4352-9049-0b4d28c9f1cb', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('07849131-0aa5-42a1-8a96-4e36715ffcfe', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('6b27f6a4-2e7f-493e-a842-8c43f48a9c45', 'rbac.subject');
INSERT INTO rbac.reference (uuid, type) VALUES ('668acd12-3446-450c-b98e-585398b353f6', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('c4b18fe6-5a32-4818-b3c1-98068b1eba45', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('02ee24dd-092c-458d-81ed-5bcd06e946d7', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('cabfa94d-1cf9-4880-b304-2aea50c6b1c4', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('9b03c48b-38e5-42e7-97b1-83841034180d', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('ded51145-aa1b-4bb8-9a90-22c7d274af9e', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('7879309d-c155-4d8c-9dcd-d4eacf27bc08', 'rbac.subject');
INSERT INTO rbac.reference (uuid, type) VALUES ('d2c8882e-1bbb-41c2-b23a-a83fec8d90a5', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('5391d28d-1734-4a8d-8dc0-d122fd748624', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('b4fc3672-18fa-4f25-aa48-e7a91d73902b', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('a4bc590a-4be9-4c0f-862a-4780478f87bb', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('19a6e99d-d08c-447d-8fae-d9ba39e5bcba', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('9ca15a97-5677-4362-bcbb-857ea36142e2', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('6bdaac0d-742f-44d0-a713-d1dcd4c86049', 'rbac.subject');
INSERT INTO rbac.reference (uuid, type) VALUES ('05064d0d-0c3a-4691-af64-f011accc8f7e', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('a2a465dd-0284-4840-986b-c2237cd1bb5c', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('6af67ae0-05b5-40bd-aabd-50683bde22d3', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('71d72963-9ab5-43c2-996b-8c6b53904b79', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('4372bb52-6554-4796-9625-36f48ad650d1', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('df3b0e5e-1488-45eb-8c46-75b5d065765b', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('179421ab-cd83-42f9-8c66-062cf854a174', 'rbac.subject');
INSERT INTO rbac.reference (uuid, type) VALUES ('26bb0412-5199-4cd9-8536-334b7d530c6e', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('968bac14-e972-4278-8553-325c9287c0f2', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('c9a6bfde-87e6-47bd-bee8-49d7c3f46b08', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('58f6066c-61f5-470a-bf6d-1caca87ec950', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('90cd8d25-ed92-4fba-ae4a-0d3fa9ade2e2', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('59307614-cf25-4bce-a739-128357d00fb3', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('aa06fc04-c789-432c-b257-5de1371a53ff', 'rbac.subject');
INSERT INTO rbac.reference (uuid, type) VALUES ('55b3cfee-626d-48e5-8edf-76c71ff31135', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('ebf15e28-1fab-461e-a4d7-95ec44eeaf05', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('ec5a8ce9-2c27-4bca-8274-4d59a0a4f4f4', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('4411d45c-358e-4b93-8923-917df409afbd', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('e630875c-03be-4f53-ad70-45687b1e8567', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('58f504e7-6122-4118-90ca-16726525820c', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('c1c9dc75-a3ac-448f-a9a0-bfbc9a35b806', 'rbac.subject');
INSERT INTO rbac.reference (uuid, type) VALUES ('3cea3e2a-cb3a-4036-87fd-9b13abafcd42', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('899f7de8-415a-425b-8f6f-0e254f2fff25', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('c0a22860-2436-489d-95f5-d4876c9db692', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('89a6eb87-3cd6-442d-8870-ee4a1febe2fe', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('8adf733a-de6b-4896-afc6-22d594ab07cb', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('88925521-a4b8-4893-954d-1183392463aa', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('c517afa2-4320-4612-b688-97863b263661', 'rbac.subject');
INSERT INTO rbac.reference (uuid, type) VALUES ('873ab1c2-55f1-4df4-910e-79fd1e1381ea', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('7780ce1c-74cd-4062-9c31-8ca350e72bbc', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('1c3b60ad-277b-4442-a7bb-a142d197f5ed', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('2c4784a4-f03a-4815-bec4-fa353a0fb781', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('31a7c342-90e0-4bd0-8e16-67a3fe705ea9', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('5e028ef1-9fd8-41fd-b3f4-82c16d106259', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('88964484-715a-4a24-82ca-90d75e19efdb', 'rbac.subject');
INSERT INTO rbac.reference (uuid, type) VALUES ('57c78d79-2143-42cd-90c8-8ee43f68c2b4', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('1632cbb0-5b47-4404-92cb-73a8d528952b', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('5f972f73-4197-48c7-94c1-708285fad37f', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('f070d05f-67d6-4f81-9c7e-b24df55f3e6d', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('1a2cad1d-31c8-4f54-871a-1bfadc42a3ed', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('fd1c2063-58e7-45dd-b198-fc51d0397833', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('dae95481-b3ce-4678-8a89-eee8097a9dbf', 'rbac.subject');
INSERT INTO rbac.reference (uuid, type) VALUES ('799a8e31-f52f-4a53-9fca-bc8d1f4c9ae9', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('1e7e133e-a662-4f39-98ba-c43e643f594d', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('b7a059a7-5e66-4141-a7ee-a87a62f1bfd0', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('4805d0b6-fb04-4216-883d-d0c3fb38ae12', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('52ff74c6-ad10-4dc0-aec1-5623cbd75c47', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('1921c901-c56e-46a1-8be5-a3299d4eb029', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('1322621a-1dc8-4a3d-afa7-06a03c1035f7', 'rbac.subject');
INSERT INTO rbac.reference (uuid, type) VALUES ('45d8db35-1990-4e77-a977-458caa184037', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('4ff09f9e-2bf5-4f96-98ef-396e7454991d', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('cedd81b4-3981-4650-99ce-c35247fcc99d', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('913d80a9-9d41-4204-9cb3-498c0e36631c', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('4e3d4dea-d586-4d87-8f65-9756f8c774e7', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('13e1b4af-d1b0-47c4-a86c-d23f81fa9db9', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('72690aa1-2ebd-4922-8959-453aa0d076ed', 'rbac.subject');
INSERT INTO rbac.reference (uuid, type) VALUES ('d16c63e0-856f-4440-9498-1c266e893967', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('abc45989-35de-4b24-a0ce-866e6aef5795', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('69976fc3-19a0-41a5-9976-3b0a62561f53', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('8c7a2fd3-4ee7-4ae3-9be1-297a0460a65f', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('7654b8c5-6bcd-4153-b0d6-e32f400fff60', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('7d2e2a89-c04b-4a0b-858d-f1d00d8edd3d', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('a44c56fb-afb2-4b5f-a532-52d0e4ad839f', 'rbac.subject');
INSERT INTO rbac.reference (uuid, type) VALUES ('7816aeaf-4e2d-40b2-b466-1cc5937c4198', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('a0d1bab6-d38f-40c1-87c0-be938c767c47', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('21452821-c69d-4615-aa75-1a9af5fb904d', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('b52d07f1-b3c7-41ef-8596-e56cf76eb631', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('35ee3fcb-0a9a-4944-8344-344cb501f277', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('a7901be2-d3f0-4aaf-ac50-97c4910542d8', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('9a4b60ab-9b9d-4f4e-a597-5b22ec2d44fd', 'rbac.subject');
INSERT INTO rbac.reference (uuid, type) VALUES ('fcf6c65d-17e0-46e7-bd0c-b58f47f8be61', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('79de24ea-b0b2-4e50-80a4-f85bec336c17', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('83395c0b-6e2c-4597-95a3-28734150bf68', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('9511a1de-0795-4bb2-833f-6aba775dd055', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('34041b9b-8453-492b-ae4b-7f94658d0952', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('4af33648-7cf2-48bf-a42a-14ac004dd7e6', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('5fa5c7c7-07dc-45f0-b6ac-eeba221016d4', 'rbac.subject');
INSERT INTO rbac.reference (uuid, type) VALUES ('e1ac62e2-35ae-4f1f-9c23-b546035628ac', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('532cc7a0-1735-4f4f-9cc4-93772b608b7d', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('f5edf9d3-e506-41e9-8c02-0be4d3bbd494', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('68fa1c11-6877-4c90-aed7-e08c4facabfd', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('a5f8ffa9-00a4-4229-a9d5-95ff9e671309', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('12502278-cd64-4750-bad4-5facf1ef26fd', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('c6ddc7b6-4afe-4c7a-a5d4-9aeae9940761', 'rbac.subject');
INSERT INTO rbac.reference (uuid, type) VALUES ('3b2f81e8-4337-4f5e-a023-2f2370309cfc', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('87c70e01-fb62-46c0-9fe3-ec351c381617', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('9f40ec38-70ad-426e-aa26-2b0dd2afee2e', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('95820ab0-b42c-4de0-abac-cee8f5c6a608', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('51be412d-854a-4a70-82e9-e4f9e34a4834', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('d7b81343-d5c9-4c3a-8a56-e0a9357320e8', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('7bbd7271-69b4-4b72-9472-5d1fd5cc2f7d', 'rbac.subject');
INSERT INTO rbac.reference (uuid, type) VALUES ('9fda353a-fddf-424a-a857-a9b6327cd608', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('56ecf20e-0e1a-4d79-a632-e26d3d2c8c0d', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('5a2b3a18-5711-4823-9dbb-d5391a6d8563', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('a598e5fb-719c-4c08-9e5d-821b296abddc', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('32f84cbf-a88f-4a85-86c7-ef8dacb65f13', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('2c322336-be01-4450-a782-35fa22c2a195', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('552ab094-a7d4-4b79-a02e-15f78954bfbf', 'rbac.subject');
INSERT INTO rbac.reference (uuid, type) VALUES ('bfa6fc54-b363-4a47-bcf7-b27d84669531', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('5f180362-48d7-4fef-b049-b5f0947da2c0', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('9724cc00-bf80-4ad3-9889-323600c10eb4', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('249b68db-c1ef-4aa2-95f5-cb9404909c53', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('a70cbda3-6a50-481d-98b5-d780eb50fdfc', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('ccc64280-0b0b-4f41-a1cb-bd37612a1baa', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('27c48121-45ee-43d8-8efc-e69381125139', 'rbac.subject');
INSERT INTO rbac.reference (uuid, type) VALUES ('5be17991-149b-484b-8386-01fc83b53a10', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('fe53df6e-c9a5-46e1-a571-c3c0062cd655', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('ccd7a35d-4c6f-461d-8b9a-ca95a1f86172', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('4c248fa5-c31d-49d4-a7e6-97b496b777e0', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('c7c42e30-f5fa-4eae-9c26-35d0756423af', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('0c7bf875-e45c-4336-952f-a611c8383f29', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('79154a1d-1d55-4012-be4f-b214206ddfd6', 'rbac.subject');
INSERT INTO rbac.reference (uuid, type) VALUES ('21f302be-fb10-48c6-92ce-c01f854e5a59', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('db868607-e90d-4c4d-95ed-4a272e20b1b3', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('2d941ad9-f2fe-4971-9825-2d921c2faa55', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('4b6a2695-e4f5-4192-80bb-c90655e08afc', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('420a6c52-7ac3-4919-8d82-db86daccdf7c', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('85f13df2-ace9-49db-8f95-09abe7ec42f3', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('fd90820d-a08a-456d-ae81-53d384530c68', 'rbac.subject');
INSERT INTO rbac.reference (uuid, type) VALUES ('07a54611-1eaf-47b5-a60a-cd5daa940457', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('0938e4de-6cc4-456c-808f-74559536537e', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('589444d1-ddc3-4c41-b153-1ccfce6f2586', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('c6be536b-27a3-4a27-8e9a-29a63502e10b', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('d9ced1a5-6178-4a6e-9290-b5caadfa9a56', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('1d96f733-ce69-43d5-a96e-70795d90717f', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('1d51b7f2-30bf-4561-a584-079ab1c6f096', 'rbac.subject');
INSERT INTO rbac.reference (uuid, type) VALUES ('0d3bdf04-c0b4-4e4d-823d-f0b748b80460', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('3533f183-c696-483e-b6e0-26255a21a8e4', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('61a014d9-88cf-4966-a6db-df32fc6c0ab1', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('666482c0-4cfb-4ba3-ae6f-6b1844493eb1', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('10892e70-ab5a-45a1-b5f8-86a5b0a13812', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('4dc9b3e7-a8ad-402a-9743-192752197e9f', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('4f915955-263f-43f4-8556-4770f2227498', 'rbac.subject');
INSERT INTO rbac.reference (uuid, type) VALUES ('d0386fb6-0911-4534-9b64-d622e9940c5f', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('87f63786-04ee-4b28-81ec-14a90047dd07', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('ce54837c-5f96-4cc2-bfb2-ae2d648cbd13', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('17f44032-ab36-4531-8c16-0762a497a6a5', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('d04744da-b54e-4f1c-babb-40a5392dd7ad', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('f9d798ba-a93f-49d7-99c8-2bfd6b8c9000', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('072d9a7b-e602-431d-af72-be391ac7c711', 'rbac.subject');
INSERT INTO rbac.reference (uuid, type) VALUES ('45fbb4e3-92da-4a60-8437-9f7fc5289f19', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('3548e5cc-735d-4416-96a9-16edb44a2033', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('35c41304-1b36-43b0-ba77-14f3b9202ccc', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('c6767463-d297-4e51-9fd0-52e5fe81fb75', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('82a82410-5192-4cea-ac2d-698df4513de9', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('8d11fb25-d2b6-49e1-9382-a8ac1417e982', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('cbff1b28-ba34-4af2-9b72-ac7c2ee64923', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('479e6c05-3384-4674-9ba6-73169af0fdc2', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('c39a8975-d05e-413f-ab05-9232d2ece52b', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('e7de223c-8cae-4c61-b278-773043bc7b45', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('a993fe9d-b75d-41f3-b5ce-f3c23d4b10bc', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('b208da56-8b31-461e-af6b-782c47e743d9', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('70f14bc1-0f85-4c75-8d00-79f4312f1fc9', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('e5c6ab9b-6407-4f6d-a496-b03464b1ceb4', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('658d0402-c0a8-45cd-99ad-3fa3e8e950b0', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('40c16524-d542-45e7-ab2d-9e30cb00ce28', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('99e22069-e338-499d-9ba7-096402a0b262', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('7fa170cc-11d6-45fd-a82c-8c77d3a4db2f', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('c4d90988-1bcc-4afe-aff5-dedb58694561', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('926a19f7-ea40-407c-a9a7-36933143cf32', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('d5a6734f-bcc9-4d02-8444-8744f975e996', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('943de460-96b3-40e9-a59f-5be6fb8dca03', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('3ca84253-aede-4954-8974-4406048ae2e9', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('399b4c7e-93e2-4886-9fda-61b988a5ae29', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('ddab9e9f-db0b-4a8c-a7be-117fc2c963ec', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('59c0e046-8833-4a00-b530-2b0cda55ee9d', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('ad50f362-4459-42aa-841e-b3534ace763f', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('c59c6253-8950-42e4-a1a2-bff8770d91d5', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('bf4c3c93-ba70-4e1e-adc5-4bc2a3ef17a6', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('b31d5cbc-86c6-4d56-803f-0f78966635d2', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('27f496a9-f1f6-4cf0-a394-582a3c2ec244', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('f19bdc0c-eb49-4740-a446-b35384d5d689', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('fabe799c-72f9-48d8-b037-9d219b3b5b8a', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('5fa8de94-9c00-455d-9655-d0409224971e', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('eb7472ef-fa8d-4bbc-918d-72bb1383ce1d', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('83a1630d-c711-4dd0-a467-5ed87feee835', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('a81e8ff5-c7b4-4daf-b066-a7210060b489', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('db2ecdbd-608e-4af8-898a-4c789ec60993', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('95af5ad8-b74d-4cdc-9931-583c5e3d68f8', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('9db735c2-4447-4768-a4aa-b90769c534ec', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('87fb27a9-3d42-4ea2-89cb-b1d21f87d5eb', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('5303cc15-a309-44cd-9f15-ffa596d65070', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('45e9ba6d-f4d9-4d24-bed3-09207ae0db40', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('f68de70c-8733-440d-93c5-596306d359d0', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('7da9eb31-516f-488d-831f-0c25585aedc7', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('b5ab545c-b649-4c68-ac44-69349ebe8036', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('423112db-0d7a-4670-892a-738460ac58d5', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('3a7f4942-6f62-46e5-9dc4-3d95e645f46a', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('41b9adb1-6754-42ce-a8c3-07cb2a7d74be', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('69d0b389-2dd0-40f8-9802-ffc66a5d3291', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('e89394f7-13bd-490a-a8af-b56f04be9ac8', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('6530e1d9-eb2c-4fd9-b002-853f89affeec', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('69f0ff8f-54f0-48bc-b5a0-0d1e0c69e2b5', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('d4ad5233-6ac5-404f-9c04-5e333d77145d', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('8bba1df2-a018-4f08-ac0c-bb9d1fcac6d3', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('a26bcc60-b205-4477-96ea-bb515b25807c', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('4a5bed60-bc5c-4131-9f5e-4d8fe0c1612e', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('8d94ac7b-7755-4edc-a272-3af5a3ae9f26', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('0fe24c9a-08a0-43f8-939e-e867af52bece', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('5062fecc-90b8-4ef4-b336-fcbe9a73a6e0', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('046aed6f-a51a-413d-a9d1-f0ea3f35f742', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('de8f642d-37c0-4498-8d2e-54ba4cddbd17', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('448f3ff1-2606-4627-b798-b00b024ebecd', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('260d863e-eb9f-441d-96d6-5a767f2e8973', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('8e6515ac-362e-4e37-af76-9b48fce00d6f', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('60ee51bd-f34c-4a9b-b692-c2476ab44de5', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('898325ca-b5e0-4c70-b301-3b9a141931c8', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('d3b44be0-0045-4d62-ad2c-9d8b6694c2f7', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('572f4a8b-8aae-40cb-9a68-d561b297b2fe', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('ce68396e-a8a3-4eaf-a724-a6204d6ec27f', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('ad4f7acf-c896-4e7b-8d99-a2d936999af8', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('04f4c547-9f70-4cc0-874c-73924e4a0c8c', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('49c014a2-4be5-482a-80c7-04d13ab81402', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('288a3a2c-fc5c-4aa4-b14e-ede529d02bef', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('686a425a-bf28-46da-b5ef-674d0a641214', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('2fe324b3-8ddf-4c56-98e1-511152108b2d', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('b70ad539-728d-4ae7-829b-5aaf9f82a6ec', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('02616b32-c6fa-408b-97fc-d8fb1e8a641b', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('1718d6ec-bd44-4b4c-8b96-ab324206580a', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('e90b5799-82c7-4ee4-8e35-7f57cb523f94', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('998ff776-dd14-4180-9e73-a2ff618e08e6', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('5828fda5-8474-4285-82d5-2188c65ab458', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('1d8f7150-b928-4f7e-90d9-faa9d64bf128', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('a2dd86a3-b678-4a1b-a258-f5d69d198767', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('4390cac7-7f27-4a60-8114-9d5e43045fbb', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('78508ab6-9cc5-41d3-95d0-53ad967fe555', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('700a8e97-af5d-45a3-9a6b-0db0857b012d', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('a8455ef5-5a4f-4ebb-bc28-dc7740e7523f', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('c0c4e7b4-147f-4677-9603-9df6b63bab19', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('ea5a5579-6eaf-4c3d-9395-1fb7f36f4c54', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('5c55efce-7166-4997-b3e9-f64d26dbf612', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('5142ed31-f21b-4877-a35f-8a09fa5fb14c', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('21b1f6f8-a34d-431b-a0b9-00259ac44618', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('4f513678-c6cb-4d42-b2d9-e44038104f0c', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('43212e07-a99c-4ad3-91f5-a839d17fb4af', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('8e6bb31b-e266-4598-8780-18ad63ff6045', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('6f72f73e-7a63-45e3-b11b-97bf54a54f62', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('e5be077a-ed2f-444c-be8c-894c3809ad8b', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('d6b55eaa-193f-4fb9-9d4e-f0fa0f6db56d', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('96af8640-dd74-475e-9922-809949c45590', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('09200181-ee51-415f-8a01-b2c4c4f532a5', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('469cbba3-724f-4e4e-b0a2-6b509d8537c7', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('716139de-00aa-4069-a8d1-d7fdc73e892f', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('cb928673-376a-40de-900b-34021f7ede66', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('3fb55a5d-54f2-4a0d-ac05-b1eccc651f32', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('b0269de3-13ad-40de-8ab8-a11f99b1b2d8', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('74590ece-16ac-4e29-b51e-d2b36e77edc0', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('c5077142-d0a8-4fd2-b617-4856c6ceebc2', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('0cb05ed2-74ad-4f82-9670-6ee3928f134c', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('bedf6cbe-c4ef-45fd-baf3-a43ee8f3a2eb', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('45af5ae1-b7b4-4a19-93d6-612ca4898cb6', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('63fd3409-f9b6-491e-a450-37e0e63f3dbc', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('79f17fd8-6bdc-4308-ad8a-525b66aa1202', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('b8f09985-647d-4396-b27e-d4937968db90', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('0699690f-54af-4635-9bf0-a2b2330467c2', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('e7d994d2-df71-4e54-9e3c-a6885909f43a', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('1a2511c9-b0bd-4827-9722-f6c469da74db', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('4b649075-2859-4ff0-8e51-f9c0694dd338', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('a9ab28fd-697a-4928-84f8-35eb331fe6bd', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('3dfcf95b-4037-4149-a4ac-ec3160925485', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('2806e2a9-f6bc-4dc0-9dba-01e6fee95187', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('030849d0-70ac-48a3-adc7-d6025424194a', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('92dda33e-1138-445c-bf13-9bbb69c8d69b', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('cdca9ec3-0b0b-458e-b5c2-b0372b8f2d4e', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('d31bc55a-3cef-46c4-8d10-1706ba3640ae', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('03c7b262-3dd4-4dd5-913d-95a54b7dc7ce', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('9ffd0c37-7e38-467b-aa10-54fa4bea2b06', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('40ec5666-8ee0-4484-873c-cbf9367475d9', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('9a565322-b9f9-4988-b0c6-22ccd045fb2e', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('d5df4b5f-2fec-4f6c-bf45-8bcc03ac0b66', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('da0744f7-4d11-4520-a64a-96e38a10f227', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('28e1acb1-2a47-47b2-aa66-2b041d3a5fd5', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('a1d673b3-7cad-4c76-ae04-6de8308add65', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('9131a4a7-61d9-4622-be21-0b9851343606', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('f7f740ac-2f38-44fa-8277-55010581a205', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('1613d738-5907-4bc6-abce-911eddd3dc33', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('cbb47a7c-602c-4c34-aaab-1deb531147c6', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('452dba8c-1dee-4ea2-be7a-6a1cf6ec53b8', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('90d8f778-a2f7-4727-a306-4477450e61a7', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('e63dfaa5-0072-4df2-9689-58a2ae260903', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('06fa4a05-6359-4469-ba78-09876aedc34f', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('0f9f3667-041f-4266-a5e8-72c4a516ccbf', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('a6b33e97-a326-4d10-9d17-76c90e1c2012', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('654aa3c9-19af-4ee5-a294-0fde31eb1657', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('5390f731-c04f-4d6e-8482-6c623b51ddf3', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('2c3b2b5a-e8ed-4e3b-b0c0-660b0a4e554f', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('55320cf2-82ac-40c6-9066-7d03657e8919', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('c3a961d2-2f6e-4dcb-be4f-5c9adf192a14', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('c6c2e373-d665-4fe0-bd36-5a9a738c183e', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('caa88278-934a-4006-9881-34bdf5aee37e', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('516c2804-5c3f-49bf-8cc0-a168796de948', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('456557c7-f3e8-4eca-8ac9-40e9d85a133d', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('6db4adc8-8f0b-4bdb-8103-a12bf33a6b14', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('cacea311-52f7-4cd9-99b7-b3ac7b7b043f', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('7a570fb0-5c2a-4f1c-a118-4294c625a681', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('f9f6d4d4-1d49-4a0e-b4ea-66d1a177ee75', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('4d8dee89-75e0-49a9-8078-2c4c478a9665', 'rbac.subject');
INSERT INTO rbac.reference (uuid, type) VALUES ('182d7845-e866-448a-b758-77c6b08c96d8', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('6d0dbb52-af7f-4136-984e-f85ba9b5f588', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('3fea832b-423c-46a7-8b58-20132f86a1f2', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('615ac8b2-0862-47fd-9484-bc885086b26d', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('5765745b-dbca-4a60-b699-a2c1705aacf1', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('7f38985a-9537-4c82-bd1c-4702e61de51f', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('41cb1f57-77f0-4cf3-a877-680418e29e3b', 'rbac.subject');
INSERT INTO rbac.reference (uuid, type) VALUES ('17e4e882-d1be-4cb8-90ec-b00b30cd0c59', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('46ed17dd-faba-46c0-bff9-c0886ba335f7', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('279700d9-00b9-45e3-b2d9-b20fa0b8810c', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('3067c987-609d-4df6-8f9a-6ea135f60afa', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('9bd4c9b1-f8ae-4cf9-821c-a3ccc0fa36f6', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('ec7e672d-f5df-407e-9050-92adba41d733', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('b0818c50-a43b-4e5f-837c-6cd0bfa6f2c0', 'rbac.subject');
INSERT INTO rbac.reference (uuid, type) VALUES ('8e7e5c39-f941-441c-aae2-2de5e160f6e4', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('bcc6e166-5595-4b00-baa1-766440aec048', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('9b3278e9-9156-4fd3-aa57-b7ac12cc7b3c', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('98d996e7-403f-4773-9fbe-4b51c991736c', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('fa5cdc5a-394a-44d3-a892-4e6485647527', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('25585475-81b8-4556-b433-60fd14aebc19', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('81536900-27e8-4b17-99f5-b957fd4a4426', 'rbac.subject');
INSERT INTO rbac.reference (uuid, type) VALUES ('18f90be5-7979-4f4b-a53e-326398e408a9', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('83680b36-9bef-49fe-9461-ecff189b65f3', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('b244fa4b-d0ab-4e7b-b959-b6f15fa74b23', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('e2c30de4-1d2f-40af-90d6-8016e727b0d7', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('ecf437ed-5f47-4ffb-8bfb-456e929e5bce', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('9253682c-c8c3-4e13-ad39-4e559db2e6d2', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('7f239c0c-707e-486d-b38b-e39d51a84f11', 'rbac.subject');
INSERT INTO rbac.reference (uuid, type) VALUES ('a8c8215b-c170-49fe-9c7c-33ab0b46e1ef', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('5d7e738c-56d5-4d39-911e-9dd9372822bc', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('9559f353-1187-4e4c-bec5-54216ce48cf8', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('fce58004-a8ee-49c5-9fef-72ef022d9696', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('c11f4188-22ab-408c-9b93-a10c1cdef357', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('c8204996-e351-4077-b607-8813595e9fb4', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('b502c841-3b77-4a4f-b979-e3e0a708022c', 'rbac.subject');
INSERT INTO rbac.reference (uuid, type) VALUES ('6d984b48-29de-4ac2-9c17-9d527510c936', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('35e2783b-8489-40d2-bb9b-38bc50e72038', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('2f98958a-f959-4f5e-9ca1-eced40ef5e68', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('45ee7e96-1d79-483a-9349-5bfc1e79ded4', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('91cf9d69-2998-4ee3-b666-17cbe2c5983e', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('69cd0e18-d897-4959-b137-e79e9f82d913', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('8891a19d-c2c7-4dd5-baff-60bad149012f', 'rbac.subject');
INSERT INTO rbac.reference (uuid, type) VALUES ('e6463959-eae0-4aa1-a09f-b143adc7280b', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('adcde1cd-f82d-458f-8ee4-d7e94bc9fd73', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('d9570ae8-1703-4297-9b0b-e2119cb0de6a', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('819cc93b-9c06-41ce-ac21-4cded12ce169', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('612cbbc2-83cc-4c76-aea0-3b041b610e25', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('4cde907f-26c9-4d3f-878f-4d101c4ea33b', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('0594c065-f593-4f3f-acb1-f372bd4346f3', 'rbac.subject');
INSERT INTO rbac.reference (uuid, type) VALUES ('418ab944-42ba-4e3b-b7dc-c9ae17ec48b8', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('285d3725-e1bc-4581-b638-4df461746349', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('b75a103b-9949-4d54-98e6-aca80190fa96', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('dd28280d-ae72-42ea-985f-1f1de85993e2', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('88bb00dd-0344-41b0-abaa-619f4779dc01', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('85aba709-c42b-4cab-b8f7-f63d654e0170', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('8332f9ee-f387-4389-b9a0-8e95b7c4aa0e', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('09450839-b8b4-40cd-bc96-163b03233ce5', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('e15b64af-92ce-4bef-aca5-20092a79c04f', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('77683856-587b-480a-9067-27bfaa3f80d1', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('443e3968-dbf6-46f1-aa7b-4303f87d6284', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('b8e49a03-d0e5-4ab8-9c06-4635af28ac91', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('79b0400c-197f-4215-af56-c5a335adece4', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('5c63b912-4157-4569-8f49-d3a814cf6829', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('0279db2c-3f3e-4e94-8be6-60ac909da107', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('9b6c1276-e869-4fa8-842e-e7963c9aaea3', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('8a87e2cb-1b22-4130-9ea9-000303fab945', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('09325b23-e854-4e4d-bf5a-89d54156c06b', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('8c5a9229-036e-4014-b760-0dd84e71fc46', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('3f44701d-2cd5-4a78-8f6b-472e73af5068', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('f6fe66ca-c5a9-4b21-ad37-a2716d4fee4c', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('e798f2a7-8f02-4657-81b3-a35445938928', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('6fa7d3d9-a24f-4f38-b8ce-34262c867600', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('655eb9fb-d2d6-4f72-b2c3-5a692e3204b9', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('cf85031e-f790-44f0-8d22-679726d0cdab', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('cbdd535b-122a-464a-8c5b-458897f9ac50', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('ddd70217-d1b5-4c41-b1d2-5b970190bbc7', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('f4c7459e-3e76-4b4c-9294-cb3c35d86f2c', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('5e1fde1e-8aa9-48b4-8069-9fb368391887', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('df488bd9-41d5-42c4-a440-6c3010d4d436', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('9ceeccc9-b21d-44bb-ac4b-c430111e0297', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('529a7657-de76-4e5d-a1d5-384947e8915d', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('fc123ec2-56db-4df9-a31b-ddafa0d75ed2', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('6149ac62-1f9a-4801-b995-a4a58d80e4e4', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('7d222a98-94ad-41c4-8a40-0b17afaefe75', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('f8f17e79-3afe-424d-9eed-a72d71a8842c', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('69b25d5a-8337-4bc7-b0d2-cd37ecd14b4b', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('2058a61c-6387-40de-8c01-224242db669a', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('91ae2adb-b9fb-4ef2-8c41-efef89fc0ea7', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('54d32de5-96ad-4e11-81e1-7e21fee79e0f', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('20fb1b3b-31a9-4f66-901a-99fe4ee8bf44', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('42f3cf54-55dd-4352-8fc5-2727996f68cc', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('e9adbd81-d37f-4190-aeab-9a18bb71f057', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('13d87b00-978a-45a5-9223-02389aeeb777', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('f4926d93-063a-4959-b6fc-1db4d0d5653e', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('e8c3e08f-4e74-4db9-93aa-84d4191de467', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('ec76a594-0f58-44cc-8bc8-0e878f4c221b', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('a2bd22e3-a8ae-4088-b96a-8d5100b111ae', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('8586cdba-d0d2-45a3-8149-b7445b6a580f', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('bde79965-6dbb-4d8b-a85f-f3398e815495', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('e81132af-026a-4333-82b2-fae091761e55', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('42b91310-d8ba-45fb-b359-5bb4d372d33e', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('e0a80aa3-ed0d-48a0-b1e3-2ba13a068334', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('35628825-27df-48e2-979c-63619d535ec7', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('b2dd09df-4c04-4771-9b3e-a13aba911e2c', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('643b3b80-5ad3-4bfc-be99-f0a931ea601a', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('c8ca51cb-a2b6-453c-8f90-4ef7c1d2d5d9', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('34e20ce9-98b7-433f-93c5-5de2382f7d13', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('b57e53da-324e-4d59-beb9-9dcfe4b99c27', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('07993766-fac8-4c89-8efa-d3f21a5d7931', 'rbac.role');
INSERT INTO rbac.reference (uuid, type) VALUES ('cfc6d138-80ae-4cda-a870-cca51f8a4dae', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('89271511-193e-44ba-bd85-7ffa2616df36', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('c4d24b45-9c62-477e-a1f1-bc73e39434f0', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('575d5355-4937-4966-80ff-85d4be2fc783', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('8e26528d-7a8d-4823-bf3a-157182e42840', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('d996683f-4047-47af-bd4c-cbf3e42e802f', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('89234548-3644-477f-9fcc-7070d423547f', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('01f7a098-b975-464c-b5b1-f4c473aa6abd', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('eb3c9d8b-1177-4eb1-92cd-4d28780978d0', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('23d880a7-8096-46de-b204-81f9888db962', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('470bd21a-a64d-4407-b084-ff480cc2c49e', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('20add1b9-e47c-4dec-a757-2f36b0a98f29', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('7a76a8f1-f77a-401a-8445-3c74d991c869', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('e6a2962a-a128-4587-8788-cf0fe9f9b18e', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('a56a4381-b906-4d27-b88e-0653ae72fc3e', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('657d13fc-fa82-491a-9e87-c2ef3c89ae91', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('f709b0a6-7222-44dd-9bbe-c58ebe41ef24', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('b74cc117-1f65-4d2c-a080-89b53b18af48', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('abb36dda-d309-456d-b25a-c5f6b0f8c22c', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('4384b952-24c3-4d35-ae45-be3e7db43658', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('a092a4e5-dcfc-45b8-b5e6-c70036545c4d', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('79a4fb5f-60e6-4f6b-9534-e7096cd749c1', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('ee1e253a-2e60-41ca-a014-dd522669d2ea', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('2ad44d60-aa28-4d06-979d-b9b0dfaf370f', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('28cc8d9e-7ccb-479c-b3ad-f01e8b26c536', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('212acd85-041a-481e-a578-e6a59bd115a5', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('cae180e8-6a23-44ef-92d3-f1fe270fc300', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('5950c5a7-4afe-4d95-a7f4-26376fce76b1', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('d7dde6d6-0d8d-478d-89e4-93448eaff939', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('6b7a97cd-5842-48cf-b82b-32e650f5e200', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('4781a17c-a119-4726-acec-647ab4178314', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('4223af96-be57-43fe-8757-97f1fc7efe73', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('e0a2ad3c-6c4d-4f3f-8030-fc44d5c99cd9', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('7970eea3-ad13-4185-82a4-869946a82943', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('810383b9-26cf-4faa-8655-cd89599a59c4', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('af8aad0a-38a8-4b2e-b26d-466bb9efcb36', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('2cf35377-01af-4114-a4b4-699c3ddec40f', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('4237bb9a-cfb3-45c1-8c6f-b6e9acb68a92', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('82586c79-9d1c-410e-a9ad-a58921226ce6', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('59784630-e4d4-4348-ac23-29a97458f818', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('698c3f76-c309-48d6-a5fb-bba764dcc1f7', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('cf906251-f454-4731-b817-eb98ec0806e6', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('868e25ae-005e-4dee-b631-8d8921bacba5', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('34814cb8-baa1-409e-a706-c8eb0e635ff7', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('fc7eda4d-73bc-4712-af0a-22a622c29156', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('99128846-713a-47f3-98ce-ef24d8e4158e', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('0aa035fd-e6b5-4ef6-8f98-8914da2d6d28', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('74599a1a-6d80-4571-baae-9c2d908d0f1c', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('b59da3aa-865c-4f53-8220-245d3b4e4c83', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('3abdb59e-14d2-4128-ad58-491ee3ea5a35', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('9b36937d-e5d0-457c-8707-beb9efa16748', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('9f7ff415-ceef-4614-9b20-1fb30986779b', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('ce9c2fbe-a8d5-4507-8736-86152a83d408', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('2e074648-b51b-4782-b283-fb401f6ee1bc', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('7f5f0fce-71c5-4f53-9d87-a43c1623ed86', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('40dfa45a-022c-4fcb-876b-d9050a8fdccc', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('3796da6c-9ce7-4974-bdc3-6561ed88c022', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('ab290567-cb39-4339-90c1-1e5ccb185127', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('3ecfe08d-3a10-4a8a-8ac1-1c0901e57002', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('b0f2ae0a-7812-480e-ba03-b7c8dc9023e9', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('14fc443e-d5ec-4fea-95c4-dd0441ef5f33', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('01d8356c-bc96-4c2a-b323-7fc64e81a90d', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('19a9de73-cc36-4749-9a3c-e36e07e88bf3', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('2c6af4ff-0644-4df6-97a0-69c8af1a0a85', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('64406a89-05c6-403c-a33f-3ebb75e3af1a', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('adb92385-51b4-4662-b916-4c67082c5176', 'rbac.permission');
INSERT INTO rbac.reference (uuid, type) VALUES ('038c505b-0145-4943-8835-ed64861fe269', 'rbac.permission');
--
-- Data for Name: role; Type: TABLE DATA; Schema: rbac; Owner: postgres
--
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('afc6a14a-f8c7-4c17-9b91-b615833bc002', 'fb819667-b171-4b6e-ae3e-31c6a40d4be8', 'ADMIN');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('b1dff271-3e9c-4f30-8153-c891ab4eea79', 'fb819667-b171-4b6e-ae3e-31c6a40d4be8', 'GUEST');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('69a48e44-55d0-4465-b956-358e502f443f', 'dbbfdc0a-a952-4886-b6df-a242f80b1233', 'OWNER');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('d3ef7a10-2fcb-40f2-815d-b0feeed16655', 'dbbfdc0a-a952-4886-b6df-a242f80b1233', 'ADMIN');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('55d5c539-b176-46b8-9d54-45d224fb4bd4', 'dbbfdc0a-a952-4886-b6df-a242f80b1233', 'TENANT');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('63b0d71c-5efd-4550-9a19-a6865ad0b379', '03b1f749-8010-4c9c-a256-3911d64385a0', 'OWNER');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('16a0381f-00d3-46c4-8aba-8f9850c4ce1a', '03b1f749-8010-4c9c-a256-3911d64385a0', 'ADMIN');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('43dfd7bc-6516-428b-9e17-3daa025bf942', '03b1f749-8010-4c9c-a256-3911d64385a0', 'TENANT');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('dfca3233-7ba6-45d7-bad0-d0d30ca936e2', 'ccbb2b4b-68cd-4fd6-8467-2357874a3eab', 'OWNER');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('56452eab-b4a5-48f7-9260-9e3b73ec667c', 'ccbb2b4b-68cd-4fd6-8467-2357874a3eab', 'ADMIN');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('2e0957db-a5b3-4226-ad54-286ab5a07013', 'ccbb2b4b-68cd-4fd6-8467-2357874a3eab', 'TENANT');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('4632bead-f8ed-4fd7-8450-6373f1866480', '1f378616-047c-4cf3-a70b-54c88f9608d6', 'OWNER');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('ae7c30a8-38f8-4958-bdc2-443636f37cb7', '1f378616-047c-4cf3-a70b-54c88f9608d6', 'ADMIN');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('5637f48c-8147-4bcd-8310-483992134474', '1f378616-047c-4cf3-a70b-54c88f9608d6', 'TENANT');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('26c15adf-9ef0-4582-84a0-0b88622578df', '5a10e27a-311d-4527-b0ac-38f2fd6e16c4', 'OWNER');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('4270da5c-c719-492e-b4f5-1311f850bf74', '5a10e27a-311d-4527-b0ac-38f2fd6e16c4', 'ADMIN');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('8e0d16b2-360a-454e-8019-9c1882c04e5f', '5a10e27a-311d-4527-b0ac-38f2fd6e16c4', 'TENANT');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('3be7ab56-f11b-43dd-a915-0b2c2d83cde0', 'dd13db03-932e-4c71-9ae7-ff197cc02341', 'OWNER');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('bd39a86a-6d69-4aba-b2ba-93e4ba7d5e68', 'dd13db03-932e-4c71-9ae7-ff197cc02341', 'ADMIN');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('6c23d1e8-bab1-4307-9906-6f2970b148fa', 'dd13db03-932e-4c71-9ae7-ff197cc02341', 'TENANT');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('1bf9f801-9500-4956-b1b8-22a41d0b96e5', '9464ead9-4f16-477c-bf3b-14669a9c42be', 'OWNER');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('a3fa28dd-26b8-4ab0-b503-96bab5f862b5', '9464ead9-4f16-477c-bf3b-14669a9c42be', 'ADMIN');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('202174cc-19e8-47f0-9f62-8fa7509dde3e', '9464ead9-4f16-477c-bf3b-14669a9c42be', 'TENANT');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('a91544fb-c5ae-4ccf-a813-f3bcbaa99fb7', 'a6b15d0a-f7a3-4c40-8fe6-cbb62c2a868b', 'OWNER');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('cc984f70-1ca8-46b8-9cd0-c9c0aa1ce496', 'a6b15d0a-f7a3-4c40-8fe6-cbb62c2a868b', 'ADMIN');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('a2d469da-0bb9-4bd2-9002-6fbcfa0e2e2c', 'a6b15d0a-f7a3-4c40-8fe6-cbb62c2a868b', 'TENANT');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('4cb800e0-5963-402a-9c4e-138845ca1956', '3c243156-033e-4e72-96cf-5e204d04900c', 'OWNER');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('e9bb76c9-81f5-4d34-928d-2b7a2da11616', '3c243156-033e-4e72-96cf-5e204d04900c', 'ADMIN');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('12fe4b88-87b8-44d3-a25a-b2a2983343a0', '3c243156-033e-4e72-96cf-5e204d04900c', 'TENANT');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('de0b5552-a3b5-4f62-a4c5-a894c3f176a1', 'b2f57e12-f448-4b73-9b16-0f39b1eb101d', 'OWNER');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('495c8c16-f7d9-459d-a7f2-ce7e3c42150c', 'b2f57e12-f448-4b73-9b16-0f39b1eb101d', 'ADMIN');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('a528582d-4f8b-46f8-80b1-0410c33a0755', 'b2f57e12-f448-4b73-9b16-0f39b1eb101d', 'TENANT');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('484f2625-cbe8-407c-b9cd-01a3d4b68505', '5ffddd10-8ef2-4e3f-a62d-8971e0d1afb3', 'OWNER');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('591c1bc7-7d2d-447f-880d-16615035ab72', '5ffddd10-8ef2-4e3f-a62d-8971e0d1afb3', 'ADMIN');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('7154af3b-c2cd-4dc2-a94a-83af7e05b44a', '5ffddd10-8ef2-4e3f-a62d-8971e0d1afb3', 'TENANT');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('7eba67bb-a92f-451f-abcd-091318ce7437', '7154bf1a-2801-4e65-9d74-5bce9d9b429f', 'OWNER');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('ad810d9e-7f6e-46ce-98cb-f4218ae41c70', '7154bf1a-2801-4e65-9d74-5bce9d9b429f', 'ADMIN');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('a6654910-2ada-4c04-8a67-773b4e4ab17f', '7154bf1a-2801-4e65-9d74-5bce9d9b429f', 'TENANT');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('81a2e24a-a975-48f1-847e-bfa412fdf9d1', '35e7e703-d051-48f2-b8cd-893575ec22d5', 'OWNER');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('40dc1aaa-2842-4b54-bb6d-80d28b709bab', '35e7e703-d051-48f2-b8cd-893575ec22d5', 'ADMIN');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('6d0f3cd9-1e42-4ee0-a77b-883d86f8659c', '69acd255-c446-4fcb-9175-30ac8139a69c', 'OWNER');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('87eab1a3-1c75-4ce1-a247-100242e4c8c1', '69acd255-c446-4fcb-9175-30ac8139a69c', 'ADMIN');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('df7cdac4-aee3-4912-81b0-be36b38b9461', '1b25341f-3344-4378-a7ba-4a10a5180083', 'OWNER');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('f72a01f4-d589-49a5-85aa-e91f909337b5', '1b25341f-3344-4378-a7ba-4a10a5180083', 'ADMIN');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('d4b918cd-e1f3-47eb-a071-456de0ee1ce8', '18a43fac-4e7d-4ea3-8d2c-ecc95666bda4', 'OWNER');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('e541f5ce-259f-4589-b2b6-2f4da9c6a84b', '18a43fac-4e7d-4ea3-8d2c-ecc95666bda4', 'ADMIN');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('e424ff4a-849f-4599-96cb-41a3ef66c3a3', '6eb719a3-1418-4318-8861-610d343bdee1', 'OWNER');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('73c287a0-1ef5-4cb3-94fe-b67f5c6ca98b', '6eb719a3-1418-4318-8861-610d343bdee1', 'ADMIN');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('1c3d5ed0-13dc-4a14-b44b-e708bac718bc', 'e7dcf9da-7a53-494e-a231-4ddb73b6729d', 'OWNER');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('ee290b3a-8cd0-48d1-9a7f-5315762e4744', 'e7dcf9da-7a53-494e-a231-4ddb73b6729d', 'ADMIN');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('89c9d640-8cc4-465c-8a67-65b90683aa40', 'a6242be9-717a-4011-a04f-f501f84adcb2', 'OWNER');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('7e981c79-e079-45d2-9c86-6966a3bef7f2', 'a6242be9-717a-4011-a04f-f501f84adcb2', 'ADMIN');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('3d2f1085-216f-4c28-b393-483809a50dfe', '5796ae29-666f-4ee3-9f20-75ffc3b21f4c', 'OWNER');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('aaa7d42d-37e9-4486-b5d2-047b03e314d0', '5796ae29-666f-4ee3-9f20-75ffc3b21f4c', 'ADMIN');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('9fad7ccf-f6d5-4915-8c6d-ff59813b85d6', '58357452-4e31-4d21-8148-d33943331b43', 'OWNER');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('d3d40295-64fd-4366-954a-753fc6b77859', '58357452-4e31-4d21-8148-d33943331b43', 'ADMIN');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('28cfd978-beba-40c2-b0a7-97819d623214', '3fe6bfb7-956b-4f4e-8009-34c31429b1c8', 'OWNER');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('b667797a-6f3e-481d-8900-9aed99ded908', '3fe6bfb7-956b-4f4e-8009-34c31429b1c8', 'ADMIN');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('5161c876-3b54-4601-a09f-1b1e76d1ad71', '6eba7088-7968-4d92-85f3-fbd1403a56b1', 'OWNER');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('eac05ae5-af18-4cc6-8077-f816c805a8d0', '6eba7088-7968-4d92-85f3-fbd1403a56b1', 'ADMIN');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('2ca76740-7e93-4ebe-a831-09bc4e0e287a', 'd690e5bd-7814-436e-ba1c-8c57760866cc', 'OWNER');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('e236a8e5-d4c4-423c-8a92-efc20b510e9a', 'd690e5bd-7814-436e-ba1c-8c57760866cc', 'ADMIN');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('c6640f54-1b24-470d-876c-ba77401772d3', 'a27caa13-80b1-4784-b891-5b4f12d3bef5', 'OWNER');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('f55e8920-a037-4769-ad39-5d0cc77dfcb0', 'a27caa13-80b1-4784-b891-5b4f12d3bef5', 'ADMIN');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('4096230e-1260-42b6-9eff-7ddb4f0a5f21', 'a56186b3-786f-407d-b814-959df21edc5d', 'OWNER');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('54ff21e9-56e6-42dd-a17c-b6c4259a5523', 'a56186b3-786f-407d-b814-959df21edc5d', 'ADMIN');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('2c1a1a87-fff0-4970-b861-9560793314e4', '1cbdd8c5-207a-43e2-98b9-af2265216c14', 'OWNER');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('517ca825-fed2-44c5-ab7a-b95ee0350dbf', '1cbdd8c5-207a-43e2-98b9-af2265216c14', 'ADMIN');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('99428858-c5de-4c13-b91e-8d01d93225b0', 'df500901-140d-48ae-9ce0-e20d3880db92', 'OWNER');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('2b22b79f-b1f7-415d-b50b-5938ffba113a', 'df500901-140d-48ae-9ce0-e20d3880db92', 'ADMIN');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('c7b0d4c7-17b3-42ed-b151-fd1d3cf1105c', '153715cb-8cb1-4f09-bd70-08be928534b7', 'OWNER');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('e439174f-b436-4675-8d59-a4c003301f75', '153715cb-8cb1-4f09-bd70-08be928534b7', 'ADMIN');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('b34325fa-7c47-45a2-979b-d88eb8c4758e', '26642094-e1f4-464d-ab40-5234b4e0228d', 'OWNER');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('0c3fbe1e-ad08-40a2-a685-436ca0aec27e', '26642094-e1f4-464d-ab40-5234b4e0228d', 'ADMIN');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('e93073b3-d214-42fa-983f-da394322ea7d', 'e256cae4-99d8-44f3-961a-ecbffaeb17e4', 'OWNER');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('cde57d67-7a2c-47d1-8408-46bb662a97e1', 'e256cae4-99d8-44f3-961a-ecbffaeb17e4', 'ADMIN');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('dfd9ff64-fab2-4f2e-ab9a-1e72780457bc', 'e256cae4-99d8-44f3-961a-ecbffaeb17e4', 'REFERRER');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('382d0e66-a8c7-42ef-ad45-8eed2bacab6f', 'a6db17a5-0427-4e3f-96e1-606127ad6d98', 'OWNER');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('c542f563-0c30-4023-a057-9aa2d95341c8', 'a6db17a5-0427-4e3f-96e1-606127ad6d98', 'ADMIN');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('9dcd1cf4-2293-4352-9049-0b4d28c9f1cb', 'a6db17a5-0427-4e3f-96e1-606127ad6d98', 'REFERRER');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('668acd12-3446-450c-b98e-585398b353f6', 'ae0320f6-d268-470e-8ded-142acddb2243', 'OWNER');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('02ee24dd-092c-458d-81ed-5bcd06e946d7', 'ae0320f6-d268-470e-8ded-142acddb2243', 'ADMIN');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('9b03c48b-38e5-42e7-97b1-83841034180d', 'ae0320f6-d268-470e-8ded-142acddb2243', 'REFERRER');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('d2c8882e-1bbb-41c2-b23a-a83fec8d90a5', '1649730d-2c49-40e2-9000-7615a085477c', 'OWNER');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('b4fc3672-18fa-4f25-aa48-e7a91d73902b', '1649730d-2c49-40e2-9000-7615a085477c', 'ADMIN');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('19a6e99d-d08c-447d-8fae-d9ba39e5bcba', '1649730d-2c49-40e2-9000-7615a085477c', 'REFERRER');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('05064d0d-0c3a-4691-af64-f011accc8f7e', 'beda1946-685d-45a4-ad22-fd6842e14b54', 'OWNER');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('6af67ae0-05b5-40bd-aabd-50683bde22d3', 'beda1946-685d-45a4-ad22-fd6842e14b54', 'ADMIN');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('4372bb52-6554-4796-9625-36f48ad650d1', 'beda1946-685d-45a4-ad22-fd6842e14b54', 'REFERRER');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('26bb0412-5199-4cd9-8536-334b7d530c6e', '6cdd8a31-27b3-4b0e-8297-67794b74cd5c', 'OWNER');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('c9a6bfde-87e6-47bd-bee8-49d7c3f46b08', '6cdd8a31-27b3-4b0e-8297-67794b74cd5c', 'ADMIN');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('90cd8d25-ed92-4fba-ae4a-0d3fa9ade2e2', '6cdd8a31-27b3-4b0e-8297-67794b74cd5c', 'REFERRER');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('55b3cfee-626d-48e5-8edf-76c71ff31135', '5336a6e7-2f9a-4f73-8385-04ac89c46f5e', 'OWNER');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('ec5a8ce9-2c27-4bca-8274-4d59a0a4f4f4', '5336a6e7-2f9a-4f73-8385-04ac89c46f5e', 'ADMIN');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('e630875c-03be-4f53-ad70-45687b1e8567', '5336a6e7-2f9a-4f73-8385-04ac89c46f5e', 'REFERRER');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('3cea3e2a-cb3a-4036-87fd-9b13abafcd42', '0fc7fedf-6a52-462e-85bb-689f4b2a8d2d', 'OWNER');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('c0a22860-2436-489d-95f5-d4876c9db692', '0fc7fedf-6a52-462e-85bb-689f4b2a8d2d', 'ADMIN');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('8adf733a-de6b-4896-afc6-22d594ab07cb', '0fc7fedf-6a52-462e-85bb-689f4b2a8d2d', 'REFERRER');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('873ab1c2-55f1-4df4-910e-79fd1e1381ea', 'fdf97406-0693-48dc-8bfe-185045a90437', 'OWNER');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('1c3b60ad-277b-4442-a7bb-a142d197f5ed', 'fdf97406-0693-48dc-8bfe-185045a90437', 'ADMIN');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('31a7c342-90e0-4bd0-8e16-67a3fe705ea9', 'fdf97406-0693-48dc-8bfe-185045a90437', 'REFERRER');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('57c78d79-2143-42cd-90c8-8ee43f68c2b4', '6e689f4c-93d2-4a88-b3dd-8370cf3e8da4', 'OWNER');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('5f972f73-4197-48c7-94c1-708285fad37f', '6e689f4c-93d2-4a88-b3dd-8370cf3e8da4', 'ADMIN');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('1a2cad1d-31c8-4f54-871a-1bfadc42a3ed', '6e689f4c-93d2-4a88-b3dd-8370cf3e8da4', 'REFERRER');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('799a8e31-f52f-4a53-9fca-bc8d1f4c9ae9', '0c4e6c68-6f1f-4ea9-bcdd-1752763a3945', 'OWNER');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('b7a059a7-5e66-4141-a7ee-a87a62f1bfd0', '0c4e6c68-6f1f-4ea9-bcdd-1752763a3945', 'ADMIN');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('52ff74c6-ad10-4dc0-aec1-5623cbd75c47', '0c4e6c68-6f1f-4ea9-bcdd-1752763a3945', 'REFERRER');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('45d8db35-1990-4e77-a977-458caa184037', 'c24bfb2f-9b72-4754-9d9c-52be22cf01a6', 'OWNER');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('cedd81b4-3981-4650-99ce-c35247fcc99d', 'c24bfb2f-9b72-4754-9d9c-52be22cf01a6', 'ADMIN');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('4e3d4dea-d586-4d87-8f65-9756f8c774e7', 'c24bfb2f-9b72-4754-9d9c-52be22cf01a6', 'REFERRER');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('d16c63e0-856f-4440-9498-1c266e893967', 'dbe89951-4cc8-40ac-97b3-49176567984d', 'OWNER');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('69976fc3-19a0-41a5-9976-3b0a62561f53', 'dbe89951-4cc8-40ac-97b3-49176567984d', 'ADMIN');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('7654b8c5-6bcd-4153-b0d6-e32f400fff60', 'dbe89951-4cc8-40ac-97b3-49176567984d', 'REFERRER');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('7816aeaf-4e2d-40b2-b466-1cc5937c4198', '37928681-5849-48f7-aa81-bbe2d68944f9', 'OWNER');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('21452821-c69d-4615-aa75-1a9af5fb904d', '37928681-5849-48f7-aa81-bbe2d68944f9', 'ADMIN');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('35ee3fcb-0a9a-4944-8344-344cb501f277', '37928681-5849-48f7-aa81-bbe2d68944f9', 'REFERRER');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('fcf6c65d-17e0-46e7-bd0c-b58f47f8be61', 'b4566b68-3318-4bd2-b1cb-a9c58ae91b6e', 'OWNER');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('83395c0b-6e2c-4597-95a3-28734150bf68', 'b4566b68-3318-4bd2-b1cb-a9c58ae91b6e', 'ADMIN');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('34041b9b-8453-492b-ae4b-7f94658d0952', 'b4566b68-3318-4bd2-b1cb-a9c58ae91b6e', 'REFERRER');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('e1ac62e2-35ae-4f1f-9c23-b546035628ac', 'a5bdcdee-bc0e-4340-aaf3-d3d7d43dcc1a', 'OWNER');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('f5edf9d3-e506-41e9-8c02-0be4d3bbd494', 'a5bdcdee-bc0e-4340-aaf3-d3d7d43dcc1a', 'ADMIN');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('a5f8ffa9-00a4-4229-a9d5-95ff9e671309', 'a5bdcdee-bc0e-4340-aaf3-d3d7d43dcc1a', 'REFERRER');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('3b2f81e8-4337-4f5e-a023-2f2370309cfc', '43cf65a6-59e5-44d6-bf66-0fcf7266404a', 'OWNER');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('9f40ec38-70ad-426e-aa26-2b0dd2afee2e', '43cf65a6-59e5-44d6-bf66-0fcf7266404a', 'ADMIN');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('51be412d-854a-4a70-82e9-e4f9e34a4834', '43cf65a6-59e5-44d6-bf66-0fcf7266404a', 'REFERRER');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('9fda353a-fddf-424a-a857-a9b6327cd608', '958aa7a0-2531-4661-9444-5e00207fb8c4', 'OWNER');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('5a2b3a18-5711-4823-9dbb-d5391a6d8563', '958aa7a0-2531-4661-9444-5e00207fb8c4', 'ADMIN');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('32f84cbf-a88f-4a85-86c7-ef8dacb65f13', '958aa7a0-2531-4661-9444-5e00207fb8c4', 'REFERRER');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('bfa6fc54-b363-4a47-bcf7-b27d84669531', 'a2bdfd07-bbc1-417b-b91e-a567641d19c2', 'OWNER');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('9724cc00-bf80-4ad3-9889-323600c10eb4', 'a2bdfd07-bbc1-417b-b91e-a567641d19c2', 'ADMIN');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('a70cbda3-6a50-481d-98b5-d780eb50fdfc', 'a2bdfd07-bbc1-417b-b91e-a567641d19c2', 'REFERRER');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('5be17991-149b-484b-8386-01fc83b53a10', '2ddcf68b-eb88-45e7-a6aa-3da9c32115a1', 'OWNER');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('ccd7a35d-4c6f-461d-8b9a-ca95a1f86172', '2ddcf68b-eb88-45e7-a6aa-3da9c32115a1', 'ADMIN');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('c7c42e30-f5fa-4eae-9c26-35d0756423af', '2ddcf68b-eb88-45e7-a6aa-3da9c32115a1', 'REFERRER');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('21f302be-fb10-48c6-92ce-c01f854e5a59', '8931b7ef-2f89-44c5-b7c2-730b898f2227', 'OWNER');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('2d941ad9-f2fe-4971-9825-2d921c2faa55', '8931b7ef-2f89-44c5-b7c2-730b898f2227', 'ADMIN');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('420a6c52-7ac3-4919-8d82-db86daccdf7c', '8931b7ef-2f89-44c5-b7c2-730b898f2227', 'REFERRER');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('07a54611-1eaf-47b5-a60a-cd5daa940457', '6d226408-de6e-497a-abbb-7a9c66cee762', 'OWNER');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('589444d1-ddc3-4c41-b153-1ccfce6f2586', '6d226408-de6e-497a-abbb-7a9c66cee762', 'ADMIN');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('d9ced1a5-6178-4a6e-9290-b5caadfa9a56', '6d226408-de6e-497a-abbb-7a9c66cee762', 'REFERRER');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('0d3bdf04-c0b4-4e4d-823d-f0b748b80460', 'eea4f215-2c8a-4d14-a9e7-82860faa5a42', 'OWNER');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('61a014d9-88cf-4966-a6db-df32fc6c0ab1', 'eea4f215-2c8a-4d14-a9e7-82860faa5a42', 'ADMIN');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('10892e70-ab5a-45a1-b5f8-86a5b0a13812', 'eea4f215-2c8a-4d14-a9e7-82860faa5a42', 'REFERRER');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('d0386fb6-0911-4534-9b64-d622e9940c5f', '6d1a20f7-2fd0-4c62-a304-1fc1eeedb59d', 'OWNER');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('ce54837c-5f96-4cc2-bfb2-ae2d648cbd13', '6d1a20f7-2fd0-4c62-a304-1fc1eeedb59d', 'ADMIN');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('d04744da-b54e-4f1c-babb-40a5392dd7ad', '6d1a20f7-2fd0-4c62-a304-1fc1eeedb59d', 'REFERRER');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('45fbb4e3-92da-4a60-8437-9f7fc5289f19', '195ef8b7-3c56-4ef4-8db6-47b4cf15d572', 'OWNER');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('35c41304-1b36-43b0-ba77-14f3b9202ccc', '195ef8b7-3c56-4ef4-8db6-47b4cf15d572', 'ADMIN');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('82a82410-5192-4cea-ac2d-698df4513de9', '195ef8b7-3c56-4ef4-8db6-47b4cf15d572', 'REFERRER');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('926a19f7-ea40-407c-a9a7-36933143cf32', '4ce59c0d-417c-4676-8de5-25aafd780613', 'OWNER');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('943de460-96b3-40e9-a59f-5be6fb8dca03', '4ce59c0d-417c-4676-8de5-25aafd780613', 'ADMIN');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('399b4c7e-93e2-4886-9fda-61b988a5ae29', '4ce59c0d-417c-4676-8de5-25aafd780613', 'AGENT');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('ddab9e9f-db0b-4a8c-a7be-117fc2c963ec', '4ce59c0d-417c-4676-8de5-25aafd780613', 'TENANT');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('ad50f362-4459-42aa-841e-b3534ace763f', '9090accb-cae9-4f85-8380-2c6d740b6520', 'OWNER');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('bf4c3c93-ba70-4e1e-adc5-4bc2a3ef17a6', '9090accb-cae9-4f85-8380-2c6d740b6520', 'ADMIN');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('27f496a9-f1f6-4cf0-a394-582a3c2ec244', '9090accb-cae9-4f85-8380-2c6d740b6520', 'AGENT');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('f19bdc0c-eb49-4740-a446-b35384d5d689', '9090accb-cae9-4f85-8380-2c6d740b6520', 'TENANT');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('5fa8de94-9c00-455d-9655-d0409224971e', '7db0877f-0116-430f-9db3-c35a2b693d00', 'OWNER');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('83a1630d-c711-4dd0-a467-5ed87feee835', '7db0877f-0116-430f-9db3-c35a2b693d00', 'ADMIN');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('db2ecdbd-608e-4af8-898a-4c789ec60993', '7db0877f-0116-430f-9db3-c35a2b693d00', 'AGENT');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('95af5ad8-b74d-4cdc-9931-583c5e3d68f8', '7db0877f-0116-430f-9db3-c35a2b693d00', 'TENANT');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('87fb27a9-3d42-4ea2-89cb-b1d21f87d5eb', 'cefb9d07-7142-4a0e-a924-310534a2a516', 'OWNER');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('45e9ba6d-f4d9-4d24-bed3-09207ae0db40', 'cefb9d07-7142-4a0e-a924-310534a2a516', 'ADMIN');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('7da9eb31-516f-488d-831f-0c25585aedc7', 'cefb9d07-7142-4a0e-a924-310534a2a516', 'AGENT');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('b5ab545c-b649-4c68-ac44-69349ebe8036', 'cefb9d07-7142-4a0e-a924-310534a2a516', 'TENANT');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('3a7f4942-6f62-46e5-9dc4-3d95e645f46a', '74ca4b73-4a8e-4658-8924-5bad48e77e71', 'OWNER');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('69d0b389-2dd0-40f8-9802-ffc66a5d3291', '74ca4b73-4a8e-4658-8924-5bad48e77e71', 'ADMIN');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('6530e1d9-eb2c-4fd9-b002-853f89affeec', '74ca4b73-4a8e-4658-8924-5bad48e77e71', 'AGENT');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('69f0ff8f-54f0-48bc-b5a0-0d1e0c69e2b5', '74ca4b73-4a8e-4658-8924-5bad48e77e71', 'TENANT');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('8bba1df2-a018-4f08-ac0c-bb9d1fcac6d3', 'bcee4fcb-c7a5-4191-8d4e-6b1d9dfe23c3', 'OWNER');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('4a5bed60-bc5c-4131-9f5e-4d8fe0c1612e', 'bcee4fcb-c7a5-4191-8d4e-6b1d9dfe23c3', 'ADMIN');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('0fe24c9a-08a0-43f8-939e-e867af52bece', 'bcee4fcb-c7a5-4191-8d4e-6b1d9dfe23c3', 'AGENT');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('5062fecc-90b8-4ef4-b336-fcbe9a73a6e0', 'bcee4fcb-c7a5-4191-8d4e-6b1d9dfe23c3', 'TENANT');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('de8f642d-37c0-4498-8d2e-54ba4cddbd17', '5c0f9fee-6087-4b83-bcb7-da8a525b8662', 'OWNER');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('260d863e-eb9f-441d-96d6-5a767f2e8973', '5c0f9fee-6087-4b83-bcb7-da8a525b8662', 'ADMIN');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('60ee51bd-f34c-4a9b-b692-c2476ab44de5', '5c0f9fee-6087-4b83-bcb7-da8a525b8662', 'AGENT');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('898325ca-b5e0-4c70-b301-3b9a141931c8', '5c0f9fee-6087-4b83-bcb7-da8a525b8662', 'TENANT');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('572f4a8b-8aae-40cb-9a68-d561b297b2fe', '7a6b8585-8bcc-4bcc-a1f6-a905bfd2cb05', 'OWNER');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('ad4f7acf-c896-4e7b-8d99-a2d936999af8', '7a6b8585-8bcc-4bcc-a1f6-a905bfd2cb05', 'ADMIN');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('49c014a2-4be5-482a-80c7-04d13ab81402', '7a6b8585-8bcc-4bcc-a1f6-a905bfd2cb05', 'AGENT');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('288a3a2c-fc5c-4aa4-b14e-ede529d02bef', '7a6b8585-8bcc-4bcc-a1f6-a905bfd2cb05', 'TENANT');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('2fe324b3-8ddf-4c56-98e1-511152108b2d', '0eba2cf6-e74b-4f41-bac5-9c0292f8e9e1', 'OWNER');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('02616b32-c6fa-408b-97fc-d8fb1e8a641b', '0eba2cf6-e74b-4f41-bac5-9c0292f8e9e1', 'ADMIN');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('e90b5799-82c7-4ee4-8e35-7f57cb523f94', '0eba2cf6-e74b-4f41-bac5-9c0292f8e9e1', 'AGENT');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('998ff776-dd14-4180-9e73-a2ff618e08e6', '0eba2cf6-e74b-4f41-bac5-9c0292f8e9e1', 'TENANT');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('1d8f7150-b928-4f7e-90d9-faa9d64bf128', '83a4f8c9-9f65-4b7d-9ed6-963325a3ba7f', 'OWNER');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('4390cac7-7f27-4a60-8114-9d5e43045fbb', '83a4f8c9-9f65-4b7d-9ed6-963325a3ba7f', 'ADMIN');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('700a8e97-af5d-45a3-9a6b-0db0857b012d', '83a4f8c9-9f65-4b7d-9ed6-963325a3ba7f', 'AGENT');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('a8455ef5-5a4f-4ebb-bc28-dc7740e7523f', '83a4f8c9-9f65-4b7d-9ed6-963325a3ba7f', 'TENANT');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('ea5a5579-6eaf-4c3d-9395-1fb7f36f4c54', 'c49b0faf-016d-4079-9ce2-2f0d3047f1ac', 'OWNER');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('5142ed31-f21b-4877-a35f-8a09fa5fb14c', 'c49b0faf-016d-4079-9ce2-2f0d3047f1ac', 'ADMIN');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('4f513678-c6cb-4d42-b2d9-e44038104f0c', 'c49b0faf-016d-4079-9ce2-2f0d3047f1ac', 'AGENT');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('43212e07-a99c-4ad3-91f5-a839d17fb4af', 'c49b0faf-016d-4079-9ce2-2f0d3047f1ac', 'TENANT');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('6f72f73e-7a63-45e3-b11b-97bf54a54f62', '667be660-c8ac-48a5-91cf-655ae049bf55', 'OWNER');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('d6b55eaa-193f-4fb9-9d4e-f0fa0f6db56d', '667be660-c8ac-48a5-91cf-655ae049bf55', 'ADMIN');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('09200181-ee51-415f-8a01-b2c4c4f532a5', '667be660-c8ac-48a5-91cf-655ae049bf55', 'AGENT');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('469cbba3-724f-4e4e-b0a2-6b509d8537c7', '667be660-c8ac-48a5-91cf-655ae049bf55', 'TENANT');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('cb928673-376a-40de-900b-34021f7ede66', '63ab696c-163c-44b6-bd79-e82630923af2', 'OWNER');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('b0269de3-13ad-40de-8ab8-a11f99b1b2d8', '63ab696c-163c-44b6-bd79-e82630923af2', 'ADMIN');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('c5077142-d0a8-4fd2-b617-4856c6ceebc2', '63ab696c-163c-44b6-bd79-e82630923af2', 'AGENT');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('0cb05ed2-74ad-4f82-9670-6ee3928f134c', '63ab696c-163c-44b6-bd79-e82630923af2', 'TENANT');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('45af5ae1-b7b4-4a19-93d6-612ca4898cb6', '23c86f22-86df-46a1-bafb-816730494fe1', 'OWNER');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('79f17fd8-6bdc-4308-ad8a-525b66aa1202', '23c86f22-86df-46a1-bafb-816730494fe1', 'ADMIN');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('0699690f-54af-4635-9bf0-a2b2330467c2', '23c86f22-86df-46a1-bafb-816730494fe1', 'AGENT');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('e7d994d2-df71-4e54-9e3c-a6885909f43a', '23c86f22-86df-46a1-bafb-816730494fe1', 'TENANT');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('4b649075-2859-4ff0-8e51-f9c0694dd338', '5a3b6183-d4d8-4e54-a680-95725e168700', 'OWNER');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('3dfcf95b-4037-4149-a4ac-ec3160925485', '5a3b6183-d4d8-4e54-a680-95725e168700', 'ADMIN');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('030849d0-70ac-48a3-adc7-d6025424194a', '5a3b6183-d4d8-4e54-a680-95725e168700', 'AGENT');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('92dda33e-1138-445c-bf13-9bbb69c8d69b', '5a3b6183-d4d8-4e54-a680-95725e168700', 'TENANT');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('182d7845-e866-448a-b758-77c6b08c96d8', '50b5215d-4fdc-48be-a196-22fbe9325efb', 'OWNER');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('3fea832b-423c-46a7-8b58-20132f86a1f2', '50b5215d-4fdc-48be-a196-22fbe9325efb', 'ADMIN');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('5765745b-dbca-4a60-b699-a2c1705aacf1', '50b5215d-4fdc-48be-a196-22fbe9325efb', 'REFERRER');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('17e4e882-d1be-4cb8-90ec-b00b30cd0c59', 'ba3b7687-f7ca-4520-ae16-6d3701fc5df9', 'OWNER');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('279700d9-00b9-45e3-b2d9-b20fa0b8810c', 'ba3b7687-f7ca-4520-ae16-6d3701fc5df9', 'ADMIN');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('9bd4c9b1-f8ae-4cf9-821c-a3ccc0fa36f6', 'ba3b7687-f7ca-4520-ae16-6d3701fc5df9', 'REFERRER');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('8e7e5c39-f941-441c-aae2-2de5e160f6e4', '33c27d3b-b8ea-4096-8d71-ee351ebed0a9', 'OWNER');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('9b3278e9-9156-4fd3-aa57-b7ac12cc7b3c', '33c27d3b-b8ea-4096-8d71-ee351ebed0a9', 'ADMIN');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('fa5cdc5a-394a-44d3-a892-4e6485647527', '33c27d3b-b8ea-4096-8d71-ee351ebed0a9', 'REFERRER');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('18f90be5-7979-4f4b-a53e-326398e408a9', '754ac83e-c0bb-4391-bc56-14636708b9c4', 'OWNER');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('b244fa4b-d0ab-4e7b-b959-b6f15fa74b23', '754ac83e-c0bb-4391-bc56-14636708b9c4', 'ADMIN');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('ecf437ed-5f47-4ffb-8bfb-456e929e5bce', '754ac83e-c0bb-4391-bc56-14636708b9c4', 'REFERRER');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('a8c8215b-c170-49fe-9c7c-33ab0b46e1ef', 'b0ad26e4-3b28-4450-8a51-72a63112baea', 'OWNER');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('9559f353-1187-4e4c-bec5-54216ce48cf8', 'b0ad26e4-3b28-4450-8a51-72a63112baea', 'ADMIN');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('c11f4188-22ab-408c-9b93-a10c1cdef357', 'b0ad26e4-3b28-4450-8a51-72a63112baea', 'REFERRER');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('6d984b48-29de-4ac2-9c17-9d527510c936', '28813a5d-54c6-435e-b0a7-b78d858f874e', 'OWNER');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('2f98958a-f959-4f5e-9ca1-eced40ef5e68', '28813a5d-54c6-435e-b0a7-b78d858f874e', 'ADMIN');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('91cf9d69-2998-4ee3-b666-17cbe2c5983e', '28813a5d-54c6-435e-b0a7-b78d858f874e', 'REFERRER');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('e6463959-eae0-4aa1-a09f-b143adc7280b', '8b6362a1-d6d5-437e-980e-f1fe4043de6a', 'OWNER');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('d9570ae8-1703-4297-9b0b-e2119cb0de6a', '8b6362a1-d6d5-437e-980e-f1fe4043de6a', 'ADMIN');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('612cbbc2-83cc-4c76-aea0-3b041b610e25', '8b6362a1-d6d5-437e-980e-f1fe4043de6a', 'REFERRER');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('418ab944-42ba-4e3b-b7dc-c9ae17ec48b8', '843b098d-12af-4980-b211-703a20192443', 'OWNER');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('b75a103b-9949-4d54-98e6-aca80190fa96', '843b098d-12af-4980-b211-703a20192443', 'ADMIN');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('88bb00dd-0344-41b0-abaa-619f4779dc01', '843b098d-12af-4980-b211-703a20192443', 'REFERRER');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('e798f2a7-8f02-4657-81b3-a35445938928', 'f1ce41de-5c44-4b5a-8c75-d32c9652df8c', 'OWNER');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('655eb9fb-d2d6-4f72-b2c3-5a692e3204b9', 'f1ce41de-5c44-4b5a-8c75-d32c9652df8c', 'ADMIN');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('cbdd535b-122a-464a-8c5b-458897f9ac50', 'f1ce41de-5c44-4b5a-8c75-d32c9652df8c', 'AGENT');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('ddd70217-d1b5-4c41-b1d2-5b970190bbc7', 'f1ce41de-5c44-4b5a-8c75-d32c9652df8c', 'REFERRER');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('5e1fde1e-8aa9-48b4-8069-9fb368391887', '2b5b7481-0bd4-43a7-bb97-1d96b1cbca68', 'OWNER');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('9ceeccc9-b21d-44bb-ac4b-c430111e0297', '2b5b7481-0bd4-43a7-bb97-1d96b1cbca68', 'ADMIN');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('fc123ec2-56db-4df9-a31b-ddafa0d75ed2', '2b5b7481-0bd4-43a7-bb97-1d96b1cbca68', 'AGENT');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('6149ac62-1f9a-4801-b995-a4a58d80e4e4', '2b5b7481-0bd4-43a7-bb97-1d96b1cbca68', 'REFERRER');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('f8f17e79-3afe-424d-9eed-a72d71a8842c', '3a909c22-3e39-47cc-bb75-22a69eeaf720', 'OWNER');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('2058a61c-6387-40de-8c01-224242db669a', '3a909c22-3e39-47cc-bb75-22a69eeaf720', 'ADMIN');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('54d32de5-96ad-4e11-81e1-7e21fee79e0f', '3a909c22-3e39-47cc-bb75-22a69eeaf720', 'AGENT');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('20fb1b3b-31a9-4f66-901a-99fe4ee8bf44', '3a909c22-3e39-47cc-bb75-22a69eeaf720', 'REFERRER');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('13d87b00-978a-45a5-9223-02389aeeb777', '4330e211-e36c-45ec-9332-f7593ff42811', 'OWNER');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('f4926d93-063a-4959-b6fc-1db4d0d5653e', '4330e211-e36c-45ec-9332-f7593ff42811', 'ADMIN');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('a2bd22e3-a8ae-4088-b96a-8d5100b111ae', '4330e211-e36c-45ec-9332-f7593ff42811', 'AGENT');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('bde79965-6dbb-4d8b-a85f-f3398e815495', 'bed3c145-aa55-425f-9211-be9f5e9f4ebe', 'OWNER');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('e81132af-026a-4333-82b2-fae091761e55', 'bed3c145-aa55-425f-9211-be9f5e9f4ebe', 'ADMIN');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('35628825-27df-48e2-979c-63619d535ec7', 'bed3c145-aa55-425f-9211-be9f5e9f4ebe', 'AGENT');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('643b3b80-5ad3-4bfc-be99-f0a931ea601a', 'a42d61c5-7dad-4379-9dd9-39a8d21ddc32', 'OWNER');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('c8ca51cb-a2b6-453c-8f90-4ef7c1d2d5d9', 'a42d61c5-7dad-4379-9dd9-39a8d21ddc32', 'ADMIN');
INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('07993766-fac8-4c89-8efa-d3f21a5d7931', 'a42d61c5-7dad-4379-9dd9-39a8d21ddc32', 'AGENT');
--
-- Data for Name: subject; Type: TABLE DATA; Schema: rbac; Owner: postgres
--
INSERT INTO rbac.subject (uuid, name) VALUES ('bdcc7fef-52e9-4b4c-a0ad-1950d6a1aec4', 'superuser-alex@hostsharing.net');
INSERT INTO rbac.subject (uuid, name) VALUES ('a8051de5-7d09-4193-a48c-36c45570b871', 'superuser-fran@hostsharing.net');
INSERT INTO rbac.subject (uuid, name) VALUES ('2f2bbe7d-bd67-4687-9295-fda48420f1d2', 'selfregistered-user-drew@hostsharing.org');
INSERT INTO rbac.subject (uuid, name) VALUES ('90039166-db03-4f59-9741-0966b6d798b7', 'selfregistered-test-user@hostsharing.org');
INSERT INTO rbac.subject (uuid, name) VALUES ('25ff93a9-570e-4cc9-8361-2ad020e8ee2d', 'customer-admin@xxx.example.com');
INSERT INTO rbac.subject (uuid, name) VALUES ('bdfe51fa-baf3-4d35-ae75-e1204cb72190', 'customer-admin@yyy.example.com');
INSERT INTO rbac.subject (uuid, name) VALUES ('aead54d2-cdfb-4a71-85e9-81bf66657fd0', 'customer-admin@zzz.example.com');
INSERT INTO rbac.subject (uuid, name) VALUES ('8b7aa499-a002-438e-a374-8727505fd466', 'pac-admin-xxx00@xxx.example.com');
INSERT INTO rbac.subject (uuid, name) VALUES ('996b095f-6390-4c22-8513-4b0d6a42a3e5', 'pac-admin-xxx01@xxx.example.com');
INSERT INTO rbac.subject (uuid, name) VALUES ('36351f3a-53ef-489b-a357-a5b313bb342f', 'pac-admin-xxx02@xxx.example.com');
INSERT INTO rbac.subject (uuid, name) VALUES ('ca6b27c0-170f-4e0b-9838-09b782d3c795', 'pac-admin-yyy00@yyy.example.com');
INSERT INTO rbac.subject (uuid, name) VALUES ('1a50753a-716d-4c91-8691-2e7ac8c0ebee', 'pac-admin-yyy01@yyy.example.com');
INSERT INTO rbac.subject (uuid, name) VALUES ('af97c31c-aa68-49c6-995a-ec5e59bde048', 'pac-admin-yyy02@yyy.example.com');
INSERT INTO rbac.subject (uuid, name) VALUES ('0d291c35-1be3-4b9f-809f-fb6f9403f6ab', 'pac-admin-zzz00@zzz.example.com');
INSERT INTO rbac.subject (uuid, name) VALUES ('a5acc2d7-12a6-479b-8c1a-d003105fdfb6', 'pac-admin-zzz01@zzz.example.com');
INSERT INTO rbac.subject (uuid, name) VALUES ('61f888aa-5567-4fdf-a856-700a520ee0f4', 'pac-admin-zzz02@zzz.example.com');
INSERT INTO rbac.subject (uuid, name) VALUES ('5de0a8e1-a0d7-400e-90a6-840705faaebc', 'contact-admin@firstcontact.example.com');
INSERT INTO rbac.subject (uuid, name) VALUES ('923b54ed-8d82-4612-8be0-4db6e9e8d532', 'contact-admin@secondcontact.example.com');
INSERT INTO rbac.subject (uuid, name) VALUES ('6b27f6a4-2e7f-493e-a842-8c43f48a9c45', 'contact-admin@thirdcontact.example.com');
INSERT INTO rbac.subject (uuid, name) VALUES ('7879309d-c155-4d8c-9dcd-d4eacf27bc08', 'contact-admin@fourthcontact.example.com');
INSERT INTO rbac.subject (uuid, name) VALUES ('6bdaac0d-742f-44d0-a713-d1dcd4c86049', 'contact-admin@fifthcontact.example.com');
INSERT INTO rbac.subject (uuid, name) VALUES ('179421ab-cd83-42f9-8c66-062cf854a174', 'contact-admin@sixthcontact.example.com');
INSERT INTO rbac.subject (uuid, name) VALUES ('aa06fc04-c789-432c-b257-5de1371a53ff', 'contact-admin@seventhcontact.example.com');
INSERT INTO rbac.subject (uuid, name) VALUES ('c1c9dc75-a3ac-448f-a9a0-bfbc9a35b806', 'contact-admin@eighthcontact.example.com');
INSERT INTO rbac.subject (uuid, name) VALUES ('c517afa2-4320-4612-b688-97863b263661', 'contact-admin@ninthcontact.example.com');
INSERT INTO rbac.subject (uuid, name) VALUES ('88964484-715a-4a24-82ca-90d75e19efdb', 'contact-admin@tenthcontact.example.com');
INSERT INTO rbac.subject (uuid, name) VALUES ('dae95481-b3ce-4678-8a89-eee8097a9dbf', 'contact-admin@eleventhcontact.example.com');
INSERT INTO rbac.subject (uuid, name) VALUES ('1322621a-1dc8-4a3d-afa7-06a03c1035f7', 'contact-admin@twelfthcontact.example.com');
INSERT INTO rbac.subject (uuid, name) VALUES ('72690aa1-2ebd-4922-8959-453aa0d076ed', 'person-HostsharingeG@example.com');
INSERT INTO rbac.subject (uuid, name) VALUES ('a44c56fb-afb2-4b5f-a532-52d0e4ad839f', 'person-FirstGmbH@example.com');
INSERT INTO rbac.subject (uuid, name) VALUES ('9a4b60ab-9b9d-4f4e-a597-5b22ec2d44fd', 'person-FirbySusan@example.com');
INSERT INTO rbac.subject (uuid, name) VALUES ('5fa5c7c7-07dc-45f0-b6ac-eeba221016d4', 'person-SmithPeter@example.com');
INSERT INTO rbac.subject (uuid, name) VALUES ('c6ddc7b6-4afe-4c7a-a5d4-9aeae9940761', 'person-TuckerJack@example.com');
INSERT INTO rbac.subject (uuid, name) VALUES ('7bbd7271-69b4-4b72-9472-5d1fd5cc2f7d', 'person-FoulerEllie@example.com');
INSERT INTO rbac.subject (uuid, name) VALUES ('552ab094-a7d4-4b79-a02e-15f78954bfbf', 'person-PeterSmith-TheSecondHandandThrif@example.com');
INSERT INTO rbac.subject (uuid, name) VALUES ('27c48121-45ee-43d8-8efc-e69381125139', 'person-ThirdOHG@example.com');
INSERT INTO rbac.subject (uuid, name) VALUES ('79154a1d-1d55-4012-be4f-b214206ddfd6', 'person-FourtheG@example.com');
INSERT INTO rbac.subject (uuid, name) VALUES ('fd90820d-a08a-456d-ae81-53d384530c68', 'person-ErbenBesslerMelBessler@example.com');
INSERT INTO rbac.subject (uuid, name) VALUES ('1d51b7f2-30bf-4561-a584-079ab1c6f096', 'person-BesslerAnita@example.com');
INSERT INTO rbac.subject (uuid, name) VALUES ('4f915955-263f-43f4-8556-4770f2227498', 'person-BesslerBert@example.com');
INSERT INTO rbac.subject (uuid, name) VALUES ('072d9a7b-e602-431d-af72-be391ac7c711', 'person-WinklerPaul@example.com');
INSERT INTO rbac.subject (uuid, name) VALUES ('4d8dee89-75e0-49a9-8078-2c4c478a9665', 'bankaccount-admin@FirstGmbH.example.com');
INSERT INTO rbac.subject (uuid, name) VALUES ('41cb1f57-77f0-4cf3-a877-680418e29e3b', 'bankaccount-admin@PeterSmith.example.com');
INSERT INTO rbac.subject (uuid, name) VALUES ('b0818c50-a43b-4e5f-837c-6cd0bfa6f2c0', 'bankaccount-admin@PeterSmith-TheSecondHandandThrif.example.com');
INSERT INTO rbac.subject (uuid, name) VALUES ('81536900-27e8-4b17-99f5-b957fd4a4426', 'bankaccount-admin@ThirdOHG.example.com');
INSERT INTO rbac.subject (uuid, name) VALUES ('7f239c0c-707e-486d-b38b-e39d51a84f11', 'bankaccount-admin@FourtheG.example.com');
INSERT INTO rbac.subject (uuid, name) VALUES ('b502c841-3b77-4a4f-b979-e3e0a708022c', 'bankaccount-admin@MelBessler.example.com');
INSERT INTO rbac.subject (uuid, name) VALUES ('8891a19d-c2c7-4dd5-baff-60bad149012f', 'bankaccount-admin@AnitaBessler.example.com');
INSERT INTO rbac.subject (uuid, name) VALUES ('0594c065-f593-4f3f-acb1-f372bd4346f3', 'bankaccount-admin@PaulWinkler.example.com');
--
-- Data for Name: customer; Type: TABLE DATA; Schema: rbactest; Owner: postgres
--
INSERT INTO rbactest.customer (uuid, version, reference, prefix, adminusername) VALUES ('dbbfdc0a-a952-4886-b6df-a242f80b1233', 0, 99901, 'xxx', 'customer-admin@xxx.example.com');
INSERT INTO rbactest.customer (uuid, version, reference, prefix, adminusername) VALUES ('03b1f749-8010-4c9c-a256-3911d64385a0', 0, 99902, 'yyy', 'customer-admin@yyy.example.com');
INSERT INTO rbactest.customer (uuid, version, reference, prefix, adminusername) VALUES ('ccbb2b4b-68cd-4fd6-8467-2357874a3eab', 0, 99903, 'zzz', 'customer-admin@zzz.example.com');
--
-- Data for Name: domain; Type: TABLE DATA; Schema: rbactest; Owner: postgres
--
INSERT INTO rbactest.domain (uuid, packageuuid, name, description) VALUES ('35e7e703-d051-48f2-b8cd-893575ec22d5', '1f378616-047c-4cf3-a70b-54c88f9608d6', 'xxx00-aaaa', NULL);
INSERT INTO rbactest.domain (uuid, packageuuid, name, description) VALUES ('69acd255-c446-4fcb-9175-30ac8139a69c', '1f378616-047c-4cf3-a70b-54c88f9608d6', 'xxx00-aaab', NULL);
INSERT INTO rbactest.domain (uuid, packageuuid, name, description) VALUES ('1b25341f-3344-4378-a7ba-4a10a5180083', '5a10e27a-311d-4527-b0ac-38f2fd6e16c4', 'xxx01-aaaa', NULL);
INSERT INTO rbactest.domain (uuid, packageuuid, name, description) VALUES ('18a43fac-4e7d-4ea3-8d2c-ecc95666bda4', '5a10e27a-311d-4527-b0ac-38f2fd6e16c4', 'xxx01-aaab', NULL);
INSERT INTO rbactest.domain (uuid, packageuuid, name, description) VALUES ('6eb719a3-1418-4318-8861-610d343bdee1', 'dd13db03-932e-4c71-9ae7-ff197cc02341', 'xxx02-aaaa', NULL);
INSERT INTO rbactest.domain (uuid, packageuuid, name, description) VALUES ('e7dcf9da-7a53-494e-a231-4ddb73b6729d', 'dd13db03-932e-4c71-9ae7-ff197cc02341', 'xxx02-aaab', NULL);
INSERT INTO rbactest.domain (uuid, packageuuid, name, description) VALUES ('a6242be9-717a-4011-a04f-f501f84adcb2', '9464ead9-4f16-477c-bf3b-14669a9c42be', 'yyy00-aaaa', NULL);
INSERT INTO rbactest.domain (uuid, packageuuid, name, description) VALUES ('5796ae29-666f-4ee3-9f20-75ffc3b21f4c', '9464ead9-4f16-477c-bf3b-14669a9c42be', 'yyy00-aaab', NULL);
INSERT INTO rbactest.domain (uuid, packageuuid, name, description) VALUES ('58357452-4e31-4d21-8148-d33943331b43', 'a6b15d0a-f7a3-4c40-8fe6-cbb62c2a868b', 'yyy01-aaaa', NULL);
INSERT INTO rbactest.domain (uuid, packageuuid, name, description) VALUES ('3fe6bfb7-956b-4f4e-8009-34c31429b1c8', 'a6b15d0a-f7a3-4c40-8fe6-cbb62c2a868b', 'yyy01-aaab', NULL);
INSERT INTO rbactest.domain (uuid, packageuuid, name, description) VALUES ('6eba7088-7968-4d92-85f3-fbd1403a56b1', '3c243156-033e-4e72-96cf-5e204d04900c', 'yyy02-aaaa', NULL);
INSERT INTO rbactest.domain (uuid, packageuuid, name, description) VALUES ('d690e5bd-7814-436e-ba1c-8c57760866cc', '3c243156-033e-4e72-96cf-5e204d04900c', 'yyy02-aaab', NULL);
INSERT INTO rbactest.domain (uuid, packageuuid, name, description) VALUES ('a27caa13-80b1-4784-b891-5b4f12d3bef5', 'b2f57e12-f448-4b73-9b16-0f39b1eb101d', 'zzz00-aaaa', NULL);
INSERT INTO rbactest.domain (uuid, packageuuid, name, description) VALUES ('a56186b3-786f-407d-b814-959df21edc5d', 'b2f57e12-f448-4b73-9b16-0f39b1eb101d', 'zzz00-aaab', NULL);
INSERT INTO rbactest.domain (uuid, packageuuid, name, description) VALUES ('1cbdd8c5-207a-43e2-98b9-af2265216c14', '5ffddd10-8ef2-4e3f-a62d-8971e0d1afb3', 'zzz01-aaaa', NULL);
INSERT INTO rbactest.domain (uuid, packageuuid, name, description) VALUES ('df500901-140d-48ae-9ce0-e20d3880db92', '5ffddd10-8ef2-4e3f-a62d-8971e0d1afb3', 'zzz01-aaab', NULL);
INSERT INTO rbactest.domain (uuid, packageuuid, name, description) VALUES ('153715cb-8cb1-4f09-bd70-08be928534b7', '7154bf1a-2801-4e65-9d74-5bce9d9b429f', 'zzz02-aaaa', NULL);
INSERT INTO rbactest.domain (uuid, packageuuid, name, description) VALUES ('26642094-e1f4-464d-ab40-5234b4e0228d', '7154bf1a-2801-4e65-9d74-5bce9d9b429f', 'zzz02-aaab', NULL);
--
-- Data for Name: package; Type: TABLE DATA; Schema: rbactest; Owner: postgres
--
INSERT INTO rbactest.package (uuid, version, customeruuid, name, description) VALUES ('1f378616-047c-4cf3-a70b-54c88f9608d6', 0, 'dbbfdc0a-a952-4886-b6df-a242f80b1233', 'xxx00', 'Here you can add your own description of package xxx00.');
INSERT INTO rbactest.package (uuid, version, customeruuid, name, description) VALUES ('5a10e27a-311d-4527-b0ac-38f2fd6e16c4', 0, 'dbbfdc0a-a952-4886-b6df-a242f80b1233', 'xxx01', 'Here you can add your own description of package xxx01.');
INSERT INTO rbactest.package (uuid, version, customeruuid, name, description) VALUES ('dd13db03-932e-4c71-9ae7-ff197cc02341', 0, 'dbbfdc0a-a952-4886-b6df-a242f80b1233', 'xxx02', 'Here you can add your own description of package xxx02.');
INSERT INTO rbactest.package (uuid, version, customeruuid, name, description) VALUES ('9464ead9-4f16-477c-bf3b-14669a9c42be', 0, '03b1f749-8010-4c9c-a256-3911d64385a0', 'yyy00', 'Here you can add your own description of package yyy00.');
INSERT INTO rbactest.package (uuid, version, customeruuid, name, description) VALUES ('a6b15d0a-f7a3-4c40-8fe6-cbb62c2a868b', 0, '03b1f749-8010-4c9c-a256-3911d64385a0', 'yyy01', 'Here you can add your own description of package yyy01.');
INSERT INTO rbactest.package (uuid, version, customeruuid, name, description) VALUES ('3c243156-033e-4e72-96cf-5e204d04900c', 0, '03b1f749-8010-4c9c-a256-3911d64385a0', 'yyy02', 'Here you can add your own description of package yyy02.');
INSERT INTO rbactest.package (uuid, version, customeruuid, name, description) VALUES ('b2f57e12-f448-4b73-9b16-0f39b1eb101d', 0, 'ccbb2b4b-68cd-4fd6-8467-2357874a3eab', 'zzz00', 'Here you can add your own description of package zzz00.');
INSERT INTO rbactest.package (uuid, version, customeruuid, name, description) VALUES ('5ffddd10-8ef2-4e3f-a62d-8971e0d1afb3', 0, 'ccbb2b4b-68cd-4fd6-8467-2357874a3eab', 'zzz01', 'Here you can add your own description of package zzz01.');
INSERT INTO rbactest.package (uuid, version, customeruuid, name, description) VALUES ('7154bf1a-2801-4e65-9d74-5bce9d9b429f', 0, 'ccbb2b4b-68cd-4fd6-8467-2357874a3eab', 'zzz02', 'Here you can add your own description of package zzz02.');
--
-- Name: contact_legacy_id_seq; Type: SEQUENCE SET; Schema: hs_office; Owner: postgres
--
SELECT pg_catalog.setval('hs_office.contact_legacy_id_seq', 1000000011, true);
--
-- Name: coopassettx_legacy_id_seq; Type: SEQUENCE SET; Schema: hs_office; Owner: postgres
--
SELECT pg_catalog.setval('hs_office.coopassettx_legacy_id_seq', 1000000017, true);
--
-- Name: coopsharetx_legacy_id_seq; Type: SEQUENCE SET; Schema: hs_office; Owner: postgres
--
SELECT pg_catalog.setval('hs_office.coopsharetx_legacy_id_seq', 1000000011, true);
--
-- Name: partner_legacy_id_seq; Type: SEQUENCE SET; Schema: hs_office; Owner: postgres
--
SELECT pg_catalog.setval('hs_office.partner_legacy_id_seq', 1000000004, true);
--
-- Name: sepamandate_legacy_id_seq; Type: SEQUENCE SET; Schema: hs_office; Owner: postgres
--
SELECT pg_catalog.setval('hs_office.sepamandate_legacy_id_seq', 1000000002, true);
--
-- Name: object_serialid_seq; Type: SEQUENCE SET; Schema: rbac; Owner: postgres
--
SELECT pg_catalog.setval('rbac.object_serialid_seq', 128, true);
--
-- Name: tx_context tx_context_pkey; Type: CONSTRAINT; Schema: base; Owner: postgres
--
ALTER TABLE ONLY base.tx_context
ADD CONSTRAINT tx_context_pkey PRIMARY KEY (txid);
--
-- Name: bankaccount bankaccount_uuid_key; Type: CONSTRAINT; Schema: hs_office; Owner: postgres
--
ALTER TABLE ONLY hs_office.bankaccount
ADD CONSTRAINT bankaccount_uuid_key UNIQUE (uuid);
--
-- Name: contact_legacy_id contact_legacy_id_contact_id_key; Type: CONSTRAINT; Schema: hs_office; Owner: postgres
--
ALTER TABLE ONLY hs_office.contact_legacy_id
ADD CONSTRAINT contact_legacy_id_contact_id_key UNIQUE (contact_id);
--
-- Name: contact_legacy_id contact_legacy_id_pkey; Type: CONSTRAINT; Schema: hs_office; Owner: postgres
--
ALTER TABLE ONLY hs_office.contact_legacy_id
ADD CONSTRAINT contact_legacy_id_pkey PRIMARY KEY (uuid);
--
-- Name: contact contact_uuid_key; Type: CONSTRAINT; Schema: hs_office; Owner: postgres
--
ALTER TABLE ONLY hs_office.contact
ADD CONSTRAINT contact_uuid_key UNIQUE (uuid);
--
-- Name: coopassettx coopassettx_assetadoptiontxuuid_key; Type: CONSTRAINT; Schema: hs_office; Owner: postgres
--
ALTER TABLE ONLY hs_office.coopassettx
ADD CONSTRAINT coopassettx_assetadoptiontxuuid_key UNIQUE (assetadoptiontxuuid);
--
-- Name: coopassettx_legacy_id coopassettx_legacy_id_member_asset_id_key; Type: CONSTRAINT; Schema: hs_office; Owner: postgres
--
ALTER TABLE ONLY hs_office.coopassettx_legacy_id
ADD CONSTRAINT coopassettx_legacy_id_member_asset_id_key UNIQUE (member_asset_id);
--
-- Name: coopassettx_legacy_id coopassettx_legacy_id_pkey; Type: CONSTRAINT; Schema: hs_office; Owner: postgres
--
ALTER TABLE ONLY hs_office.coopassettx_legacy_id
ADD CONSTRAINT coopassettx_legacy_id_pkey PRIMARY KEY (uuid);
--
-- Name: coopassettx coopassettx_revertedassettxuuid_key; Type: CONSTRAINT; Schema: hs_office; Owner: postgres
--
ALTER TABLE ONLY hs_office.coopassettx
ADD CONSTRAINT coopassettx_revertedassettxuuid_key UNIQUE (revertedassettxuuid);
--
-- Name: coopassettx coopassettx_uuid_key; Type: CONSTRAINT; Schema: hs_office; Owner: postgres
--
ALTER TABLE ONLY hs_office.coopassettx
ADD CONSTRAINT coopassettx_uuid_key UNIQUE (uuid);
--
-- Name: coopsharetx_legacy_id coopsharetx_legacy_id_member_share_id_key; Type: CONSTRAINT; Schema: hs_office; Owner: postgres
--
ALTER TABLE ONLY hs_office.coopsharetx_legacy_id
ADD CONSTRAINT coopsharetx_legacy_id_member_share_id_key UNIQUE (member_share_id);
--
-- Name: coopsharetx_legacy_id coopsharetx_legacy_id_pkey; Type: CONSTRAINT; Schema: hs_office; Owner: postgres
--
ALTER TABLE ONLY hs_office.coopsharetx_legacy_id
ADD CONSTRAINT coopsharetx_legacy_id_pkey PRIMARY KEY (uuid);
--
-- Name: coopsharetx coopsharetx_revertedsharetxuuid_key; Type: CONSTRAINT; Schema: hs_office; Owner: postgres
--
ALTER TABLE ONLY hs_office.coopsharetx
ADD CONSTRAINT coopsharetx_revertedsharetxuuid_key UNIQUE (revertedsharetxuuid);
--
-- Name: coopsharetx coopsharetx_uuid_key; Type: CONSTRAINT; Schema: hs_office; Owner: postgres
--
ALTER TABLE ONLY hs_office.coopsharetx
ADD CONSTRAINT coopsharetx_uuid_key UNIQUE (uuid);
--
-- Name: debitor debitor_defaultprefix_key; Type: CONSTRAINT; Schema: hs_office; Owner: postgres
--
ALTER TABLE ONLY hs_office.debitor
ADD CONSTRAINT debitor_defaultprefix_key UNIQUE (defaultprefix);
--
-- Name: debitor debitor_uuid_key; Type: CONSTRAINT; Schema: hs_office; Owner: postgres
--
ALTER TABLE ONLY hs_office.debitor
ADD CONSTRAINT debitor_uuid_key UNIQUE (uuid);
--
-- Name: membership membership_partneruuid_membernumbersuffix_key; Type: CONSTRAINT; Schema: hs_office; Owner: postgres
--
ALTER TABLE ONLY hs_office.membership
ADD CONSTRAINT membership_partneruuid_membernumbersuffix_key UNIQUE (partneruuid, membernumbersuffix);
--
-- Name: membership membership_uuid_key; Type: CONSTRAINT; Schema: hs_office; Owner: postgres
--
ALTER TABLE ONLY hs_office.membership
ADD CONSTRAINT membership_uuid_key UNIQUE (uuid);
--
-- Name: partner_details partner_details_uuid_key; Type: CONSTRAINT; Schema: hs_office; Owner: postgres
--
ALTER TABLE ONLY hs_office.partner_details
ADD CONSTRAINT partner_details_uuid_key UNIQUE (uuid);
--
-- Name: partner_legacy_id partner_legacy_id_bp_id_key; Type: CONSTRAINT; Schema: hs_office; Owner: postgres
--
ALTER TABLE ONLY hs_office.partner_legacy_id
ADD CONSTRAINT partner_legacy_id_bp_id_key UNIQUE (bp_id);
--
-- Name: partner_legacy_id partner_legacy_id_pkey; Type: CONSTRAINT; Schema: hs_office; Owner: postgres
--
ALTER TABLE ONLY hs_office.partner_legacy_id
ADD CONSTRAINT partner_legacy_id_pkey PRIMARY KEY (uuid);
--
-- Name: partner partner_partnernumber_key; Type: CONSTRAINT; Schema: hs_office; Owner: postgres
--
ALTER TABLE ONLY hs_office.partner
ADD CONSTRAINT partner_partnernumber_key UNIQUE (partnernumber);
--
-- Name: partner partner_uuid_key; Type: CONSTRAINT; Schema: hs_office; Owner: postgres
--
ALTER TABLE ONLY hs_office.partner
ADD CONSTRAINT partner_uuid_key UNIQUE (uuid);
--
-- Name: person person_uuid_key; Type: CONSTRAINT; Schema: hs_office; Owner: postgres
--
ALTER TABLE ONLY hs_office.person
ADD CONSTRAINT person_uuid_key UNIQUE (uuid);
--
-- Name: relation relation_uuid_key; Type: CONSTRAINT; Schema: hs_office; Owner: postgres
--
ALTER TABLE ONLY hs_office.relation
ADD CONSTRAINT relation_uuid_key UNIQUE (uuid);
--
-- Name: sepamandate_legacy_id sepamandate_legacy_id_pkey; Type: CONSTRAINT; Schema: hs_office; Owner: postgres
--
ALTER TABLE ONLY hs_office.sepamandate_legacy_id
ADD CONSTRAINT sepamandate_legacy_id_pkey PRIMARY KEY (uuid);
--
-- Name: sepamandate_legacy_id sepamandate_legacy_id_sepa_mandate_id_key; Type: CONSTRAINT; Schema: hs_office; Owner: postgres
--
ALTER TABLE ONLY hs_office.sepamandate_legacy_id
ADD CONSTRAINT sepamandate_legacy_id_sepa_mandate_id_key UNIQUE (sepa_mandate_id);
--
-- Name: sepamandate sepamandate_uuid_key; Type: CONSTRAINT; Schema: hs_office; Owner: postgres
--
ALTER TABLE ONLY hs_office.sepamandate
ADD CONSTRAINT sepamandate_uuid_key UNIQUE (uuid);
--
-- Name: databasechangeloglock databasechangeloglock_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--
ALTER TABLE ONLY public.databasechangeloglock
ADD CONSTRAINT databasechangeloglock_pkey PRIMARY KEY (id);
--
-- Name: global global_name_key; Type: CONSTRAINT; Schema: rbac; Owner: postgres
--
ALTER TABLE ONLY rbac.global
ADD CONSTRAINT global_name_key UNIQUE (name);
--
-- Name: global global_pkey; Type: CONSTRAINT; Schema: rbac; Owner: postgres
--
ALTER TABLE ONLY rbac.global
ADD CONSTRAINT global_pkey PRIMARY KEY (uuid);
--
-- Name: grant grant_ascendantuuid_descendantuuid_key; Type: CONSTRAINT; Schema: rbac; Owner: postgres
--
ALTER TABLE ONLY rbac."grant"
ADD CONSTRAINT grant_ascendantuuid_descendantuuid_key UNIQUE (ascendantuuid, descendantuuid);
--
-- Name: grant grant_pkey; Type: CONSTRAINT; Schema: rbac; Owner: postgres
--
ALTER TABLE ONLY rbac."grant"
ADD CONSTRAINT grant_pkey PRIMARY KEY (uuid);
--
-- Name: object object_objecttable_uuid_key; Type: CONSTRAINT; Schema: rbac; Owner: postgres
--
ALTER TABLE ONLY rbac.object
ADD CONSTRAINT object_objecttable_uuid_key UNIQUE (objecttable, uuid);
--
-- Name: object object_pkey; Type: CONSTRAINT; Schema: rbac; Owner: postgres
--
ALTER TABLE ONLY rbac.object
ADD CONSTRAINT object_pkey PRIMARY KEY (uuid);
--
-- Name: permission permission_pkey; Type: CONSTRAINT; Schema: rbac; Owner: postgres
--
ALTER TABLE ONLY rbac.permission
ADD CONSTRAINT permission_pkey PRIMARY KEY (uuid);
--
-- Name: reference reference_uuid_key; Type: CONSTRAINT; Schema: rbac; Owner: postgres
--
ALTER TABLE ONLY rbac.reference
ADD CONSTRAINT reference_uuid_key UNIQUE (uuid);
--
-- Name: role role_objectuuid_roletype_key; Type: CONSTRAINT; Schema: rbac; Owner: postgres
--
ALTER TABLE ONLY rbac.role
ADD CONSTRAINT role_objectuuid_roletype_key UNIQUE (objectuuid, roletype);
--
-- Name: role role_pkey; Type: CONSTRAINT; Schema: rbac; Owner: postgres
--
ALTER TABLE ONLY rbac.role
ADD CONSTRAINT role_pkey PRIMARY KEY (uuid);
--
-- Name: subject subject_name_key; Type: CONSTRAINT; Schema: rbac; Owner: postgres
--
ALTER TABLE ONLY rbac.subject
ADD CONSTRAINT subject_name_key UNIQUE (name);
--
-- Name: subject subject_pkey; Type: CONSTRAINT; Schema: rbac; Owner: postgres
--
ALTER TABLE ONLY rbac.subject
ADD CONSTRAINT subject_pkey PRIMARY KEY (uuid);
--
-- Name: permission unique_including_null_values; Type: CONSTRAINT; Schema: rbac; Owner: postgres
--
ALTER TABLE ONLY rbac.permission
ADD CONSTRAINT unique_including_null_values UNIQUE NULLS NOT DISTINCT (objectuuid, op, optablename);
--
-- Name: customer customer_prefix_key; Type: CONSTRAINT; Schema: rbactest; Owner: postgres
--
ALTER TABLE ONLY rbactest.customer
ADD CONSTRAINT customer_prefix_key UNIQUE (prefix);
--
-- Name: customer customer_reference_key; Type: CONSTRAINT; Schema: rbactest; Owner: postgres
--
ALTER TABLE ONLY rbactest.customer
ADD CONSTRAINT customer_reference_key UNIQUE (reference);
--
-- Name: customer customer_uuid_key; Type: CONSTRAINT; Schema: rbactest; Owner: postgres
--
ALTER TABLE ONLY rbactest.customer
ADD CONSTRAINT customer_uuid_key UNIQUE (uuid);
--
-- Name: domain domain_uuid_key; Type: CONSTRAINT; Schema: rbactest; Owner: postgres
--
ALTER TABLE ONLY rbactest.domain
ADD CONSTRAINT domain_uuid_key UNIQUE (uuid);
--
-- Name: package package_uuid_key; Type: CONSTRAINT; Schema: rbactest; Owner: postgres
--
ALTER TABLE ONLY rbactest.package
ADD CONSTRAINT package_uuid_key UNIQUE (uuid);
--
-- Name: tx_context_txtimestamp_idx; Type: INDEX; Schema: base; Owner: postgres
--
CREATE INDEX tx_context_txtimestamp_idx ON base.tx_context USING brin (txtimestamp);
--
-- Name: tx_journal_targettable_targetuuid_idx; Type: INDEX; Schema: base; Owner: postgres
--
CREATE INDEX tx_journal_targettable_targetuuid_idx ON base.tx_journal USING btree (targettable, targetuuid);
--
-- Name: unique_partner_relation; Type: INDEX; Schema: hs_office; Owner: postgres
--
CREATE UNIQUE INDEX unique_partner_relation ON hs_office.relation USING btree (type, anchoruuid, holderuuid) WHERE ((mark IS NULL) AND (type = 'PARTNER'::hs_office.relationtype));
--
-- Name: unique_relation_with_mark; Type: INDEX; Schema: hs_office; Owner: postgres
--
CREATE UNIQUE INDEX unique_relation_with_mark ON hs_office.relation USING btree (type, anchoruuid, holderuuid, contactuuid, mark) WHERE (mark IS NOT NULL);
--
-- Name: unique_relation_without_mark; Type: INDEX; Schema: hs_office; Owner: postgres
--
CREATE UNIQUE INDEX unique_relation_without_mark ON hs_office.relation USING btree (type, anchoruuid, holderuuid, contactuuid) WHERE (mark IS NULL);
--
-- Name: global_singleton; Type: INDEX; Schema: rbac; Owner: postgres
--
CREATE UNIQUE INDEX global_singleton ON rbac.global USING btree ((0));
--
-- Name: grant_ascendantuuid_idx; Type: INDEX; Schema: rbac; Owner: postgres
--
CREATE INDEX grant_ascendantuuid_idx ON rbac."grant" USING btree (ascendantuuid);
--
-- Name: grant_descendantuuid_idx; Type: INDEX; Schema: rbac; Owner: postgres
--
CREATE INDEX grant_descendantuuid_idx ON rbac."grant" USING btree (descendantuuid);
--
-- Name: permission_objectuuid_op_idx; Type: INDEX; Schema: rbac; Owner: postgres
--
CREATE INDEX permission_objectuuid_op_idx ON rbac.permission USING btree (objectuuid, op);
--
-- Name: permission_optablename_op_idx; Type: INDEX; Schema: rbac; Owner: postgres
--
CREATE INDEX permission_optablename_op_idx ON rbac.permission USING btree (optablename, op);
--
-- Name: bankaccount build_rbac_system_after_insert_tg; Type: TRIGGER; Schema: hs_office; Owner: postgres
--
CREATE TRIGGER build_rbac_system_after_insert_tg AFTER INSERT ON hs_office.bankaccount FOR EACH ROW EXECUTE FUNCTION hs_office.bankaccount_build_rbac_system_after_insert_tf();
--
-- Name: contact build_rbac_system_after_insert_tg; Type: TRIGGER; Schema: hs_office; Owner: postgres
--
CREATE TRIGGER build_rbac_system_after_insert_tg AFTER INSERT ON hs_office.contact FOR EACH ROW EXECUTE FUNCTION hs_office.contact_build_rbac_system_after_insert_tf();
--
-- Name: coopassettx build_rbac_system_after_insert_tg; Type: TRIGGER; Schema: hs_office; Owner: postgres
--
CREATE TRIGGER build_rbac_system_after_insert_tg AFTER INSERT ON hs_office.coopassettx FOR EACH ROW EXECUTE FUNCTION hs_office.coopassettx_build_rbac_system_after_insert_tf();
--
-- Name: coopsharetx build_rbac_system_after_insert_tg; Type: TRIGGER; Schema: hs_office; Owner: postgres
--
CREATE TRIGGER build_rbac_system_after_insert_tg AFTER INSERT ON hs_office.coopsharetx FOR EACH ROW EXECUTE FUNCTION hs_office.coopsharetx_build_rbac_system_after_insert_tf();
--
-- Name: debitor build_rbac_system_after_insert_tg; Type: TRIGGER; Schema: hs_office; Owner: postgres
--
CREATE TRIGGER build_rbac_system_after_insert_tg AFTER INSERT ON hs_office.debitor FOR EACH ROW EXECUTE FUNCTION hs_office.debitor_build_rbac_system_after_insert_tf();
--
-- Name: membership build_rbac_system_after_insert_tg; Type: TRIGGER; Schema: hs_office; Owner: postgres
--
CREATE TRIGGER build_rbac_system_after_insert_tg AFTER INSERT ON hs_office.membership FOR EACH ROW EXECUTE FUNCTION hs_office.membership_build_rbac_system_after_insert_tf();
--
-- Name: partner build_rbac_system_after_insert_tg; Type: TRIGGER; Schema: hs_office; Owner: postgres
--
CREATE TRIGGER build_rbac_system_after_insert_tg AFTER INSERT ON hs_office.partner FOR EACH ROW EXECUTE FUNCTION hs_office.partner_build_rbac_system_after_insert_tf();
--
-- Name: partner_details build_rbac_system_after_insert_tg; Type: TRIGGER; Schema: hs_office; Owner: postgres
--
CREATE TRIGGER build_rbac_system_after_insert_tg AFTER INSERT ON hs_office.partner_details FOR EACH ROW EXECUTE FUNCTION hs_office.partner_details_build_rbac_system_after_insert_tf();
--
-- Name: person build_rbac_system_after_insert_tg; Type: TRIGGER; Schema: hs_office; Owner: postgres
--
CREATE TRIGGER build_rbac_system_after_insert_tg AFTER INSERT ON hs_office.person FOR EACH ROW EXECUTE FUNCTION hs_office.person_build_rbac_system_after_insert_tf();
--
-- Name: relation build_rbac_system_after_insert_tg; Type: TRIGGER; Schema: hs_office; Owner: postgres
--
CREATE TRIGGER build_rbac_system_after_insert_tg AFTER INSERT ON hs_office.relation FOR EACH ROW EXECUTE FUNCTION hs_office.relation_build_rbac_system_after_insert_tf();
--
-- Name: sepamandate build_rbac_system_after_insert_tg; Type: TRIGGER; Schema: hs_office; Owner: postgres
--
CREATE TRIGGER build_rbac_system_after_insert_tg AFTER INSERT ON hs_office.sepamandate FOR EACH ROW EXECUTE FUNCTION hs_office.sepamandate_build_rbac_system_after_insert_tf();
--
-- Name: coopassettx coopassettx_insert_permission_check_tg; Type: TRIGGER; Schema: hs_office; Owner: postgres
--
CREATE TRIGGER coopassettx_insert_permission_check_tg BEFORE INSERT ON hs_office.coopassettx FOR EACH ROW EXECUTE FUNCTION hs_office.coopassettx_insert_permission_check_tf();
--
-- Name: membership coopassettx_z_grants_after_insert_tg; Type: TRIGGER; Schema: hs_office; Owner: postgres
--
CREATE TRIGGER coopassettx_z_grants_after_insert_tg AFTER INSERT ON hs_office.membership FOR EACH ROW EXECUTE FUNCTION hs_office.coopassettx_grants_insert_to_membership_tf();
--
-- Name: coopsharetx coopsharetx_insert_permission_check_tg; Type: TRIGGER; Schema: hs_office; Owner: postgres
--
CREATE TRIGGER coopsharetx_insert_permission_check_tg BEFORE INSERT ON hs_office.coopsharetx FOR EACH ROW EXECUTE FUNCTION hs_office.coopsharetx_insert_permission_check_tf();
--
-- Name: membership coopsharetx_z_grants_after_insert_tg; Type: TRIGGER; Schema: hs_office; Owner: postgres
--
CREATE TRIGGER coopsharetx_z_grants_after_insert_tg AFTER INSERT ON hs_office.membership FOR EACH ROW EXECUTE FUNCTION hs_office.coopsharetx_grants_insert_to_membership_tf();
--
-- Name: bankaccount createrbacobjectfor_bankaccount_delete_tg_1058_35; Type: TRIGGER; Schema: hs_office; Owner: postgres
--
CREATE TRIGGER createrbacobjectfor_bankaccount_delete_tg_1058_35 AFTER DELETE ON hs_office.bankaccount FOR EACH ROW EXECUTE FUNCTION rbac.delete_related_rbac_rules_tf();
--
-- Name: bankaccount createrbacobjectfor_bankaccount_insert_tg_1058_25; Type: TRIGGER; Schema: hs_office; Owner: postgres
--
CREATE TRIGGER createrbacobjectfor_bankaccount_insert_tg_1058_25 BEFORE INSERT ON hs_office.bankaccount FOR EACH ROW EXECUTE FUNCTION rbac.insert_related_object();
--
-- Name: contact createrbacobjectfor_contact_delete_tg_1058_35; Type: TRIGGER; Schema: hs_office; Owner: postgres
--
CREATE TRIGGER createrbacobjectfor_contact_delete_tg_1058_35 AFTER DELETE ON hs_office.contact FOR EACH ROW EXECUTE FUNCTION rbac.delete_related_rbac_rules_tf();
--
-- Name: contact createrbacobjectfor_contact_insert_tg_1058_25; Type: TRIGGER; Schema: hs_office; Owner: postgres
--
CREATE TRIGGER createrbacobjectfor_contact_insert_tg_1058_25 BEFORE INSERT ON hs_office.contact FOR EACH ROW EXECUTE FUNCTION rbac.insert_related_object();
--
-- Name: coopassettx createrbacobjectfor_coopassettx_delete_tg_1058_35; Type: TRIGGER; Schema: hs_office; Owner: postgres
--
CREATE TRIGGER createrbacobjectfor_coopassettx_delete_tg_1058_35 AFTER DELETE ON hs_office.coopassettx FOR EACH ROW EXECUTE FUNCTION rbac.delete_related_rbac_rules_tf();
--
-- Name: coopassettx createrbacobjectfor_coopassettx_insert_tg_1058_25; Type: TRIGGER; Schema: hs_office; Owner: postgres
--
CREATE TRIGGER createrbacobjectfor_coopassettx_insert_tg_1058_25 BEFORE INSERT ON hs_office.coopassettx FOR EACH ROW EXECUTE FUNCTION rbac.insert_related_object();
--
-- Name: coopsharetx createrbacobjectfor_coopsharetx_delete_tg_1058_35; Type: TRIGGER; Schema: hs_office; Owner: postgres
--
CREATE TRIGGER createrbacobjectfor_coopsharetx_delete_tg_1058_35 AFTER DELETE ON hs_office.coopsharetx FOR EACH ROW EXECUTE FUNCTION rbac.delete_related_rbac_rules_tf();
--
-- Name: coopsharetx createrbacobjectfor_coopsharetx_insert_tg_1058_25; Type: TRIGGER; Schema: hs_office; Owner: postgres
--
CREATE TRIGGER createrbacobjectfor_coopsharetx_insert_tg_1058_25 BEFORE INSERT ON hs_office.coopsharetx FOR EACH ROW EXECUTE FUNCTION rbac.insert_related_object();
--
-- Name: debitor createrbacobjectfor_debitor_delete_tg_1058_35; Type: TRIGGER; Schema: hs_office; Owner: postgres
--
CREATE TRIGGER createrbacobjectfor_debitor_delete_tg_1058_35 AFTER DELETE ON hs_office.debitor FOR EACH ROW EXECUTE FUNCTION rbac.delete_related_rbac_rules_tf();
--
-- Name: debitor createrbacobjectfor_debitor_insert_tg_1058_25; Type: TRIGGER; Schema: hs_office; Owner: postgres
--
CREATE TRIGGER createrbacobjectfor_debitor_insert_tg_1058_25 BEFORE INSERT ON hs_office.debitor FOR EACH ROW EXECUTE FUNCTION rbac.insert_related_object();
--
-- Name: membership createrbacobjectfor_membership_delete_tg_1058_35; Type: TRIGGER; Schema: hs_office; Owner: postgres
--
CREATE TRIGGER createrbacobjectfor_membership_delete_tg_1058_35 AFTER DELETE ON hs_office.membership FOR EACH ROW EXECUTE FUNCTION rbac.delete_related_rbac_rules_tf();
--
-- Name: membership createrbacobjectfor_membership_insert_tg_1058_25; Type: TRIGGER; Schema: hs_office; Owner: postgres
--
CREATE TRIGGER createrbacobjectfor_membership_insert_tg_1058_25 BEFORE INSERT ON hs_office.membership FOR EACH ROW EXECUTE FUNCTION rbac.insert_related_object();
--
-- Name: partner createrbacobjectfor_partner_delete_tg_1058_35; Type: TRIGGER; Schema: hs_office; Owner: postgres
--
CREATE TRIGGER createrbacobjectfor_partner_delete_tg_1058_35 AFTER DELETE ON hs_office.partner FOR EACH ROW EXECUTE FUNCTION rbac.delete_related_rbac_rules_tf();
--
-- Name: partner_details createrbacobjectfor_partner_details_delete_tg_1058_35; Type: TRIGGER; Schema: hs_office; Owner: postgres
--
CREATE TRIGGER createrbacobjectfor_partner_details_delete_tg_1058_35 AFTER DELETE ON hs_office.partner_details FOR EACH ROW EXECUTE FUNCTION rbac.delete_related_rbac_rules_tf();
--
-- Name: partner_details createrbacobjectfor_partner_details_insert_tg_1058_25; Type: TRIGGER; Schema: hs_office; Owner: postgres
--
CREATE TRIGGER createrbacobjectfor_partner_details_insert_tg_1058_25 BEFORE INSERT ON hs_office.partner_details FOR EACH ROW EXECUTE FUNCTION rbac.insert_related_object();
--
-- Name: partner createrbacobjectfor_partner_insert_tg_1058_25; Type: TRIGGER; Schema: hs_office; Owner: postgres
--
CREATE TRIGGER createrbacobjectfor_partner_insert_tg_1058_25 BEFORE INSERT ON hs_office.partner FOR EACH ROW EXECUTE FUNCTION rbac.insert_related_object();
--
-- Name: person createrbacobjectfor_person_delete_tg_1058_35; Type: TRIGGER; Schema: hs_office; Owner: postgres
--
CREATE TRIGGER createrbacobjectfor_person_delete_tg_1058_35 AFTER DELETE ON hs_office.person FOR EACH ROW EXECUTE FUNCTION rbac.delete_related_rbac_rules_tf();
--
-- Name: person createrbacobjectfor_person_insert_tg_1058_25; Type: TRIGGER; Schema: hs_office; Owner: postgres
--
CREATE TRIGGER createrbacobjectfor_person_insert_tg_1058_25 BEFORE INSERT ON hs_office.person FOR EACH ROW EXECUTE FUNCTION rbac.insert_related_object();
--
-- Name: relation createrbacobjectfor_relation_delete_tg_1058_35; Type: TRIGGER; Schema: hs_office; Owner: postgres
--
CREATE TRIGGER createrbacobjectfor_relation_delete_tg_1058_35 AFTER DELETE ON hs_office.relation FOR EACH ROW EXECUTE FUNCTION rbac.delete_related_rbac_rules_tf();
--
-- Name: relation createrbacobjectfor_relation_insert_tg_1058_25; Type: TRIGGER; Schema: hs_office; Owner: postgres
--
CREATE TRIGGER createrbacobjectfor_relation_insert_tg_1058_25 BEFORE INSERT ON hs_office.relation FOR EACH ROW EXECUTE FUNCTION rbac.insert_related_object();
--
-- Name: sepamandate createrbacobjectfor_sepamandate_delete_tg_1058_35; Type: TRIGGER; Schema: hs_office; Owner: postgres
--
CREATE TRIGGER createrbacobjectfor_sepamandate_delete_tg_1058_35 AFTER DELETE ON hs_office.sepamandate FOR EACH ROW EXECUTE FUNCTION rbac.delete_related_rbac_rules_tf();
--
-- Name: sepamandate createrbacobjectfor_sepamandate_insert_tg_1058_25; Type: TRIGGER; Schema: hs_office; Owner: postgres
--
CREATE TRIGGER createrbacobjectfor_sepamandate_insert_tg_1058_25 BEFORE INSERT ON hs_office.sepamandate FOR EACH ROW EXECUTE FUNCTION rbac.insert_related_object();
--
-- Name: debitor debitor_delete_dependents_tg; Type: TRIGGER; Schema: hs_office; Owner: postgres
--
CREATE TRIGGER debitor_delete_dependents_tg AFTER DELETE ON hs_office.debitor FOR EACH ROW EXECUTE FUNCTION hs_office.debitor_delete_dependents_tf();
--
-- Name: debitor debitor_insert_permission_check_tg; Type: TRIGGER; Schema: hs_office; Owner: postgres
--
CREATE TRIGGER debitor_insert_permission_check_tg BEFORE INSERT ON hs_office.debitor FOR EACH ROW EXECUTE FUNCTION hs_office.debitor_insert_permission_check_tf();
--
-- Name: partner delete_dependents_tg; Type: TRIGGER; Schema: hs_office; Owner: postgres
--
CREATE TRIGGER delete_dependents_tg AFTER DELETE ON hs_office.partner FOR EACH ROW EXECUTE FUNCTION hs_office.partner_delete_dependents_tf();
--
-- Name: contact delete_legacy_id_mapping_tf; Type: TRIGGER; Schema: hs_office; Owner: postgres
--
CREATE TRIGGER delete_legacy_id_mapping_tf BEFORE DELETE ON hs_office.contact FOR EACH ROW EXECUTE FUNCTION hs_office.contact_delete_legacy_id_mapping_tf();
--
-- Name: sepamandate delete_legacy_id_mapping_tf; Type: TRIGGER; Schema: hs_office; Owner: postgres
--
CREATE TRIGGER delete_legacy_id_mapping_tf BEFORE DELETE ON hs_office.sepamandate FOR EACH ROW EXECUTE FUNCTION hs_office.sepamandate_delete_legacy_id_mapping_tf();
--
-- Name: coopassettx delete_legacy_id_mapping_tg; Type: TRIGGER; Schema: hs_office; Owner: postgres
--
CREATE TRIGGER delete_legacy_id_mapping_tg BEFORE DELETE ON hs_office.coopassettx FOR EACH ROW EXECUTE FUNCTION hs_office.coopassettx_delete_legacy_id_mapping_tf();
--
-- Name: coopsharetx delete_legacy_id_mapping_tg; Type: TRIGGER; Schema: hs_office; Owner: postgres
--
CREATE TRIGGER delete_legacy_id_mapping_tg BEFORE DELETE ON hs_office.coopsharetx FOR EACH ROW EXECUTE FUNCTION hs_office.coopsharetx_delete_legacy_id_mapping_tf();
--
-- Name: partner delete_legacy_id_mapping_tg; Type: TRIGGER; Schema: hs_office; Owner: postgres
--
CREATE TRIGGER delete_legacy_id_mapping_tg BEFORE DELETE ON hs_office.partner FOR EACH ROW EXECUTE FUNCTION hs_office.partner_delete_legacy_id_mapping_tf();
--
-- Name: coopassettx enforce_transaction_constraints; Type: TRIGGER; Schema: hs_office; Owner: postgres
--
CREATE TRIGGER enforce_transaction_constraints AFTER INSERT OR UPDATE ON hs_office.coopassettx FOR EACH ROW EXECUTE FUNCTION public.validate_transaction_type();
--
-- Name: partner insert_legacy_id_mapping_tf; Type: TRIGGER; Schema: hs_office; Owner: postgres
--
CREATE TRIGGER insert_legacy_id_mapping_tf AFTER INSERT ON hs_office.partner FOR EACH ROW EXECUTE FUNCTION hs_office.partner_insert_legacy_id_mapping_tf();
--
-- Name: contact insert_legacy_id_mapping_tg; Type: TRIGGER; Schema: hs_office; Owner: postgres
--
CREATE TRIGGER insert_legacy_id_mapping_tg AFTER INSERT ON hs_office.contact FOR EACH ROW EXECUTE FUNCTION hs_office.contact_insert_legacy_id_mapping_tf();
--
-- Name: coopassettx insert_legacy_id_mapping_tg; Type: TRIGGER; Schema: hs_office; Owner: postgres
--
CREATE TRIGGER insert_legacy_id_mapping_tg AFTER INSERT ON hs_office.coopassettx FOR EACH ROW EXECUTE FUNCTION hs_office.coopassettx_insert_legacy_id_mapping_tf();
--
-- Name: coopsharetx insert_legacy_id_mapping_tg; Type: TRIGGER; Schema: hs_office; Owner: postgres
--
CREATE TRIGGER insert_legacy_id_mapping_tg AFTER INSERT ON hs_office.coopsharetx FOR EACH ROW EXECUTE FUNCTION hs_office.coopsharetx_insert_legacy_id_mapping_tf();
--
-- Name: sepamandate insert_legacy_id_mapping_tg; Type: TRIGGER; Schema: hs_office; Owner: postgres
--
CREATE TRIGGER insert_legacy_id_mapping_tg AFTER INSERT ON hs_office.sepamandate FOR EACH ROW EXECUTE FUNCTION hs_office.sepamandate_insert_legacy_id_mapping_tf();
--
-- Name: bankaccount_rv instead_of_delete_tg; Type: TRIGGER; Schema: hs_office; Owner: postgres
--
CREATE TRIGGER instead_of_delete_tg INSTEAD OF DELETE ON hs_office.bankaccount_rv FOR EACH ROW EXECUTE FUNCTION hs_office.bankaccount_instead_of_delete_tf();
--
-- Name: contact_rv instead_of_delete_tg; Type: TRIGGER; Schema: hs_office; Owner: postgres
--
CREATE TRIGGER instead_of_delete_tg INSTEAD OF DELETE ON hs_office.contact_rv FOR EACH ROW EXECUTE FUNCTION hs_office.contact_instead_of_delete_tf();
--
-- Name: coopassettx_rv instead_of_delete_tg; Type: TRIGGER; Schema: hs_office; Owner: postgres
--
CREATE TRIGGER instead_of_delete_tg INSTEAD OF DELETE ON hs_office.coopassettx_rv FOR EACH ROW EXECUTE FUNCTION hs_office.coopassettx_instead_of_delete_tf();
--
-- Name: coopsharetx_rv instead_of_delete_tg; Type: TRIGGER; Schema: hs_office; Owner: postgres
--
CREATE TRIGGER instead_of_delete_tg INSTEAD OF DELETE ON hs_office.coopsharetx_rv FOR EACH ROW EXECUTE FUNCTION hs_office.coopsharetx_instead_of_delete_tf();
--
-- Name: debitor_rv instead_of_delete_tg; Type: TRIGGER; Schema: hs_office; Owner: postgres
--
CREATE TRIGGER instead_of_delete_tg INSTEAD OF DELETE ON hs_office.debitor_rv FOR EACH ROW EXECUTE FUNCTION hs_office.debitor_instead_of_delete_tf();
--
-- Name: membership_rv instead_of_delete_tg; Type: TRIGGER; Schema: hs_office; Owner: postgres
--
CREATE TRIGGER instead_of_delete_tg INSTEAD OF DELETE ON hs_office.membership_rv FOR EACH ROW EXECUTE FUNCTION hs_office.membership_instead_of_delete_tf();
--
-- Name: partner_details_rv instead_of_delete_tg; Type: TRIGGER; Schema: hs_office; Owner: postgres
--
CREATE TRIGGER instead_of_delete_tg INSTEAD OF DELETE ON hs_office.partner_details_rv FOR EACH ROW EXECUTE FUNCTION hs_office.partner_details_instead_of_delete_tf();
--
-- Name: partner_rv instead_of_delete_tg; Type: TRIGGER; Schema: hs_office; Owner: postgres
--
CREATE TRIGGER instead_of_delete_tg INSTEAD OF DELETE ON hs_office.partner_rv FOR EACH ROW EXECUTE FUNCTION hs_office.partner_instead_of_delete_tf();
--
-- Name: person_rv instead_of_delete_tg; Type: TRIGGER; Schema: hs_office; Owner: postgres
--
CREATE TRIGGER instead_of_delete_tg INSTEAD OF DELETE ON hs_office.person_rv FOR EACH ROW EXECUTE FUNCTION hs_office.person_instead_of_delete_tf();
--
-- Name: relation_rv instead_of_delete_tg; Type: TRIGGER; Schema: hs_office; Owner: postgres
--
CREATE TRIGGER instead_of_delete_tg INSTEAD OF DELETE ON hs_office.relation_rv FOR EACH ROW EXECUTE FUNCTION hs_office.relation_instead_of_delete_tf();
--
-- Name: sepamandate_rv instead_of_delete_tg; Type: TRIGGER; Schema: hs_office; Owner: postgres
--
CREATE TRIGGER instead_of_delete_tg INSTEAD OF DELETE ON hs_office.sepamandate_rv FOR EACH ROW EXECUTE FUNCTION hs_office.sepamandate_instead_of_delete_tf();
--
-- Name: bankaccount_rv instead_of_insert_tg; Type: TRIGGER; Schema: hs_office; Owner: postgres
--
CREATE TRIGGER instead_of_insert_tg INSTEAD OF INSERT ON hs_office.bankaccount_rv FOR EACH ROW EXECUTE FUNCTION hs_office.bankaccount_instead_of_insert_tf();
--
-- Name: contact_rv instead_of_insert_tg; Type: TRIGGER; Schema: hs_office; Owner: postgres
--
CREATE TRIGGER instead_of_insert_tg INSTEAD OF INSERT ON hs_office.contact_rv FOR EACH ROW EXECUTE FUNCTION hs_office.contact_instead_of_insert_tf();
--
-- Name: coopassettx_rv instead_of_insert_tg; Type: TRIGGER; Schema: hs_office; Owner: postgres
--
CREATE TRIGGER instead_of_insert_tg INSTEAD OF INSERT ON hs_office.coopassettx_rv FOR EACH ROW EXECUTE FUNCTION hs_office.coopassettx_instead_of_insert_tf();
--
-- Name: coopsharetx_rv instead_of_insert_tg; Type: TRIGGER; Schema: hs_office; Owner: postgres
--
CREATE TRIGGER instead_of_insert_tg INSTEAD OF INSERT ON hs_office.coopsharetx_rv FOR EACH ROW EXECUTE FUNCTION hs_office.coopsharetx_instead_of_insert_tf();
--
-- Name: debitor_rv instead_of_insert_tg; Type: TRIGGER; Schema: hs_office; Owner: postgres
--
CREATE TRIGGER instead_of_insert_tg INSTEAD OF INSERT ON hs_office.debitor_rv FOR EACH ROW EXECUTE FUNCTION hs_office.debitor_instead_of_insert_tf();
--
-- Name: membership_rv instead_of_insert_tg; Type: TRIGGER; Schema: hs_office; Owner: postgres
--
CREATE TRIGGER instead_of_insert_tg INSTEAD OF INSERT ON hs_office.membership_rv FOR EACH ROW EXECUTE FUNCTION hs_office.membership_instead_of_insert_tf();
--
-- Name: partner_details_rv instead_of_insert_tg; Type: TRIGGER; Schema: hs_office; Owner: postgres
--
CREATE TRIGGER instead_of_insert_tg INSTEAD OF INSERT ON hs_office.partner_details_rv FOR EACH ROW EXECUTE FUNCTION hs_office.partner_details_instead_of_insert_tf();
--
-- Name: partner_rv instead_of_insert_tg; Type: TRIGGER; Schema: hs_office; Owner: postgres
--
CREATE TRIGGER instead_of_insert_tg INSTEAD OF INSERT ON hs_office.partner_rv FOR EACH ROW EXECUTE FUNCTION hs_office.partner_instead_of_insert_tf();
--
-- Name: person_rv instead_of_insert_tg; Type: TRIGGER; Schema: hs_office; Owner: postgres
--
CREATE TRIGGER instead_of_insert_tg INSTEAD OF INSERT ON hs_office.person_rv FOR EACH ROW EXECUTE FUNCTION hs_office.person_instead_of_insert_tf();
--
-- Name: relation_rv instead_of_insert_tg; Type: TRIGGER; Schema: hs_office; Owner: postgres
--
CREATE TRIGGER instead_of_insert_tg INSTEAD OF INSERT ON hs_office.relation_rv FOR EACH ROW EXECUTE FUNCTION hs_office.relation_instead_of_insert_tf();
--
-- Name: sepamandate_rv instead_of_insert_tg; Type: TRIGGER; Schema: hs_office; Owner: postgres
--
CREATE TRIGGER instead_of_insert_tg INSTEAD OF INSERT ON hs_office.sepamandate_rv FOR EACH ROW EXECUTE FUNCTION hs_office.sepamandate_instead_of_insert_tf();
--
-- Name: bankaccount_rv instead_of_update_tg; Type: TRIGGER; Schema: hs_office; Owner: postgres
--
CREATE TRIGGER instead_of_update_tg INSTEAD OF UPDATE ON hs_office.bankaccount_rv FOR EACH ROW EXECUTE FUNCTION hs_office.bankaccount_instead_of_update_tf();
--
-- Name: contact_rv instead_of_update_tg; Type: TRIGGER; Schema: hs_office; Owner: postgres
--
CREATE TRIGGER instead_of_update_tg INSTEAD OF UPDATE ON hs_office.contact_rv FOR EACH ROW EXECUTE FUNCTION hs_office.contact_instead_of_update_tf();
--
-- Name: coopassettx_rv instead_of_update_tg; Type: TRIGGER; Schema: hs_office; Owner: postgres
--
CREATE TRIGGER instead_of_update_tg INSTEAD OF UPDATE ON hs_office.coopassettx_rv FOR EACH ROW EXECUTE FUNCTION hs_office.coopassettx_instead_of_update_tf();
--
-- Name: coopsharetx_rv instead_of_update_tg; Type: TRIGGER; Schema: hs_office; Owner: postgres
--
CREATE TRIGGER instead_of_update_tg INSTEAD OF UPDATE ON hs_office.coopsharetx_rv FOR EACH ROW EXECUTE FUNCTION hs_office.coopsharetx_instead_of_update_tf();
--
-- Name: debitor_rv instead_of_update_tg; Type: TRIGGER; Schema: hs_office; Owner: postgres
--
CREATE TRIGGER instead_of_update_tg INSTEAD OF UPDATE ON hs_office.debitor_rv FOR EACH ROW EXECUTE FUNCTION hs_office.debitor_instead_of_update_tf();
--
-- Name: membership_rv instead_of_update_tg; Type: TRIGGER; Schema: hs_office; Owner: postgres
--
CREATE TRIGGER instead_of_update_tg INSTEAD OF UPDATE ON hs_office.membership_rv FOR EACH ROW EXECUTE FUNCTION hs_office.membership_instead_of_update_tf();
--
-- Name: partner_details_rv instead_of_update_tg; Type: TRIGGER; Schema: hs_office; Owner: postgres
--
CREATE TRIGGER instead_of_update_tg INSTEAD OF UPDATE ON hs_office.partner_details_rv FOR EACH ROW EXECUTE FUNCTION hs_office.partner_details_instead_of_update_tf();
--
-- Name: partner_rv instead_of_update_tg; Type: TRIGGER; Schema: hs_office; Owner: postgres
--
CREATE TRIGGER instead_of_update_tg INSTEAD OF UPDATE ON hs_office.partner_rv FOR EACH ROW EXECUTE FUNCTION hs_office.partner_instead_of_update_tf();
--
-- Name: person_rv instead_of_update_tg; Type: TRIGGER; Schema: hs_office; Owner: postgres
--
CREATE TRIGGER instead_of_update_tg INSTEAD OF UPDATE ON hs_office.person_rv FOR EACH ROW EXECUTE FUNCTION hs_office.person_instead_of_update_tf();
--
-- Name: relation_rv instead_of_update_tg; Type: TRIGGER; Schema: hs_office; Owner: postgres
--
CREATE TRIGGER instead_of_update_tg INSTEAD OF UPDATE ON hs_office.relation_rv FOR EACH ROW EXECUTE FUNCTION hs_office.relation_instead_of_update_tf();
--
-- Name: sepamandate_rv instead_of_update_tg; Type: TRIGGER; Schema: hs_office; Owner: postgres
--
CREATE TRIGGER instead_of_update_tg INSTEAD OF UPDATE ON hs_office.sepamandate_rv FOR EACH ROW EXECUTE FUNCTION hs_office.sepamandate_instead_of_update_tf();
--
-- Name: membership membership_insert_permission_check_tg; Type: TRIGGER; Schema: hs_office; Owner: postgres
--
CREATE TRIGGER membership_insert_permission_check_tg BEFORE INSERT ON hs_office.membership FOR EACH ROW EXECUTE FUNCTION hs_office.membership_insert_permission_check_tf();
--
-- Name: partner_details partner_details_insert_permission_check_tg; Type: TRIGGER; Schema: hs_office; Owner: postgres
--
CREATE TRIGGER partner_details_insert_permission_check_tg BEFORE INSERT ON hs_office.partner_details FOR EACH ROW EXECUTE FUNCTION hs_office.partner_details_insert_permission_check_tf();
--
-- Name: partner partner_insert_permission_check_tg; Type: TRIGGER; Schema: hs_office; Owner: postgres
--
CREATE TRIGGER partner_insert_permission_check_tg BEFORE INSERT ON hs_office.partner FOR EACH ROW EXECUTE FUNCTION hs_office.partner_insert_permission_check_tf();
--
-- Name: relation relation_insert_permission_check_tg; Type: TRIGGER; Schema: hs_office; Owner: postgres
--
CREATE TRIGGER relation_insert_permission_check_tg BEFORE INSERT ON hs_office.relation FOR EACH ROW EXECUTE FUNCTION hs_office.relation_insert_permission_check_tf();
--
-- Name: person relation_z_grants_after_insert_tg; Type: TRIGGER; Schema: hs_office; Owner: postgres
--
CREATE TRIGGER relation_z_grants_after_insert_tg AFTER INSERT ON hs_office.person FOR EACH ROW EXECUTE FUNCTION hs_office.relation_grants_insert_to_person_tf();
--
-- Name: sepamandate sepamandate_insert_permission_check_tg; Type: TRIGGER; Schema: hs_office; Owner: postgres
--
CREATE TRIGGER sepamandate_insert_permission_check_tg BEFORE INSERT ON hs_office.sepamandate FOR EACH ROW EXECUTE FUNCTION hs_office.sepamandate_insert_permission_check_tf();
--
-- Name: relation sepamandate_z_grants_after_insert_tg; Type: TRIGGER; Schema: hs_office; Owner: postgres
--
CREATE TRIGGER sepamandate_z_grants_after_insert_tg AFTER INSERT ON hs_office.relation FOR EACH ROW EXECUTE FUNCTION hs_office.sepamandate_grants_insert_to_relation_tf();
--
-- Name: bankaccount tx_0_journal_tg; Type: TRIGGER; Schema: hs_office; Owner: postgres
--
CREATE TRIGGER tx_0_journal_tg AFTER INSERT OR DELETE OR UPDATE ON hs_office.bankaccount FOR EACH ROW EXECUTE FUNCTION base.tx_journal_trigger();
--
-- Name: contact tx_0_journal_tg; Type: TRIGGER; Schema: hs_office; Owner: postgres
--
CREATE TRIGGER tx_0_journal_tg AFTER INSERT OR DELETE OR UPDATE ON hs_office.contact FOR EACH ROW EXECUTE FUNCTION base.tx_journal_trigger();
--
-- Name: coopassettx tx_0_journal_tg; Type: TRIGGER; Schema: hs_office; Owner: postgres
--
CREATE TRIGGER tx_0_journal_tg AFTER INSERT OR DELETE OR UPDATE ON hs_office.coopassettx FOR EACH ROW EXECUTE FUNCTION base.tx_journal_trigger();
--
-- Name: coopsharetx tx_0_journal_tg; Type: TRIGGER; Schema: hs_office; Owner: postgres
--
CREATE TRIGGER tx_0_journal_tg AFTER INSERT OR DELETE OR UPDATE ON hs_office.coopsharetx FOR EACH ROW EXECUTE FUNCTION base.tx_journal_trigger();
--
-- Name: debitor tx_0_journal_tg; Type: TRIGGER; Schema: hs_office; Owner: postgres
--
CREATE TRIGGER tx_0_journal_tg AFTER INSERT OR DELETE OR UPDATE ON hs_office.debitor FOR EACH ROW EXECUTE FUNCTION base.tx_journal_trigger();
--
-- Name: membership tx_0_journal_tg; Type: TRIGGER; Schema: hs_office; Owner: postgres
--
CREATE TRIGGER tx_0_journal_tg AFTER INSERT OR DELETE OR UPDATE ON hs_office.membership FOR EACH ROW EXECUTE FUNCTION base.tx_journal_trigger();
--
-- Name: partner tx_0_journal_tg; Type: TRIGGER; Schema: hs_office; Owner: postgres
--
CREATE TRIGGER tx_0_journal_tg AFTER INSERT OR DELETE OR UPDATE ON hs_office.partner FOR EACH ROW EXECUTE FUNCTION base.tx_journal_trigger();
--
-- Name: partner_details tx_0_journal_tg; Type: TRIGGER; Schema: hs_office; Owner: postgres
--
CREATE TRIGGER tx_0_journal_tg AFTER INSERT OR DELETE OR UPDATE ON hs_office.partner_details FOR EACH ROW EXECUTE FUNCTION base.tx_journal_trigger();
--
-- Name: person tx_0_journal_tg; Type: TRIGGER; Schema: hs_office; Owner: postgres
--
CREATE TRIGGER tx_0_journal_tg AFTER INSERT OR DELETE OR UPDATE ON hs_office.person FOR EACH ROW EXECUTE FUNCTION base.tx_journal_trigger();
--
-- Name: relation tx_0_journal_tg; Type: TRIGGER; Schema: hs_office; Owner: postgres
--
CREATE TRIGGER tx_0_journal_tg AFTER INSERT OR DELETE OR UPDATE ON hs_office.relation FOR EACH ROW EXECUTE FUNCTION base.tx_journal_trigger();
--
-- Name: sepamandate tx_0_journal_tg; Type: TRIGGER; Schema: hs_office; Owner: postgres
--
CREATE TRIGGER tx_0_journal_tg AFTER INSERT OR DELETE OR UPDATE ON hs_office.sepamandate FOR EACH ROW EXECUTE FUNCTION base.tx_journal_trigger();
--
-- Name: debitor update_rbac_system_after_update_tg; Type: TRIGGER; Schema: hs_office; Owner: postgres
--
CREATE TRIGGER update_rbac_system_after_update_tg AFTER UPDATE ON hs_office.debitor FOR EACH ROW EXECUTE FUNCTION hs_office.debitor_update_rbac_system_after_update_tf();
--
-- Name: partner update_rbac_system_after_update_tg; Type: TRIGGER; Schema: hs_office; Owner: postgres
--
CREATE TRIGGER update_rbac_system_after_update_tg AFTER UPDATE ON hs_office.partner FOR EACH ROW EXECUTE FUNCTION hs_office.partner_update_rbac_system_after_update_tf();
--
-- Name: relation update_rbac_system_after_update_tg; Type: TRIGGER; Schema: hs_office; Owner: postgres
--
CREATE TRIGGER update_rbac_system_after_update_tg AFTER UPDATE ON hs_office.relation FOR EACH ROW EXECUTE FUNCTION hs_office.relation_update_rbac_system_after_update_tf();
--
-- Name: global customer_z_grants_after_insert_tg; Type: TRIGGER; Schema: rbac; Owner: postgres
--
CREATE TRIGGER customer_z_grants_after_insert_tg AFTER INSERT ON rbac.global FOR EACH ROW EXECUTE FUNCTION rbactest.customer_grants_insert_to_global_tf();
--
-- Name: global debitor_z_grants_after_insert_tg; Type: TRIGGER; Schema: rbac; Owner: postgres
--
CREATE TRIGGER debitor_z_grants_after_insert_tg AFTER INSERT ON rbac.global FOR EACH ROW EXECUTE FUNCTION hs_office.debitor_grants_insert_to_global_tf();
--
-- Name: grant_rv delete_grant_tg; Type: TRIGGER; Schema: rbac; Owner: postgres
--
CREATE TRIGGER delete_grant_tg INSTEAD OF DELETE ON rbac.grant_rv FOR EACH ROW EXECUTE FUNCTION rbac.delete_grant_tf();
--
-- Name: role delete_grants_of_role_tg; Type: TRIGGER; Schema: rbac; Owner: postgres
--
CREATE TRIGGER delete_grants_of_role_tg BEFORE DELETE ON rbac.role FOR EACH ROW EXECUTE FUNCTION rbac.delete_grants_of_role_tf();
--
-- Name: object delete_roles_of_object_tg; Type: TRIGGER; Schema: rbac; Owner: postgres
--
CREATE TRIGGER delete_roles_of_object_tg BEFORE DELETE ON rbac.object FOR EACH ROW EXECUTE FUNCTION rbac.delete_roles_of_object_tf();
--
-- Name: subject_rv delete_subject_tg; Type: TRIGGER; Schema: rbac; Owner: postgres
--
CREATE TRIGGER delete_subject_tg INSTEAD OF DELETE ON rbac.subject_rv FOR EACH ROW EXECUTE FUNCTION rbac.delete_subject_tf();
--
-- Name: grant_rv insert_grant_tg; Type: TRIGGER; Schema: rbac; Owner: postgres
--
CREATE TRIGGER insert_grant_tg INSTEAD OF INSERT ON rbac.grant_rv FOR EACH ROW EXECUTE FUNCTION rbac.insert_grant_tf();
--
-- Name: subject_rv insert_subject_tg; Type: TRIGGER; Schema: rbac; Owner: postgres
--
CREATE TRIGGER insert_subject_tg INSTEAD OF INSERT ON rbac.subject_rv FOR EACH ROW EXECUTE FUNCTION rbac.insert_subject_tf();
--
-- Name: global membership_z_grants_after_insert_tg; Type: TRIGGER; Schema: rbac; Owner: postgres
--
CREATE TRIGGER membership_z_grants_after_insert_tg AFTER INSERT ON rbac.global FOR EACH ROW EXECUTE FUNCTION hs_office.membership_grants_insert_to_global_tf();
--
-- Name: global partner_details_z_grants_after_insert_tg; Type: TRIGGER; Schema: rbac; Owner: postgres
--
CREATE TRIGGER partner_details_z_grants_after_insert_tg AFTER INSERT ON rbac.global FOR EACH ROW EXECUTE FUNCTION hs_office.partner_details_grants_insert_to_global_tf();
--
-- Name: global partner_z_grants_after_insert_tg; Type: TRIGGER; Schema: rbac; Owner: postgres
--
CREATE TRIGGER partner_z_grants_after_insert_tg AFTER INSERT ON rbac.global FOR EACH ROW EXECUTE FUNCTION hs_office.partner_grants_insert_to_global_tf();
--
-- Name: grant tx_0_journal_tg; Type: TRIGGER; Schema: rbac; Owner: postgres
--
CREATE TRIGGER tx_0_journal_tg AFTER INSERT OR DELETE OR UPDATE ON rbac."grant" FOR EACH ROW EXECUTE FUNCTION base.tx_journal_trigger();
--
-- Name: object tx_0_journal_tg; Type: TRIGGER; Schema: rbac; Owner: postgres
--
CREATE TRIGGER tx_0_journal_tg AFTER INSERT OR DELETE OR UPDATE ON rbac.object FOR EACH ROW EXECUTE FUNCTION base.tx_journal_trigger();
--
-- Name: permission tx_0_journal_tg; Type: TRIGGER; Schema: rbac; Owner: postgres
--
CREATE TRIGGER tx_0_journal_tg AFTER INSERT OR DELETE OR UPDATE ON rbac.permission FOR EACH ROW EXECUTE FUNCTION base.tx_journal_trigger();
--
-- Name: role tx_0_journal_tg; Type: TRIGGER; Schema: rbac; Owner: postgres
--
CREATE TRIGGER tx_0_journal_tg AFTER INSERT OR DELETE OR UPDATE ON rbac.role FOR EACH ROW EXECUTE FUNCTION base.tx_journal_trigger();
--
-- Name: subject tx_0_journal_tg; Type: TRIGGER; Schema: rbac; Owner: postgres
--
CREATE TRIGGER tx_0_journal_tg AFTER INSERT OR DELETE OR UPDATE ON rbac.subject FOR EACH ROW EXECUTE FUNCTION base.tx_journal_trigger();
--
-- Name: customer build_rbac_system_after_insert_tg; Type: TRIGGER; Schema: rbactest; Owner: postgres
--
CREATE TRIGGER build_rbac_system_after_insert_tg AFTER INSERT ON rbactest.customer FOR EACH ROW EXECUTE FUNCTION rbactest.customer_build_rbac_system_after_insert_tf();
--
-- Name: domain build_rbac_system_after_insert_tg; Type: TRIGGER; Schema: rbactest; Owner: postgres
--
CREATE TRIGGER build_rbac_system_after_insert_tg AFTER INSERT ON rbactest.domain FOR EACH ROW EXECUTE FUNCTION rbactest.domain_build_rbac_system_after_insert_tf();
--
-- Name: package build_rbac_system_after_insert_tg; Type: TRIGGER; Schema: rbactest; Owner: postgres
--
CREATE TRIGGER build_rbac_system_after_insert_tg AFTER INSERT ON rbactest.package FOR EACH ROW EXECUTE FUNCTION rbactest.package_build_rbac_system_after_insert_tf();
--
-- Name: customer createrbacobjectfor_customer_delete_tg_1058_35; Type: TRIGGER; Schema: rbactest; Owner: postgres
--
CREATE TRIGGER createrbacobjectfor_customer_delete_tg_1058_35 AFTER DELETE ON rbactest.customer FOR EACH ROW EXECUTE FUNCTION rbac.delete_related_rbac_rules_tf();
--
-- Name: customer createrbacobjectfor_customer_insert_tg_1058_25; Type: TRIGGER; Schema: rbactest; Owner: postgres
--
CREATE TRIGGER createrbacobjectfor_customer_insert_tg_1058_25 BEFORE INSERT ON rbactest.customer FOR EACH ROW EXECUTE FUNCTION rbac.insert_related_object();
--
-- Name: domain createrbacobjectfor_domain_delete_tg_1058_35; Type: TRIGGER; Schema: rbactest; Owner: postgres
--
CREATE TRIGGER createrbacobjectfor_domain_delete_tg_1058_35 AFTER DELETE ON rbactest.domain FOR EACH ROW EXECUTE FUNCTION rbac.delete_related_rbac_rules_tf();
--
-- Name: domain createrbacobjectfor_domain_insert_tg_1058_25; Type: TRIGGER; Schema: rbactest; Owner: postgres
--
CREATE TRIGGER createrbacobjectfor_domain_insert_tg_1058_25 BEFORE INSERT ON rbactest.domain FOR EACH ROW EXECUTE FUNCTION rbac.insert_related_object();
--
-- Name: package createrbacobjectfor_package_delete_tg_1058_35; Type: TRIGGER; Schema: rbactest; Owner: postgres
--
CREATE TRIGGER createrbacobjectfor_package_delete_tg_1058_35 AFTER DELETE ON rbactest.package FOR EACH ROW EXECUTE FUNCTION rbac.delete_related_rbac_rules_tf();
--
-- Name: package createrbacobjectfor_package_insert_tg_1058_25; Type: TRIGGER; Schema: rbactest; Owner: postgres
--
CREATE TRIGGER createrbacobjectfor_package_insert_tg_1058_25 BEFORE INSERT ON rbactest.package FOR EACH ROW EXECUTE FUNCTION rbac.insert_related_object();
--
-- Name: customer customer_insert_permission_check_tg; Type: TRIGGER; Schema: rbactest; Owner: postgres
--
CREATE TRIGGER customer_insert_permission_check_tg BEFORE INSERT ON rbactest.customer FOR EACH ROW EXECUTE FUNCTION rbactest.customer_insert_permission_check_tf();
--
-- Name: domain domain_insert_permission_check_tg; Type: TRIGGER; Schema: rbactest; Owner: postgres
--
CREATE TRIGGER domain_insert_permission_check_tg BEFORE INSERT ON rbactest.domain FOR EACH ROW EXECUTE FUNCTION rbactest.domain_insert_permission_check_tf();
--
-- Name: package domain_z_grants_after_insert_tg; Type: TRIGGER; Schema: rbactest; Owner: postgres
--
CREATE TRIGGER domain_z_grants_after_insert_tg AFTER INSERT ON rbactest.package FOR EACH ROW EXECUTE FUNCTION rbactest.domain_grants_insert_to_package_tf();
--
-- Name: customer_rv instead_of_delete_tg; Type: TRIGGER; Schema: rbactest; Owner: postgres
--
CREATE TRIGGER instead_of_delete_tg INSTEAD OF DELETE ON rbactest.customer_rv FOR EACH ROW EXECUTE FUNCTION rbactest.customer_instead_of_delete_tf();
--
-- Name: domain_rv instead_of_delete_tg; Type: TRIGGER; Schema: rbactest; Owner: postgres
--
CREATE TRIGGER instead_of_delete_tg INSTEAD OF DELETE ON rbactest.domain_rv FOR EACH ROW EXECUTE FUNCTION rbactest.domain_instead_of_delete_tf();
--
-- Name: package_rv instead_of_delete_tg; Type: TRIGGER; Schema: rbactest; Owner: postgres
--
CREATE TRIGGER instead_of_delete_tg INSTEAD OF DELETE ON rbactest.package_rv FOR EACH ROW EXECUTE FUNCTION rbactest.package_instead_of_delete_tf();
--
-- Name: customer_rv instead_of_insert_tg; Type: TRIGGER; Schema: rbactest; Owner: postgres
--
CREATE TRIGGER instead_of_insert_tg INSTEAD OF INSERT ON rbactest.customer_rv FOR EACH ROW EXECUTE FUNCTION rbactest.customer_instead_of_insert_tf();
--
-- Name: domain_rv instead_of_insert_tg; Type: TRIGGER; Schema: rbactest; Owner: postgres
--
CREATE TRIGGER instead_of_insert_tg INSTEAD OF INSERT ON rbactest.domain_rv FOR EACH ROW EXECUTE FUNCTION rbactest.domain_instead_of_insert_tf();
--
-- Name: package_rv instead_of_insert_tg; Type: TRIGGER; Schema: rbactest; Owner: postgres
--
CREATE TRIGGER instead_of_insert_tg INSTEAD OF INSERT ON rbactest.package_rv FOR EACH ROW EXECUTE FUNCTION rbactest.package_instead_of_insert_tf();
--
-- Name: customer_rv instead_of_update_tg; Type: TRIGGER; Schema: rbactest; Owner: postgres
--
CREATE TRIGGER instead_of_update_tg INSTEAD OF UPDATE ON rbactest.customer_rv FOR EACH ROW EXECUTE FUNCTION rbactest.customer_instead_of_update_tf();
--
-- Name: domain_rv instead_of_update_tg; Type: TRIGGER; Schema: rbactest; Owner: postgres
--
CREATE TRIGGER instead_of_update_tg INSTEAD OF UPDATE ON rbactest.domain_rv FOR EACH ROW EXECUTE FUNCTION rbactest.domain_instead_of_update_tf();
--
-- Name: package_rv instead_of_update_tg; Type: TRIGGER; Schema: rbactest; Owner: postgres
--
CREATE TRIGGER instead_of_update_tg INSTEAD OF UPDATE ON rbactest.package_rv FOR EACH ROW EXECUTE FUNCTION rbactest.package_instead_of_update_tf();
--
-- Name: package package_insert_permission_check_tg; Type: TRIGGER; Schema: rbactest; Owner: postgres
--
CREATE TRIGGER package_insert_permission_check_tg BEFORE INSERT ON rbactest.package FOR EACH ROW EXECUTE FUNCTION rbactest.package_insert_permission_check_tf();
--
-- Name: customer package_z_grants_after_insert_tg; Type: TRIGGER; Schema: rbactest; Owner: postgres
--
CREATE TRIGGER package_z_grants_after_insert_tg AFTER INSERT ON rbactest.customer FOR EACH ROW EXECUTE FUNCTION rbactest.package_grants_insert_to_customer_tf();
--
-- Name: domain update_rbac_system_after_update_tg; Type: TRIGGER; Schema: rbactest; Owner: postgres
--
CREATE TRIGGER update_rbac_system_after_update_tg AFTER UPDATE ON rbactest.domain FOR EACH ROW EXECUTE FUNCTION rbactest.domain_update_rbac_system_after_update_tf();
--
-- Name: package update_rbac_system_after_update_tg; Type: TRIGGER; Schema: rbactest; Owner: postgres
--
CREATE TRIGGER update_rbac_system_after_update_tg AFTER UPDATE ON rbactest.package FOR EACH ROW EXECUTE FUNCTION rbactest.package_update_rbac_system_after_update_tf();
--
-- Name: tx_journal tx_journal_txid_fkey; Type: FK CONSTRAINT; Schema: base; Owner: postgres
--
ALTER TABLE ONLY base.tx_journal
ADD CONSTRAINT tx_journal_txid_fkey FOREIGN KEY (txid) REFERENCES base.tx_context(txid);
--
-- Name: bankaccount bankaccount_uuid_fkey; Type: FK CONSTRAINT; Schema: hs_office; Owner: postgres
--
ALTER TABLE ONLY hs_office.bankaccount
ADD CONSTRAINT bankaccount_uuid_fkey FOREIGN KEY (uuid) REFERENCES rbac.object(uuid) DEFERRABLE INITIALLY DEFERRED;
--
-- Name: contact_legacy_id contact_legacy_id_uuid_fkey; Type: FK CONSTRAINT; Schema: hs_office; Owner: postgres
--
ALTER TABLE ONLY hs_office.contact_legacy_id
ADD CONSTRAINT contact_legacy_id_uuid_fkey FOREIGN KEY (uuid) REFERENCES hs_office.contact(uuid);
--
-- Name: contact contact_uuid_fkey; Type: FK CONSTRAINT; Schema: hs_office; Owner: postgres
--
ALTER TABLE ONLY hs_office.contact
ADD CONSTRAINT contact_uuid_fkey FOREIGN KEY (uuid) REFERENCES rbac.object(uuid) DEFERRABLE INITIALLY DEFERRED;
--
-- Name: coopassettx coopassettx_assetadoptiontxuuid_fkey; Type: FK CONSTRAINT; Schema: hs_office; Owner: postgres
--
ALTER TABLE ONLY hs_office.coopassettx
ADD CONSTRAINT coopassettx_assetadoptiontxuuid_fkey FOREIGN KEY (assetadoptiontxuuid) REFERENCES hs_office.coopassettx(uuid) DEFERRABLE INITIALLY DEFERRED;
--
-- Name: coopassettx_legacy_id coopassettx_legacy_id_uuid_fkey; Type: FK CONSTRAINT; Schema: hs_office; Owner: postgres
--
ALTER TABLE ONLY hs_office.coopassettx_legacy_id
ADD CONSTRAINT coopassettx_legacy_id_uuid_fkey FOREIGN KEY (uuid) REFERENCES hs_office.coopassettx(uuid);
--
-- Name: coopassettx coopassettx_membershipuuid_fkey; Type: FK CONSTRAINT; Schema: hs_office; Owner: postgres
--
ALTER TABLE ONLY hs_office.coopassettx
ADD CONSTRAINT coopassettx_membershipuuid_fkey FOREIGN KEY (membershipuuid) REFERENCES hs_office.membership(uuid);
--
-- Name: coopassettx coopassettx_revertedassettxuuid_fkey; Type: FK CONSTRAINT; Schema: hs_office; Owner: postgres
--
ALTER TABLE ONLY hs_office.coopassettx
ADD CONSTRAINT coopassettx_revertedassettxuuid_fkey FOREIGN KEY (revertedassettxuuid) REFERENCES hs_office.coopassettx(uuid) DEFERRABLE INITIALLY DEFERRED;
--
-- Name: coopassettx coopassettx_uuid_fkey; Type: FK CONSTRAINT; Schema: hs_office; Owner: postgres
--
ALTER TABLE ONLY hs_office.coopassettx
ADD CONSTRAINT coopassettx_uuid_fkey FOREIGN KEY (uuid) REFERENCES rbac.object(uuid) DEFERRABLE INITIALLY DEFERRED;
--
-- Name: coopsharetx_legacy_id coopsharetx_legacy_id_uuid_fkey; Type: FK CONSTRAINT; Schema: hs_office; Owner: postgres
--
ALTER TABLE ONLY hs_office.coopsharetx_legacy_id
ADD CONSTRAINT coopsharetx_legacy_id_uuid_fkey FOREIGN KEY (uuid) REFERENCES hs_office.coopsharetx(uuid);
--
-- Name: coopsharetx coopsharetx_membershipuuid_fkey; Type: FK CONSTRAINT; Schema: hs_office; Owner: postgres
--
ALTER TABLE ONLY hs_office.coopsharetx
ADD CONSTRAINT coopsharetx_membershipuuid_fkey FOREIGN KEY (membershipuuid) REFERENCES hs_office.membership(uuid);
--
-- Name: coopsharetx coopsharetx_revertedsharetxuuid_fkey; Type: FK CONSTRAINT; Schema: hs_office; Owner: postgres
--
ALTER TABLE ONLY hs_office.coopsharetx
ADD CONSTRAINT coopsharetx_revertedsharetxuuid_fkey FOREIGN KEY (revertedsharetxuuid) REFERENCES hs_office.coopsharetx(uuid) DEFERRABLE INITIALLY DEFERRED;
--
-- Name: coopsharetx coopsharetx_uuid_fkey; Type: FK CONSTRAINT; Schema: hs_office; Owner: postgres
--
ALTER TABLE ONLY hs_office.coopsharetx
ADD CONSTRAINT coopsharetx_uuid_fkey FOREIGN KEY (uuid) REFERENCES rbac.object(uuid) DEFERRABLE INITIALLY DEFERRED;
--
-- Name: debitor debitor_debitorreluuid_fkey; Type: FK CONSTRAINT; Schema: hs_office; Owner: postgres
--
ALTER TABLE ONLY hs_office.debitor
ADD CONSTRAINT debitor_debitorreluuid_fkey FOREIGN KEY (debitorreluuid) REFERENCES hs_office.relation(uuid);
--
-- Name: debitor debitor_refundbankaccountuuid_fkey; Type: FK CONSTRAINT; Schema: hs_office; Owner: postgres
--
ALTER TABLE ONLY hs_office.debitor
ADD CONSTRAINT debitor_refundbankaccountuuid_fkey FOREIGN KEY (refundbankaccountuuid) REFERENCES hs_office.bankaccount(uuid);
--
-- Name: debitor debitor_uuid_fkey; Type: FK CONSTRAINT; Schema: hs_office; Owner: postgres
--
ALTER TABLE ONLY hs_office.debitor
ADD CONSTRAINT debitor_uuid_fkey FOREIGN KEY (uuid) REFERENCES rbac.object(uuid) DEFERRABLE INITIALLY DEFERRED;
--
-- Name: membership membership_partneruuid_fkey; Type: FK CONSTRAINT; Schema: hs_office; Owner: postgres
--
ALTER TABLE ONLY hs_office.membership
ADD CONSTRAINT membership_partneruuid_fkey FOREIGN KEY (partneruuid) REFERENCES hs_office.partner(uuid);
--
-- Name: membership membership_uuid_fkey; Type: FK CONSTRAINT; Schema: hs_office; Owner: postgres
--
ALTER TABLE ONLY hs_office.membership
ADD CONSTRAINT membership_uuid_fkey FOREIGN KEY (uuid) REFERENCES rbac.object(uuid) DEFERRABLE INITIALLY DEFERRED;
--
-- Name: partner_details partner_details_uuid_fkey; Type: FK CONSTRAINT; Schema: hs_office; Owner: postgres
--
ALTER TABLE ONLY hs_office.partner_details
ADD CONSTRAINT partner_details_uuid_fkey FOREIGN KEY (uuid) REFERENCES rbac.object(uuid) DEFERRABLE INITIALLY DEFERRED;
--
-- Name: partner partner_detailsuuid_fkey; Type: FK CONSTRAINT; Schema: hs_office; Owner: postgres
--
ALTER TABLE ONLY hs_office.partner
ADD CONSTRAINT partner_detailsuuid_fkey FOREIGN KEY (detailsuuid) REFERENCES hs_office.partner_details(uuid);
--
-- Name: partner_legacy_id partner_legacy_id_uuid_fkey; Type: FK CONSTRAINT; Schema: hs_office; Owner: postgres
--
ALTER TABLE ONLY hs_office.partner_legacy_id
ADD CONSTRAINT partner_legacy_id_uuid_fkey FOREIGN KEY (uuid) REFERENCES hs_office.partner(uuid);
--
-- Name: partner partner_partnerreluuid_fkey; Type: FK CONSTRAINT; Schema: hs_office; Owner: postgres
--
ALTER TABLE ONLY hs_office.partner
ADD CONSTRAINT partner_partnerreluuid_fkey FOREIGN KEY (partnerreluuid) REFERENCES hs_office.relation(uuid);
--
-- Name: partner partner_uuid_fkey; Type: FK CONSTRAINT; Schema: hs_office; Owner: postgres
--
ALTER TABLE ONLY hs_office.partner
ADD CONSTRAINT partner_uuid_fkey FOREIGN KEY (uuid) REFERENCES rbac.object(uuid) DEFERRABLE INITIALLY DEFERRED;
--
-- Name: person person_uuid_fkey; Type: FK CONSTRAINT; Schema: hs_office; Owner: postgres
--
ALTER TABLE ONLY hs_office.person
ADD CONSTRAINT person_uuid_fkey FOREIGN KEY (uuid) REFERENCES rbac.object(uuid) DEFERRABLE INITIALLY DEFERRED;
--
-- Name: relation relation_anchoruuid_fkey; Type: FK CONSTRAINT; Schema: hs_office; Owner: postgres
--
ALTER TABLE ONLY hs_office.relation
ADD CONSTRAINT relation_anchoruuid_fkey FOREIGN KEY (anchoruuid) REFERENCES hs_office.person(uuid);
--
-- Name: relation relation_contactuuid_fkey; Type: FK CONSTRAINT; Schema: hs_office; Owner: postgres
--
ALTER TABLE ONLY hs_office.relation
ADD CONSTRAINT relation_contactuuid_fkey FOREIGN KEY (contactuuid) REFERENCES hs_office.contact(uuid);
--
-- Name: relation relation_holderuuid_fkey; Type: FK CONSTRAINT; Schema: hs_office; Owner: postgres
--
ALTER TABLE ONLY hs_office.relation
ADD CONSTRAINT relation_holderuuid_fkey FOREIGN KEY (holderuuid) REFERENCES hs_office.person(uuid);
--
-- Name: relation relation_uuid_fkey; Type: FK CONSTRAINT; Schema: hs_office; Owner: postgres
--
ALTER TABLE ONLY hs_office.relation
ADD CONSTRAINT relation_uuid_fkey FOREIGN KEY (uuid) REFERENCES rbac.object(uuid) DEFERRABLE INITIALLY DEFERRED;
--
-- Name: sepamandate sepamandate_bankaccountuuid_fkey; Type: FK CONSTRAINT; Schema: hs_office; Owner: postgres
--
ALTER TABLE ONLY hs_office.sepamandate
ADD CONSTRAINT sepamandate_bankaccountuuid_fkey FOREIGN KEY (bankaccountuuid) REFERENCES hs_office.bankaccount(uuid);
--
-- Name: sepamandate sepamandate_debitoruuid_fkey; Type: FK CONSTRAINT; Schema: hs_office; Owner: postgres
--
ALTER TABLE ONLY hs_office.sepamandate
ADD CONSTRAINT sepamandate_debitoruuid_fkey FOREIGN KEY (debitoruuid) REFERENCES hs_office.debitor(uuid);
--
-- Name: sepamandate_legacy_id sepamandate_legacy_id_uuid_fkey; Type: FK CONSTRAINT; Schema: hs_office; Owner: postgres
--
ALTER TABLE ONLY hs_office.sepamandate_legacy_id
ADD CONSTRAINT sepamandate_legacy_id_uuid_fkey FOREIGN KEY (uuid) REFERENCES hs_office.sepamandate(uuid);
--
-- Name: sepamandate sepamandate_uuid_fkey; Type: FK CONSTRAINT; Schema: hs_office; Owner: postgres
--
ALTER TABLE ONLY hs_office.sepamandate
ADD CONSTRAINT sepamandate_uuid_fkey FOREIGN KEY (uuid) REFERENCES rbac.object(uuid) DEFERRABLE INITIALLY DEFERRED;
--
-- Name: global global_uuid_fkey; Type: FK CONSTRAINT; Schema: rbac; Owner: postgres
--
ALTER TABLE ONLY rbac.global
ADD CONSTRAINT global_uuid_fkey FOREIGN KEY (uuid) REFERENCES rbac.object(uuid) ON DELETE CASCADE;
--
-- Name: grant grant_ascendantuuid_fkey; Type: FK CONSTRAINT; Schema: rbac; Owner: postgres
--
ALTER TABLE ONLY rbac."grant"
ADD CONSTRAINT grant_ascendantuuid_fkey FOREIGN KEY (ascendantuuid) REFERENCES rbac.reference(uuid);
--
-- Name: grant grant_descendantuuid_fkey; Type: FK CONSTRAINT; Schema: rbac; Owner: postgres
--
ALTER TABLE ONLY rbac."grant"
ADD CONSTRAINT grant_descendantuuid_fkey FOREIGN KEY (descendantuuid) REFERENCES rbac.reference(uuid);
--
-- Name: grant grant_grantedbyroleuuid_fkey; Type: FK CONSTRAINT; Schema: rbac; Owner: postgres
--
ALTER TABLE ONLY rbac."grant"
ADD CONSTRAINT grant_grantedbyroleuuid_fkey FOREIGN KEY (grantedbyroleuuid) REFERENCES rbac.role(uuid);
--
-- Name: grant grant_grantedbytriggerof_fkey; Type: FK CONSTRAINT; Schema: rbac; Owner: postgres
--
ALTER TABLE ONLY rbac."grant"
ADD CONSTRAINT grant_grantedbytriggerof_fkey FOREIGN KEY (grantedbytriggerof) REFERENCES rbac.object(uuid) ON DELETE CASCADE DEFERRABLE INITIALLY DEFERRED;
--
-- Name: permission permission_objectuuid_fkey; Type: FK CONSTRAINT; Schema: rbac; Owner: postgres
--
ALTER TABLE ONLY rbac.permission
ADD CONSTRAINT permission_objectuuid_fkey FOREIGN KEY (objectuuid) REFERENCES rbac.object(uuid);
--
-- Name: permission permission_uuid_fkey; Type: FK CONSTRAINT; Schema: rbac; Owner: postgres
--
ALTER TABLE ONLY rbac.permission
ADD CONSTRAINT permission_uuid_fkey FOREIGN KEY (uuid) REFERENCES rbac.reference(uuid) ON DELETE CASCADE;
--
-- Name: role role_objectuuid_fkey; Type: FK CONSTRAINT; Schema: rbac; Owner: postgres
--
ALTER TABLE ONLY rbac.role
ADD CONSTRAINT role_objectuuid_fkey FOREIGN KEY (objectuuid) REFERENCES rbac.object(uuid) DEFERRABLE INITIALLY DEFERRED;
--
-- Name: role role_uuid_fkey; Type: FK CONSTRAINT; Schema: rbac; Owner: postgres
--
ALTER TABLE ONLY rbac.role
ADD CONSTRAINT role_uuid_fkey FOREIGN KEY (uuid) REFERENCES rbac.reference(uuid) ON DELETE CASCADE DEFERRABLE INITIALLY DEFERRED;
--
-- Name: subject subject_uuid_fkey; Type: FK CONSTRAINT; Schema: rbac; Owner: postgres
--
ALTER TABLE ONLY rbac.subject
ADD CONSTRAINT subject_uuid_fkey FOREIGN KEY (uuid) REFERENCES rbac.reference(uuid) ON DELETE CASCADE;
--
-- Name: customer customer_uuid_fkey; Type: FK CONSTRAINT; Schema: rbactest; Owner: postgres
--
ALTER TABLE ONLY rbactest.customer
ADD CONSTRAINT customer_uuid_fkey FOREIGN KEY (uuid) REFERENCES rbac.object(uuid);
--
-- Name: domain domain_packageuuid_fkey; Type: FK CONSTRAINT; Schema: rbactest; Owner: postgres
--
ALTER TABLE ONLY rbactest.domain
ADD CONSTRAINT domain_packageuuid_fkey FOREIGN KEY (packageuuid) REFERENCES rbactest.package(uuid);
--
-- Name: domain domain_uuid_fkey; Type: FK CONSTRAINT; Schema: rbactest; Owner: postgres
--
ALTER TABLE ONLY rbactest.domain
ADD CONSTRAINT domain_uuid_fkey FOREIGN KEY (uuid) REFERENCES rbac.object(uuid);
--
-- Name: package package_customeruuid_fkey; Type: FK CONSTRAINT; Schema: rbactest; Owner: postgres
--
ALTER TABLE ONLY rbactest.package
ADD CONSTRAINT package_customeruuid_fkey FOREIGN KEY (customeruuid) REFERENCES rbactest.customer(uuid);
--
-- Name: package package_uuid_fkey; Type: FK CONSTRAINT; Schema: rbactest; Owner: postgres
--
ALTER TABLE ONLY rbactest.package
ADD CONSTRAINT package_uuid_fkey FOREIGN KEY (uuid) REFERENCES rbac.object(uuid);
--
-- Name: TABLE bankaccount_iv; Type: ACL; Schema: hs_office; Owner: postgres
--
GRANT ALL ON TABLE hs_office.bankaccount_iv TO restricted;
--
-- Name: TABLE bankaccount_rv; Type: ACL; Schema: hs_office; Owner: postgres
--
GRANT ALL ON TABLE hs_office.bankaccount_rv TO restricted;
--
-- Name: TABLE contact_iv; Type: ACL; Schema: hs_office; Owner: postgres
--
GRANT ALL ON TABLE hs_office.contact_iv TO restricted;
--
-- Name: TABLE contact_rv; Type: ACL; Schema: hs_office; Owner: postgres
--
GRANT ALL ON TABLE hs_office.contact_rv TO restricted;
--
-- Name: TABLE coopassettx_iv; Type: ACL; Schema: hs_office; Owner: postgres
--
GRANT ALL ON TABLE hs_office.coopassettx_iv TO restricted;
--
-- Name: TABLE coopassettx_rv; Type: ACL; Schema: hs_office; Owner: postgres
--
GRANT ALL ON TABLE hs_office.coopassettx_rv TO restricted;
--
-- Name: TABLE coopsharetx_iv; Type: ACL; Schema: hs_office; Owner: postgres
--
GRANT ALL ON TABLE hs_office.coopsharetx_iv TO restricted;
--
-- Name: TABLE coopsharetx_rv; Type: ACL; Schema: hs_office; Owner: postgres
--
GRANT ALL ON TABLE hs_office.coopsharetx_rv TO restricted;
--
-- Name: TABLE debitor_iv; Type: ACL; Schema: hs_office; Owner: postgres
--
GRANT ALL ON TABLE hs_office.debitor_iv TO restricted;
--
-- Name: TABLE debitor_rv; Type: ACL; Schema: hs_office; Owner: postgres
--
GRANT ALL ON TABLE hs_office.debitor_rv TO restricted;
--
-- Name: TABLE membership_iv; Type: ACL; Schema: hs_office; Owner: postgres
--
GRANT ALL ON TABLE hs_office.membership_iv TO restricted;
--
-- Name: TABLE membership_rv; Type: ACL; Schema: hs_office; Owner: postgres
--
GRANT ALL ON TABLE hs_office.membership_rv TO restricted;
--
-- Name: TABLE partner_iv; Type: ACL; Schema: hs_office; Owner: postgres
--
GRANT ALL ON TABLE hs_office.partner_iv TO restricted;
--
-- Name: TABLE partner_details_iv; Type: ACL; Schema: hs_office; Owner: postgres
--
GRANT ALL ON TABLE hs_office.partner_details_iv TO restricted;
--
-- Name: TABLE partner_details_rv; Type: ACL; Schema: hs_office; Owner: postgres
--
GRANT ALL ON TABLE hs_office.partner_details_rv TO restricted;
--
-- Name: TABLE partner_rv; Type: ACL; Schema: hs_office; Owner: postgres
--
GRANT ALL ON TABLE hs_office.partner_rv TO restricted;
--
-- Name: TABLE person_iv; Type: ACL; Schema: hs_office; Owner: postgres
--
GRANT ALL ON TABLE hs_office.person_iv TO restricted;
--
-- Name: TABLE person_rv; Type: ACL; Schema: hs_office; Owner: postgres
--
GRANT ALL ON TABLE hs_office.person_rv TO restricted;
--
-- Name: TABLE relation_iv; Type: ACL; Schema: hs_office; Owner: postgres
--
GRANT ALL ON TABLE hs_office.relation_iv TO restricted;
--
-- Name: TABLE relation_rv; Type: ACL; Schema: hs_office; Owner: postgres
--
GRANT ALL ON TABLE hs_office.relation_rv TO restricted;
--
-- Name: TABLE sepamandate_iv; Type: ACL; Schema: hs_office; Owner: postgres
--
GRANT ALL ON TABLE hs_office.sepamandate_iv TO restricted;
--
-- Name: TABLE sepamandate_rv; Type: ACL; Schema: hs_office; Owner: postgres
--
GRANT ALL ON TABLE hs_office.sepamandate_rv TO restricted;
--
-- Name: TABLE databasechangelog; Type: ACL; Schema: public; Owner: postgres
--
GRANT ALL ON TABLE public.databasechangelog TO restricted;
--
-- Name: TABLE databasechangeloglock; Type: ACL; Schema: public; Owner: postgres
--
GRANT ALL ON TABLE public.databasechangeloglock TO restricted;
--
-- Name: TABLE global; Type: ACL; Schema: rbac; Owner: postgres
--
GRANT SELECT ON TABLE rbac.global TO restricted;
--
-- Name: TABLE global_iv; Type: ACL; Schema: rbac; Owner: postgres
--
GRANT ALL ON TABLE rbac.global_iv TO restricted;
--
-- Name: TABLE role_rv; Type: ACL; Schema: rbac; Owner: postgres
--
GRANT ALL ON TABLE rbac.role_rv TO restricted;
--
-- Name: TABLE own_granted_permissions_rv; Type: ACL; Schema: rbac; Owner: postgres
--
GRANT ALL ON TABLE rbac.own_granted_permissions_rv TO restricted;
--
-- Name: TABLE subject_rv; Type: ACL; Schema: rbac; Owner: postgres
--
GRANT ALL ON TABLE rbac.subject_rv TO restricted;
--
-- Name: TABLE customer_iv; Type: ACL; Schema: rbactest; Owner: postgres
--
GRANT ALL ON TABLE rbactest.customer_iv TO restricted;
--
-- Name: TABLE customer_rv; Type: ACL; Schema: rbactest; Owner: postgres
--
GRANT ALL ON TABLE rbactest.customer_rv TO restricted;
--
-- Name: TABLE domain_iv; Type: ACL; Schema: rbactest; Owner: postgres
--
GRANT ALL ON TABLE rbactest.domain_iv TO restricted;
--
-- Name: TABLE domain_rv; Type: ACL; Schema: rbactest; Owner: postgres
--
GRANT ALL ON TABLE rbactest.domain_rv TO restricted;
--
-- Name: TABLE package_iv; Type: ACL; Schema: rbactest; Owner: postgres
--
GRANT ALL ON TABLE rbactest.package_iv TO restricted;
--
-- Name: TABLE package_rv; Type: ACL; Schema: rbactest; Owner: postgres
--
GRANT ALL ON TABLE rbactest.package_rv TO restricted;
--
-- PostgreSQL database dump complete
--