diff --git a/src/test/java/net/hostsharing/hsadminng/hs/migration/ImportHostingAssets.java b/src/test/java/net/hostsharing/hsadminng/hs/migration/ImportHostingAssets.java index 6c075570..f1e2bcb8 100644 --- a/src/test/java/net/hostsharing/hsadminng/hs/migration/ImportHostingAssets.java +++ b/src/test/java/net/hostsharing/hsadminng/hs/migration/ImportHostingAssets.java @@ -40,6 +40,7 @@ import org.springframework.test.annotation.Commit; import org.springframework.test.annotation.DirtiesContext; import org.springframework.test.context.ActiveProfiles; +import java.io.File; import java.io.IOException; import java.io.InputStream; import java.io.Reader; @@ -138,7 +139,7 @@ public class ImportHostingAssets extends CsvDataImport { @Autowired LiquibaseMigration liquibase; - @Value("${HSADMINNG_OFFICE_DATA_SQL_FILE:/db/released-only-prod-schema-with-import-test-data.sql}") + @Value("${HSADMINNG_OFFICE_DATA_SQL_FILE:/db/released-prod-schema-with-import-test-data.sql}") String officeSchemaAndDataSqlFile; @Test @@ -148,6 +149,7 @@ public class ImportHostingAssets extends CsvDataImport { executeSqlScript(officeSchemaAndDataSqlFile); liquibase.assertReferenceStatusAfterRestore(286, "hs-booking-SCHEMA"); makeSureThatTheImportAdminUserExists(); + PostgresTestcontainer.dump(jdbcUrl, new File("build/db/released-prod-schema-with-import-test-data.sql")); liquibase.runWithContexts("migration", "without-test-data"); liquibase.assertThatCurrentMigrationsGotApplied(331, "hs-booking-SCHEMA"); } diff --git a/src/test/java/net/hostsharing/hsadminng/hs/migration/LiquibaseCompatibilityIntegrationTest.java b/src/test/java/net/hostsharing/hsadminng/hs/migration/LiquibaseCompatibilityIntegrationTest.java index 28b31de5..6667c0ce 100644 --- a/src/test/java/net/hostsharing/hsadminng/hs/migration/LiquibaseCompatibilityIntegrationTest.java +++ b/src/test/java/net/hostsharing/hsadminng/hs/migration/LiquibaseCompatibilityIntegrationTest.java @@ -43,11 +43,11 @@ import static org.springframework.test.context.jdbc.Sql.ExecutionPhase.BEFORE_TE @DirtiesContext @ActiveProfiles("liquibase-migration-test") @Import(LiquibaseConfig.class) -@Sql(value = "/db/released-only-prod-schema-with-test-data.sql", executionPhase = BEFORE_TEST_CLASS) // release-schema +@Sql(value = "/db/released-prod-schema-with-test-data.sql", executionPhase = BEFORE_TEST_CLASS) // release-schema public class LiquibaseCompatibilityIntegrationTest { private static final String EXPECTED_CHANGESET_ONLY_AFTER_NEW_MIGRATION = "hs-global-liquibase-migration-test"; - private static final int EXPECTED_LIQUIBASE_CHANGELOGS_IN_PROD_SCHEMA_DUMP = 287; + private static final int EXPECTED_LIQUIBASE_CHANGELOGS_IN_PROD_SCHEMA_DUMP = 299; @Value("${spring.datasource.url}") private String jdbcUrl; @@ -63,7 +63,7 @@ public class LiquibaseCompatibilityIntegrationTest { // run the current migrations and dump the result to the build-directory liquibase.runWithContexts("only-prod-schema", "with-test-data"); - PostgresTestcontainer.dump(jdbcUrl, new File("build/db/released-only-prod-schema-with-test-data.sql")); + PostgresTestcontainer.dump(jdbcUrl, new File("build/db/released-prod-schema-with-test-data.sql")); // then add another migration and assert if it was applied liquibase.runWithContexts("liquibase-migration-test"); diff --git a/src/test/resources/db/released-only-prod-schema-with-import-test-data.sql b/src/test/resources/db/released-prod-schema-with-import-test-data.sql similarity index 98% rename from src/test/resources/db/released-only-prod-schema-with-import-test-data.sql rename to src/test/resources/db/released-prod-schema-with-import-test-data.sql index 66ef6bac..1b303b02 100644 --- a/src/test/resources/db/released-only-prod-schema-with-import-test-data.sql +++ b/src/test/resources/db/released-prod-schema-with-import-test-data.sql @@ -29,7 +29,7 @@ DO -- -- Dumped from database version 15.5 (Debian 15.5-1.pgdg120+1) --- Dumped by pg_dump version 16.6 (Ubuntu 16.6-0ubuntu0.24.04.1) +-- Dumped by pg_dump version 16.9 (Ubuntu 16.9-0ubuntu0.24.04.1) SET statement_timeout = 0; SET lock_timeout = 0; @@ -43,7 +43,7 @@ SET client_min_messages = warning; SET row_security = off; -- --- Name: base; Type: SCHEMA; Schema: -; Owner: test +-- Name: base; Type: SCHEMA; Schema: -; Owner: admin -- CREATE SCHEMA base; @@ -52,7 +52,7 @@ CREATE SCHEMA base; ALTER SCHEMA base OWNER TO admin; -- --- Name: hs_integration; Type: SCHEMA; Schema: -; Owner: test +-- Name: hs_integration; Type: SCHEMA; Schema: -; Owner: admin -- CREATE SCHEMA hs_integration; @@ -61,7 +61,7 @@ CREATE SCHEMA hs_integration; ALTER SCHEMA hs_integration OWNER TO admin; -- --- Name: hs_office; Type: SCHEMA; Schema: -; Owner: test +-- Name: hs_office; Type: SCHEMA; Schema: -; Owner: admin -- CREATE SCHEMA hs_office; @@ -70,7 +70,7 @@ CREATE SCHEMA hs_office; ALTER SCHEMA hs_office OWNER TO admin; -- --- Name: rbac; Type: SCHEMA; Schema: -; Owner: test +-- Name: rbac; Type: SCHEMA; Schema: -; Owner: admin -- CREATE SCHEMA rbac; @@ -79,7 +79,7 @@ CREATE SCHEMA rbac; ALTER SCHEMA rbac OWNER TO admin; -- --- Name: rbactest; Type: SCHEMA; Schema: -; Owner: test +-- Name: rbactest; Type: SCHEMA; Schema: -; Owner: admin -- CREATE SCHEMA rbactest; @@ -102,7 +102,7 @@ COMMENT ON EXTENSION "uuid-ossp" IS 'generate universally unique identifiers (UU -- --- Name: tx_operation; Type: TYPE; Schema: base; Owner: test +-- Name: tx_operation; Type: TYPE; Schema: base; Owner: admin -- CREATE TYPE base.tx_operation AS ENUM ( @@ -116,7 +116,7 @@ CREATE TYPE base.tx_operation AS ENUM ( ALTER TYPE base.tx_operation OWNER TO admin; -- --- Name: coopassetstransactiontype; Type: TYPE; Schema: hs_office; Owner: test +-- Name: coopassetstransactiontype; Type: TYPE; Schema: hs_office; Owner: admin -- CREATE TYPE hs_office.coopassetstransactiontype AS ENUM ( @@ -134,7 +134,7 @@ CREATE TYPE hs_office.coopassetstransactiontype AS ENUM ( ALTER TYPE hs_office.coopassetstransactiontype OWNER TO admin; -- --- Name: coopsharestransactiontype; Type: TYPE; Schema: hs_office; Owner: test +-- Name: coopsharestransactiontype; Type: TYPE; Schema: hs_office; Owner: admin -- CREATE TYPE hs_office.coopsharestransactiontype AS ENUM ( @@ -147,7 +147,7 @@ CREATE TYPE hs_office.coopsharestransactiontype AS ENUM ( ALTER TYPE hs_office.coopsharestransactiontype OWNER TO admin; -- --- Name: hsofficemembershipstatus; Type: TYPE; Schema: hs_office; Owner: test +-- Name: hsofficemembershipstatus; Type: TYPE; Schema: hs_office; Owner: admin -- CREATE TYPE hs_office.hsofficemembershipstatus AS ENUM ( @@ -165,7 +165,7 @@ CREATE TYPE hs_office.hsofficemembershipstatus AS ENUM ( ALTER TYPE hs_office.hsofficemembershipstatus OWNER TO admin; -- --- Name: persontype; Type: TYPE; Schema: hs_office; Owner: test +-- Name: persontype; Type: TYPE; Schema: hs_office; Owner: admin -- CREATE TYPE hs_office.persontype AS ENUM ( @@ -182,7 +182,7 @@ CREATE TYPE hs_office.persontype AS ENUM ( ALTER TYPE hs_office.persontype OWNER TO admin; -- --- Name: relationtype; Type: TYPE; Schema: hs_office; Owner: test +-- Name: relationtype; Type: TYPE; Schema: hs_office; Owner: admin -- CREATE TYPE hs_office.relationtype AS ENUM ( @@ -201,7 +201,7 @@ CREATE TYPE hs_office.relationtype AS ENUM ( ALTER TYPE hs_office.relationtype OWNER TO admin; -- --- Name: rbacop; Type: DOMAIN; Schema: rbac; Owner: test +-- Name: rbacop; Type: DOMAIN; Schema: rbac; Owner: admin -- CREATE DOMAIN rbac.rbacop AS character varying(6) @@ -211,7 +211,7 @@ CREATE DOMAIN rbac.rbacop AS character varying(6) ALTER DOMAIN rbac.rbacop OWNER TO admin; -- --- Name: referencetype; Type: TYPE; Schema: rbac; Owner: test +-- Name: referencetype; Type: TYPE; Schema: rbac; Owner: admin -- CREATE TYPE rbac.referencetype AS ENUM ( @@ -224,7 +224,7 @@ CREATE TYPE rbac.referencetype AS ENUM ( ALTER TYPE rbac.referencetype OWNER TO admin; -- --- Name: roletype; Type: TYPE; Schema: rbac; Owner: test +-- Name: roletype; Type: TYPE; Schema: rbac; Owner: admin -- CREATE TYPE rbac.roletype AS ENUM ( @@ -240,7 +240,7 @@ CREATE TYPE rbac.roletype AS ENUM ( ALTER TYPE rbac.roletype OWNER TO admin; -- --- Name: roledescriptor; Type: TYPE; Schema: rbac; Owner: test +-- Name: roledescriptor; Type: TYPE; Schema: rbac; Owner: admin -- CREATE TYPE rbac.roledescriptor AS ( @@ -289,7 +289,7 @@ CREATE CAST (character varying AS hs_office.relationtype) WITH INOUT AS IMPLICIT -- --- Name: asserttrue(boolean, text); Type: FUNCTION; Schema: base; Owner: test +-- Name: asserttrue(boolean, text); Type: FUNCTION; Schema: base; Owner: admin -- CREATE FUNCTION base.asserttrue(expectedtrue boolean, msg text) RETURNS boolean @@ -304,7 +304,7 @@ end; '; ALTER FUNCTION base.asserttrue(expectedtrue boolean, msg text) OWNER TO admin; -- --- Name: assumedroles(); Type: FUNCTION; Schema: base; Owner: test +-- Name: assumedroles(); Type: FUNCTION; Schema: base; Owner: admin -- CREATE FUNCTION base.assumedroles() RETURNS character varying[] @@ -318,7 +318,7 @@ end; '; ALTER FUNCTION base.assumedroles() OWNER TO admin; -- --- Name: biginthash(text); Type: FUNCTION; Schema: base; Owner: test +-- Name: biginthash(text); Type: FUNCTION; Schema: base; Owner: admin -- CREATE FUNCTION base.biginthash(text) RETURNS bigint @@ -331,7 +331,7 @@ select (''x''||substr(md5($1),1,16))::bit(64)::bigint; ALTER FUNCTION base.biginthash(text) OWNER TO admin; -- --- Name: cleanidentifier(character varying); Type: FUNCTION; Schema: base; Owner: test +-- Name: cleanidentifier(character varying); Type: FUNCTION; Schema: base; Owner: admin -- CREATE FUNCTION base.cleanidentifier(rawidentifier character varying) RETURNS character varying @@ -348,7 +348,7 @@ end; '; ALTER FUNCTION base.cleanidentifier(rawidentifier character varying) OWNER TO admin; -- --- Name: combine_table_schema_and_name(name, name); Type: FUNCTION; Schema: base; Owner: test +-- Name: combine_table_schema_and_name(name, name); Type: FUNCTION; Schema: base; Owner: admin -- CREATE FUNCTION base.combine_table_schema_and_name(tableschema name, tablename name) RETURNS text @@ -369,7 +369,7 @@ end; '; ALTER FUNCTION base.combine_table_schema_and_name(tableschema name, tablename name) OWNER TO admin; -- --- Name: contextdefined(character varying, text, character varying, character varying); Type: PROCEDURE; Schema: base; Owner: test +-- Name: contextdefined(character varying, text, character varying, character varying); Type: PROCEDURE; Schema: base; Owner: admin -- CREATE PROCEDURE base.contextdefined(IN currenttask character varying, IN currentrequest text, IN currentsubject character varying, IN assumedroles character varying) @@ -397,7 +397,7 @@ end; '; ALTER PROCEDURE base.contextdefined(IN currenttask character varying, IN currentrequest text, IN currentsubject character varying, IN assumedroles character varying) OWNER TO admin; -- --- Name: create_journal(character varying); Type: PROCEDURE; Schema: base; Owner: test +-- Name: create_journal(character varying); Type: PROCEDURE; Schema: base; Owner: admin -- CREATE PROCEDURE base.create_journal(IN targettable character varying) @@ -419,7 +419,7 @@ end; '; ALTER PROCEDURE base.create_journal(IN targettable character varying) OWNER TO admin; -- --- Name: currentrequest(); Type: FUNCTION; Schema: base; Owner: test +-- Name: currentrequest(); Type: FUNCTION; Schema: base; Owner: admin -- CREATE FUNCTION base.currentrequest() RETURNS text @@ -441,7 +441,7 @@ end; '; ALTER FUNCTION base.currentrequest() OWNER TO admin; -- --- Name: currentsubject(); Type: FUNCTION; Schema: base; Owner: test +-- Name: currentsubject(); Type: FUNCTION; Schema: base; Owner: admin -- CREATE FUNCTION base.currentsubject() RETURNS character varying @@ -463,7 +463,7 @@ end; '; ALTER FUNCTION base.currentsubject() OWNER TO admin; -- --- Name: currentsubjects(); Type: FUNCTION; Schema: base; Owner: test +-- Name: currentsubjects(); Type: FUNCTION; Schema: base; Owner: admin -- CREATE FUNCTION base.currentsubjects() RETURNS character varying[] @@ -484,7 +484,7 @@ end; '; ALTER FUNCTION base.currentsubjects() OWNER TO admin; -- --- Name: currenttask(); Type: FUNCTION; Schema: base; Owner: test +-- Name: currenttask(); Type: FUNCTION; Schema: base; Owner: admin -- CREATE FUNCTION base.currenttask() RETURNS character varying @@ -509,7 +509,7 @@ end; '; ALTER FUNCTION base.currenttask() OWNER TO admin; -- --- Name: definecontext(character varying, text, character varying, text); Type: PROCEDURE; Schema: base; Owner: test +-- Name: definecontext(character varying, text, character varying, text); Type: PROCEDURE; Schema: base; Owner: admin -- 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) @@ -539,7 +539,7 @@ end; '; ALTER PROCEDURE base.definecontext(IN currenttask character varying, IN currentrequest text, IN currentsubject character varying, IN assumedroles text) OWNER TO admin; -- --- Name: hasassumedrole(); Type: FUNCTION; Schema: base; Owner: test +-- Name: hasassumedrole(); Type: FUNCTION; Schema: base; Owner: admin -- CREATE FUNCTION base.hasassumedrole() RETURNS boolean @@ -553,7 +553,7 @@ end; '; ALTER FUNCTION base.hasassumedrole() OWNER TO admin; -- --- Name: inttovarchar(integer, integer); Type: FUNCTION; Schema: base; Owner: test +-- Name: inttovarchar(integer, integer); Type: FUNCTION; Schema: base; Owner: admin -- CREATE FUNCTION base.inttovarchar(i integer, len integer) RETURNS character varying @@ -574,7 +574,7 @@ end; '; ALTER FUNCTION base.inttovarchar(i integer, len integer) OWNER TO admin; -- --- Name: jsonb_changes_delta(jsonb, jsonb); Type: FUNCTION; Schema: base; Owner: test +-- Name: jsonb_changes_delta(jsonb, jsonb); Type: FUNCTION; Schema: base; Owner: admin -- CREATE FUNCTION base.jsonb_changes_delta(oldjson jsonb, newjson jsonb) RETURNS jsonb @@ -611,7 +611,7 @@ end; '; ALTER FUNCTION base.jsonb_changes_delta(oldjson jsonb, newjson jsonb) OWNER TO admin; -- --- Name: lastrowcount(); Type: FUNCTION; Schema: base; Owner: test +-- Name: lastrowcount(); Type: FUNCTION; Schema: base; Owner: admin -- CREATE FUNCTION base.lastrowcount() RETURNS bigint @@ -628,7 +628,7 @@ end; '; ALTER FUNCTION base.lastrowcount() OWNER TO admin; -- --- Name: pureidentifier(character varying); Type: FUNCTION; Schema: base; Owner: test +-- Name: pureidentifier(character varying); Type: FUNCTION; Schema: base; Owner: admin -- CREATE FUNCTION base.pureidentifier(rawidentifier character varying) RETURNS character varying @@ -648,7 +648,7 @@ end; '; ALTER FUNCTION base.pureidentifier(rawidentifier character varying) OWNER TO admin; -- --- Name: raiseexception(text); Type: FUNCTION; Schema: base; Owner: test +-- Name: raiseexception(text); Type: FUNCTION; Schema: base; Owner: admin -- CREATE FUNCTION base.raiseexception(msg text) RETURNS character varying @@ -662,7 +662,7 @@ end; '; ALTER FUNCTION base.raiseexception(msg text) OWNER TO admin; -- --- Name: randominrange(integer, integer); Type: FUNCTION; Schema: base; Owner: test +-- Name: randominrange(integer, integer); Type: FUNCTION; Schema: base; Owner: admin -- CREATE FUNCTION base.randominrange(min integer, max integer) RETURNS integer @@ -676,7 +676,7 @@ end; '; ALTER FUNCTION base.randominrange(min integer, max integer) OWNER TO admin; -- --- Name: tablecolumnnames(text); Type: FUNCTION; Schema: base; Owner: test +-- Name: tablecolumnnames(text); Type: FUNCTION; Schema: base; Owner: admin -- CREATE FUNCTION base.tablecolumnnames(oftablename text) RETURNS text @@ -710,7 +710,7 @@ end; '; ALTER FUNCTION base.tablecolumnnames(oftablename text) OWNER TO admin; -- --- Name: tx_create_historicization(character varying); Type: PROCEDURE; Schema: base; Owner: test +-- Name: tx_create_historicization(character varying); Type: PROCEDURE; Schema: base; Owner: admin -- CREATE PROCEDURE base.tx_create_historicization(IN basetable character varying) @@ -781,7 +781,7 @@ end; '; ALTER PROCEDURE base.tx_create_historicization(IN basetable character varying) OWNER TO admin; -- --- Name: tx_historicize_tf(); Type: FUNCTION; Schema: base; Owner: test +-- Name: tx_historicize_tf(); Type: FUNCTION; Schema: base; Owner: admin -- CREATE FUNCTION base.tx_historicize_tf() RETURNS trigger @@ -833,7 +833,7 @@ end; '; ALTER FUNCTION base.tx_historicize_tf() OWNER TO admin; -- --- Name: tx_history_txid(); Type: FUNCTION; Schema: base; Owner: test +-- Name: tx_history_txid(); Type: FUNCTION; Schema: base; Owner: admin -- CREATE FUNCTION base.tx_history_txid() RETURNS xid8 @@ -871,7 +871,7 @@ end; '; ALTER FUNCTION base.tx_history_txid() OWNER TO admin; -- --- Name: tx_journal_trigger(); Type: FUNCTION; Schema: base; Owner: test +-- Name: tx_journal_trigger(); Type: FUNCTION; Schema: base; Owner: admin -- CREATE FUNCTION base.tx_journal_trigger() RETURNS trigger @@ -921,7 +921,7 @@ SET default_tablespace = ''; SET default_table_access_method = heap; -- --- Name: bankaccount; Type: TABLE; Schema: hs_office; Owner: test +-- Name: bankaccount; Type: TABLE; Schema: hs_office; Owner: admin -- CREATE TABLE hs_office.bankaccount ( @@ -936,7 +936,7 @@ CREATE TABLE hs_office.bankaccount ( ALTER TABLE hs_office.bankaccount OWNER TO admin; -- --- Name: bankaccount_admin(hs_office.bankaccount, boolean); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: bankaccount_admin(hs_office.bankaccount, boolean); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.bankaccount_admin(entity hs_office.bankaccount, assumed boolean DEFAULT true) RETURNS rbac.roledescriptor @@ -950,7 +950,7 @@ CREATE FUNCTION hs_office.bankaccount_admin(entity hs_office.bankaccount, assume ALTER FUNCTION hs_office.bankaccount_admin(entity hs_office.bankaccount, assumed boolean) OWNER TO admin; -- --- Name: bankaccount_agent(hs_office.bankaccount, boolean); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: bankaccount_agent(hs_office.bankaccount, boolean); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.bankaccount_agent(entity hs_office.bankaccount, assumed boolean DEFAULT true) RETURNS rbac.roledescriptor @@ -964,7 +964,7 @@ CREATE FUNCTION hs_office.bankaccount_agent(entity hs_office.bankaccount, assume ALTER FUNCTION hs_office.bankaccount_agent(entity hs_office.bankaccount, assumed boolean) OWNER TO admin; -- --- Name: bankaccount_build_rbac_system(hs_office.bankaccount); Type: PROCEDURE; Schema: hs_office; Owner: test +-- Name: bankaccount_build_rbac_system(hs_office.bankaccount); Type: PROCEDURE; Schema: hs_office; Owner: admin -- CREATE PROCEDURE hs_office.bankaccount_build_rbac_system(IN new hs_office.bankaccount) @@ -1002,7 +1002,7 @@ end; '; ALTER PROCEDURE hs_office.bankaccount_build_rbac_system(IN new hs_office.bankaccount) OWNER TO admin; -- --- Name: bankaccount_build_rbac_system_after_insert_tf(); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: bankaccount_build_rbac_system_after_insert_tf(); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.bankaccount_build_rbac_system_after_insert_tf() RETURNS trigger @@ -1017,7 +1017,7 @@ end; '; ALTER FUNCTION hs_office.bankaccount_build_rbac_system_after_insert_tf() OWNER TO admin; -- --- Name: bankaccount_create_test_data(character varying, character varying, character varying); Type: PROCEDURE; Schema: hs_office; Owner: test +-- Name: bankaccount_create_test_data(character varying, character varying, character varying); Type: PROCEDURE; Schema: hs_office; Owner: admin -- CREATE PROCEDURE hs_office.bankaccount_create_test_data(IN givenholder character varying, IN giveniban character varying, IN givenbic character varying) @@ -1040,7 +1040,7 @@ end; '; ALTER PROCEDURE hs_office.bankaccount_create_test_data(IN givenholder character varying, IN giveniban character varying, IN givenbic character varying) OWNER TO admin; -- --- Name: bankaccount_guest(hs_office.bankaccount, boolean); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: bankaccount_guest(hs_office.bankaccount, boolean); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.bankaccount_guest(entity hs_office.bankaccount, assumed boolean DEFAULT true) RETURNS rbac.roledescriptor @@ -1054,7 +1054,7 @@ CREATE FUNCTION hs_office.bankaccount_guest(entity hs_office.bankaccount, assume ALTER FUNCTION hs_office.bankaccount_guest(entity hs_office.bankaccount, assumed boolean) OWNER TO admin; -- --- Name: bankaccount_id_name_by_uuid(uuid); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: bankaccount_id_name_by_uuid(uuid); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.bankaccount_id_name_by_uuid(givenuuid uuid) RETURNS character varying @@ -1067,7 +1067,7 @@ CREATE FUNCTION hs_office.bankaccount_id_name_by_uuid(givenuuid uuid) RETURNS ch ALTER FUNCTION hs_office.bankaccount_id_name_by_uuid(givenuuid uuid) OWNER TO admin; -- --- Name: bankaccount_instead_of_delete_tf(); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: bankaccount_instead_of_delete_tf(); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.bankaccount_instead_of_delete_tf() RETURNS trigger @@ -1085,7 +1085,7 @@ CREATE FUNCTION hs_office.bankaccount_instead_of_delete_tf() RETURNS trigger ALTER FUNCTION hs_office.bankaccount_instead_of_delete_tf() OWNER TO admin; -- --- Name: bankaccount_instead_of_insert_tf(); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: bankaccount_instead_of_insert_tf(); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.bankaccount_instead_of_insert_tf() RETURNS trigger @@ -1105,7 +1105,7 @@ CREATE FUNCTION hs_office.bankaccount_instead_of_insert_tf() RETURNS trigger ALTER FUNCTION hs_office.bankaccount_instead_of_insert_tf() OWNER TO admin; -- --- Name: bankaccount_instead_of_update_tf(); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: bankaccount_instead_of_update_tf(); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.bankaccount_instead_of_update_tf() RETURNS trigger @@ -1129,7 +1129,7 @@ CREATE FUNCTION hs_office.bankaccount_instead_of_update_tf() RETURNS trigger ALTER FUNCTION hs_office.bankaccount_instead_of_update_tf() OWNER TO admin; -- --- Name: bankaccount_owner(hs_office.bankaccount, boolean); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: bankaccount_owner(hs_office.bankaccount, boolean); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.bankaccount_owner(entity hs_office.bankaccount, assumed boolean DEFAULT true) RETURNS rbac.roledescriptor @@ -1143,7 +1143,7 @@ CREATE FUNCTION hs_office.bankaccount_owner(entity hs_office.bankaccount, assume ALTER FUNCTION hs_office.bankaccount_owner(entity hs_office.bankaccount, assumed boolean) OWNER TO admin; -- --- Name: bankaccount_rebuild_rbac_system(); Type: PROCEDURE; Schema: hs_office; Owner: test +-- Name: bankaccount_rebuild_rbac_system(); Type: PROCEDURE; Schema: hs_office; Owner: admin -- CREATE PROCEDURE hs_office.bankaccount_rebuild_rbac_system() @@ -1177,7 +1177,7 @@ END; ALTER PROCEDURE hs_office.bankaccount_rebuild_rbac_system() OWNER TO admin; -- --- Name: bankaccount_referrer(hs_office.bankaccount); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: bankaccount_referrer(hs_office.bankaccount); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.bankaccount_referrer(entity hs_office.bankaccount) RETURNS rbac.roledescriptor @@ -1191,7 +1191,7 @@ CREATE FUNCTION hs_office.bankaccount_referrer(entity hs_office.bankaccount) RET ALTER FUNCTION hs_office.bankaccount_referrer(entity hs_office.bankaccount) OWNER TO admin; -- --- Name: bankaccount_tenant(hs_office.bankaccount, boolean); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: bankaccount_tenant(hs_office.bankaccount, boolean); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.bankaccount_tenant(entity hs_office.bankaccount, assumed boolean DEFAULT true) RETURNS rbac.roledescriptor @@ -1205,7 +1205,7 @@ CREATE FUNCTION hs_office.bankaccount_tenant(entity hs_office.bankaccount, assum ALTER FUNCTION hs_office.bankaccount_tenant(entity hs_office.bankaccount, assumed boolean) OWNER TO admin; -- --- Name: bankaccount_uuid_by_id_name(character varying); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: bankaccount_uuid_by_id_name(character varying); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.bankaccount_uuid_by_id_name(givenidname character varying) RETURNS uuid @@ -1222,7 +1222,7 @@ CREATE FUNCTION hs_office.bankaccount_uuid_by_id_name(givenidname character vary ALTER FUNCTION hs_office.bankaccount_uuid_by_id_name(givenidname character varying) OWNER TO admin; -- --- Name: contact; Type: TABLE; Schema: hs_office; Owner: test +-- Name: contact; Type: TABLE; Schema: hs_office; Owner: admin -- CREATE TABLE hs_office.contact ( @@ -1238,7 +1238,7 @@ CREATE TABLE hs_office.contact ( ALTER TABLE hs_office.contact OWNER TO admin; -- --- Name: contact_admin(hs_office.contact, boolean); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: contact_admin(hs_office.contact, boolean); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.contact_admin(entity hs_office.contact, assumed boolean DEFAULT true) RETURNS rbac.roledescriptor @@ -1252,7 +1252,7 @@ CREATE FUNCTION hs_office.contact_admin(entity hs_office.contact, assumed boolea ALTER FUNCTION hs_office.contact_admin(entity hs_office.contact, assumed boolean) OWNER TO admin; -- --- Name: contact_agent(hs_office.contact, boolean); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: contact_agent(hs_office.contact, boolean); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.contact_agent(entity hs_office.contact, assumed boolean DEFAULT true) RETURNS rbac.roledescriptor @@ -1266,7 +1266,7 @@ CREATE FUNCTION hs_office.contact_agent(entity hs_office.contact, assumed boolea ALTER FUNCTION hs_office.contact_agent(entity hs_office.contact, assumed boolean) OWNER TO admin; -- --- Name: contact_build_rbac_system(hs_office.contact); Type: PROCEDURE; Schema: hs_office; Owner: test +-- Name: contact_build_rbac_system(hs_office.contact); Type: PROCEDURE; Schema: hs_office; Owner: admin -- CREATE PROCEDURE hs_office.contact_build_rbac_system(IN new hs_office.contact) @@ -1304,7 +1304,7 @@ end; '; ALTER PROCEDURE hs_office.contact_build_rbac_system(IN new hs_office.contact) OWNER TO admin; -- --- Name: contact_build_rbac_system_after_insert_tf(); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: contact_build_rbac_system_after_insert_tf(); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.contact_build_rbac_system_after_insert_tf() RETURNS trigger @@ -1319,7 +1319,7 @@ end; '; ALTER FUNCTION hs_office.contact_build_rbac_system_after_insert_tf() OWNER TO admin; -- --- Name: contact_create_test_data(character varying); Type: PROCEDURE; Schema: hs_office; Owner: test +-- Name: contact_create_test_data(character varying); Type: PROCEDURE; Schema: hs_office; Owner: admin -- CREATE PROCEDURE hs_office.contact_create_test_data(IN contcaption character varying) @@ -1354,7 +1354,7 @@ end; '; ALTER PROCEDURE hs_office.contact_create_test_data(IN contcaption character varying) OWNER TO admin; -- --- Name: contact_create_test_data(integer, integer); Type: PROCEDURE; Schema: hs_office; Owner: test +-- Name: contact_create_test_data(integer, integer); Type: PROCEDURE; Schema: hs_office; Owner: admin -- CREATE PROCEDURE hs_office.contact_create_test_data(IN startcount integer, IN endcount integer) @@ -1372,7 +1372,7 @@ end; '; ALTER PROCEDURE hs_office.contact_create_test_data(IN startcount integer, IN endcount integer) OWNER TO admin; -- --- Name: contact_delete_legacy_id_mapping_tf(); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: contact_delete_legacy_id_mapping_tf(); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.contact_delete_legacy_id_mapping_tf() RETURNS trigger @@ -1393,7 +1393,7 @@ end; '; ALTER FUNCTION hs_office.contact_delete_legacy_id_mapping_tf() OWNER TO admin; -- --- Name: contact_guest(hs_office.contact, boolean); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: contact_guest(hs_office.contact, boolean); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.contact_guest(entity hs_office.contact, assumed boolean DEFAULT true) RETURNS rbac.roledescriptor @@ -1407,7 +1407,7 @@ CREATE FUNCTION hs_office.contact_guest(entity hs_office.contact, assumed boolea ALTER FUNCTION hs_office.contact_guest(entity hs_office.contact, assumed boolean) OWNER TO admin; -- --- Name: contact_id_name_by_uuid(uuid); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: contact_id_name_by_uuid(uuid); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.contact_id_name_by_uuid(givenuuid uuid) RETURNS character varying @@ -1420,7 +1420,7 @@ CREATE FUNCTION hs_office.contact_id_name_by_uuid(givenuuid uuid) RETURNS charac ALTER FUNCTION hs_office.contact_id_name_by_uuid(givenuuid uuid) OWNER TO admin; -- --- Name: contact_insert_legacy_id_mapping_tf(); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: contact_insert_legacy_id_mapping_tf(); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.contact_insert_legacy_id_mapping_tf() RETURNS trigger @@ -1441,7 +1441,7 @@ end; '; ALTER FUNCTION hs_office.contact_insert_legacy_id_mapping_tf() OWNER TO admin; -- --- Name: contact_instead_of_delete_tf(); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: contact_instead_of_delete_tf(); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.contact_instead_of_delete_tf() RETURNS trigger @@ -1459,7 +1459,7 @@ CREATE FUNCTION hs_office.contact_instead_of_delete_tf() RETURNS trigger ALTER FUNCTION hs_office.contact_instead_of_delete_tf() OWNER TO admin; -- --- Name: contact_instead_of_insert_tf(); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: contact_instead_of_insert_tf(); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.contact_instead_of_insert_tf() RETURNS trigger @@ -1479,7 +1479,7 @@ CREATE FUNCTION hs_office.contact_instead_of_insert_tf() RETURNS trigger ALTER FUNCTION hs_office.contact_instead_of_insert_tf() OWNER TO admin; -- --- Name: contact_instead_of_update_tf(); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: contact_instead_of_update_tf(); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.contact_instead_of_update_tf() RETURNS trigger @@ -1504,7 +1504,7 @@ CREATE FUNCTION hs_office.contact_instead_of_update_tf() RETURNS trigger ALTER FUNCTION hs_office.contact_instead_of_update_tf() OWNER TO admin; -- --- Name: contact_owner(hs_office.contact, boolean); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: contact_owner(hs_office.contact, boolean); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.contact_owner(entity hs_office.contact, assumed boolean DEFAULT true) RETURNS rbac.roledescriptor @@ -1518,7 +1518,7 @@ CREATE FUNCTION hs_office.contact_owner(entity hs_office.contact, assumed boolea ALTER FUNCTION hs_office.contact_owner(entity hs_office.contact, assumed boolean) OWNER TO admin; -- --- Name: contact_rebuild_rbac_system(); Type: PROCEDURE; Schema: hs_office; Owner: test +-- Name: contact_rebuild_rbac_system(); Type: PROCEDURE; Schema: hs_office; Owner: admin -- CREATE PROCEDURE hs_office.contact_rebuild_rbac_system() @@ -1552,7 +1552,7 @@ END; ALTER PROCEDURE hs_office.contact_rebuild_rbac_system() OWNER TO admin; -- --- Name: contact_referrer(hs_office.contact); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: contact_referrer(hs_office.contact); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.contact_referrer(entity hs_office.contact) RETURNS rbac.roledescriptor @@ -1566,7 +1566,7 @@ CREATE FUNCTION hs_office.contact_referrer(entity hs_office.contact) RETURNS rba ALTER FUNCTION hs_office.contact_referrer(entity hs_office.contact) OWNER TO admin; -- --- Name: contact_tenant(hs_office.contact, boolean); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: contact_tenant(hs_office.contact, boolean); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.contact_tenant(entity hs_office.contact, assumed boolean DEFAULT true) RETURNS rbac.roledescriptor @@ -1580,7 +1580,7 @@ CREATE FUNCTION hs_office.contact_tenant(entity hs_office.contact, assumed boole ALTER FUNCTION hs_office.contact_tenant(entity hs_office.contact, assumed boolean) OWNER TO admin; -- --- Name: contact_uuid_by_id_name(character varying); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: contact_uuid_by_id_name(character varying); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.contact_uuid_by_id_name(givenidname character varying) RETURNS uuid @@ -1597,7 +1597,7 @@ CREATE FUNCTION hs_office.contact_uuid_by_id_name(givenidname character varying) ALTER FUNCTION hs_office.contact_uuid_by_id_name(givenidname character varying) OWNER TO admin; -- --- Name: coopassetstx_check_positive_total(uuid, numeric); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: coopassetstx_check_positive_total(uuid, numeric); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.coopassetstx_check_positive_total(formembershipuuid uuid, newassetvalue numeric) RETURNS boolean @@ -1622,7 +1622,7 @@ end; '; ALTER FUNCTION hs_office.coopassetstx_check_positive_total(formembershipuuid uuid, newassetvalue numeric) OWNER TO admin; -- --- Name: coopassettx; Type: TABLE; Schema: hs_office; Owner: test +-- Name: coopassettx; Type: TABLE; Schema: hs_office; Owner: admin -- CREATE TABLE hs_office.coopassettx ( @@ -1643,7 +1643,7 @@ CREATE TABLE hs_office.coopassettx ( ALTER TABLE hs_office.coopassettx OWNER TO admin; -- --- Name: coopassettx_admin(hs_office.coopassettx, boolean); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: coopassettx_admin(hs_office.coopassettx, boolean); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.coopassettx_admin(entity hs_office.coopassettx, assumed boolean DEFAULT true) RETURNS rbac.roledescriptor @@ -1657,7 +1657,7 @@ CREATE FUNCTION hs_office.coopassettx_admin(entity hs_office.coopassettx, assume ALTER FUNCTION hs_office.coopassettx_admin(entity hs_office.coopassettx, assumed boolean) OWNER TO admin; -- --- Name: coopassettx_agent(hs_office.coopassettx, boolean); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: coopassettx_agent(hs_office.coopassettx, boolean); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.coopassettx_agent(entity hs_office.coopassettx, assumed boolean DEFAULT true) RETURNS rbac.roledescriptor @@ -1671,7 +1671,7 @@ CREATE FUNCTION hs_office.coopassettx_agent(entity hs_office.coopassettx, assume ALTER FUNCTION hs_office.coopassettx_agent(entity hs_office.coopassettx, assumed boolean) OWNER TO admin; -- --- Name: coopassettx_build_rbac_system(hs_office.coopassettx); Type: PROCEDURE; Schema: hs_office; Owner: test +-- Name: coopassettx_build_rbac_system(hs_office.coopassettx); Type: PROCEDURE; Schema: hs_office; Owner: admin -- CREATE PROCEDURE hs_office.coopassettx_build_rbac_system(IN new hs_office.coopassettx) @@ -1697,7 +1697,7 @@ end; '; ALTER PROCEDURE hs_office.coopassettx_build_rbac_system(IN new hs_office.coopassettx) OWNER TO admin; -- --- Name: coopassettx_build_rbac_system_after_insert_tf(); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: coopassettx_build_rbac_system_after_insert_tf(); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.coopassettx_build_rbac_system_after_insert_tf() RETURNS trigger @@ -1712,7 +1712,7 @@ end; '; ALTER FUNCTION hs_office.coopassettx_build_rbac_system_after_insert_tf() OWNER TO admin; -- --- Name: coopassettx_create_test_data(numeric, character); Type: PROCEDURE; Schema: hs_office; Owner: test +-- Name: coopassettx_create_test_data(numeric, character); Type: PROCEDURE; Schema: hs_office; Owner: admin -- CREATE PROCEDURE hs_office.coopassettx_create_test_data(IN givenpartnernumber numeric, IN givenmembernumbersuffix character) @@ -1750,7 +1750,7 @@ end; '; ALTER PROCEDURE hs_office.coopassettx_create_test_data(IN givenpartnernumber numeric, IN givenmembernumbersuffix character) OWNER TO admin; -- --- Name: coopassettx_delete_legacy_id_mapping_tf(); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: coopassettx_delete_legacy_id_mapping_tf(); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.coopassettx_delete_legacy_id_mapping_tf() RETURNS trigger @@ -1771,7 +1771,7 @@ end; '; ALTER FUNCTION hs_office.coopassettx_delete_legacy_id_mapping_tf() OWNER TO admin; -- --- Name: coopassettx_grants_insert_to_membership_tf(); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: coopassettx_grants_insert_to_membership_tf(); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.coopassettx_grants_insert_to_membership_tf() RETURNS trigger @@ -1790,7 +1790,7 @@ end; '; ALTER FUNCTION hs_office.coopassettx_grants_insert_to_membership_tf() OWNER TO admin; -- --- Name: coopassettx_guest(hs_office.coopassettx, boolean); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: coopassettx_guest(hs_office.coopassettx, boolean); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.coopassettx_guest(entity hs_office.coopassettx, assumed boolean DEFAULT true) RETURNS rbac.roledescriptor @@ -1804,7 +1804,7 @@ CREATE FUNCTION hs_office.coopassettx_guest(entity hs_office.coopassettx, assume ALTER FUNCTION hs_office.coopassettx_guest(entity hs_office.coopassettx, assumed boolean) OWNER TO admin; -- --- Name: coopassettx_id_name_by_uuid(uuid); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: coopassettx_id_name_by_uuid(uuid); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.coopassettx_id_name_by_uuid(givenuuid uuid) RETURNS character varying @@ -1817,7 +1817,7 @@ CREATE FUNCTION hs_office.coopassettx_id_name_by_uuid(givenuuid uuid) RETURNS ch ALTER FUNCTION hs_office.coopassettx_id_name_by_uuid(givenuuid uuid) OWNER TO admin; -- --- Name: coopassettx_insert_legacy_id_mapping_tf(); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: coopassettx_insert_legacy_id_mapping_tf(); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.coopassettx_insert_legacy_id_mapping_tf() RETURNS trigger @@ -1838,7 +1838,7 @@ end; '; ALTER FUNCTION hs_office.coopassettx_insert_legacy_id_mapping_tf() OWNER TO admin; -- --- Name: coopassettx_insert_permission_check_tf(); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: coopassettx_insert_permission_check_tf(); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.coopassettx_insert_permission_check_tf() RETURNS trigger @@ -1860,7 +1860,7 @@ end; '; ALTER FUNCTION hs_office.coopassettx_insert_permission_check_tf() OWNER TO admin; -- --- Name: coopassettx_instead_of_delete_tf(); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: coopassettx_instead_of_delete_tf(); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.coopassettx_instead_of_delete_tf() RETURNS trigger @@ -1878,7 +1878,7 @@ CREATE FUNCTION hs_office.coopassettx_instead_of_delete_tf() RETURNS trigger ALTER FUNCTION hs_office.coopassettx_instead_of_delete_tf() OWNER TO admin; -- --- Name: coopassettx_instead_of_insert_tf(); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: coopassettx_instead_of_insert_tf(); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.coopassettx_instead_of_insert_tf() RETURNS trigger @@ -1898,7 +1898,7 @@ CREATE FUNCTION hs_office.coopassettx_instead_of_insert_tf() RETURNS trigger ALTER FUNCTION hs_office.coopassettx_instead_of_insert_tf() OWNER TO admin; -- --- Name: coopassettx_instead_of_update_tf(); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: coopassettx_instead_of_update_tf(); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.coopassettx_instead_of_update_tf() RETURNS trigger @@ -1920,7 +1920,7 @@ CREATE FUNCTION hs_office.coopassettx_instead_of_update_tf() RETURNS trigger ALTER FUNCTION hs_office.coopassettx_instead_of_update_tf() OWNER TO admin; -- --- Name: coopassettx_owner(hs_office.coopassettx, boolean); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: coopassettx_owner(hs_office.coopassettx, boolean); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.coopassettx_owner(entity hs_office.coopassettx, assumed boolean DEFAULT true) RETURNS rbac.roledescriptor @@ -1934,7 +1934,7 @@ CREATE FUNCTION hs_office.coopassettx_owner(entity hs_office.coopassettx, assume ALTER FUNCTION hs_office.coopassettx_owner(entity hs_office.coopassettx, assumed boolean) OWNER TO admin; -- --- Name: coopassettx_rebuild_rbac_system(); Type: PROCEDURE; Schema: hs_office; Owner: test +-- Name: coopassettx_rebuild_rbac_system(); Type: PROCEDURE; Schema: hs_office; Owner: admin -- CREATE PROCEDURE hs_office.coopassettx_rebuild_rbac_system() @@ -1968,7 +1968,7 @@ END; ALTER PROCEDURE hs_office.coopassettx_rebuild_rbac_system() OWNER TO admin; -- --- Name: coopassettx_referrer(hs_office.coopassettx); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: coopassettx_referrer(hs_office.coopassettx); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.coopassettx_referrer(entity hs_office.coopassettx) RETURNS rbac.roledescriptor @@ -1982,7 +1982,7 @@ CREATE FUNCTION hs_office.coopassettx_referrer(entity hs_office.coopassettx) RET ALTER FUNCTION hs_office.coopassettx_referrer(entity hs_office.coopassettx) OWNER TO admin; -- --- Name: coopassettx_tenant(hs_office.coopassettx, boolean); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: coopassettx_tenant(hs_office.coopassettx, boolean); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.coopassettx_tenant(entity hs_office.coopassettx, assumed boolean DEFAULT true) RETURNS rbac.roledescriptor @@ -1996,7 +1996,7 @@ CREATE FUNCTION hs_office.coopassettx_tenant(entity hs_office.coopassettx, assum ALTER FUNCTION hs_office.coopassettx_tenant(entity hs_office.coopassettx, assumed boolean) OWNER TO admin; -- --- Name: coopassettx_uuid_by_id_name(character varying); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: coopassettx_uuid_by_id_name(character varying); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.coopassettx_uuid_by_id_name(givenidname character varying) RETURNS uuid @@ -2013,7 +2013,7 @@ CREATE FUNCTION hs_office.coopassettx_uuid_by_id_name(givenidname character vary ALTER FUNCTION hs_office.coopassettx_uuid_by_id_name(givenidname character varying) OWNER TO admin; -- --- Name: coopsharestx_check_positive_total(uuid, integer); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: coopsharestx_check_positive_total(uuid, integer); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.coopsharestx_check_positive_total(formembershipuuid uuid, newsharecount integer) RETURNS boolean @@ -2038,7 +2038,7 @@ end; '; ALTER FUNCTION hs_office.coopsharestx_check_positive_total(formembershipuuid uuid, newsharecount integer) OWNER TO admin; -- --- Name: coopsharetx; Type: TABLE; Schema: hs_office; Owner: test +-- Name: coopsharetx; Type: TABLE; Schema: hs_office; Owner: admin -- CREATE TABLE hs_office.coopsharetx ( @@ -2059,7 +2059,7 @@ CREATE TABLE hs_office.coopsharetx ( ALTER TABLE hs_office.coopsharetx OWNER TO admin; -- --- Name: coopsharetx_admin(hs_office.coopsharetx, boolean); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: coopsharetx_admin(hs_office.coopsharetx, boolean); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.coopsharetx_admin(entity hs_office.coopsharetx, assumed boolean DEFAULT true) RETURNS rbac.roledescriptor @@ -2073,7 +2073,7 @@ CREATE FUNCTION hs_office.coopsharetx_admin(entity hs_office.coopsharetx, assume ALTER FUNCTION hs_office.coopsharetx_admin(entity hs_office.coopsharetx, assumed boolean) OWNER TO admin; -- --- Name: coopsharetx_agent(hs_office.coopsharetx, boolean); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: coopsharetx_agent(hs_office.coopsharetx, boolean); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.coopsharetx_agent(entity hs_office.coopsharetx, assumed boolean DEFAULT true) RETURNS rbac.roledescriptor @@ -2087,7 +2087,7 @@ CREATE FUNCTION hs_office.coopsharetx_agent(entity hs_office.coopsharetx, assume ALTER FUNCTION hs_office.coopsharetx_agent(entity hs_office.coopsharetx, assumed boolean) OWNER TO admin; -- --- Name: coopsharetx_build_rbac_system(hs_office.coopsharetx); Type: PROCEDURE; Schema: hs_office; Owner: test +-- Name: coopsharetx_build_rbac_system(hs_office.coopsharetx); Type: PROCEDURE; Schema: hs_office; Owner: admin -- CREATE PROCEDURE hs_office.coopsharetx_build_rbac_system(IN new hs_office.coopsharetx) @@ -2113,7 +2113,7 @@ end; '; ALTER PROCEDURE hs_office.coopsharetx_build_rbac_system(IN new hs_office.coopsharetx) OWNER TO admin; -- --- Name: coopsharetx_build_rbac_system_after_insert_tf(); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: coopsharetx_build_rbac_system_after_insert_tf(); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.coopsharetx_build_rbac_system_after_insert_tf() RETURNS trigger @@ -2128,7 +2128,7 @@ end; '; ALTER FUNCTION hs_office.coopsharetx_build_rbac_system_after_insert_tf() OWNER TO admin; -- --- Name: coopsharetx_create_test_data(numeric, character); Type: PROCEDURE; Schema: hs_office; Owner: test +-- Name: coopsharetx_create_test_data(numeric, character); Type: PROCEDURE; Schema: hs_office; Owner: admin -- CREATE PROCEDURE hs_office.coopsharetx_create_test_data(IN givenpartnernumber numeric, IN givenmembernumbersuffix character) @@ -2160,7 +2160,7 @@ end; '; ALTER PROCEDURE hs_office.coopsharetx_create_test_data(IN givenpartnernumber numeric, IN givenmembernumbersuffix character) OWNER TO admin; -- --- Name: coopsharetx_delete_legacy_id_mapping_tf(); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: coopsharetx_delete_legacy_id_mapping_tf(); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.coopsharetx_delete_legacy_id_mapping_tf() RETURNS trigger @@ -2181,7 +2181,7 @@ end; '; ALTER FUNCTION hs_office.coopsharetx_delete_legacy_id_mapping_tf() OWNER TO admin; -- --- Name: coopsharetx_grants_insert_to_membership_tf(); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: coopsharetx_grants_insert_to_membership_tf(); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.coopsharetx_grants_insert_to_membership_tf() RETURNS trigger @@ -2200,7 +2200,7 @@ end; '; ALTER FUNCTION hs_office.coopsharetx_grants_insert_to_membership_tf() OWNER TO admin; -- --- Name: coopsharetx_guest(hs_office.coopsharetx, boolean); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: coopsharetx_guest(hs_office.coopsharetx, boolean); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.coopsharetx_guest(entity hs_office.coopsharetx, assumed boolean DEFAULT true) RETURNS rbac.roledescriptor @@ -2214,7 +2214,7 @@ CREATE FUNCTION hs_office.coopsharetx_guest(entity hs_office.coopsharetx, assume ALTER FUNCTION hs_office.coopsharetx_guest(entity hs_office.coopsharetx, assumed boolean) OWNER TO admin; -- --- Name: coopsharetx_id_name_by_uuid(uuid); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: coopsharetx_id_name_by_uuid(uuid); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.coopsharetx_id_name_by_uuid(givenuuid uuid) RETURNS character varying @@ -2227,7 +2227,7 @@ CREATE FUNCTION hs_office.coopsharetx_id_name_by_uuid(givenuuid uuid) RETURNS ch ALTER FUNCTION hs_office.coopsharetx_id_name_by_uuid(givenuuid uuid) OWNER TO admin; -- --- Name: coopsharetx_insert_legacy_id_mapping_tf(); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: coopsharetx_insert_legacy_id_mapping_tf(); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.coopsharetx_insert_legacy_id_mapping_tf() RETURNS trigger @@ -2248,7 +2248,7 @@ end; '; ALTER FUNCTION hs_office.coopsharetx_insert_legacy_id_mapping_tf() OWNER TO admin; -- --- Name: coopsharetx_insert_permission_check_tf(); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: coopsharetx_insert_permission_check_tf(); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.coopsharetx_insert_permission_check_tf() RETURNS trigger @@ -2270,7 +2270,7 @@ end; '; ALTER FUNCTION hs_office.coopsharetx_insert_permission_check_tf() OWNER TO admin; -- --- Name: coopsharetx_instead_of_delete_tf(); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: coopsharetx_instead_of_delete_tf(); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.coopsharetx_instead_of_delete_tf() RETURNS trigger @@ -2288,7 +2288,7 @@ CREATE FUNCTION hs_office.coopsharetx_instead_of_delete_tf() RETURNS trigger ALTER FUNCTION hs_office.coopsharetx_instead_of_delete_tf() OWNER TO admin; -- --- Name: coopsharetx_instead_of_insert_tf(); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: coopsharetx_instead_of_insert_tf(); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.coopsharetx_instead_of_insert_tf() RETURNS trigger @@ -2308,7 +2308,7 @@ CREATE FUNCTION hs_office.coopsharetx_instead_of_insert_tf() RETURNS trigger ALTER FUNCTION hs_office.coopsharetx_instead_of_insert_tf() OWNER TO admin; -- --- Name: coopsharetx_instead_of_update_tf(); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: coopsharetx_instead_of_update_tf(); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.coopsharetx_instead_of_update_tf() RETURNS trigger @@ -2330,7 +2330,7 @@ CREATE FUNCTION hs_office.coopsharetx_instead_of_update_tf() RETURNS trigger ALTER FUNCTION hs_office.coopsharetx_instead_of_update_tf() OWNER TO admin; -- --- Name: coopsharetx_owner(hs_office.coopsharetx, boolean); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: coopsharetx_owner(hs_office.coopsharetx, boolean); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.coopsharetx_owner(entity hs_office.coopsharetx, assumed boolean DEFAULT true) RETURNS rbac.roledescriptor @@ -2344,7 +2344,7 @@ CREATE FUNCTION hs_office.coopsharetx_owner(entity hs_office.coopsharetx, assume ALTER FUNCTION hs_office.coopsharetx_owner(entity hs_office.coopsharetx, assumed boolean) OWNER TO admin; -- --- Name: coopsharetx_rebuild_rbac_system(); Type: PROCEDURE; Schema: hs_office; Owner: test +-- Name: coopsharetx_rebuild_rbac_system(); Type: PROCEDURE; Schema: hs_office; Owner: admin -- CREATE PROCEDURE hs_office.coopsharetx_rebuild_rbac_system() @@ -2378,7 +2378,7 @@ END; ALTER PROCEDURE hs_office.coopsharetx_rebuild_rbac_system() OWNER TO admin; -- --- Name: coopsharetx_referrer(hs_office.coopsharetx); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: coopsharetx_referrer(hs_office.coopsharetx); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.coopsharetx_referrer(entity hs_office.coopsharetx) RETURNS rbac.roledescriptor @@ -2392,7 +2392,7 @@ CREATE FUNCTION hs_office.coopsharetx_referrer(entity hs_office.coopsharetx) RET ALTER FUNCTION hs_office.coopsharetx_referrer(entity hs_office.coopsharetx) OWNER TO admin; -- --- Name: coopsharetx_tenant(hs_office.coopsharetx, boolean); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: coopsharetx_tenant(hs_office.coopsharetx, boolean); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.coopsharetx_tenant(entity hs_office.coopsharetx, assumed boolean DEFAULT true) RETURNS rbac.roledescriptor @@ -2406,7 +2406,7 @@ CREATE FUNCTION hs_office.coopsharetx_tenant(entity hs_office.coopsharetx, assum ALTER FUNCTION hs_office.coopsharetx_tenant(entity hs_office.coopsharetx, assumed boolean) OWNER TO admin; -- --- Name: coopsharetx_uuid_by_id_name(character varying); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: coopsharetx_uuid_by_id_name(character varying); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.coopsharetx_uuid_by_id_name(givenidname character varying) RETURNS uuid @@ -2423,7 +2423,7 @@ CREATE FUNCTION hs_office.coopsharetx_uuid_by_id_name(givenidname character vary ALTER FUNCTION hs_office.coopsharetx_uuid_by_id_name(givenidname character varying) OWNER TO admin; -- --- Name: debitor; Type: TABLE; Schema: hs_office; Owner: test +-- Name: debitor; Type: TABLE; Schema: hs_office; Owner: admin -- CREATE TABLE hs_office.debitor ( @@ -2446,7 +2446,7 @@ CREATE TABLE hs_office.debitor ( ALTER TABLE hs_office.debitor OWNER TO admin; -- --- Name: debitor_admin(hs_office.debitor, boolean); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: debitor_admin(hs_office.debitor, boolean); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.debitor_admin(entity hs_office.debitor, assumed boolean DEFAULT true) RETURNS rbac.roledescriptor @@ -2460,7 +2460,7 @@ CREATE FUNCTION hs_office.debitor_admin(entity hs_office.debitor, assumed boolea ALTER FUNCTION hs_office.debitor_admin(entity hs_office.debitor, assumed boolean) OWNER TO admin; -- --- Name: debitor_agent(hs_office.debitor, boolean); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: debitor_agent(hs_office.debitor, boolean); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.debitor_agent(entity hs_office.debitor, assumed boolean DEFAULT true) RETURNS rbac.roledescriptor @@ -2474,7 +2474,7 @@ CREATE FUNCTION hs_office.debitor_agent(entity hs_office.debitor, assumed boolea ALTER FUNCTION hs_office.debitor_agent(entity hs_office.debitor, assumed boolean) OWNER TO admin; -- --- Name: debitor_build_rbac_system(hs_office.debitor); Type: PROCEDURE; Schema: hs_office; Owner: test +-- Name: debitor_build_rbac_system(hs_office.debitor); Type: PROCEDURE; Schema: hs_office; Owner: admin -- CREATE PROCEDURE hs_office.debitor_build_rbac_system(IN new hs_office.debitor) @@ -2520,7 +2520,7 @@ end; '; ALTER PROCEDURE hs_office.debitor_build_rbac_system(IN new hs_office.debitor) OWNER TO admin; -- --- Name: debitor_build_rbac_system_after_insert_tf(); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: debitor_build_rbac_system_after_insert_tf(); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.debitor_build_rbac_system_after_insert_tf() RETURNS trigger @@ -2535,7 +2535,7 @@ end; '; ALTER FUNCTION hs_office.debitor_build_rbac_system_after_insert_tf() OWNER TO admin; -- --- Name: debitor_create_test_data(numeric, character varying, character varying, character varying); Type: PROCEDURE; Schema: hs_office; Owner: test +-- Name: debitor_create_test_data(numeric, character varying, character varying, character varying); Type: PROCEDURE; Schema: hs_office; Owner: admin -- CREATE PROCEDURE hs_office.debitor_create_test_data(IN withdebitornumbersuffix numeric, IN forpartnerpersonname character varying, IN forbillingcontactcaption character varying, IN withdefaultprefix character varying) @@ -2572,7 +2572,7 @@ 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 admin; -- --- Name: debitor_delete_dependents_tf(); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: debitor_delete_dependents_tf(); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.debitor_delete_dependents_tf() RETURNS trigger @@ -2594,7 +2594,7 @@ end; '; ALTER FUNCTION hs_office.debitor_delete_dependents_tf() OWNER TO admin; -- --- Name: debitor_grants_insert_to_global_tf(); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: debitor_grants_insert_to_global_tf(); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.debitor_grants_insert_to_global_tf() RETURNS trigger @@ -2613,7 +2613,7 @@ end; '; ALTER FUNCTION hs_office.debitor_grants_insert_to_global_tf() OWNER TO admin; -- --- Name: debitor_guest(hs_office.debitor, boolean); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: debitor_guest(hs_office.debitor, boolean); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.debitor_guest(entity hs_office.debitor, assumed boolean DEFAULT true) RETURNS rbac.roledescriptor @@ -2627,7 +2627,7 @@ CREATE FUNCTION hs_office.debitor_guest(entity hs_office.debitor, assumed boolea ALTER FUNCTION hs_office.debitor_guest(entity hs_office.debitor, assumed boolean) OWNER TO admin; -- --- Name: debitor_id_name_by_uuid(uuid); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: debitor_id_name_by_uuid(uuid); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.debitor_id_name_by_uuid(givenuuid uuid) RETURNS character varying @@ -2640,7 +2640,7 @@ CREATE FUNCTION hs_office.debitor_id_name_by_uuid(givenuuid uuid) RETURNS charac ALTER FUNCTION hs_office.debitor_id_name_by_uuid(givenuuid uuid) OWNER TO admin; -- --- Name: debitor_insert_permission_check_tf(); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: debitor_insert_permission_check_tf(); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.debitor_insert_permission_check_tf() RETURNS trigger @@ -2662,7 +2662,7 @@ end; '; ALTER FUNCTION hs_office.debitor_insert_permission_check_tf() OWNER TO admin; -- --- Name: debitor_instead_of_delete_tf(); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: debitor_instead_of_delete_tf(); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.debitor_instead_of_delete_tf() RETURNS trigger @@ -2680,7 +2680,7 @@ CREATE FUNCTION hs_office.debitor_instead_of_delete_tf() RETURNS trigger ALTER FUNCTION hs_office.debitor_instead_of_delete_tf() OWNER TO admin; -- --- Name: debitor_instead_of_insert_tf(); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: debitor_instead_of_insert_tf(); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.debitor_instead_of_insert_tf() RETURNS trigger @@ -2700,7 +2700,7 @@ CREATE FUNCTION hs_office.debitor_instead_of_insert_tf() RETURNS trigger ALTER FUNCTION hs_office.debitor_instead_of_insert_tf() OWNER TO admin; -- --- Name: debitor_instead_of_update_tf(); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: debitor_instead_of_update_tf(); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.debitor_instead_of_update_tf() RETURNS trigger @@ -2729,7 +2729,7 @@ CREATE FUNCTION hs_office.debitor_instead_of_update_tf() RETURNS trigger ALTER FUNCTION hs_office.debitor_instead_of_update_tf() OWNER TO admin; -- --- Name: debitor_owner(hs_office.debitor, boolean); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: debitor_owner(hs_office.debitor, boolean); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.debitor_owner(entity hs_office.debitor, assumed boolean DEFAULT true) RETURNS rbac.roledescriptor @@ -2743,7 +2743,7 @@ CREATE FUNCTION hs_office.debitor_owner(entity hs_office.debitor, assumed boolea ALTER FUNCTION hs_office.debitor_owner(entity hs_office.debitor, assumed boolean) OWNER TO admin; -- --- Name: debitor_rebuild_rbac_system(); Type: PROCEDURE; Schema: hs_office; Owner: test +-- Name: debitor_rebuild_rbac_system(); Type: PROCEDURE; Schema: hs_office; Owner: admin -- CREATE PROCEDURE hs_office.debitor_rebuild_rbac_system() @@ -2777,7 +2777,7 @@ END; ALTER PROCEDURE hs_office.debitor_rebuild_rbac_system() OWNER TO admin; -- --- Name: debitor_referrer(hs_office.debitor); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: debitor_referrer(hs_office.debitor); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.debitor_referrer(entity hs_office.debitor) RETURNS rbac.roledescriptor @@ -2791,7 +2791,7 @@ CREATE FUNCTION hs_office.debitor_referrer(entity hs_office.debitor) RETURNS rba ALTER FUNCTION hs_office.debitor_referrer(entity hs_office.debitor) OWNER TO admin; -- --- Name: debitor_tenant(hs_office.debitor, boolean); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: debitor_tenant(hs_office.debitor, boolean); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.debitor_tenant(entity hs_office.debitor, assumed boolean DEFAULT true) RETURNS rbac.roledescriptor @@ -2805,7 +2805,7 @@ CREATE FUNCTION hs_office.debitor_tenant(entity hs_office.debitor, assumed boole ALTER FUNCTION hs_office.debitor_tenant(entity hs_office.debitor, assumed boolean) OWNER TO admin; -- --- Name: debitor_update_rbac_system(hs_office.debitor, hs_office.debitor); Type: PROCEDURE; Schema: hs_office; Owner: test +-- Name: debitor_update_rbac_system(hs_office.debitor, hs_office.debitor); Type: PROCEDURE; Schema: hs_office; Owner: admin -- CREATE PROCEDURE hs_office.debitor_update_rbac_system(IN old hs_office.debitor, IN new hs_office.debitor) @@ -2824,7 +2824,7 @@ end; '; ALTER PROCEDURE hs_office.debitor_update_rbac_system(IN old hs_office.debitor, IN new hs_office.debitor) OWNER TO admin; -- --- Name: debitor_update_rbac_system_after_update_tf(); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: debitor_update_rbac_system_after_update_tf(); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.debitor_update_rbac_system_after_update_tf() RETURNS trigger @@ -2839,7 +2839,7 @@ end; '; ALTER FUNCTION hs_office.debitor_update_rbac_system_after_update_tf() OWNER TO admin; -- --- Name: debitor_uuid_by_id_name(character varying); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: debitor_uuid_by_id_name(character varying); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.debitor_uuid_by_id_name(givenidname character varying) RETURNS uuid @@ -2856,7 +2856,7 @@ CREATE FUNCTION hs_office.debitor_uuid_by_id_name(givenidname character varying) ALTER FUNCTION hs_office.debitor_uuid_by_id_name(givenidname character varying) OWNER TO admin; -- --- Name: membership; Type: TABLE; Schema: hs_office; Owner: test +-- Name: membership; Type: TABLE; Schema: hs_office; Owner: admin -- CREATE TABLE hs_office.membership ( @@ -2874,7 +2874,7 @@ CREATE TABLE hs_office.membership ( ALTER TABLE hs_office.membership OWNER TO admin; -- --- Name: membership_admin(hs_office.membership, boolean); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: membership_admin(hs_office.membership, boolean); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.membership_admin(entity hs_office.membership, assumed boolean DEFAULT true) RETURNS rbac.roledescriptor @@ -2888,7 +2888,7 @@ CREATE FUNCTION hs_office.membership_admin(entity hs_office.membership, assumed ALTER FUNCTION hs_office.membership_admin(entity hs_office.membership, assumed boolean) OWNER TO admin; -- --- Name: membership_agent(hs_office.membership, boolean); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: membership_agent(hs_office.membership, boolean); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.membership_agent(entity hs_office.membership, assumed boolean DEFAULT true) RETURNS rbac.roledescriptor @@ -2902,7 +2902,7 @@ CREATE FUNCTION hs_office.membership_agent(entity hs_office.membership, assumed ALTER FUNCTION hs_office.membership_agent(entity hs_office.membership, assumed boolean) OWNER TO admin; -- --- Name: membership_build_rbac_system(hs_office.membership); Type: PROCEDURE; Schema: hs_office; Owner: test +-- Name: membership_build_rbac_system(hs_office.membership); Type: PROCEDURE; Schema: hs_office; Owner: admin -- CREATE PROCEDURE hs_office.membership_build_rbac_system(IN new hs_office.membership) @@ -2952,7 +2952,7 @@ end; '; ALTER PROCEDURE hs_office.membership_build_rbac_system(IN new hs_office.membership) OWNER TO admin; -- --- Name: membership_build_rbac_system_after_insert_tf(); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: membership_build_rbac_system_after_insert_tf(); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.membership_build_rbac_system_after_insert_tf() RETURNS trigger @@ -2967,7 +2967,7 @@ end; '; ALTER FUNCTION hs_office.membership_build_rbac_system_after_insert_tf() OWNER TO admin; -- --- Name: membership_create_test_data(numeric, character); Type: PROCEDURE; Schema: hs_office; Owner: test +-- Name: membership_create_test_data(numeric, character); Type: PROCEDURE; Schema: hs_office; Owner: admin -- CREATE PROCEDURE hs_office.membership_create_test_data(IN forpartnernumber numeric, IN newmembernumbersuffix character) @@ -2990,7 +2990,7 @@ end; '; ALTER PROCEDURE hs_office.membership_create_test_data(IN forpartnernumber numeric, IN newmembernumbersuffix character) OWNER TO admin; -- --- Name: membership_grants_insert_to_global_tf(); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: membership_grants_insert_to_global_tf(); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.membership_grants_insert_to_global_tf() RETURNS trigger @@ -3009,7 +3009,7 @@ end; '; ALTER FUNCTION hs_office.membership_grants_insert_to_global_tf() OWNER TO admin; -- --- Name: membership_guest(hs_office.membership, boolean); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: membership_guest(hs_office.membership, boolean); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.membership_guest(entity hs_office.membership, assumed boolean DEFAULT true) RETURNS rbac.roledescriptor @@ -3023,7 +3023,7 @@ CREATE FUNCTION hs_office.membership_guest(entity hs_office.membership, assumed ALTER FUNCTION hs_office.membership_guest(entity hs_office.membership, assumed boolean) OWNER TO admin; -- --- Name: membership_id_name_by_uuid(uuid); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: membership_id_name_by_uuid(uuid); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.membership_id_name_by_uuid(givenuuid uuid) RETURNS character varying @@ -3036,7 +3036,7 @@ CREATE FUNCTION hs_office.membership_id_name_by_uuid(givenuuid uuid) RETURNS cha ALTER FUNCTION hs_office.membership_id_name_by_uuid(givenuuid uuid) OWNER TO admin; -- --- Name: membership_insert_permission_check_tf(); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: membership_insert_permission_check_tf(); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.membership_insert_permission_check_tf() RETURNS trigger @@ -3058,7 +3058,7 @@ end; '; ALTER FUNCTION hs_office.membership_insert_permission_check_tf() OWNER TO admin; -- --- Name: membership_instead_of_delete_tf(); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: membership_instead_of_delete_tf(); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.membership_instead_of_delete_tf() RETURNS trigger @@ -3076,7 +3076,7 @@ CREATE FUNCTION hs_office.membership_instead_of_delete_tf() RETURNS trigger ALTER FUNCTION hs_office.membership_instead_of_delete_tf() OWNER TO admin; -- --- Name: membership_instead_of_insert_tf(); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: membership_instead_of_insert_tf(); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.membership_instead_of_insert_tf() RETURNS trigger @@ -3096,7 +3096,7 @@ CREATE FUNCTION hs_office.membership_instead_of_insert_tf() RETURNS trigger ALTER FUNCTION hs_office.membership_instead_of_insert_tf() OWNER TO admin; -- --- Name: membership_instead_of_update_tf(); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: membership_instead_of_update_tf(); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.membership_instead_of_update_tf() RETURNS trigger @@ -3120,7 +3120,7 @@ CREATE FUNCTION hs_office.membership_instead_of_update_tf() RETURNS trigger ALTER FUNCTION hs_office.membership_instead_of_update_tf() OWNER TO admin; -- --- Name: membership_owner(hs_office.membership, boolean); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: membership_owner(hs_office.membership, boolean); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.membership_owner(entity hs_office.membership, assumed boolean DEFAULT true) RETURNS rbac.roledescriptor @@ -3134,7 +3134,7 @@ CREATE FUNCTION hs_office.membership_owner(entity hs_office.membership, assumed ALTER FUNCTION hs_office.membership_owner(entity hs_office.membership, assumed boolean) OWNER TO admin; -- --- Name: membership_rebuild_rbac_system(); Type: PROCEDURE; Schema: hs_office; Owner: test +-- Name: membership_rebuild_rbac_system(); Type: PROCEDURE; Schema: hs_office; Owner: admin -- CREATE PROCEDURE hs_office.membership_rebuild_rbac_system() @@ -3168,7 +3168,7 @@ END; ALTER PROCEDURE hs_office.membership_rebuild_rbac_system() OWNER TO admin; -- --- Name: membership_referrer(hs_office.membership); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: membership_referrer(hs_office.membership); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.membership_referrer(entity hs_office.membership) RETURNS rbac.roledescriptor @@ -3182,7 +3182,7 @@ CREATE FUNCTION hs_office.membership_referrer(entity hs_office.membership) RETUR ALTER FUNCTION hs_office.membership_referrer(entity hs_office.membership) OWNER TO admin; -- --- Name: membership_tenant(hs_office.membership, boolean); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: membership_tenant(hs_office.membership, boolean); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.membership_tenant(entity hs_office.membership, assumed boolean DEFAULT true) RETURNS rbac.roledescriptor @@ -3196,7 +3196,7 @@ CREATE FUNCTION hs_office.membership_tenant(entity hs_office.membership, assumed ALTER FUNCTION hs_office.membership_tenant(entity hs_office.membership, assumed boolean) OWNER TO admin; -- --- Name: membership_uuid_by_id_name(character varying); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: membership_uuid_by_id_name(character varying); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.membership_uuid_by_id_name(givenidname character varying) RETURNS uuid @@ -3213,7 +3213,7 @@ CREATE FUNCTION hs_office.membership_uuid_by_id_name(givenidname character varyi ALTER FUNCTION hs_office.membership_uuid_by_id_name(givenidname character varying) OWNER TO admin; -- --- Name: partner; Type: TABLE; Schema: hs_office; Owner: test +-- Name: partner; Type: TABLE; Schema: hs_office; Owner: admin -- CREATE TABLE hs_office.partner ( @@ -3228,7 +3228,7 @@ CREATE TABLE hs_office.partner ( ALTER TABLE hs_office.partner OWNER TO admin; -- --- Name: partner_admin(hs_office.partner, boolean); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: partner_admin(hs_office.partner, boolean); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.partner_admin(entity hs_office.partner, assumed boolean DEFAULT true) RETURNS rbac.roledescriptor @@ -3242,7 +3242,7 @@ CREATE FUNCTION hs_office.partner_admin(entity hs_office.partner, assumed boolea ALTER FUNCTION hs_office.partner_admin(entity hs_office.partner, assumed boolean) OWNER TO admin; -- --- Name: partner_agent(hs_office.partner, boolean); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: partner_agent(hs_office.partner, boolean); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.partner_agent(entity hs_office.partner, assumed boolean DEFAULT true) RETURNS rbac.roledescriptor @@ -3256,7 +3256,7 @@ CREATE FUNCTION hs_office.partner_agent(entity hs_office.partner, assumed boolea ALTER FUNCTION hs_office.partner_agent(entity hs_office.partner, assumed boolean) OWNER TO admin; -- --- Name: partner_build_rbac_system(hs_office.partner); Type: PROCEDURE; Schema: hs_office; Owner: test +-- Name: partner_build_rbac_system(hs_office.partner); Type: PROCEDURE; Schema: hs_office; Owner: admin -- CREATE PROCEDURE hs_office.partner_build_rbac_system(IN new hs_office.partner) @@ -3290,7 +3290,7 @@ end; '; ALTER PROCEDURE hs_office.partner_build_rbac_system(IN new hs_office.partner) OWNER TO admin; -- --- Name: partner_build_rbac_system_after_insert_tf(); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: partner_build_rbac_system_after_insert_tf(); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.partner_build_rbac_system_after_insert_tf() RETURNS trigger @@ -3305,7 +3305,7 @@ end; '; ALTER FUNCTION hs_office.partner_build_rbac_system_after_insert_tf() OWNER TO admin; -- --- Name: partner_create_test_data(character varying, numeric, character varying, character varying); Type: PROCEDURE; Schema: hs_office; Owner: test +-- Name: partner_create_test_data(character varying, numeric, character varying, character varying); Type: PROCEDURE; Schema: hs_office; Owner: admin -- CREATE PROCEDURE hs_office.partner_create_test_data(IN mandanttradename character varying, IN newpartnernumber numeric, IN partnerpersonname character varying, IN contactcaption character varying) @@ -3364,7 +3364,7 @@ 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 admin; -- --- Name: partner_delete_dependents_tf(); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: partner_delete_dependents_tf(); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.partner_delete_dependents_tf() RETURNS trigger @@ -3392,7 +3392,7 @@ end; '; ALTER FUNCTION hs_office.partner_delete_dependents_tf() OWNER TO admin; -- --- Name: partner_delete_legacy_id_mapping_tf(); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: partner_delete_legacy_id_mapping_tf(); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.partner_delete_legacy_id_mapping_tf() RETURNS trigger @@ -3413,7 +3413,7 @@ end; '; ALTER FUNCTION hs_office.partner_delete_legacy_id_mapping_tf() OWNER TO admin; -- --- Name: partner_details; Type: TABLE; Schema: hs_office; Owner: test +-- Name: partner_details; Type: TABLE; Schema: hs_office; Owner: admin -- CREATE TABLE hs_office.partner_details ( @@ -3431,7 +3431,7 @@ CREATE TABLE hs_office.partner_details ( ALTER TABLE hs_office.partner_details OWNER TO admin; -- --- Name: partner_details_admin(hs_office.partner_details, boolean); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: partner_details_admin(hs_office.partner_details, boolean); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.partner_details_admin(entity hs_office.partner_details, assumed boolean DEFAULT true) RETURNS rbac.roledescriptor @@ -3445,7 +3445,7 @@ CREATE FUNCTION hs_office.partner_details_admin(entity hs_office.partner_details ALTER FUNCTION hs_office.partner_details_admin(entity hs_office.partner_details, assumed boolean) OWNER TO admin; -- --- Name: partner_details_agent(hs_office.partner_details, boolean); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: partner_details_agent(hs_office.partner_details, boolean); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.partner_details_agent(entity hs_office.partner_details, assumed boolean DEFAULT true) RETURNS rbac.roledescriptor @@ -3459,7 +3459,7 @@ CREATE FUNCTION hs_office.partner_details_agent(entity hs_office.partner_details ALTER FUNCTION hs_office.partner_details_agent(entity hs_office.partner_details, assumed boolean) OWNER TO admin; -- --- Name: partner_details_build_rbac_system(hs_office.partner_details); Type: PROCEDURE; Schema: hs_office; Owner: test +-- Name: partner_details_build_rbac_system(hs_office.partner_details); Type: PROCEDURE; Schema: hs_office; Owner: admin -- CREATE PROCEDURE hs_office.partner_details_build_rbac_system(IN new hs_office.partner_details) @@ -3478,7 +3478,7 @@ end; '; ALTER PROCEDURE hs_office.partner_details_build_rbac_system(IN new hs_office.partner_details) OWNER TO admin; -- --- Name: partner_details_build_rbac_system_after_insert_tf(); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: partner_details_build_rbac_system_after_insert_tf(); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.partner_details_build_rbac_system_after_insert_tf() RETURNS trigger @@ -3493,7 +3493,7 @@ end; '; ALTER FUNCTION hs_office.partner_details_build_rbac_system_after_insert_tf() OWNER TO admin; -- --- Name: partner_details_grants_insert_to_global_tf(); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: partner_details_grants_insert_to_global_tf(); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.partner_details_grants_insert_to_global_tf() RETURNS trigger @@ -3512,7 +3512,7 @@ end; '; ALTER FUNCTION hs_office.partner_details_grants_insert_to_global_tf() OWNER TO admin; -- --- Name: partner_details_guest(hs_office.partner_details, boolean); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: partner_details_guest(hs_office.partner_details, boolean); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.partner_details_guest(entity hs_office.partner_details, assumed boolean DEFAULT true) RETURNS rbac.roledescriptor @@ -3526,7 +3526,7 @@ CREATE FUNCTION hs_office.partner_details_guest(entity hs_office.partner_details ALTER FUNCTION hs_office.partner_details_guest(entity hs_office.partner_details, assumed boolean) OWNER TO admin; -- --- Name: partner_details_id_name_by_uuid(uuid); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: partner_details_id_name_by_uuid(uuid); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.partner_details_id_name_by_uuid(givenuuid uuid) RETURNS character varying @@ -3539,7 +3539,7 @@ CREATE FUNCTION hs_office.partner_details_id_name_by_uuid(givenuuid uuid) RETURN ALTER FUNCTION hs_office.partner_details_id_name_by_uuid(givenuuid uuid) OWNER TO admin; -- --- Name: partner_details_insert_permission_check_tf(); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: partner_details_insert_permission_check_tf(); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.partner_details_insert_permission_check_tf() RETURNS trigger @@ -3561,7 +3561,7 @@ end; '; ALTER FUNCTION hs_office.partner_details_insert_permission_check_tf() OWNER TO admin; -- --- Name: partner_details_instead_of_delete_tf(); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: partner_details_instead_of_delete_tf(); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.partner_details_instead_of_delete_tf() RETURNS trigger @@ -3579,7 +3579,7 @@ CREATE FUNCTION hs_office.partner_details_instead_of_delete_tf() RETURNS trigger ALTER FUNCTION hs_office.partner_details_instead_of_delete_tf() OWNER TO admin; -- --- Name: partner_details_instead_of_insert_tf(); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: partner_details_instead_of_insert_tf(); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.partner_details_instead_of_insert_tf() RETURNS trigger @@ -3599,7 +3599,7 @@ CREATE FUNCTION hs_office.partner_details_instead_of_insert_tf() RETURNS trigger ALTER FUNCTION hs_office.partner_details_instead_of_insert_tf() OWNER TO admin; -- --- Name: partner_details_instead_of_update_tf(); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: partner_details_instead_of_update_tf(); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.partner_details_instead_of_update_tf() RETURNS trigger @@ -3626,7 +3626,7 @@ CREATE FUNCTION hs_office.partner_details_instead_of_update_tf() RETURNS trigger ALTER FUNCTION hs_office.partner_details_instead_of_update_tf() OWNER TO admin; -- --- Name: partner_details_owner(hs_office.partner_details, boolean); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: partner_details_owner(hs_office.partner_details, boolean); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.partner_details_owner(entity hs_office.partner_details, assumed boolean DEFAULT true) RETURNS rbac.roledescriptor @@ -3640,7 +3640,7 @@ CREATE FUNCTION hs_office.partner_details_owner(entity hs_office.partner_details ALTER FUNCTION hs_office.partner_details_owner(entity hs_office.partner_details, assumed boolean) OWNER TO admin; -- --- Name: partner_details_rebuild_rbac_system(); Type: PROCEDURE; Schema: hs_office; Owner: test +-- Name: partner_details_rebuild_rbac_system(); Type: PROCEDURE; Schema: hs_office; Owner: admin -- CREATE PROCEDURE hs_office.partner_details_rebuild_rbac_system() @@ -3674,7 +3674,7 @@ END; ALTER PROCEDURE hs_office.partner_details_rebuild_rbac_system() OWNER TO admin; -- --- Name: partner_details_referrer(hs_office.partner_details); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: partner_details_referrer(hs_office.partner_details); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.partner_details_referrer(entity hs_office.partner_details) RETURNS rbac.roledescriptor @@ -3688,7 +3688,7 @@ CREATE FUNCTION hs_office.partner_details_referrer(entity hs_office.partner_deta ALTER FUNCTION hs_office.partner_details_referrer(entity hs_office.partner_details) OWNER TO admin; -- --- Name: partner_details_tenant(hs_office.partner_details, boolean); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: partner_details_tenant(hs_office.partner_details, boolean); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.partner_details_tenant(entity hs_office.partner_details, assumed boolean DEFAULT true) RETURNS rbac.roledescriptor @@ -3702,7 +3702,7 @@ CREATE FUNCTION hs_office.partner_details_tenant(entity hs_office.partner_detail ALTER FUNCTION hs_office.partner_details_tenant(entity hs_office.partner_details, assumed boolean) OWNER TO admin; -- --- Name: partner_details_uuid_by_id_name(character varying); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: partner_details_uuid_by_id_name(character varying); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.partner_details_uuid_by_id_name(givenidname character varying) RETURNS uuid @@ -3719,7 +3719,7 @@ CREATE FUNCTION hs_office.partner_details_uuid_by_id_name(givenidname character ALTER FUNCTION hs_office.partner_details_uuid_by_id_name(givenidname character varying) OWNER TO admin; -- --- Name: partner_grants_insert_to_global_tf(); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: partner_grants_insert_to_global_tf(); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.partner_grants_insert_to_global_tf() RETURNS trigger @@ -3738,7 +3738,7 @@ end; '; ALTER FUNCTION hs_office.partner_grants_insert_to_global_tf() OWNER TO admin; -- --- Name: partner_guest(hs_office.partner, boolean); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: partner_guest(hs_office.partner, boolean); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.partner_guest(entity hs_office.partner, assumed boolean DEFAULT true) RETURNS rbac.roledescriptor @@ -3752,7 +3752,7 @@ CREATE FUNCTION hs_office.partner_guest(entity hs_office.partner, assumed boolea ALTER FUNCTION hs_office.partner_guest(entity hs_office.partner, assumed boolean) OWNER TO admin; -- --- Name: partner_id_name_by_uuid(uuid); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: partner_id_name_by_uuid(uuid); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.partner_id_name_by_uuid(givenuuid uuid) RETURNS character varying @@ -3765,7 +3765,7 @@ CREATE FUNCTION hs_office.partner_id_name_by_uuid(givenuuid uuid) RETURNS charac ALTER FUNCTION hs_office.partner_id_name_by_uuid(givenuuid uuid) OWNER TO admin; -- --- Name: partner_insert_legacy_id_mapping_tf(); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: partner_insert_legacy_id_mapping_tf(); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.partner_insert_legacy_id_mapping_tf() RETURNS trigger @@ -3786,7 +3786,7 @@ end; '; ALTER FUNCTION hs_office.partner_insert_legacy_id_mapping_tf() OWNER TO admin; -- --- Name: partner_insert_permission_check_tf(); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: partner_insert_permission_check_tf(); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.partner_insert_permission_check_tf() RETURNS trigger @@ -3808,7 +3808,7 @@ end; '; ALTER FUNCTION hs_office.partner_insert_permission_check_tf() OWNER TO admin; -- --- Name: partner_instead_of_delete_tf(); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: partner_instead_of_delete_tf(); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.partner_instead_of_delete_tf() RETURNS trigger @@ -3826,7 +3826,7 @@ CREATE FUNCTION hs_office.partner_instead_of_delete_tf() RETURNS trigger ALTER FUNCTION hs_office.partner_instead_of_delete_tf() OWNER TO admin; -- --- Name: partner_instead_of_insert_tf(); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: partner_instead_of_insert_tf(); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.partner_instead_of_insert_tf() RETURNS trigger @@ -3846,7 +3846,7 @@ CREATE FUNCTION hs_office.partner_instead_of_insert_tf() RETURNS trigger ALTER FUNCTION hs_office.partner_instead_of_insert_tf() OWNER TO admin; -- --- Name: partner_instead_of_update_tf(); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: partner_instead_of_update_tf(); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.partner_instead_of_update_tf() RETURNS trigger @@ -3868,7 +3868,7 @@ CREATE FUNCTION hs_office.partner_instead_of_update_tf() RETURNS trigger ALTER FUNCTION hs_office.partner_instead_of_update_tf() OWNER TO admin; -- --- Name: partner_owner(hs_office.partner, boolean); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: partner_owner(hs_office.partner, boolean); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.partner_owner(entity hs_office.partner, assumed boolean DEFAULT true) RETURNS rbac.roledescriptor @@ -3882,7 +3882,7 @@ CREATE FUNCTION hs_office.partner_owner(entity hs_office.partner, assumed boolea ALTER FUNCTION hs_office.partner_owner(entity hs_office.partner, assumed boolean) OWNER TO admin; -- --- Name: partner_rebuild_rbac_system(); Type: PROCEDURE; Schema: hs_office; Owner: test +-- Name: partner_rebuild_rbac_system(); Type: PROCEDURE; Schema: hs_office; Owner: admin -- CREATE PROCEDURE hs_office.partner_rebuild_rbac_system() @@ -3916,7 +3916,7 @@ END; ALTER PROCEDURE hs_office.partner_rebuild_rbac_system() OWNER TO admin; -- --- Name: partner_referrer(hs_office.partner); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: partner_referrer(hs_office.partner); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.partner_referrer(entity hs_office.partner) RETURNS rbac.roledescriptor @@ -3930,7 +3930,7 @@ CREATE FUNCTION hs_office.partner_referrer(entity hs_office.partner) RETURNS rba ALTER FUNCTION hs_office.partner_referrer(entity hs_office.partner) OWNER TO admin; -- --- Name: partner_tenant(hs_office.partner, boolean); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: partner_tenant(hs_office.partner, boolean); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.partner_tenant(entity hs_office.partner, assumed boolean DEFAULT true) RETURNS rbac.roledescriptor @@ -3944,7 +3944,7 @@ CREATE FUNCTION hs_office.partner_tenant(entity hs_office.partner, assumed boole ALTER FUNCTION hs_office.partner_tenant(entity hs_office.partner, assumed boolean) OWNER TO admin; -- --- Name: partner_update_rbac_system(hs_office.partner, hs_office.partner); Type: PROCEDURE; Schema: hs_office; Owner: test +-- Name: partner_update_rbac_system(hs_office.partner, hs_office.partner); Type: PROCEDURE; Schema: hs_office; Owner: admin -- CREATE PROCEDURE hs_office.partner_update_rbac_system(IN old hs_office.partner, IN new hs_office.partner) @@ -4002,7 +4002,7 @@ end; '; ALTER PROCEDURE hs_office.partner_update_rbac_system(IN old hs_office.partner, IN new hs_office.partner) OWNER TO admin; -- --- Name: partner_update_rbac_system_after_update_tf(); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: partner_update_rbac_system_after_update_tf(); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.partner_update_rbac_system_after_update_tf() RETURNS trigger @@ -4017,7 +4017,7 @@ end; '; ALTER FUNCTION hs_office.partner_update_rbac_system_after_update_tf() OWNER TO admin; -- --- Name: partner_uuid_by_id_name(character varying); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: partner_uuid_by_id_name(character varying); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.partner_uuid_by_id_name(givenidname character varying) RETURNS uuid @@ -4034,7 +4034,7 @@ CREATE FUNCTION hs_office.partner_uuid_by_id_name(givenidname character varying) ALTER FUNCTION hs_office.partner_uuid_by_id_name(givenidname character varying) OWNER TO admin; -- --- Name: person; Type: TABLE; Schema: hs_office; Owner: test +-- Name: person; Type: TABLE; Schema: hs_office; Owner: admin -- CREATE TABLE hs_office.person ( @@ -4052,7 +4052,7 @@ CREATE TABLE hs_office.person ( ALTER TABLE hs_office.person OWNER TO admin; -- --- Name: person_admin(hs_office.person, boolean); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: person_admin(hs_office.person, boolean); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.person_admin(entity hs_office.person, assumed boolean DEFAULT true) RETURNS rbac.roledescriptor @@ -4066,7 +4066,7 @@ CREATE FUNCTION hs_office.person_admin(entity hs_office.person, assumed boolean ALTER FUNCTION hs_office.person_admin(entity hs_office.person, assumed boolean) OWNER TO admin; -- --- Name: person_agent(hs_office.person, boolean); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: person_agent(hs_office.person, boolean); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.person_agent(entity hs_office.person, assumed boolean DEFAULT true) RETURNS rbac.roledescriptor @@ -4080,7 +4080,7 @@ CREATE FUNCTION hs_office.person_agent(entity hs_office.person, assumed boolean ALTER FUNCTION hs_office.person_agent(entity hs_office.person, assumed boolean) OWNER TO admin; -- --- Name: person_build_rbac_system(hs_office.person); Type: PROCEDURE; Schema: hs_office; Owner: test +-- Name: person_build_rbac_system(hs_office.person); Type: PROCEDURE; Schema: hs_office; Owner: admin -- CREATE PROCEDURE hs_office.person_build_rbac_system(IN new hs_office.person) @@ -4118,7 +4118,7 @@ end; '; ALTER PROCEDURE hs_office.person_build_rbac_system(IN new hs_office.person) OWNER TO admin; -- --- Name: person_build_rbac_system_after_insert_tf(); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: person_build_rbac_system_after_insert_tf(); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.person_build_rbac_system_after_insert_tf() RETURNS trigger @@ -4133,7 +4133,7 @@ end; '; ALTER FUNCTION hs_office.person_build_rbac_system_after_insert_tf() OWNER TO admin; -- --- Name: person_create_test_data(hs_office.persontype, character varying, character varying, character varying); Type: PROCEDURE; Schema: hs_office; Owner: test +-- Name: person_create_test_data(hs_office.persontype, character varying, character varying, character varying); Type: PROCEDURE; Schema: hs_office; Owner: admin -- 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) @@ -4159,7 +4159,7 @@ 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 admin; -- --- Name: person_guest(hs_office.person, boolean); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: person_guest(hs_office.person, boolean); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.person_guest(entity hs_office.person, assumed boolean DEFAULT true) RETURNS rbac.roledescriptor @@ -4173,7 +4173,7 @@ CREATE FUNCTION hs_office.person_guest(entity hs_office.person, assumed boolean ALTER FUNCTION hs_office.person_guest(entity hs_office.person, assumed boolean) OWNER TO admin; -- --- Name: person_id_name_by_uuid(uuid); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: person_id_name_by_uuid(uuid); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.person_id_name_by_uuid(givenuuid uuid) RETURNS character varying @@ -4186,7 +4186,7 @@ CREATE FUNCTION hs_office.person_id_name_by_uuid(givenuuid uuid) RETURNS charact ALTER FUNCTION hs_office.person_id_name_by_uuid(givenuuid uuid) OWNER TO admin; -- --- Name: person_instead_of_delete_tf(); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: person_instead_of_delete_tf(); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.person_instead_of_delete_tf() RETURNS trigger @@ -4204,7 +4204,7 @@ CREATE FUNCTION hs_office.person_instead_of_delete_tf() RETURNS trigger ALTER FUNCTION hs_office.person_instead_of_delete_tf() OWNER TO admin; -- --- Name: person_instead_of_insert_tf(); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: person_instead_of_insert_tf(); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.person_instead_of_insert_tf() RETURNS trigger @@ -4224,7 +4224,7 @@ CREATE FUNCTION hs_office.person_instead_of_insert_tf() RETURNS trigger ALTER FUNCTION hs_office.person_instead_of_insert_tf() OWNER TO admin; -- --- Name: person_instead_of_update_tf(); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: person_instead_of_update_tf(); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.person_instead_of_update_tf() RETURNS trigger @@ -4251,7 +4251,7 @@ CREATE FUNCTION hs_office.person_instead_of_update_tf() RETURNS trigger ALTER FUNCTION hs_office.person_instead_of_update_tf() OWNER TO admin; -- --- Name: person_owner(hs_office.person, boolean); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: person_owner(hs_office.person, boolean); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.person_owner(entity hs_office.person, assumed boolean DEFAULT true) RETURNS rbac.roledescriptor @@ -4265,7 +4265,7 @@ CREATE FUNCTION hs_office.person_owner(entity hs_office.person, assumed boolean ALTER FUNCTION hs_office.person_owner(entity hs_office.person, assumed boolean) OWNER TO admin; -- --- Name: person_rebuild_rbac_system(); Type: PROCEDURE; Schema: hs_office; Owner: test +-- Name: person_rebuild_rbac_system(); Type: PROCEDURE; Schema: hs_office; Owner: admin -- CREATE PROCEDURE hs_office.person_rebuild_rbac_system() @@ -4299,7 +4299,7 @@ END; ALTER PROCEDURE hs_office.person_rebuild_rbac_system() OWNER TO admin; -- --- Name: person_referrer(hs_office.person); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: person_referrer(hs_office.person); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.person_referrer(entity hs_office.person) RETURNS rbac.roledescriptor @@ -4313,7 +4313,7 @@ CREATE FUNCTION hs_office.person_referrer(entity hs_office.person) RETURNS rbac. ALTER FUNCTION hs_office.person_referrer(entity hs_office.person) OWNER TO admin; -- --- Name: person_tenant(hs_office.person, boolean); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: person_tenant(hs_office.person, boolean); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.person_tenant(entity hs_office.person, assumed boolean DEFAULT true) RETURNS rbac.roledescriptor @@ -4327,7 +4327,7 @@ CREATE FUNCTION hs_office.person_tenant(entity hs_office.person, assumed boolean ALTER FUNCTION hs_office.person_tenant(entity hs_office.person, assumed boolean) OWNER TO admin; -- --- Name: person_uuid_by_id_name(character varying); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: person_uuid_by_id_name(character varying); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.person_uuid_by_id_name(givenidname character varying) RETURNS uuid @@ -4344,7 +4344,7 @@ CREATE FUNCTION hs_office.person_uuid_by_id_name(givenidname character varying) ALTER FUNCTION hs_office.person_uuid_by_id_name(givenidname character varying) OWNER TO admin; -- --- Name: relation; Type: TABLE; Schema: hs_office; Owner: test +-- Name: relation; Type: TABLE; Schema: hs_office; Owner: admin -- CREATE TABLE hs_office.relation ( @@ -4361,7 +4361,7 @@ CREATE TABLE hs_office.relation ( ALTER TABLE hs_office.relation OWNER TO admin; -- --- Name: relation_admin(hs_office.relation, boolean); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: relation_admin(hs_office.relation, boolean); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.relation_admin(entity hs_office.relation, assumed boolean DEFAULT true) RETURNS rbac.roledescriptor @@ -4375,7 +4375,7 @@ CREATE FUNCTION hs_office.relation_admin(entity hs_office.relation, assumed bool ALTER FUNCTION hs_office.relation_admin(entity hs_office.relation, assumed boolean) OWNER TO admin; -- --- Name: relation_agent(hs_office.relation, boolean); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: relation_agent(hs_office.relation, boolean); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.relation_agent(entity hs_office.relation, assumed boolean DEFAULT true) RETURNS rbac.roledescriptor @@ -4389,7 +4389,7 @@ CREATE FUNCTION hs_office.relation_agent(entity hs_office.relation, assumed bool ALTER FUNCTION hs_office.relation_agent(entity hs_office.relation, assumed boolean) OWNER TO admin; -- --- Name: relation_build_rbac_system(hs_office.relation); Type: PROCEDURE; Schema: hs_office; Owner: test +-- Name: relation_build_rbac_system(hs_office.relation); Type: PROCEDURE; Schema: hs_office; Owner: admin -- CREATE PROCEDURE hs_office.relation_build_rbac_system(IN new hs_office.relation) @@ -4460,7 +4460,7 @@ end; '; ALTER PROCEDURE hs_office.relation_build_rbac_system(IN new hs_office.relation) OWNER TO admin; -- --- Name: relation_build_rbac_system_after_insert_tf(); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: relation_build_rbac_system_after_insert_tf(); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.relation_build_rbac_system_after_insert_tf() RETURNS trigger @@ -4475,7 +4475,7 @@ end; '; ALTER FUNCTION hs_office.relation_build_rbac_system_after_insert_tf() OWNER TO admin; -- --- Name: relation_create_test_data(integer, integer); Type: PROCEDURE; Schema: hs_office; Owner: test +-- Name: relation_create_test_data(integer, integer); Type: PROCEDURE; Schema: hs_office; Owner: admin -- CREATE PROCEDURE hs_office.relation_create_test_data(IN startcount integer, IN endcount integer) @@ -4499,7 +4499,7 @@ end; '; ALTER PROCEDURE hs_office.relation_create_test_data(IN startcount integer, IN endcount integer) OWNER TO admin; -- --- Name: relation_create_test_data(character varying, hs_office.relationtype, character varying, character varying, character varying); Type: PROCEDURE; Schema: hs_office; Owner: test +-- Name: relation_create_test_data(character varying, hs_office.relationtype, character varying, character varying, character varying); Type: PROCEDURE; Schema: hs_office; Owner: admin -- 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) @@ -4548,7 +4548,7 @@ 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 admin; -- --- Name: relation_grants_insert_to_person_tf(); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: relation_grants_insert_to_person_tf(); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.relation_grants_insert_to_person_tf() RETURNS trigger @@ -4567,7 +4567,7 @@ end; '; ALTER FUNCTION hs_office.relation_grants_insert_to_person_tf() OWNER TO admin; -- --- Name: relation_guest(hs_office.relation, boolean); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: relation_guest(hs_office.relation, boolean); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.relation_guest(entity hs_office.relation, assumed boolean DEFAULT true) RETURNS rbac.roledescriptor @@ -4581,7 +4581,7 @@ CREATE FUNCTION hs_office.relation_guest(entity hs_office.relation, assumed bool ALTER FUNCTION hs_office.relation_guest(entity hs_office.relation, assumed boolean) OWNER TO admin; -- --- Name: relation_id_name_by_uuid(uuid); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: relation_id_name_by_uuid(uuid); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.relation_id_name_by_uuid(givenuuid uuid) RETURNS character varying @@ -4594,7 +4594,7 @@ CREATE FUNCTION hs_office.relation_id_name_by_uuid(givenuuid uuid) RETURNS chara ALTER FUNCTION hs_office.relation_id_name_by_uuid(givenuuid uuid) OWNER TO admin; -- --- Name: relation_insert_permission_check_tf(); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: relation_insert_permission_check_tf(); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.relation_insert_permission_check_tf() RETURNS trigger @@ -4616,7 +4616,7 @@ end; '; ALTER FUNCTION hs_office.relation_insert_permission_check_tf() OWNER TO admin; -- --- Name: relation_instead_of_delete_tf(); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: relation_instead_of_delete_tf(); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.relation_instead_of_delete_tf() RETURNS trigger @@ -4634,7 +4634,7 @@ CREATE FUNCTION hs_office.relation_instead_of_delete_tf() RETURNS trigger ALTER FUNCTION hs_office.relation_instead_of_delete_tf() OWNER TO admin; -- --- Name: relation_instead_of_insert_tf(); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: relation_instead_of_insert_tf(); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.relation_instead_of_insert_tf() RETURNS trigger @@ -4654,7 +4654,7 @@ CREATE FUNCTION hs_office.relation_instead_of_insert_tf() RETURNS trigger ALTER FUNCTION hs_office.relation_instead_of_insert_tf() OWNER TO admin; -- --- Name: relation_instead_of_update_tf(); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: relation_instead_of_update_tf(); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.relation_instead_of_update_tf() RETURNS trigger @@ -4676,7 +4676,7 @@ CREATE FUNCTION hs_office.relation_instead_of_update_tf() RETURNS trigger ALTER FUNCTION hs_office.relation_instead_of_update_tf() OWNER TO admin; -- --- Name: relation_owner(hs_office.relation, boolean); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: relation_owner(hs_office.relation, boolean); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.relation_owner(entity hs_office.relation, assumed boolean DEFAULT true) RETURNS rbac.roledescriptor @@ -4690,7 +4690,7 @@ CREATE FUNCTION hs_office.relation_owner(entity hs_office.relation, assumed bool ALTER FUNCTION hs_office.relation_owner(entity hs_office.relation, assumed boolean) OWNER TO admin; -- --- Name: relation_rebuild_rbac_system(); Type: PROCEDURE; Schema: hs_office; Owner: test +-- Name: relation_rebuild_rbac_system(); Type: PROCEDURE; Schema: hs_office; Owner: admin -- CREATE PROCEDURE hs_office.relation_rebuild_rbac_system() @@ -4724,7 +4724,7 @@ END; ALTER PROCEDURE hs_office.relation_rebuild_rbac_system() OWNER TO admin; -- --- Name: relation_referrer(hs_office.relation); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: relation_referrer(hs_office.relation); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.relation_referrer(entity hs_office.relation) RETURNS rbac.roledescriptor @@ -4738,7 +4738,7 @@ CREATE FUNCTION hs_office.relation_referrer(entity hs_office.relation) RETURNS r ALTER FUNCTION hs_office.relation_referrer(entity hs_office.relation) OWNER TO admin; -- --- Name: relation_tenant(hs_office.relation, boolean); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: relation_tenant(hs_office.relation, boolean); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.relation_tenant(entity hs_office.relation, assumed boolean DEFAULT true) RETURNS rbac.roledescriptor @@ -4752,7 +4752,7 @@ CREATE FUNCTION hs_office.relation_tenant(entity hs_office.relation, assumed boo ALTER FUNCTION hs_office.relation_tenant(entity hs_office.relation, assumed boolean) OWNER TO admin; -- --- Name: relation_update_rbac_system(hs_office.relation, hs_office.relation); Type: PROCEDURE; Schema: hs_office; Owner: test +-- Name: relation_update_rbac_system(hs_office.relation, hs_office.relation); Type: PROCEDURE; Schema: hs_office; Owner: admin -- CREATE PROCEDURE hs_office.relation_update_rbac_system(IN old hs_office.relation, IN new hs_office.relation) @@ -4770,7 +4770,7 @@ end; '; ALTER PROCEDURE hs_office.relation_update_rbac_system(IN old hs_office.relation, IN new hs_office.relation) OWNER TO admin; -- --- Name: relation_update_rbac_system_after_update_tf(); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: relation_update_rbac_system_after_update_tf(); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.relation_update_rbac_system_after_update_tf() RETURNS trigger @@ -4785,7 +4785,7 @@ end; '; ALTER FUNCTION hs_office.relation_update_rbac_system_after_update_tf() OWNER TO admin; -- --- Name: relation_uuid_by_id_name(character varying); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: relation_uuid_by_id_name(character varying); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.relation_uuid_by_id_name(givenidname character varying) RETURNS uuid @@ -4802,7 +4802,7 @@ CREATE FUNCTION hs_office.relation_uuid_by_id_name(givenidname character varying ALTER FUNCTION hs_office.relation_uuid_by_id_name(givenidname character varying) OWNER TO admin; -- --- Name: sepamandate; Type: TABLE; Schema: hs_office; Owner: test +-- Name: sepamandate; Type: TABLE; Schema: hs_office; Owner: admin -- CREATE TABLE hs_office.sepamandate ( @@ -4819,7 +4819,7 @@ CREATE TABLE hs_office.sepamandate ( ALTER TABLE hs_office.sepamandate OWNER TO admin; -- --- Name: sepamandate_admin(hs_office.sepamandate, boolean); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: sepamandate_admin(hs_office.sepamandate, boolean); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.sepamandate_admin(entity hs_office.sepamandate, assumed boolean DEFAULT true) RETURNS rbac.roledescriptor @@ -4833,7 +4833,7 @@ CREATE FUNCTION hs_office.sepamandate_admin(entity hs_office.sepamandate, assume ALTER FUNCTION hs_office.sepamandate_admin(entity hs_office.sepamandate, assumed boolean) OWNER TO admin; -- --- Name: sepamandate_agent(hs_office.sepamandate, boolean); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: sepamandate_agent(hs_office.sepamandate, boolean); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.sepamandate_agent(entity hs_office.sepamandate, assumed boolean DEFAULT true) RETURNS rbac.roledescriptor @@ -4847,7 +4847,7 @@ CREATE FUNCTION hs_office.sepamandate_agent(entity hs_office.sepamandate, assume ALTER FUNCTION hs_office.sepamandate_agent(entity hs_office.sepamandate, assumed boolean) OWNER TO admin; -- --- Name: sepamandate_build_rbac_system(hs_office.sepamandate); Type: PROCEDURE; Schema: hs_office; Owner: test +-- Name: sepamandate_build_rbac_system(hs_office.sepamandate); Type: PROCEDURE; Schema: hs_office; Owner: admin -- CREATE PROCEDURE hs_office.sepamandate_build_rbac_system(IN new hs_office.sepamandate) @@ -4910,7 +4910,7 @@ end; '; ALTER PROCEDURE hs_office.sepamandate_build_rbac_system(IN new hs_office.sepamandate) OWNER TO admin; -- --- Name: sepamandate_build_rbac_system_after_insert_tf(); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: sepamandate_build_rbac_system_after_insert_tf(); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.sepamandate_build_rbac_system_after_insert_tf() RETURNS trigger @@ -4925,7 +4925,7 @@ end; '; ALTER FUNCTION hs_office.sepamandate_build_rbac_system_after_insert_tf() OWNER TO admin; -- --- Name: sepamandate_create_test_data(numeric, character, character varying, character varying); Type: PROCEDURE; Schema: hs_office; Owner: test +-- Name: sepamandate_create_test_data(numeric, character, character varying, character varying); Type: PROCEDURE; Schema: hs_office; Owner: admin -- CREATE PROCEDURE hs_office.sepamandate_create_test_data(IN forpartnernumber numeric, IN fordebitorsuffix character, IN foriban character varying, IN withreference character varying) @@ -4956,7 +4956,7 @@ 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 admin; -- --- Name: sepamandate_delete_legacy_id_mapping_tf(); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: sepamandate_delete_legacy_id_mapping_tf(); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.sepamandate_delete_legacy_id_mapping_tf() RETURNS trigger @@ -4977,7 +4977,7 @@ end; '; ALTER FUNCTION hs_office.sepamandate_delete_legacy_id_mapping_tf() OWNER TO admin; -- --- Name: sepamandate_grants_insert_to_relation_tf(); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: sepamandate_grants_insert_to_relation_tf(); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.sepamandate_grants_insert_to_relation_tf() RETURNS trigger @@ -4996,7 +4996,7 @@ end; '; ALTER FUNCTION hs_office.sepamandate_grants_insert_to_relation_tf() OWNER TO admin; -- --- Name: sepamandate_guest(hs_office.sepamandate, boolean); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: sepamandate_guest(hs_office.sepamandate, boolean); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.sepamandate_guest(entity hs_office.sepamandate, assumed boolean DEFAULT true) RETURNS rbac.roledescriptor @@ -5010,7 +5010,7 @@ CREATE FUNCTION hs_office.sepamandate_guest(entity hs_office.sepamandate, assume ALTER FUNCTION hs_office.sepamandate_guest(entity hs_office.sepamandate, assumed boolean) OWNER TO admin; -- --- Name: sepamandate_id_name_by_uuid(uuid); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: sepamandate_id_name_by_uuid(uuid); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.sepamandate_id_name_by_uuid(givenuuid uuid) RETURNS character varying @@ -5023,7 +5023,7 @@ CREATE FUNCTION hs_office.sepamandate_id_name_by_uuid(givenuuid uuid) RETURNS ch ALTER FUNCTION hs_office.sepamandate_id_name_by_uuid(givenuuid uuid) OWNER TO admin; -- --- Name: sepamandate_insert_legacy_id_mapping_tf(); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: sepamandate_insert_legacy_id_mapping_tf(); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.sepamandate_insert_legacy_id_mapping_tf() RETURNS trigger @@ -5044,7 +5044,7 @@ end; '; ALTER FUNCTION hs_office.sepamandate_insert_legacy_id_mapping_tf() OWNER TO admin; -- --- Name: sepamandate_insert_permission_check_tf(); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: sepamandate_insert_permission_check_tf(); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.sepamandate_insert_permission_check_tf() RETURNS trigger @@ -5072,7 +5072,7 @@ end; '; ALTER FUNCTION hs_office.sepamandate_insert_permission_check_tf() OWNER TO admin; -- --- Name: sepamandate_instead_of_delete_tf(); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: sepamandate_instead_of_delete_tf(); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.sepamandate_instead_of_delete_tf() RETURNS trigger @@ -5090,7 +5090,7 @@ CREATE FUNCTION hs_office.sepamandate_instead_of_delete_tf() RETURNS trigger ALTER FUNCTION hs_office.sepamandate_instead_of_delete_tf() OWNER TO admin; -- --- Name: sepamandate_instead_of_insert_tf(); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: sepamandate_instead_of_insert_tf(); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.sepamandate_instead_of_insert_tf() RETURNS trigger @@ -5110,7 +5110,7 @@ CREATE FUNCTION hs_office.sepamandate_instead_of_insert_tf() RETURNS trigger ALTER FUNCTION hs_office.sepamandate_instead_of_insert_tf() OWNER TO admin; -- --- Name: sepamandate_instead_of_update_tf(); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: sepamandate_instead_of_update_tf(); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.sepamandate_instead_of_update_tf() RETURNS trigger @@ -5134,7 +5134,7 @@ CREATE FUNCTION hs_office.sepamandate_instead_of_update_tf() RETURNS trigger ALTER FUNCTION hs_office.sepamandate_instead_of_update_tf() OWNER TO admin; -- --- Name: sepamandate_owner(hs_office.sepamandate, boolean); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: sepamandate_owner(hs_office.sepamandate, boolean); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.sepamandate_owner(entity hs_office.sepamandate, assumed boolean DEFAULT true) RETURNS rbac.roledescriptor @@ -5148,7 +5148,7 @@ CREATE FUNCTION hs_office.sepamandate_owner(entity hs_office.sepamandate, assume ALTER FUNCTION hs_office.sepamandate_owner(entity hs_office.sepamandate, assumed boolean) OWNER TO admin; -- --- Name: sepamandate_rebuild_rbac_system(); Type: PROCEDURE; Schema: hs_office; Owner: test +-- Name: sepamandate_rebuild_rbac_system(); Type: PROCEDURE; Schema: hs_office; Owner: admin -- CREATE PROCEDURE hs_office.sepamandate_rebuild_rbac_system() @@ -5182,7 +5182,7 @@ END; ALTER PROCEDURE hs_office.sepamandate_rebuild_rbac_system() OWNER TO admin; -- --- Name: sepamandate_referrer(hs_office.sepamandate); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: sepamandate_referrer(hs_office.sepamandate); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.sepamandate_referrer(entity hs_office.sepamandate) RETURNS rbac.roledescriptor @@ -5196,7 +5196,7 @@ CREATE FUNCTION hs_office.sepamandate_referrer(entity hs_office.sepamandate) RET ALTER FUNCTION hs_office.sepamandate_referrer(entity hs_office.sepamandate) OWNER TO admin; -- --- Name: sepamandate_tenant(hs_office.sepamandate, boolean); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: sepamandate_tenant(hs_office.sepamandate, boolean); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.sepamandate_tenant(entity hs_office.sepamandate, assumed boolean DEFAULT true) RETURNS rbac.roledescriptor @@ -5210,7 +5210,7 @@ CREATE FUNCTION hs_office.sepamandate_tenant(entity hs_office.sepamandate, assum ALTER FUNCTION hs_office.sepamandate_tenant(entity hs_office.sepamandate, assumed boolean) OWNER TO admin; -- --- Name: sepamandate_uuid_by_id_name(character varying); Type: FUNCTION; Schema: hs_office; Owner: test +-- Name: sepamandate_uuid_by_id_name(character varying); Type: FUNCTION; Schema: hs_office; Owner: admin -- CREATE FUNCTION hs_office.sepamandate_uuid_by_id_name(givenidname character varying) RETURNS uuid @@ -5227,7 +5227,7 @@ CREATE FUNCTION hs_office.sepamandate_uuid_by_id_name(givenidname character vary ALTER FUNCTION hs_office.sepamandate_uuid_by_id_name(givenidname character varying) OWNER TO admin; -- --- Name: validate_transaction_type(); Type: FUNCTION; Schema: public; Owner: test +-- Name: validate_transaction_type(); Type: FUNCTION; Schema: public; Owner: admin -- CREATE FUNCTION public.validate_transaction_type() RETURNS trigger @@ -5262,7 +5262,7 @@ END; ALTER FUNCTION public.validate_transaction_type() OWNER TO admin; -- --- Name: assertreferencetype(character varying, uuid, rbac.referencetype); Type: FUNCTION; Schema: rbac; Owner: test +-- Name: assertreferencetype(character varying, uuid, rbac.referencetype); Type: FUNCTION; Schema: rbac; Owner: admin -- CREATE FUNCTION rbac.assertreferencetype(argument character varying, referenceid uuid, expectedtype rbac.referencetype) RETURNS rbac.referencetype @@ -5286,7 +5286,7 @@ end; '; ALTER FUNCTION rbac.assertreferencetype(argument character varying, referenceid uuid, expectedtype rbac.referencetype) OWNER TO admin; -- --- Name: assumed(); Type: FUNCTION; Schema: rbac; Owner: test +-- Name: assumed(); Type: FUNCTION; Schema: rbac; Owner: admin -- CREATE FUNCTION rbac.assumed() RETURNS boolean @@ -5299,7 +5299,7 @@ CREATE FUNCTION rbac.assumed() RETURNS boolean ALTER FUNCTION rbac.assumed() OWNER TO admin; -- --- Name: assumedroleuuid(); Type: FUNCTION; Schema: rbac; Owner: test +-- Name: assumedroleuuid(); Type: FUNCTION; Schema: rbac; Owner: admin -- CREATE FUNCTION rbac.assumedroleuuid() RETURNS uuid @@ -5321,7 +5321,7 @@ end; '; ALTER FUNCTION rbac.assumedroleuuid() OWNER TO admin; -- --- Name: checkrevokerolefromsubjectpreconditions(uuid, uuid, uuid); Type: PROCEDURE; Schema: rbac; Owner: test +-- Name: checkrevokerolefromsubjectpreconditions(uuid, uuid, uuid); Type: PROCEDURE; Schema: rbac; Owner: admin -- CREATE PROCEDURE rbac.checkrevokerolefromsubjectpreconditions(IN grantedbyroleuuid uuid, IN grantedroleuuid uuid, IN subjectuuid uuid) @@ -5354,7 +5354,7 @@ end; '; ALTER PROCEDURE rbac.checkrevokerolefromsubjectpreconditions(IN grantedbyroleuuid uuid, IN grantedroleuuid uuid, IN subjectuuid uuid) OWNER TO admin; -- --- Name: create_subject(character varying); Type: FUNCTION; Schema: rbac; Owner: test +-- Name: create_subject(character varying); Type: FUNCTION; Schema: rbac; Owner: admin -- CREATE FUNCTION rbac.create_subject(subjectname character varying) RETURNS uuid @@ -5378,7 +5378,7 @@ end; ALTER FUNCTION rbac.create_subject(subjectname character varying) OWNER TO admin; -- --- Name: create_subject(uuid, character varying); Type: FUNCTION; Schema: rbac; Owner: test +-- Name: create_subject(uuid, character varying); Type: FUNCTION; Schema: rbac; Owner: admin -- CREATE FUNCTION rbac.create_subject(refuuid uuid, subjectname character varying) RETURNS uuid @@ -5400,7 +5400,7 @@ end; ALTER FUNCTION rbac.create_subject(refuuid uuid, subjectname character varying) OWNER TO admin; -- --- Name: createpermission(uuid, rbac.rbacop, text); Type: FUNCTION; Schema: rbac; Owner: test +-- Name: createpermission(uuid, rbac.rbacop, text); Type: FUNCTION; Schema: rbac; Owner: admin -- CREATE FUNCTION rbac.createpermission(forobjectuuid uuid, forop rbac.rbacop, foroptablename text DEFAULT NULL::text) RETURNS uuid @@ -5443,7 +5443,7 @@ end; '; ALTER FUNCTION rbac.createpermission(forobjectuuid uuid, forop rbac.rbacop, foroptablename text) OWNER TO admin; -- --- Name: createrole(rbac.roledescriptor); Type: FUNCTION; Schema: rbac; Owner: test +-- Name: createrole(rbac.roledescriptor); Type: FUNCTION; Schema: rbac; Owner: admin -- CREATE FUNCTION rbac.createrole(roledescriptor rbac.roledescriptor) RETURNS uuid @@ -5467,7 +5467,7 @@ end; ALTER FUNCTION rbac.createrole(roledescriptor rbac.roledescriptor) OWNER TO admin; -- --- Name: currentsubjectorassumedrolesuuids(); Type: FUNCTION; Schema: rbac; Owner: test +-- Name: currentsubjectorassumedrolesuuids(); Type: FUNCTION; Schema: rbac; Owner: admin -- CREATE FUNCTION rbac.currentsubjectorassumedrolesuuids() RETURNS uuid[] @@ -5498,7 +5498,7 @@ end; '; ALTER FUNCTION rbac.currentsubjectorassumedrolesuuids() OWNER TO admin; -- --- Name: currentsubjectuuid(); Type: FUNCTION; Schema: rbac; Owner: test +-- Name: currentsubjectuuid(); Type: FUNCTION; Schema: rbac; Owner: admin -- CREATE FUNCTION rbac.currentsubjectuuid() RETURNS uuid @@ -5529,7 +5529,7 @@ end; '; ALTER FUNCTION rbac.currentsubjectuuid() OWNER TO admin; -- --- Name: currenttriggerobjectuuid(); Type: FUNCTION; Schema: rbac; Owner: test +-- Name: currenttriggerobjectuuid(); Type: FUNCTION; Schema: rbac; Owner: admin -- CREATE FUNCTION rbac.currenttriggerobjectuuid() RETURNS uuid @@ -5551,7 +5551,7 @@ end; '; ALTER FUNCTION rbac.currenttriggerobjectuuid() OWNER TO admin; -- --- Name: definerolewithgrants(rbac.roledescriptor, rbac.rbacop[], rbac.roledescriptor[], rbac.roledescriptor[], uuid[], rbac.roledescriptor); Type: FUNCTION; Schema: rbac; Owner: test +-- Name: definerolewithgrants(rbac.roledescriptor, rbac.rbacop[], rbac.roledescriptor[], rbac.roledescriptor[], uuid[], rbac.roledescriptor); Type: FUNCTION; Schema: rbac; Owner: admin -- 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 @@ -5608,7 +5608,7 @@ end; '; ALTER FUNCTION rbac.definerolewithgrants(roledescriptor rbac.roledescriptor, permissions rbac.rbacop[], incomingsuperroles rbac.roledescriptor[], outgoingsubroles rbac.roledescriptor[], subjectuuids uuid[], grantedbyrole rbac.roledescriptor) OWNER TO admin; -- --- Name: delete_grant_tf(); Type: FUNCTION; Schema: rbac; Owner: test +-- Name: delete_grant_tf(); Type: FUNCTION; Schema: rbac; Owner: admin -- CREATE FUNCTION rbac.delete_grant_tf() RETURNS trigger @@ -5623,7 +5623,7 @@ end; '; ALTER FUNCTION rbac.delete_grant_tf() OWNER TO admin; -- --- Name: delete_grants_of_role_tf(); Type: FUNCTION; Schema: rbac; Owner: test +-- Name: delete_grants_of_role_tf(); Type: FUNCTION; Schema: rbac; Owner: admin -- CREATE FUNCTION rbac.delete_grants_of_role_tf() RETURNS trigger @@ -5642,7 +5642,7 @@ end; '; ALTER FUNCTION rbac.delete_grants_of_role_tf() OWNER TO admin; -- --- Name: delete_related_rbac_rules_tf(); Type: FUNCTION; Schema: rbac; Owner: test +-- Name: delete_related_rbac_rules_tf(); Type: FUNCTION; Schema: rbac; Owner: admin -- CREATE FUNCTION rbac.delete_related_rbac_rules_tf() RETURNS trigger @@ -5661,7 +5661,7 @@ end; '; ALTER FUNCTION rbac.delete_related_rbac_rules_tf() OWNER TO admin; -- --- Name: delete_roles_of_object_tf(); Type: FUNCTION; Schema: rbac; Owner: test +-- Name: delete_roles_of_object_tf(); Type: FUNCTION; Schema: rbac; Owner: admin -- CREATE FUNCTION rbac.delete_roles_of_object_tf() RETURNS trigger @@ -5681,7 +5681,7 @@ end; '; ALTER FUNCTION rbac.delete_roles_of_object_tf() OWNER TO admin; -- --- Name: delete_subject_tf(); Type: FUNCTION; Schema: rbac; Owner: test +-- Name: delete_subject_tf(); Type: FUNCTION; Schema: rbac; Owner: admin -- CREATE FUNCTION rbac.delete_subject_tf() RETURNS trigger @@ -5699,7 +5699,7 @@ end; '; ALTER FUNCTION rbac.delete_subject_tf() OWNER TO admin; -- --- Name: deleterole(uuid); Type: PROCEDURE; Schema: rbac; Owner: test +-- Name: deleterole(uuid); Type: PROCEDURE; Schema: rbac; Owner: admin -- CREATE PROCEDURE rbac.deleterole(IN roleuuid uuid) @@ -5715,7 +5715,7 @@ end; ALTER PROCEDURE rbac.deleterole(IN roleuuid uuid) OWNER TO admin; -- --- Name: determinecurrentsubjectorassumedrolesuuids(uuid, text); Type: FUNCTION; Schema: rbac; Owner: test +-- Name: determinecurrentsubjectorassumedrolesuuids(uuid, text); Type: FUNCTION; Schema: rbac; Owner: admin -- CREATE FUNCTION rbac.determinecurrentsubjectorassumedrolesuuids(currentsubjectorassumedrolesuuids uuid, assumedroles text) RETURNS uuid[] @@ -5780,7 +5780,7 @@ end; '; ALTER FUNCTION rbac.determinecurrentsubjectorassumedrolesuuids(currentsubjectorassumedrolesuuids uuid, assumedroles text) OWNER TO admin; -- --- Name: determinecurrentsubjectuuid(character varying); Type: FUNCTION; Schema: rbac; Owner: test +-- Name: determinecurrentsubjectuuid(character varying); Type: FUNCTION; Schema: rbac; Owner: admin -- CREATE FUNCTION rbac.determinecurrentsubjectuuid(currentsubject character varying) RETURNS uuid @@ -5804,7 +5804,7 @@ end; '; ALTER FUNCTION rbac.determinecurrentsubjectuuid(currentsubject character varying) OWNER TO admin; -- --- Name: entertriggerforobjectuuid(uuid); Type: PROCEDURE; Schema: rbac; Owner: test +-- Name: entertriggerforobjectuuid(uuid); Type: PROCEDURE; Schema: rbac; Owner: admin -- CREATE PROCEDURE rbac.entertriggerforobjectuuid(IN currentobjectuuid uuid) @@ -5824,7 +5824,7 @@ end; '; ALTER PROCEDURE rbac.entertriggerforobjectuuid(IN currentobjectuuid uuid) OWNER TO admin; -- --- Name: find_subject_id(character varying); Type: FUNCTION; Schema: rbac; Owner: test +-- Name: find_subject_id(character varying); Type: FUNCTION; Schema: rbac; Owner: admin -- CREATE FUNCTION rbac.find_subject_id(subjectname character varying) RETURNS uuid @@ -5837,7 +5837,7 @@ select uuid from rbac.subject where name = subjectName ALTER FUNCTION rbac.find_subject_id(subjectname character varying) OWNER TO admin; -- --- Name: findeffectivepermissionid(uuid, rbac.rbacop, text); Type: FUNCTION; Schema: rbac; Owner: test +-- Name: findeffectivepermissionid(uuid, rbac.rbacop, text); Type: FUNCTION; Schema: rbac; Owner: admin -- CREATE FUNCTION rbac.findeffectivepermissionid(forobjectuuid uuid, forop rbac.rbacop, foroptablename text DEFAULT NULL::text) RETURNS uuid @@ -5854,7 +5854,7 @@ select uuid ALTER FUNCTION rbac.findeffectivepermissionid(forobjectuuid uuid, forop rbac.rbacop, foroptablename text) OWNER TO admin; -- --- Name: reference; Type: TABLE; Schema: rbac; Owner: test +-- Name: reference; Type: TABLE; Schema: rbac; Owner: admin -- CREATE TABLE rbac.reference ( @@ -5866,7 +5866,7 @@ CREATE TABLE rbac.reference ( ALTER TABLE rbac.reference OWNER TO admin; -- --- Name: findgrantees(uuid); Type: FUNCTION; Schema: rbac; Owner: test +-- Name: findgrantees(uuid); Type: FUNCTION; Schema: rbac; Owner: admin -- CREATE FUNCTION rbac.findgrantees(grantedid uuid) RETURNS SETOF rbac.reference @@ -5890,7 +5890,7 @@ select ref.* ALTER FUNCTION rbac.findgrantees(grantedid uuid) OWNER TO admin; -- --- Name: findidnamebyobjectuuid(character varying, uuid); Type: FUNCTION; Schema: rbac; Owner: test +-- Name: findidnamebyobjectuuid(character varying, uuid); Type: FUNCTION; Schema: rbac; Owner: admin -- CREATE FUNCTION rbac.findidnamebyobjectuuid(objecttable character varying, objectuuid uuid) RETURNS character varying @@ -5916,7 +5916,7 @@ end ; '; ALTER FUNCTION rbac.findidnamebyobjectuuid(objecttable character varying, objectuuid uuid) OWNER TO admin; -- --- Name: findobjectuuidbyidname(character varying, character varying); Type: FUNCTION; Schema: rbac; Owner: test +-- Name: findobjectuuidbyidname(character varying, character varying); Type: FUNCTION; Schema: rbac; Owner: admin -- CREATE FUNCTION rbac.findobjectuuidbyidname(objecttable character varying, objectidname character varying) RETURNS uuid @@ -5947,7 +5947,7 @@ end ; '; ALTER FUNCTION rbac.findobjectuuidbyidname(objecttable character varying, objectidname character varying) OWNER TO admin; -- --- Name: findpermissionid(uuid, rbac.rbacop, text); Type: FUNCTION; Schema: rbac; Owner: test +-- Name: findpermissionid(uuid, rbac.rbacop, text); Type: FUNCTION; Schema: rbac; Owner: admin -- CREATE FUNCTION rbac.findpermissionid(forobjectuuid uuid, forop rbac.rbacop, foroptablename text DEFAULT NULL::text) RETURNS uuid @@ -5964,7 +5964,7 @@ select uuid ALTER FUNCTION rbac.findpermissionid(forobjectuuid uuid, forop rbac.rbacop, foroptablename text) OWNER TO admin; -- --- Name: findroleid(character varying); Type: FUNCTION; Schema: rbac; Owner: test +-- Name: findroleid(character varying); Type: FUNCTION; Schema: rbac; Owner: admin -- CREATE FUNCTION rbac.findroleid(roleidname character varying) RETURNS uuid @@ -5997,7 +5997,7 @@ end; '; ALTER FUNCTION rbac.findroleid(roleidname character varying) OWNER TO admin; -- --- Name: findroleid(rbac.roledescriptor); Type: FUNCTION; Schema: rbac; Owner: test +-- Name: findroleid(rbac.roledescriptor); Type: FUNCTION; Schema: rbac; Owner: admin -- CREATE FUNCTION rbac.findroleid(roledescriptor rbac.roledescriptor) RETURNS uuid @@ -6010,7 +6010,7 @@ select uuid from rbac.role where objectUuid = roleDescriptor.objectUuid and role ALTER FUNCTION rbac.findroleid(roledescriptor rbac.roledescriptor) OWNER TO admin; -- --- Name: generaterbacidentityviewfromprojection(text, text); Type: PROCEDURE; Schema: rbac; Owner: test +-- Name: generaterbacidentityviewfromprojection(text, text); Type: PROCEDURE; Schema: rbac; Owner: admin -- CREATE PROCEDURE rbac.generaterbacidentityviewfromprojection(IN targettable text, IN sqlprojection text) @@ -6032,7 +6032,7 @@ end; '; ALTER PROCEDURE rbac.generaterbacidentityviewfromprojection(IN targettable text, IN sqlprojection text) OWNER TO admin; -- --- Name: generaterbacidentityviewfromquery(text, text); Type: PROCEDURE; Schema: rbac; Owner: test +-- Name: generaterbacidentityviewfromquery(text, text); Type: PROCEDURE; Schema: rbac; Owner: admin -- CREATE PROCEDURE rbac.generaterbacidentityviewfromquery(IN targettable text, IN sqlquery text) @@ -6080,7 +6080,7 @@ end; '; ALTER PROCEDURE rbac.generaterbacidentityviewfromquery(IN targettable text, IN sqlquery text) OWNER TO admin; -- --- Name: generaterbacrestrictedview(text, text, text, text); Type: PROCEDURE; Schema: rbac; Owner: test +-- Name: generaterbacrestrictedview(text, text, text, text); Type: PROCEDURE; Schema: rbac; Owner: admin -- CREATE PROCEDURE rbac.generaterbacrestrictedview(IN targettable text, IN orderby text, IN columnupdates text DEFAULT NULL::text, IN columnnames text DEFAULT '*'::text) @@ -6225,7 +6225,7 @@ end; '; ALTER PROCEDURE rbac.generaterbacrestrictedview(IN targettable text, IN orderby text, IN columnupdates text, IN columnnames text) OWNER TO admin; -- --- Name: generaterbacroledescriptors(text); Type: PROCEDURE; Schema: rbac; Owner: test +-- Name: generaterbacroledescriptors(text); Type: PROCEDURE; Schema: rbac; Owner: admin -- CREATE PROCEDURE rbac.generaterbacroledescriptors(IN targettable text) @@ -6292,7 +6292,7 @@ end; '; ALTER PROCEDURE rbac.generaterbacroledescriptors(IN targettable text) OWNER TO admin; -- --- Name: generaterelatedrbacobject(character varying); Type: PROCEDURE; Schema: rbac; Owner: test +-- Name: generaterelatedrbacobject(character varying); Type: PROCEDURE; Schema: rbac; Owner: admin -- CREATE PROCEDURE rbac.generaterelatedrbacobject(IN targettable character varying) @@ -6338,7 +6338,7 @@ end; ALTER PROCEDURE rbac.generaterelatedrbacobject(IN targettable character varying) OWNER TO admin; -- --- Name: getpermissionid(uuid, rbac.rbacop, text); Type: FUNCTION; Schema: rbac; Owner: test +-- Name: getpermissionid(uuid, rbac.rbacop, text); Type: FUNCTION; Schema: rbac; Owner: admin -- CREATE FUNCTION rbac.getpermissionid(forobjectuuid uuid, forop rbac.rbacop, foroptablename text DEFAULT NULL::text) RETURNS uuid @@ -6361,7 +6361,7 @@ end; '; ALTER FUNCTION rbac.getpermissionid(forobjectuuid uuid, forop rbac.rbacop, foroptablename text) OWNER TO admin; -- --- Name: getroleid(rbac.roledescriptor); Type: FUNCTION; Schema: rbac; Owner: test +-- Name: getroleid(rbac.roledescriptor); Type: FUNCTION; Schema: rbac; Owner: admin -- CREATE FUNCTION rbac.getroleid(roledescriptor rbac.roledescriptor) RETURNS uuid @@ -6384,7 +6384,7 @@ end; ALTER FUNCTION rbac.getroleid(roledescriptor rbac.roledescriptor) OWNER TO admin; -- --- Name: global_admin(boolean); Type: FUNCTION; Schema: rbac; Owner: test +-- Name: global_admin(boolean); Type: FUNCTION; Schema: rbac; Owner: admin -- CREATE FUNCTION rbac.global_admin(assumed boolean DEFAULT true) RETURNS rbac.roledescriptor @@ -6397,7 +6397,7 @@ select ''rbac.global'', (select uuid from rbac.object where objectTable = ''rbac ALTER FUNCTION rbac.global_admin(assumed boolean) OWNER TO admin; -- --- Name: global_id_name_by_uuid(uuid); Type: FUNCTION; Schema: rbac; Owner: test +-- Name: global_id_name_by_uuid(uuid); Type: FUNCTION; Schema: rbac; Owner: admin -- CREATE FUNCTION rbac.global_id_name_by_uuid(uuid uuid) RETURNS character varying @@ -6410,7 +6410,7 @@ 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 admin; -- --- Name: global_uuid_by_id_name(character varying); Type: FUNCTION; Schema: rbac; Owner: test +-- Name: global_uuid_by_id_name(character varying); Type: FUNCTION; Schema: rbac; Owner: admin -- CREATE FUNCTION rbac.global_uuid_by_id_name(idname character varying) RETURNS uuid @@ -6423,7 +6423,7 @@ select uuid from rbac.global_iv iv where iv.idName = global_uuid_by_id_name.idNa ALTER FUNCTION rbac.global_uuid_by_id_name(idname character varying) OWNER TO admin; -- --- Name: globalglobalguest(boolean); Type: FUNCTION; Schema: rbac; Owner: test +-- Name: globalglobalguest(boolean); Type: FUNCTION; Schema: rbac; Owner: admin -- CREATE FUNCTION rbac.globalglobalguest(assumed boolean DEFAULT true) RETURNS rbac.roledescriptor @@ -6436,7 +6436,7 @@ select ''rbac.global'', (select uuid from rbac.object where objectTable = ''rbac ALTER FUNCTION rbac.globalglobalguest(assumed boolean) OWNER TO admin; -- --- Name: grantedpermissions(uuid); Type: FUNCTION; Schema: rbac; Owner: test +-- Name: grantedpermissions(uuid); Type: FUNCTION; Schema: rbac; Owner: admin -- 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) @@ -6453,7 +6453,7 @@ CREATE FUNCTION rbac.grantedpermissions(targetsubjectuuid uuid) RETURNS TABLE(ro ALTER FUNCTION rbac.grantedpermissions(targetsubjectuuid uuid) OWNER TO admin; -- --- Name: grantedpermissionsraw(uuid); Type: FUNCTION; Schema: rbac; Owner: test +-- Name: grantedpermissionsraw(uuid); Type: FUNCTION; Schema: rbac; Owner: admin -- 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) @@ -6495,7 +6495,7 @@ end; '; ALTER FUNCTION rbac.grantedpermissionsraw(targetsubjectuuid uuid) OWNER TO admin; -- --- Name: grantpermissiontorole(uuid, uuid); Type: PROCEDURE; Schema: rbac; Owner: test +-- Name: grantpermissiontorole(uuid, uuid); Type: PROCEDURE; Schema: rbac; Owner: admin -- CREATE PROCEDURE rbac.grantpermissiontorole(IN permissionuuid uuid, IN roleuuid uuid) @@ -6516,7 +6516,7 @@ end; ALTER PROCEDURE rbac.grantpermissiontorole(IN permissionuuid uuid, IN roleuuid uuid) OWNER TO admin; -- --- Name: grantpermissiontorole(uuid, rbac.roledescriptor); Type: PROCEDURE; Schema: rbac; Owner: test +-- Name: grantpermissiontorole(uuid, rbac.roledescriptor); Type: PROCEDURE; Schema: rbac; Owner: admin -- CREATE PROCEDURE rbac.grantpermissiontorole(IN permissionuuid uuid, IN roledesc rbac.roledescriptor) @@ -6531,7 +6531,7 @@ end; ALTER PROCEDURE rbac.grantpermissiontorole(IN permissionuuid uuid, IN roledesc rbac.roledescriptor) OWNER TO admin; -- --- Name: grantroletorole(uuid, uuid, boolean); Type: PROCEDURE; Schema: rbac; Owner: test +-- Name: grantroletorole(uuid, uuid, boolean); Type: PROCEDURE; Schema: rbac; Owner: admin -- CREATE PROCEDURE rbac.grantroletorole(IN subroleid uuid, IN superroleid uuid, IN doassume boolean DEFAULT true) @@ -6555,7 +6555,7 @@ end; '; ALTER PROCEDURE rbac.grantroletorole(IN subroleid uuid, IN superroleid uuid, IN doassume boolean) OWNER TO admin; -- --- Name: grantroletorole(rbac.roledescriptor, rbac.roledescriptor, boolean); Type: PROCEDURE; Schema: rbac; Owner: test +-- Name: grantroletorole(rbac.roledescriptor, rbac.roledescriptor, boolean); Type: PROCEDURE; Schema: rbac; Owner: admin -- CREATE PROCEDURE rbac.grantroletorole(IN subrole rbac.roledescriptor, IN superrole rbac.roledescriptor, IN doassume boolean DEFAULT true) @@ -6590,7 +6590,7 @@ end; '; ALTER PROCEDURE rbac.grantroletorole(IN subrole rbac.roledescriptor, IN superrole rbac.roledescriptor, IN doassume boolean) OWNER TO admin; -- --- Name: grantroletosubject(uuid, uuid, uuid, boolean); Type: PROCEDURE; Schema: rbac; Owner: test +-- Name: grantroletosubject(uuid, uuid, uuid, boolean); Type: PROCEDURE; Schema: rbac; Owner: admin -- CREATE PROCEDURE rbac.grantroletosubject(IN grantedbyroleuuid uuid, IN grantedroleuuid uuid, IN subjectuuid uuid, IN doassume boolean DEFAULT true) @@ -6632,7 +6632,7 @@ end; '; ALTER PROCEDURE rbac.grantroletosubject(IN grantedbyroleuuid uuid, IN grantedroleuuid uuid, IN subjectuuid uuid, IN doassume boolean) OWNER TO admin; -- --- Name: grantroletosubjectunchecked(uuid, uuid, uuid, boolean); Type: PROCEDURE; Schema: rbac; Owner: test +-- Name: grantroletosubjectunchecked(uuid, uuid, uuid, boolean); Type: PROCEDURE; Schema: rbac; Owner: admin -- CREATE PROCEDURE rbac.grantroletosubjectunchecked(IN grantedbyroleuuid uuid, IN grantedroleuuid uuid, IN subjectuuid uuid, IN doassume boolean DEFAULT true) @@ -6654,7 +6654,7 @@ end; '; ALTER PROCEDURE rbac.grantroletosubjectunchecked(IN grantedbyroleuuid uuid, IN grantedroleuuid uuid, IN subjectuuid uuid, IN doassume boolean) OWNER TO admin; -- --- Name: hasglobaladminrole(); Type: FUNCTION; Schema: rbac; Owner: test +-- Name: hasglobaladminrole(); Type: FUNCTION; Schema: rbac; Owner: admin -- CREATE FUNCTION rbac.hasglobaladminrole() RETURNS boolean @@ -6676,7 +6676,7 @@ end; '; ALTER FUNCTION rbac.hasglobaladminrole() OWNER TO admin; -- --- Name: hasglobalpermission(rbac.rbacop); Type: FUNCTION; Schema: rbac; Owner: test +-- Name: hasglobalpermission(rbac.rbacop); Type: FUNCTION; Schema: rbac; Owner: admin -- CREATE FUNCTION rbac.hasglobalpermission(op rbac.rbacop) RETURNS boolean @@ -6691,7 +6691,7 @@ select (select uuid from rbac.global) in ALTER FUNCTION rbac.hasglobalpermission(op rbac.rbacop) OWNER TO admin; -- --- Name: hasglobalrolegranted(uuid); Type: FUNCTION; Schema: rbac; Owner: test +-- Name: hasglobalrolegranted(uuid); Type: FUNCTION; Schema: rbac; Owner: admin -- CREATE FUNCTION rbac.hasglobalrolegranted(forascendantuuid uuid) RETURNS boolean @@ -6711,7 +6711,7 @@ select exists( ALTER FUNCTION rbac.hasglobalrolegranted(forascendantuuid uuid) OWNER TO admin; -- --- Name: hasinsertpermission(uuid, text); Type: FUNCTION; Schema: rbac; Owner: test +-- Name: hasinsertpermission(uuid, text); Type: FUNCTION; Schema: rbac; Owner: admin -- CREATE FUNCTION rbac.hasinsertpermission(objectuuid uuid, tablename text) RETURNS boolean @@ -6729,7 +6729,7 @@ end; ALTER FUNCTION rbac.hasinsertpermission(objectuuid uuid, tablename text) OWNER TO admin; -- --- Name: insert_grant_tf(); Type: FUNCTION; Schema: rbac; Owner: test +-- Name: insert_grant_tf(); Type: FUNCTION; Schema: rbac; Owner: admin -- CREATE FUNCTION rbac.insert_grant_tf() RETURNS trigger @@ -6750,7 +6750,7 @@ end; '; ALTER FUNCTION rbac.insert_grant_tf() OWNER TO admin; -- --- Name: insert_related_object(); Type: FUNCTION; Schema: rbac; Owner: test +-- Name: insert_related_object(); Type: FUNCTION; Schema: rbac; Owner: admin -- CREATE FUNCTION rbac.insert_related_object() RETURNS trigger @@ -6784,7 +6784,7 @@ end; '; ALTER FUNCTION rbac.insert_related_object() OWNER TO admin; -- --- Name: insert_subject_tf(); Type: FUNCTION; Schema: rbac; Owner: test +-- Name: insert_subject_tf(); Type: FUNCTION; Schema: rbac; Owner: admin -- CREATE FUNCTION rbac.insert_subject_tf() RETURNS trigger @@ -6810,7 +6810,7 @@ end; ALTER FUNCTION rbac.insert_subject_tf() OWNER TO admin; -- --- Name: isglobaladmin(); Type: FUNCTION; Schema: rbac; Owner: test +-- Name: isglobaladmin(); Type: FUNCTION; Schema: rbac; Owner: admin -- CREATE FUNCTION rbac.isglobaladmin() RETURNS boolean @@ -6824,7 +6824,7 @@ end; '; ALTER FUNCTION rbac.isglobaladmin() OWNER TO admin; -- --- Name: isgranted(uuid[], uuid); Type: FUNCTION; Schema: rbac; Owner: test +-- Name: isgranted(uuid[], uuid); Type: FUNCTION; Schema: rbac; Owner: admin -- CREATE FUNCTION rbac.isgranted(granteeids uuid[], grantedid uuid) RETURNS boolean @@ -6850,7 +6850,7 @@ select exists ( ALTER FUNCTION rbac.isgranted(granteeids uuid[], grantedid uuid) OWNER TO admin; -- --- Name: isgranted(uuid, uuid); Type: FUNCTION; Schema: rbac; Owner: test +-- Name: isgranted(uuid, uuid); Type: FUNCTION; Schema: rbac; Owner: admin -- CREATE FUNCTION rbac.isgranted(granteeid uuid, grantedid uuid) RETURNS boolean @@ -6863,7 +6863,7 @@ select * from rbac.isGranted(array[granteeId], grantedId); ALTER FUNCTION rbac.isgranted(granteeid uuid, grantedid uuid) OWNER TO admin; -- --- Name: ispermissiongrantedtosubject(uuid, uuid); Type: FUNCTION; Schema: rbac; Owner: test +-- Name: ispermissiongrantedtosubject(uuid, uuid); Type: FUNCTION; Schema: rbac; Owner: admin -- CREATE FUNCTION rbac.ispermissiongrantedtosubject(permissionid uuid, subjectid uuid) RETURNS boolean @@ -6889,7 +6889,7 @@ select exists( ALTER FUNCTION rbac.ispermissiongrantedtosubject(permissionid uuid, subjectid uuid) OWNER TO admin; -- --- Name: leavetriggerforobjectuuid(uuid); Type: PROCEDURE; Schema: rbac; Owner: test +-- Name: leavetriggerforobjectuuid(uuid); Type: PROCEDURE; Schema: rbac; Owner: admin -- CREATE PROCEDURE rbac.leavetriggerforobjectuuid(IN currentobjectuuid uuid) @@ -6909,7 +6909,7 @@ end; '; ALTER PROCEDURE rbac.leavetriggerforobjectuuid(IN currentobjectuuid uuid) OWNER TO admin; -- --- Name: queryaccessibleobjectuuidsofsubjectids(rbac.rbacop, character varying, uuid[], integer); Type: FUNCTION; Schema: rbac; Owner: test +-- Name: queryaccessibleobjectuuidsofsubjectids(rbac.rbacop, character varying, uuid[], integer); Type: FUNCTION; Schema: rbac; Owner: admin -- CREATE FUNCTION rbac.queryaccessibleobjectuuidsofsubjectids(requiredop rbac.rbacop, forobjecttable character varying, subjectids uuid[], maxobjects integer DEFAULT 8000) RETURNS SETOF uuid @@ -6956,7 +6956,7 @@ end; ALTER FUNCTION rbac.queryaccessibleobjectuuidsofsubjectids(requiredop rbac.rbacop, forobjecttable character varying, subjectids uuid[], maxobjects integer) OWNER TO admin; -- --- Name: subject; Type: TABLE; Schema: rbac; Owner: test +-- Name: subject; Type: TABLE; Schema: rbac; Owner: admin -- CREATE TABLE rbac.subject ( @@ -6968,7 +6968,7 @@ CREATE TABLE rbac.subject ( ALTER TABLE rbac.subject OWNER TO admin; -- --- Name: queryallrbacsubjectswithpermissionsfor(uuid); Type: FUNCTION; Schema: rbac; Owner: test +-- Name: queryallrbacsubjectswithpermissionsfor(uuid); Type: FUNCTION; Schema: rbac; Owner: admin -- CREATE FUNCTION rbac.queryallrbacsubjectswithpermissionsfor(objectid uuid) RETURNS SETOF rbac.subject @@ -6996,7 +6996,7 @@ select * ALTER FUNCTION rbac.queryallrbacsubjectswithpermissionsfor(objectid uuid) OWNER TO admin; -- --- Name: permission; Type: TABLE; Schema: rbac; Owner: test +-- Name: permission; Type: TABLE; Schema: rbac; Owner: admin -- CREATE TABLE rbac.permission ( @@ -7010,7 +7010,7 @@ CREATE TABLE rbac.permission ( ALTER TABLE rbac.permission OWNER TO admin; -- --- Name: querypermissionsgrantedtosubjectid(uuid); Type: FUNCTION; Schema: rbac; Owner: test +-- Name: querypermissionsgrantedtosubjectid(uuid); Type: FUNCTION; Schema: rbac; Owner: admin -- CREATE FUNCTION rbac.querypermissionsgrantedtosubjectid(subjectid uuid) RETURNS SETOF rbac.permission @@ -7037,7 +7037,7 @@ select perm.* ALTER FUNCTION rbac.querypermissionsgrantedtosubjectid(subjectid uuid) OWNER TO admin; -- --- Name: raiseduplicaterolegrantexception(uuid, uuid); Type: PROCEDURE; Schema: rbac; Owner: test +-- Name: raiseduplicaterolegrantexception(uuid, uuid); Type: PROCEDURE; Schema: rbac; Owner: admin -- CREATE PROCEDURE rbac.raiseduplicaterolegrantexception(IN subroleid uuid, IN superroleid uuid) @@ -7057,7 +7057,7 @@ end; ALTER PROCEDURE rbac.raiseduplicaterolegrantexception(IN subroleid uuid, IN superroleid uuid) OWNER TO admin; -- --- Name: revokepermissionfromrole(uuid, uuid); Type: PROCEDURE; Schema: rbac; Owner: test +-- Name: revokepermissionfromrole(uuid, uuid); Type: PROCEDURE; Schema: rbac; Owner: admin -- CREATE PROCEDURE rbac.revokepermissionfromrole(IN permissionuuid uuid, IN superroleuuid uuid) @@ -7073,7 +7073,7 @@ end; '; ALTER PROCEDURE rbac.revokepermissionfromrole(IN permissionuuid uuid, IN superroleuuid uuid) OWNER TO admin; -- --- Name: revokepermissionfromrole(uuid, rbac.roledescriptor); Type: PROCEDURE; Schema: rbac; Owner: test +-- Name: revokepermissionfromrole(uuid, rbac.roledescriptor); Type: PROCEDURE; Schema: rbac; Owner: admin -- CREATE PROCEDURE rbac.revokepermissionfromrole(IN permissionid uuid, IN superrole rbac.roledescriptor) @@ -7109,7 +7109,7 @@ end; '; ALTER PROCEDURE rbac.revokepermissionfromrole(IN permissionid uuid, IN superrole rbac.roledescriptor) OWNER TO admin; -- --- Name: revokerolefromrole(rbac.roledescriptor, rbac.roledescriptor); Type: PROCEDURE; Schema: rbac; Owner: test +-- Name: revokerolefromrole(rbac.roledescriptor, rbac.roledescriptor); Type: PROCEDURE; Schema: rbac; Owner: admin -- CREATE PROCEDURE rbac.revokerolefromrole(IN subrole rbac.roledescriptor, IN superrole rbac.roledescriptor) @@ -7137,7 +7137,7 @@ end; '; ALTER PROCEDURE rbac.revokerolefromrole(IN subrole rbac.roledescriptor, IN superrole rbac.roledescriptor) OWNER TO admin; -- --- Name: revokerolefromsubject(uuid, uuid, uuid); Type: PROCEDURE; Schema: rbac; Owner: test +-- Name: revokerolefromsubject(uuid, uuid, uuid); Type: PROCEDURE; Schema: rbac; Owner: admin -- CREATE PROCEDURE rbac.revokerolefromsubject(IN grantedbyroleuuid uuid, IN grantedroleuuid uuid, IN subjectuuid uuid) @@ -7156,7 +7156,7 @@ end; '; ALTER PROCEDURE rbac.revokerolefromsubject(IN grantedbyroleuuid uuid, IN grantedroleuuid uuid, IN subjectuuid uuid) OWNER TO admin; -- --- Name: roledescriptorof(character varying, uuid, rbac.roletype, boolean); Type: FUNCTION; Schema: rbac; Owner: test +-- Name: roledescriptorof(character varying, uuid, rbac.roletype, boolean); Type: FUNCTION; Schema: rbac; Owner: admin -- CREATE FUNCTION rbac.roledescriptorof(objecttable character varying, objectuuid uuid, roletype rbac.roletype, assumed boolean DEFAULT true) RETURNS rbac.roledescriptor @@ -7169,7 +7169,7 @@ CREATE FUNCTION rbac.roledescriptorof(objecttable character varying, objectuuid ALTER FUNCTION rbac.roledescriptorof(objecttable character varying, objectuuid uuid, roletype rbac.roletype, assumed boolean) OWNER TO admin; -- --- Name: unassumed(); Type: FUNCTION; Schema: rbac; Owner: test +-- Name: unassumed(); Type: FUNCTION; Schema: rbac; Owner: admin -- CREATE FUNCTION rbac.unassumed() RETURNS boolean @@ -7182,7 +7182,7 @@ select false; ALTER FUNCTION rbac.unassumed() OWNER TO admin; -- --- Name: customer; Type: TABLE; Schema: rbactest; Owner: test +-- Name: customer; Type: TABLE; Schema: rbactest; Owner: admin -- CREATE TABLE rbactest.customer ( @@ -7198,7 +7198,7 @@ CREATE TABLE rbactest.customer ( ALTER TABLE rbactest.customer OWNER TO admin; -- --- Name: customer_admin(rbactest.customer, boolean); Type: FUNCTION; Schema: rbactest; Owner: test +-- Name: customer_admin(rbactest.customer, boolean); Type: FUNCTION; Schema: rbactest; Owner: admin -- CREATE FUNCTION rbactest.customer_admin(entity rbactest.customer, assumed boolean DEFAULT true) RETURNS rbac.roledescriptor @@ -7212,7 +7212,7 @@ CREATE FUNCTION rbactest.customer_admin(entity rbactest.customer, assumed boolea ALTER FUNCTION rbactest.customer_admin(entity rbactest.customer, assumed boolean) OWNER TO admin; -- --- Name: customer_agent(rbactest.customer, boolean); Type: FUNCTION; Schema: rbactest; Owner: test +-- Name: customer_agent(rbactest.customer, boolean); Type: FUNCTION; Schema: rbactest; Owner: admin -- CREATE FUNCTION rbactest.customer_agent(entity rbactest.customer, assumed boolean DEFAULT true) RETURNS rbac.roledescriptor @@ -7226,7 +7226,7 @@ CREATE FUNCTION rbactest.customer_agent(entity rbactest.customer, assumed boolea ALTER FUNCTION rbactest.customer_agent(entity rbactest.customer, assumed boolean) OWNER TO admin; -- --- Name: customer_build_rbac_system(rbactest.customer); Type: PROCEDURE; Schema: rbactest; Owner: test +-- Name: customer_build_rbac_system(rbactest.customer); Type: PROCEDURE; Schema: rbactest; Owner: admin -- CREATE PROCEDURE rbactest.customer_build_rbac_system(IN new rbactest.customer) @@ -7264,7 +7264,7 @@ end; '; ALTER PROCEDURE rbactest.customer_build_rbac_system(IN new rbactest.customer) OWNER TO admin; -- --- Name: customer_build_rbac_system_after_insert_tf(); Type: FUNCTION; Schema: rbactest; Owner: test +-- Name: customer_build_rbac_system_after_insert_tf(); Type: FUNCTION; Schema: rbactest; Owner: admin -- CREATE FUNCTION rbactest.customer_build_rbac_system_after_insert_tf() RETURNS trigger @@ -7279,7 +7279,7 @@ end; '; ALTER FUNCTION rbactest.customer_build_rbac_system_after_insert_tf() OWNER TO admin; -- --- Name: customer_create_test_data(integer); Type: FUNCTION; Schema: rbactest; Owner: test +-- Name: customer_create_test_data(integer); Type: FUNCTION; Schema: rbactest; Owner: admin -- CREATE FUNCTION rbactest.customer_create_test_data(customercount integer) RETURNS integer @@ -7293,7 +7293,7 @@ end; '; ALTER FUNCTION rbactest.customer_create_test_data(customercount integer) OWNER TO admin; -- --- Name: customer_create_test_data(integer, integer); Type: PROCEDURE; Schema: rbactest; Owner: test +-- Name: customer_create_test_data(integer, integer); Type: PROCEDURE; Schema: rbactest; Owner: admin -- CREATE PROCEDURE rbactest.customer_create_test_data(IN startcount integer, IN endcount integer) @@ -7311,7 +7311,7 @@ end; '; ALTER PROCEDURE rbactest.customer_create_test_data(IN startcount integer, IN endcount integer) OWNER TO admin; -- --- Name: customer_create_test_data(integer, character varying); Type: PROCEDURE; Schema: rbactest; Owner: test +-- Name: customer_create_test_data(integer, character varying); Type: PROCEDURE; Schema: rbactest; Owner: admin -- CREATE PROCEDURE rbactest.customer_create_test_data(IN custreference integer, IN custprefix character varying) @@ -7344,7 +7344,7 @@ end; '; ALTER PROCEDURE rbactest.customer_create_test_data(IN custreference integer, IN custprefix character varying) OWNER TO admin; -- --- Name: customer_grants_insert_to_global_tf(); Type: FUNCTION; Schema: rbactest; Owner: test +-- Name: customer_grants_insert_to_global_tf(); Type: FUNCTION; Schema: rbactest; Owner: admin -- CREATE FUNCTION rbactest.customer_grants_insert_to_global_tf() RETURNS trigger @@ -7363,7 +7363,7 @@ end; '; ALTER FUNCTION rbactest.customer_grants_insert_to_global_tf() OWNER TO admin; -- --- Name: customer_guest(rbactest.customer, boolean); Type: FUNCTION; Schema: rbactest; Owner: test +-- Name: customer_guest(rbactest.customer, boolean); Type: FUNCTION; Schema: rbactest; Owner: admin -- CREATE FUNCTION rbactest.customer_guest(entity rbactest.customer, assumed boolean DEFAULT true) RETURNS rbac.roledescriptor @@ -7377,7 +7377,7 @@ CREATE FUNCTION rbactest.customer_guest(entity rbactest.customer, assumed boolea ALTER FUNCTION rbactest.customer_guest(entity rbactest.customer, assumed boolean) OWNER TO admin; -- --- Name: customer_id_name_by_uuid(uuid); Type: FUNCTION; Schema: rbactest; Owner: test +-- Name: customer_id_name_by_uuid(uuid); Type: FUNCTION; Schema: rbactest; Owner: admin -- CREATE FUNCTION rbactest.customer_id_name_by_uuid(givenuuid uuid) RETURNS character varying @@ -7390,7 +7390,7 @@ CREATE FUNCTION rbactest.customer_id_name_by_uuid(givenuuid uuid) RETURNS charac ALTER FUNCTION rbactest.customer_id_name_by_uuid(givenuuid uuid) OWNER TO admin; -- --- Name: customer_insert_permission_check_tf(); Type: FUNCTION; Schema: rbactest; Owner: test +-- Name: customer_insert_permission_check_tf(); Type: FUNCTION; Schema: rbactest; Owner: admin -- CREATE FUNCTION rbactest.customer_insert_permission_check_tf() RETURNS trigger @@ -7412,7 +7412,7 @@ end; '; ALTER FUNCTION rbactest.customer_insert_permission_check_tf() OWNER TO admin; -- --- Name: customer_instead_of_delete_tf(); Type: FUNCTION; Schema: rbactest; Owner: test +-- Name: customer_instead_of_delete_tf(); Type: FUNCTION; Schema: rbactest; Owner: admin -- CREATE FUNCTION rbactest.customer_instead_of_delete_tf() RETURNS trigger @@ -7430,7 +7430,7 @@ CREATE FUNCTION rbactest.customer_instead_of_delete_tf() RETURNS trigger ALTER FUNCTION rbactest.customer_instead_of_delete_tf() OWNER TO admin; -- --- Name: customer_instead_of_insert_tf(); Type: FUNCTION; Schema: rbactest; Owner: test +-- Name: customer_instead_of_insert_tf(); Type: FUNCTION; Schema: rbactest; Owner: admin -- CREATE FUNCTION rbactest.customer_instead_of_insert_tf() RETURNS trigger @@ -7450,7 +7450,7 @@ CREATE FUNCTION rbactest.customer_instead_of_insert_tf() RETURNS trigger ALTER FUNCTION rbactest.customer_instead_of_insert_tf() OWNER TO admin; -- --- Name: customer_instead_of_update_tf(); Type: FUNCTION; Schema: rbactest; Owner: test +-- Name: customer_instead_of_update_tf(); Type: FUNCTION; Schema: rbactest; Owner: admin -- CREATE FUNCTION rbactest.customer_instead_of_update_tf() RETURNS trigger @@ -7474,7 +7474,7 @@ CREATE FUNCTION rbactest.customer_instead_of_update_tf() RETURNS trigger ALTER FUNCTION rbactest.customer_instead_of_update_tf() OWNER TO admin; -- --- Name: customer_owner(rbactest.customer, boolean); Type: FUNCTION; Schema: rbactest; Owner: test +-- Name: customer_owner(rbactest.customer, boolean); Type: FUNCTION; Schema: rbactest; Owner: admin -- CREATE FUNCTION rbactest.customer_owner(entity rbactest.customer, assumed boolean DEFAULT true) RETURNS rbac.roledescriptor @@ -7488,7 +7488,7 @@ CREATE FUNCTION rbactest.customer_owner(entity rbactest.customer, assumed boolea ALTER FUNCTION rbactest.customer_owner(entity rbactest.customer, assumed boolean) OWNER TO admin; -- --- Name: customer_rebuild_rbac_system(); Type: PROCEDURE; Schema: rbactest; Owner: test +-- Name: customer_rebuild_rbac_system(); Type: PROCEDURE; Schema: rbactest; Owner: admin -- CREATE PROCEDURE rbactest.customer_rebuild_rbac_system() @@ -7522,7 +7522,7 @@ END; ALTER PROCEDURE rbactest.customer_rebuild_rbac_system() OWNER TO admin; -- --- Name: customer_referrer(rbactest.customer); Type: FUNCTION; Schema: rbactest; Owner: test +-- Name: customer_referrer(rbactest.customer); Type: FUNCTION; Schema: rbactest; Owner: admin -- CREATE FUNCTION rbactest.customer_referrer(entity rbactest.customer) RETURNS rbac.roledescriptor @@ -7536,7 +7536,7 @@ CREATE FUNCTION rbactest.customer_referrer(entity rbactest.customer) RETURNS rba ALTER FUNCTION rbactest.customer_referrer(entity rbactest.customer) OWNER TO admin; -- --- Name: customer_tenant(rbactest.customer, boolean); Type: FUNCTION; Schema: rbactest; Owner: test +-- Name: customer_tenant(rbactest.customer, boolean); Type: FUNCTION; Schema: rbactest; Owner: admin -- CREATE FUNCTION rbactest.customer_tenant(entity rbactest.customer, assumed boolean DEFAULT true) RETURNS rbac.roledescriptor @@ -7550,7 +7550,7 @@ CREATE FUNCTION rbactest.customer_tenant(entity rbactest.customer, assumed boole ALTER FUNCTION rbactest.customer_tenant(entity rbactest.customer, assumed boolean) OWNER TO admin; -- --- Name: customer_uuid_by_id_name(character varying); Type: FUNCTION; Schema: rbactest; Owner: test +-- Name: customer_uuid_by_id_name(character varying); Type: FUNCTION; Schema: rbactest; Owner: admin -- CREATE FUNCTION rbactest.customer_uuid_by_id_name(givenidname character varying) RETURNS uuid @@ -7567,7 +7567,7 @@ CREATE FUNCTION rbactest.customer_uuid_by_id_name(givenidname character varying) ALTER FUNCTION rbactest.customer_uuid_by_id_name(givenidname character varying) OWNER TO admin; -- --- Name: domain; Type: TABLE; Schema: rbactest; Owner: test +-- Name: domain; Type: TABLE; Schema: rbactest; Owner: admin -- CREATE TABLE rbactest.domain ( @@ -7581,7 +7581,7 @@ CREATE TABLE rbactest.domain ( ALTER TABLE rbactest.domain OWNER TO admin; -- --- Name: domain_admin(rbactest.domain, boolean); Type: FUNCTION; Schema: rbactest; Owner: test +-- Name: domain_admin(rbactest.domain, boolean); Type: FUNCTION; Schema: rbactest; Owner: admin -- CREATE FUNCTION rbactest.domain_admin(entity rbactest.domain, assumed boolean DEFAULT true) RETURNS rbac.roledescriptor @@ -7595,7 +7595,7 @@ CREATE FUNCTION rbactest.domain_admin(entity rbactest.domain, assumed boolean DE ALTER FUNCTION rbactest.domain_admin(entity rbactest.domain, assumed boolean) OWNER TO admin; -- --- Name: domain_agent(rbactest.domain, boolean); Type: FUNCTION; Schema: rbactest; Owner: test +-- Name: domain_agent(rbactest.domain, boolean); Type: FUNCTION; Schema: rbactest; Owner: admin -- CREATE FUNCTION rbactest.domain_agent(entity rbactest.domain, assumed boolean DEFAULT true) RETURNS rbac.roledescriptor @@ -7609,7 +7609,7 @@ CREATE FUNCTION rbactest.domain_agent(entity rbactest.domain, assumed boolean DE ALTER FUNCTION rbactest.domain_agent(entity rbactest.domain, assumed boolean) OWNER TO admin; -- --- Name: domain_build_rbac_system(rbactest.domain); Type: PROCEDURE; Schema: rbactest; Owner: test +-- Name: domain_build_rbac_system(rbactest.domain); Type: PROCEDURE; Schema: rbactest; Owner: admin -- CREATE PROCEDURE rbactest.domain_build_rbac_system(IN new rbactest.domain) @@ -7647,7 +7647,7 @@ end; '; ALTER PROCEDURE rbactest.domain_build_rbac_system(IN new rbactest.domain) OWNER TO admin; -- --- Name: domain_build_rbac_system_after_insert_tf(); Type: FUNCTION; Schema: rbactest; Owner: test +-- Name: domain_build_rbac_system_after_insert_tf(); Type: FUNCTION; Schema: rbactest; Owner: admin -- CREATE FUNCTION rbactest.domain_build_rbac_system_after_insert_tf() RETURNS trigger @@ -7662,7 +7662,7 @@ end; '; ALTER FUNCTION rbactest.domain_build_rbac_system_after_insert_tf() OWNER TO admin; -- --- Name: domain_create_test_data(integer); Type: PROCEDURE; Schema: rbactest; Owner: test +-- Name: domain_create_test_data(integer); Type: PROCEDURE; Schema: rbactest; Owner: admin -- CREATE PROCEDURE rbactest.domain_create_test_data(IN domainperpackage integer) @@ -7687,7 +7687,7 @@ end; '; ALTER PROCEDURE rbactest.domain_create_test_data(IN domainperpackage integer) OWNER TO admin; -- --- Name: domain_create_test_data(character varying, integer); Type: PROCEDURE; Schema: rbactest; Owner: test +-- Name: domain_create_test_data(character varying, integer); Type: PROCEDURE; Schema: rbactest; Owner: admin -- CREATE PROCEDURE rbactest.domain_create_test_data(IN packagename character varying, IN domaincount integer) @@ -7718,7 +7718,7 @@ end; '; ALTER PROCEDURE rbactest.domain_create_test_data(IN packagename character varying, IN domaincount integer) OWNER TO admin; -- --- Name: domain_grants_insert_to_package_tf(); Type: FUNCTION; Schema: rbactest; Owner: test +-- Name: domain_grants_insert_to_package_tf(); Type: FUNCTION; Schema: rbactest; Owner: admin -- CREATE FUNCTION rbactest.domain_grants_insert_to_package_tf() RETURNS trigger @@ -7737,7 +7737,7 @@ end; '; ALTER FUNCTION rbactest.domain_grants_insert_to_package_tf() OWNER TO admin; -- --- Name: domain_guest(rbactest.domain, boolean); Type: FUNCTION; Schema: rbactest; Owner: test +-- Name: domain_guest(rbactest.domain, boolean); Type: FUNCTION; Schema: rbactest; Owner: admin -- CREATE FUNCTION rbactest.domain_guest(entity rbactest.domain, assumed boolean DEFAULT true) RETURNS rbac.roledescriptor @@ -7751,7 +7751,7 @@ CREATE FUNCTION rbactest.domain_guest(entity rbactest.domain, assumed boolean DE ALTER FUNCTION rbactest.domain_guest(entity rbactest.domain, assumed boolean) OWNER TO admin; -- --- Name: domain_id_name_by_uuid(uuid); Type: FUNCTION; Schema: rbactest; Owner: test +-- Name: domain_id_name_by_uuid(uuid); Type: FUNCTION; Schema: rbactest; Owner: admin -- CREATE FUNCTION rbactest.domain_id_name_by_uuid(givenuuid uuid) RETURNS character varying @@ -7764,7 +7764,7 @@ CREATE FUNCTION rbactest.domain_id_name_by_uuid(givenuuid uuid) RETURNS characte ALTER FUNCTION rbactest.domain_id_name_by_uuid(givenuuid uuid) OWNER TO admin; -- --- Name: domain_insert_permission_check_tf(); Type: FUNCTION; Schema: rbactest; Owner: test +-- Name: domain_insert_permission_check_tf(); Type: FUNCTION; Schema: rbactest; Owner: admin -- CREATE FUNCTION rbactest.domain_insert_permission_check_tf() RETURNS trigger @@ -7786,7 +7786,7 @@ end; '; ALTER FUNCTION rbactest.domain_insert_permission_check_tf() OWNER TO admin; -- --- Name: domain_instead_of_delete_tf(); Type: FUNCTION; Schema: rbactest; Owner: test +-- Name: domain_instead_of_delete_tf(); Type: FUNCTION; Schema: rbactest; Owner: admin -- CREATE FUNCTION rbactest.domain_instead_of_delete_tf() RETURNS trigger @@ -7804,7 +7804,7 @@ CREATE FUNCTION rbactest.domain_instead_of_delete_tf() RETURNS trigger ALTER FUNCTION rbactest.domain_instead_of_delete_tf() OWNER TO admin; -- --- Name: domain_instead_of_insert_tf(); Type: FUNCTION; Schema: rbactest; Owner: test +-- Name: domain_instead_of_insert_tf(); Type: FUNCTION; Schema: rbactest; Owner: admin -- CREATE FUNCTION rbactest.domain_instead_of_insert_tf() RETURNS trigger @@ -7824,7 +7824,7 @@ CREATE FUNCTION rbactest.domain_instead_of_insert_tf() RETURNS trigger ALTER FUNCTION rbactest.domain_instead_of_insert_tf() OWNER TO admin; -- --- Name: domain_instead_of_update_tf(); Type: FUNCTION; Schema: rbactest; Owner: test +-- Name: domain_instead_of_update_tf(); Type: FUNCTION; Schema: rbactest; Owner: admin -- CREATE FUNCTION rbactest.domain_instead_of_update_tf() RETURNS trigger @@ -7848,7 +7848,7 @@ CREATE FUNCTION rbactest.domain_instead_of_update_tf() RETURNS trigger ALTER FUNCTION rbactest.domain_instead_of_update_tf() OWNER TO admin; -- --- Name: domain_owner(rbactest.domain, boolean); Type: FUNCTION; Schema: rbactest; Owner: test +-- Name: domain_owner(rbactest.domain, boolean); Type: FUNCTION; Schema: rbactest; Owner: admin -- CREATE FUNCTION rbactest.domain_owner(entity rbactest.domain, assumed boolean DEFAULT true) RETURNS rbac.roledescriptor @@ -7862,7 +7862,7 @@ CREATE FUNCTION rbactest.domain_owner(entity rbactest.domain, assumed boolean DE ALTER FUNCTION rbactest.domain_owner(entity rbactest.domain, assumed boolean) OWNER TO admin; -- --- Name: domain_rebuild_rbac_system(); Type: PROCEDURE; Schema: rbactest; Owner: test +-- Name: domain_rebuild_rbac_system(); Type: PROCEDURE; Schema: rbactest; Owner: admin -- CREATE PROCEDURE rbactest.domain_rebuild_rbac_system() @@ -7896,7 +7896,7 @@ END; ALTER PROCEDURE rbactest.domain_rebuild_rbac_system() OWNER TO admin; -- --- Name: domain_referrer(rbactest.domain); Type: FUNCTION; Schema: rbactest; Owner: test +-- Name: domain_referrer(rbactest.domain); Type: FUNCTION; Schema: rbactest; Owner: admin -- CREATE FUNCTION rbactest.domain_referrer(entity rbactest.domain) RETURNS rbac.roledescriptor @@ -7910,7 +7910,7 @@ CREATE FUNCTION rbactest.domain_referrer(entity rbactest.domain) RETURNS rbac.ro ALTER FUNCTION rbactest.domain_referrer(entity rbactest.domain) OWNER TO admin; -- --- Name: domain_tenant(rbactest.domain, boolean); Type: FUNCTION; Schema: rbactest; Owner: test +-- Name: domain_tenant(rbactest.domain, boolean); Type: FUNCTION; Schema: rbactest; Owner: admin -- CREATE FUNCTION rbactest.domain_tenant(entity rbactest.domain, assumed boolean DEFAULT true) RETURNS rbac.roledescriptor @@ -7924,7 +7924,7 @@ CREATE FUNCTION rbactest.domain_tenant(entity rbactest.domain, assumed boolean D ALTER FUNCTION rbactest.domain_tenant(entity rbactest.domain, assumed boolean) OWNER TO admin; -- --- Name: domain_update_rbac_system(rbactest.domain, rbactest.domain); Type: PROCEDURE; Schema: rbactest; Owner: test +-- Name: domain_update_rbac_system(rbactest.domain, rbactest.domain); Type: PROCEDURE; Schema: rbactest; Owner: admin -- CREATE PROCEDURE rbactest.domain_update_rbac_system(IN old rbactest.domain, IN new rbactest.domain) @@ -7965,7 +7965,7 @@ end; '; ALTER PROCEDURE rbactest.domain_update_rbac_system(IN old rbactest.domain, IN new rbactest.domain) OWNER TO admin; -- --- Name: domain_update_rbac_system_after_update_tf(); Type: FUNCTION; Schema: rbactest; Owner: test +-- Name: domain_update_rbac_system_after_update_tf(); Type: FUNCTION; Schema: rbactest; Owner: admin -- CREATE FUNCTION rbactest.domain_update_rbac_system_after_update_tf() RETURNS trigger @@ -7980,7 +7980,7 @@ end; '; ALTER FUNCTION rbactest.domain_update_rbac_system_after_update_tf() OWNER TO admin; -- --- Name: domain_uuid_by_id_name(character varying); Type: FUNCTION; Schema: rbactest; Owner: test +-- Name: domain_uuid_by_id_name(character varying); Type: FUNCTION; Schema: rbactest; Owner: admin -- CREATE FUNCTION rbactest.domain_uuid_by_id_name(givenidname character varying) RETURNS uuid @@ -7997,7 +7997,7 @@ CREATE FUNCTION rbactest.domain_uuid_by_id_name(givenidname character varying) R ALTER FUNCTION rbactest.domain_uuid_by_id_name(givenidname character varying) OWNER TO admin; -- --- Name: package; Type: TABLE; Schema: rbactest; Owner: test +-- Name: package; Type: TABLE; Schema: rbactest; Owner: admin -- CREATE TABLE rbactest.package ( @@ -8012,7 +8012,7 @@ CREATE TABLE rbactest.package ( ALTER TABLE rbactest.package OWNER TO admin; -- --- Name: package_admin(rbactest.package, boolean); Type: FUNCTION; Schema: rbactest; Owner: test +-- Name: package_admin(rbactest.package, boolean); Type: FUNCTION; Schema: rbactest; Owner: admin -- CREATE FUNCTION rbactest.package_admin(entity rbactest.package, assumed boolean DEFAULT true) RETURNS rbac.roledescriptor @@ -8026,7 +8026,7 @@ CREATE FUNCTION rbactest.package_admin(entity rbactest.package, assumed boolean ALTER FUNCTION rbactest.package_admin(entity rbactest.package, assumed boolean) OWNER TO admin; -- --- Name: package_agent(rbactest.package, boolean); Type: FUNCTION; Schema: rbactest; Owner: test +-- Name: package_agent(rbactest.package, boolean); Type: FUNCTION; Schema: rbactest; Owner: admin -- CREATE FUNCTION rbactest.package_agent(entity rbactest.package, assumed boolean DEFAULT true) RETURNS rbac.roledescriptor @@ -8040,7 +8040,7 @@ CREATE FUNCTION rbactest.package_agent(entity rbactest.package, assumed boolean ALTER FUNCTION rbactest.package_agent(entity rbactest.package, assumed boolean) OWNER TO admin; -- --- Name: package_build_rbac_system(rbactest.package); Type: PROCEDURE; Schema: rbactest; Owner: test +-- Name: package_build_rbac_system(rbactest.package); Type: PROCEDURE; Schema: rbactest; Owner: admin -- CREATE PROCEDURE rbactest.package_build_rbac_system(IN new rbactest.package) @@ -8082,7 +8082,7 @@ end; '; ALTER PROCEDURE rbactest.package_build_rbac_system(IN new rbactest.package) OWNER TO admin; -- --- Name: package_build_rbac_system_after_insert_tf(); Type: FUNCTION; Schema: rbactest; Owner: test +-- Name: package_build_rbac_system_after_insert_tf(); Type: FUNCTION; Schema: rbactest; Owner: admin -- CREATE FUNCTION rbactest.package_build_rbac_system_after_insert_tf() RETURNS trigger @@ -8097,7 +8097,7 @@ end; '; ALTER FUNCTION rbactest.package_build_rbac_system_after_insert_tf() OWNER TO admin; -- --- Name: package_create_test_data(); Type: PROCEDURE; Schema: rbactest; Owner: test +-- Name: package_create_test_data(); Type: PROCEDURE; Schema: rbactest; Owner: admin -- CREATE PROCEDURE rbactest.package_create_test_data() @@ -8120,7 +8120,7 @@ end ; ALTER PROCEDURE rbactest.package_create_test_data() OWNER TO admin; -- --- Name: package_create_test_data(character varying, integer); Type: PROCEDURE; Schema: rbactest; Owner: test +-- Name: package_create_test_data(character varying, integer); Type: PROCEDURE; Schema: rbactest; Owner: admin -- CREATE PROCEDURE rbactest.package_create_test_data(IN customerprefix character varying, IN paccount integer) @@ -8160,7 +8160,7 @@ end; '; ALTER PROCEDURE rbactest.package_create_test_data(IN customerprefix character varying, IN paccount integer) OWNER TO admin; -- --- Name: package_grants_insert_to_customer_tf(); Type: FUNCTION; Schema: rbactest; Owner: test +-- Name: package_grants_insert_to_customer_tf(); Type: FUNCTION; Schema: rbactest; Owner: admin -- CREATE FUNCTION rbactest.package_grants_insert_to_customer_tf() RETURNS trigger @@ -8179,7 +8179,7 @@ end; '; ALTER FUNCTION rbactest.package_grants_insert_to_customer_tf() OWNER TO admin; -- --- Name: package_guest(rbactest.package, boolean); Type: FUNCTION; Schema: rbactest; Owner: test +-- Name: package_guest(rbactest.package, boolean); Type: FUNCTION; Schema: rbactest; Owner: admin -- CREATE FUNCTION rbactest.package_guest(entity rbactest.package, assumed boolean DEFAULT true) RETURNS rbac.roledescriptor @@ -8193,7 +8193,7 @@ CREATE FUNCTION rbactest.package_guest(entity rbactest.package, assumed boolean ALTER FUNCTION rbactest.package_guest(entity rbactest.package, assumed boolean) OWNER TO admin; -- --- Name: package_id_name_by_uuid(uuid); Type: FUNCTION; Schema: rbactest; Owner: test +-- Name: package_id_name_by_uuid(uuid); Type: FUNCTION; Schema: rbactest; Owner: admin -- CREATE FUNCTION rbactest.package_id_name_by_uuid(givenuuid uuid) RETURNS character varying @@ -8206,7 +8206,7 @@ CREATE FUNCTION rbactest.package_id_name_by_uuid(givenuuid uuid) RETURNS charact ALTER FUNCTION rbactest.package_id_name_by_uuid(givenuuid uuid) OWNER TO admin; -- --- Name: package_insert_permission_check_tf(); Type: FUNCTION; Schema: rbactest; Owner: test +-- Name: package_insert_permission_check_tf(); Type: FUNCTION; Schema: rbactest; Owner: admin -- CREATE FUNCTION rbactest.package_insert_permission_check_tf() RETURNS trigger @@ -8228,7 +8228,7 @@ end; '; ALTER FUNCTION rbactest.package_insert_permission_check_tf() OWNER TO admin; -- --- Name: package_instead_of_delete_tf(); Type: FUNCTION; Schema: rbactest; Owner: test +-- Name: package_instead_of_delete_tf(); Type: FUNCTION; Schema: rbactest; Owner: admin -- CREATE FUNCTION rbactest.package_instead_of_delete_tf() RETURNS trigger @@ -8246,7 +8246,7 @@ CREATE FUNCTION rbactest.package_instead_of_delete_tf() RETURNS trigger ALTER FUNCTION rbactest.package_instead_of_delete_tf() OWNER TO admin; -- --- Name: package_instead_of_insert_tf(); Type: FUNCTION; Schema: rbactest; Owner: test +-- Name: package_instead_of_insert_tf(); Type: FUNCTION; Schema: rbactest; Owner: admin -- CREATE FUNCTION rbactest.package_instead_of_insert_tf() RETURNS trigger @@ -8266,7 +8266,7 @@ CREATE FUNCTION rbactest.package_instead_of_insert_tf() RETURNS trigger ALTER FUNCTION rbactest.package_instead_of_insert_tf() OWNER TO admin; -- --- Name: package_instead_of_update_tf(); Type: FUNCTION; Schema: rbactest; Owner: test +-- Name: package_instead_of_update_tf(); Type: FUNCTION; Schema: rbactest; Owner: admin -- CREATE FUNCTION rbactest.package_instead_of_update_tf() RETURNS trigger @@ -8290,7 +8290,7 @@ CREATE FUNCTION rbactest.package_instead_of_update_tf() RETURNS trigger ALTER FUNCTION rbactest.package_instead_of_update_tf() OWNER TO admin; -- --- Name: package_owner(rbactest.package, boolean); Type: FUNCTION; Schema: rbactest; Owner: test +-- Name: package_owner(rbactest.package, boolean); Type: FUNCTION; Schema: rbactest; Owner: admin -- CREATE FUNCTION rbactest.package_owner(entity rbactest.package, assumed boolean DEFAULT true) RETURNS rbac.roledescriptor @@ -8304,7 +8304,7 @@ CREATE FUNCTION rbactest.package_owner(entity rbactest.package, assumed boolean ALTER FUNCTION rbactest.package_owner(entity rbactest.package, assumed boolean) OWNER TO admin; -- --- Name: package_rebuild_rbac_system(); Type: PROCEDURE; Schema: rbactest; Owner: test +-- Name: package_rebuild_rbac_system(); Type: PROCEDURE; Schema: rbactest; Owner: admin -- CREATE PROCEDURE rbactest.package_rebuild_rbac_system() @@ -8338,7 +8338,7 @@ END; ALTER PROCEDURE rbactest.package_rebuild_rbac_system() OWNER TO admin; -- --- Name: package_referrer(rbactest.package); Type: FUNCTION; Schema: rbactest; Owner: test +-- Name: package_referrer(rbactest.package); Type: FUNCTION; Schema: rbactest; Owner: admin -- CREATE FUNCTION rbactest.package_referrer(entity rbactest.package) RETURNS rbac.roledescriptor @@ -8352,7 +8352,7 @@ CREATE FUNCTION rbactest.package_referrer(entity rbactest.package) RETURNS rbac. ALTER FUNCTION rbactest.package_referrer(entity rbactest.package) OWNER TO admin; -- --- Name: package_tenant(rbactest.package, boolean); Type: FUNCTION; Schema: rbactest; Owner: test +-- Name: package_tenant(rbactest.package, boolean); Type: FUNCTION; Schema: rbactest; Owner: admin -- CREATE FUNCTION rbactest.package_tenant(entity rbactest.package, assumed boolean DEFAULT true) RETURNS rbac.roledescriptor @@ -8366,7 +8366,7 @@ CREATE FUNCTION rbactest.package_tenant(entity rbactest.package, assumed boolean ALTER FUNCTION rbactest.package_tenant(entity rbactest.package, assumed boolean) OWNER TO admin; -- --- Name: package_update_rbac_system(rbactest.package, rbactest.package); Type: PROCEDURE; Schema: rbactest; Owner: test +-- Name: package_update_rbac_system(rbactest.package, rbactest.package); Type: PROCEDURE; Schema: rbactest; Owner: admin -- CREATE PROCEDURE rbactest.package_update_rbac_system(IN old rbactest.package, IN new rbactest.package) @@ -8404,7 +8404,7 @@ end; '; ALTER PROCEDURE rbactest.package_update_rbac_system(IN old rbactest.package, IN new rbactest.package) OWNER TO admin; -- --- Name: package_update_rbac_system_after_update_tf(); Type: FUNCTION; Schema: rbactest; Owner: test +-- Name: package_update_rbac_system_after_update_tf(); Type: FUNCTION; Schema: rbactest; Owner: admin -- CREATE FUNCTION rbactest.package_update_rbac_system_after_update_tf() RETURNS trigger @@ -8419,7 +8419,7 @@ end; '; ALTER FUNCTION rbactest.package_update_rbac_system_after_update_tf() OWNER TO admin; -- --- Name: package_uuid_by_id_name(character varying); Type: FUNCTION; Schema: rbactest; Owner: test +-- Name: package_uuid_by_id_name(character varying); Type: FUNCTION; Schema: rbactest; Owner: admin -- CREATE FUNCTION rbactest.package_uuid_by_id_name(givenidname character varying) RETURNS uuid @@ -8436,7 +8436,7 @@ CREATE FUNCTION rbactest.package_uuid_by_id_name(givenidname character varying) ALTER FUNCTION rbactest.package_uuid_by_id_name(givenidname character varying) OWNER TO admin; -- --- Name: tx_context; Type: TABLE; Schema: base; Owner: test +-- Name: tx_context; Type: TABLE; Schema: base; Owner: admin -- CREATE TABLE base.tx_context ( @@ -8452,7 +8452,7 @@ CREATE TABLE base.tx_context ( ALTER TABLE base.tx_context OWNER TO admin; -- --- Name: tx_journal; Type: TABLE; Schema: base; Owner: test +-- Name: tx_journal; Type: TABLE; Schema: base; Owner: admin -- CREATE TABLE base.tx_journal ( @@ -8467,7 +8467,7 @@ CREATE TABLE base.tx_journal ( ALTER TABLE base.tx_journal OWNER TO admin; -- --- Name: tx_journal_v; Type: VIEW; Schema: base; Owner: test +-- Name: tx_journal_v; Type: VIEW; Schema: base; Owner: admin -- CREATE VIEW base.tx_journal_v AS @@ -8489,7 +8489,7 @@ CREATE VIEW base.tx_journal_v AS ALTER VIEW base.tx_journal_v OWNER TO admin; -- --- Name: partner_legacy_id; Type: TABLE; Schema: hs_office; Owner: test +-- Name: partner_legacy_id; Type: TABLE; Schema: hs_office; Owner: admin -- CREATE TABLE hs_office.partner_legacy_id ( @@ -8501,7 +8501,7 @@ CREATE TABLE hs_office.partner_legacy_id ( ALTER TABLE hs_office.partner_legacy_id OWNER TO admin; -- --- Name: contact; Type: VIEW; Schema: hs_integration; Owner: test +-- Name: contact; Type: VIEW; Schema: hs_integration; Owner: admin -- CREATE VIEW hs_integration.contact AS @@ -8600,7 +8600,7 @@ UNION ALTER VIEW hs_integration.contact OWNER TO admin; -- --- Name: subscription; Type: VIEW; Schema: hs_integration; Owner: test +-- Name: subscription; Type: VIEW; Schema: hs_integration; Owner: admin -- CREATE VIEW hs_integration.subscription AS @@ -8614,7 +8614,7 @@ CREATE VIEW hs_integration.subscription AS ALTER VIEW hs_integration.subscription OWNER TO admin; -- --- Name: ticket_customer_company; Type: VIEW; Schema: hs_integration; Owner: test +-- Name: ticket_customer_company; Type: VIEW; Schema: hs_integration; Owner: admin -- CREATE VIEW hs_integration.ticket_customer_company AS @@ -8633,7 +8633,7 @@ CREATE VIEW hs_integration.ticket_customer_company AS ALTER VIEW hs_integration.ticket_customer_company OWNER TO admin; -- --- Name: ticket_customer_user; Type: VIEW; Schema: hs_integration; Owner: test +-- Name: ticket_customer_user; Type: VIEW; Schema: hs_integration; Owner: admin -- CREATE VIEW hs_integration.ticket_customer_user AS @@ -8672,7 +8672,7 @@ CREATE VIEW hs_integration.ticket_customer_user AS ALTER VIEW hs_integration.ticket_customer_user OWNER TO admin; -- --- Name: time_customer; Type: VIEW; Schema: hs_integration; Owner: test +-- Name: time_customer; Type: VIEW; Schema: hs_integration; Owner: admin -- CREATE VIEW hs_integration.time_customer AS @@ -8687,7 +8687,7 @@ CREATE VIEW hs_integration.time_customer AS ALTER VIEW hs_integration.time_customer OWNER TO admin; -- --- Name: bankaccount_iv; Type: VIEW; Schema: hs_office; Owner: test +-- Name: bankaccount_iv; Type: VIEW; Schema: hs_office; Owner: admin -- CREATE VIEW hs_office.bankaccount_iv AS @@ -8699,7 +8699,7 @@ CREATE VIEW hs_office.bankaccount_iv AS ALTER VIEW hs_office.bankaccount_iv OWNER TO admin; -- --- Name: grant; Type: TABLE; Schema: rbac; Owner: test +-- Name: grant; Type: TABLE; Schema: rbac; Owner: admin -- CREATE TABLE rbac."grant" ( @@ -8716,7 +8716,7 @@ CREATE TABLE rbac."grant" ( ALTER TABLE rbac."grant" OWNER TO admin; -- --- Name: object; Type: TABLE; Schema: rbac; Owner: test +-- Name: object; Type: TABLE; Schema: rbac; Owner: admin -- CREATE TABLE rbac.object ( @@ -8729,7 +8729,7 @@ CREATE TABLE rbac.object ( ALTER TABLE rbac.object OWNER TO admin; -- --- Name: bankaccount_rv; Type: VIEW; Schema: hs_office; Owner: test +-- Name: bankaccount_rv; Type: VIEW; Schema: hs_office; Owner: admin -- CREATE VIEW hs_office.bankaccount_rv AS @@ -8778,7 +8778,7 @@ CREATE VIEW hs_office.bankaccount_rv AS ALTER VIEW hs_office.bankaccount_rv OWNER TO admin; -- --- Name: contact_iv; Type: VIEW; Schema: hs_office; Owner: test +-- Name: contact_iv; Type: VIEW; Schema: hs_office; Owner: admin -- CREATE VIEW hs_office.contact_iv AS @@ -8790,7 +8790,7 @@ CREATE VIEW hs_office.contact_iv AS ALTER VIEW hs_office.contact_iv OWNER TO admin; -- --- Name: contact_legacy_id; Type: TABLE; Schema: hs_office; Owner: test +-- Name: contact_legacy_id; Type: TABLE; Schema: hs_office; Owner: admin -- CREATE TABLE hs_office.contact_legacy_id ( @@ -8802,7 +8802,7 @@ CREATE TABLE hs_office.contact_legacy_id ( ALTER TABLE hs_office.contact_legacy_id OWNER TO admin; -- --- Name: contact_legacy_id_seq; Type: SEQUENCE; Schema: hs_office; Owner: test +-- Name: contact_legacy_id_seq; Type: SEQUENCE; Schema: hs_office; Owner: admin -- CREATE SEQUENCE hs_office.contact_legacy_id_seq @@ -8817,14 +8817,14 @@ CREATE SEQUENCE hs_office.contact_legacy_id_seq ALTER SEQUENCE hs_office.contact_legacy_id_seq OWNER TO admin; -- --- Name: contact_legacy_id_seq; Type: SEQUENCE OWNED BY; Schema: hs_office; Owner: test +-- Name: contact_legacy_id_seq; Type: SEQUENCE OWNED BY; Schema: hs_office; Owner: admin -- 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: test +-- Name: contact_rv; Type: VIEW; Schema: hs_office; Owner: admin -- CREATE VIEW hs_office.contact_rv AS @@ -8874,7 +8874,7 @@ CREATE VIEW hs_office.contact_rv AS ALTER VIEW hs_office.contact_rv OWNER TO admin; -- --- Name: coopassettx_iv; Type: VIEW; Schema: hs_office; Owner: test +-- Name: coopassettx_iv; Type: VIEW; Schema: hs_office; Owner: admin -- CREATE VIEW hs_office.coopassettx_iv AS @@ -8886,7 +8886,7 @@ CREATE VIEW hs_office.coopassettx_iv AS ALTER VIEW hs_office.coopassettx_iv OWNER TO admin; -- --- Name: coopassettx_legacy_id; Type: TABLE; Schema: hs_office; Owner: test +-- Name: coopassettx_legacy_id; Type: TABLE; Schema: hs_office; Owner: admin -- CREATE TABLE hs_office.coopassettx_legacy_id ( @@ -8898,7 +8898,7 @@ CREATE TABLE hs_office.coopassettx_legacy_id ( ALTER TABLE hs_office.coopassettx_legacy_id OWNER TO admin; -- --- Name: coopassettx_legacy_id_seq; Type: SEQUENCE; Schema: hs_office; Owner: test +-- Name: coopassettx_legacy_id_seq; Type: SEQUENCE; Schema: hs_office; Owner: admin -- CREATE SEQUENCE hs_office.coopassettx_legacy_id_seq @@ -8913,14 +8913,14 @@ CREATE SEQUENCE hs_office.coopassettx_legacy_id_seq ALTER SEQUENCE hs_office.coopassettx_legacy_id_seq OWNER TO admin; -- --- Name: coopassettx_legacy_id_seq; Type: SEQUENCE OWNED BY; Schema: hs_office; Owner: test +-- Name: coopassettx_legacy_id_seq; Type: SEQUENCE OWNED BY; Schema: hs_office; Owner: admin -- 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: test +-- Name: coopassettx_rv; Type: VIEW; Schema: hs_office; Owner: admin -- CREATE VIEW hs_office.coopassettx_rv AS @@ -8974,7 +8974,7 @@ CREATE VIEW hs_office.coopassettx_rv AS ALTER VIEW hs_office.coopassettx_rv OWNER TO admin; -- --- Name: coopsharetx_iv; Type: VIEW; Schema: hs_office; Owner: test +-- Name: coopsharetx_iv; Type: VIEW; Schema: hs_office; Owner: admin -- CREATE VIEW hs_office.coopsharetx_iv AS @@ -8986,7 +8986,7 @@ CREATE VIEW hs_office.coopsharetx_iv AS ALTER VIEW hs_office.coopsharetx_iv OWNER TO admin; -- --- Name: coopsharetx_legacy_id; Type: TABLE; Schema: hs_office; Owner: test +-- Name: coopsharetx_legacy_id; Type: TABLE; Schema: hs_office; Owner: admin -- CREATE TABLE hs_office.coopsharetx_legacy_id ( @@ -8998,7 +8998,7 @@ CREATE TABLE hs_office.coopsharetx_legacy_id ( ALTER TABLE hs_office.coopsharetx_legacy_id OWNER TO admin; -- --- Name: coopsharetx_legacy_id_seq; Type: SEQUENCE; Schema: hs_office; Owner: test +-- Name: coopsharetx_legacy_id_seq; Type: SEQUENCE; Schema: hs_office; Owner: admin -- CREATE SEQUENCE hs_office.coopsharetx_legacy_id_seq @@ -9013,14 +9013,14 @@ CREATE SEQUENCE hs_office.coopsharetx_legacy_id_seq ALTER SEQUENCE hs_office.coopsharetx_legacy_id_seq OWNER TO admin; -- --- Name: coopsharetx_legacy_id_seq; Type: SEQUENCE OWNED BY; Schema: hs_office; Owner: test +-- Name: coopsharetx_legacy_id_seq; Type: SEQUENCE OWNED BY; Schema: hs_office; Owner: admin -- 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: test +-- Name: coopsharetx_rv; Type: VIEW; Schema: hs_office; Owner: admin -- CREATE VIEW hs_office.coopsharetx_rv AS @@ -9073,7 +9073,7 @@ CREATE VIEW hs_office.coopsharetx_rv AS ALTER VIEW hs_office.coopsharetx_rv OWNER TO admin; -- --- Name: debitor_iv; Type: VIEW; Schema: hs_office; Owner: test +-- Name: debitor_iv; Type: VIEW; Schema: hs_office; Owner: admin -- CREATE VIEW hs_office.debitor_iv AS @@ -9089,7 +9089,7 @@ CREATE VIEW hs_office.debitor_iv AS ALTER VIEW hs_office.debitor_iv OWNER TO admin; -- --- Name: debitor_rv; Type: VIEW; Schema: hs_office; Owner: test +-- Name: debitor_rv; Type: VIEW; Schema: hs_office; Owner: admin -- CREATE VIEW hs_office.debitor_rv AS @@ -9144,7 +9144,7 @@ CREATE VIEW hs_office.debitor_rv AS ALTER VIEW hs_office.debitor_rv OWNER TO admin; -- --- Name: membership_iv; Type: VIEW; Schema: hs_office; Owner: test +-- Name: membership_iv; Type: VIEW; Schema: hs_office; Owner: admin -- CREATE VIEW hs_office.membership_iv AS @@ -9157,7 +9157,7 @@ CREATE VIEW hs_office.membership_iv AS ALTER VIEW hs_office.membership_iv OWNER TO admin; -- --- Name: membership_rv; Type: VIEW; Schema: hs_office; Owner: test +-- Name: membership_rv; Type: VIEW; Schema: hs_office; Owner: admin -- CREATE VIEW hs_office.membership_rv AS @@ -9208,7 +9208,7 @@ CREATE VIEW hs_office.membership_rv AS ALTER VIEW hs_office.membership_rv OWNER TO admin; -- --- Name: partner_iv; Type: VIEW; Schema: hs_office; Owner: test +-- Name: partner_iv; Type: VIEW; Schema: hs_office; Owner: admin -- CREATE VIEW hs_office.partner_iv AS @@ -9220,7 +9220,7 @@ CREATE VIEW hs_office.partner_iv AS ALTER VIEW hs_office.partner_iv OWNER TO admin; -- --- Name: partner_details_iv; Type: VIEW; Schema: hs_office; Owner: test +-- Name: partner_details_iv; Type: VIEW; Schema: hs_office; Owner: admin -- CREATE VIEW hs_office.partner_details_iv AS @@ -9234,7 +9234,7 @@ CREATE VIEW hs_office.partner_details_iv AS ALTER VIEW hs_office.partner_details_iv OWNER TO admin; -- --- Name: partner_details_rv; Type: VIEW; Schema: hs_office; Owner: test +-- Name: partner_details_rv; Type: VIEW; Schema: hs_office; Owner: admin -- CREATE VIEW hs_office.partner_details_rv AS @@ -9286,7 +9286,7 @@ CREATE VIEW hs_office.partner_details_rv AS ALTER VIEW hs_office.partner_details_rv OWNER TO admin; -- --- Name: partner_legacy_id_seq; Type: SEQUENCE; Schema: hs_office; Owner: test +-- Name: partner_legacy_id_seq; Type: SEQUENCE; Schema: hs_office; Owner: admin -- CREATE SEQUENCE hs_office.partner_legacy_id_seq @@ -9301,14 +9301,14 @@ CREATE SEQUENCE hs_office.partner_legacy_id_seq ALTER SEQUENCE hs_office.partner_legacy_id_seq OWNER TO admin; -- --- Name: partner_legacy_id_seq; Type: SEQUENCE OWNED BY; Schema: hs_office; Owner: test +-- Name: partner_legacy_id_seq; Type: SEQUENCE OWNED BY; Schema: hs_office; Owner: admin -- 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: test +-- Name: partner_rv; Type: VIEW; Schema: hs_office; Owner: admin -- CREATE VIEW hs_office.partner_rv AS @@ -9357,7 +9357,7 @@ CREATE VIEW hs_office.partner_rv AS ALTER VIEW hs_office.partner_rv OWNER TO admin; -- --- Name: person_iv; Type: VIEW; Schema: hs_office; Owner: test +-- Name: person_iv; Type: VIEW; Schema: hs_office; Owner: admin -- CREATE VIEW hs_office.person_iv AS @@ -9369,7 +9369,7 @@ CREATE VIEW hs_office.person_iv AS ALTER VIEW hs_office.person_iv OWNER TO admin; -- --- Name: person_rv; Type: VIEW; Schema: hs_office; Owner: test +-- Name: person_rv; Type: VIEW; Schema: hs_office; Owner: admin -- CREATE VIEW hs_office.person_rv AS @@ -9421,7 +9421,7 @@ CREATE VIEW hs_office.person_rv AS ALTER VIEW hs_office.person_rv OWNER TO admin; -- --- Name: relation_iv; Type: VIEW; Schema: hs_office; Owner: test +-- Name: relation_iv; Type: VIEW; Schema: hs_office; Owner: admin -- CREATE VIEW hs_office.relation_iv AS @@ -9437,7 +9437,7 @@ CREATE VIEW hs_office.relation_iv AS ALTER VIEW hs_office.relation_iv OWNER TO admin; -- --- Name: relation_rv; Type: VIEW; Schema: hs_office; Owner: test +-- Name: relation_rv; Type: VIEW; Schema: hs_office; Owner: admin -- CREATE VIEW hs_office.relation_rv AS @@ -9490,7 +9490,7 @@ CREATE VIEW hs_office.relation_rv AS ALTER VIEW hs_office.relation_rv OWNER TO admin; -- --- Name: sepamandate_iv; Type: VIEW; Schema: hs_office; Owner: test +-- Name: sepamandate_iv; Type: VIEW; Schema: hs_office; Owner: admin -- CREATE VIEW hs_office.sepamandate_iv AS @@ -9503,7 +9503,7 @@ CREATE VIEW hs_office.sepamandate_iv AS ALTER VIEW hs_office.sepamandate_iv OWNER TO admin; -- --- Name: sepamandate_legacy_id; Type: TABLE; Schema: hs_office; Owner: test +-- Name: sepamandate_legacy_id; Type: TABLE; Schema: hs_office; Owner: admin -- CREATE TABLE hs_office.sepamandate_legacy_id ( @@ -9515,7 +9515,7 @@ CREATE TABLE hs_office.sepamandate_legacy_id ( ALTER TABLE hs_office.sepamandate_legacy_id OWNER TO admin; -- --- Name: sepamandate_legacy_id_seq; Type: SEQUENCE; Schema: hs_office; Owner: test +-- Name: sepamandate_legacy_id_seq; Type: SEQUENCE; Schema: hs_office; Owner: admin -- CREATE SEQUENCE hs_office.sepamandate_legacy_id_seq @@ -9530,14 +9530,14 @@ CREATE SEQUENCE hs_office.sepamandate_legacy_id_seq ALTER SEQUENCE hs_office.sepamandate_legacy_id_seq OWNER TO admin; -- --- Name: sepamandate_legacy_id_seq; Type: SEQUENCE OWNED BY; Schema: hs_office; Owner: test +-- Name: sepamandate_legacy_id_seq; Type: SEQUENCE OWNED BY; Schema: hs_office; Owner: admin -- 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: test +-- Name: sepamandate_rv; Type: VIEW; Schema: hs_office; Owner: admin -- CREATE VIEW hs_office.sepamandate_rv AS @@ -9588,7 +9588,7 @@ CREATE VIEW hs_office.sepamandate_rv AS ALTER VIEW hs_office.sepamandate_rv OWNER TO admin; -- --- Name: databasechangelog; Type: TABLE; Schema: public; Owner: test +-- Name: databasechangelog; Type: TABLE; Schema: public; Owner: admin -- CREATE TABLE public.databasechangelog ( @@ -9612,7 +9612,7 @@ CREATE TABLE public.databasechangelog ( ALTER TABLE public.databasechangelog OWNER TO admin; -- --- Name: databasechangeloglock; Type: TABLE; Schema: public; Owner: test +-- Name: databasechangeloglock; Type: TABLE; Schema: public; Owner: admin -- CREATE TABLE public.databasechangeloglock ( @@ -9626,7 +9626,7 @@ CREATE TABLE public.databasechangeloglock ( ALTER TABLE public.databasechangeloglock OWNER TO admin; -- --- Name: global; Type: TABLE; Schema: rbac; Owner: test +-- Name: global; Type: TABLE; Schema: rbac; Owner: admin -- CREATE TABLE rbac.global ( @@ -9638,7 +9638,7 @@ CREATE TABLE rbac.global ( ALTER TABLE rbac.global OWNER TO admin; -- --- Name: global_iv; Type: VIEW; Schema: rbac; Owner: test +-- Name: global_iv; Type: VIEW; Schema: rbac; Owner: admin -- CREATE VIEW rbac.global_iv AS @@ -9650,7 +9650,7 @@ CREATE VIEW rbac.global_iv AS ALTER VIEW rbac.global_iv OWNER TO admin; -- --- Name: role; Type: TABLE; Schema: rbac; Owner: test +-- Name: role; Type: TABLE; Schema: rbac; Owner: admin -- CREATE TABLE rbac.role ( @@ -9663,7 +9663,7 @@ CREATE TABLE rbac.role ( ALTER TABLE rbac.role OWNER TO admin; -- --- Name: grant_ev; Type: VIEW; Schema: rbac; Owner: test +-- Name: grant_ev; Type: VIEW; Schema: rbac; Owner: admin -- CREATE VIEW rbac.grant_ev AS @@ -9713,7 +9713,7 @@ CREATE VIEW rbac.grant_ev AS ALTER VIEW rbac.grant_ev OWNER TO admin; -- --- Name: grant_rv; Type: VIEW; Schema: rbac; Owner: test +-- Name: grant_rv; Type: VIEW; Schema: rbac; Owner: admin -- CREATE VIEW rbac.grant_rv AS @@ -9750,7 +9750,7 @@ CREATE VIEW rbac.grant_rv AS ALTER VIEW rbac.grant_rv OWNER TO admin; -- --- Name: object_serialid_seq; Type: SEQUENCE; Schema: rbac; Owner: test +-- Name: object_serialid_seq; Type: SEQUENCE; Schema: rbac; Owner: admin -- CREATE SEQUENCE rbac.object_serialid_seq @@ -9765,14 +9765,14 @@ CREATE SEQUENCE rbac.object_serialid_seq ALTER SEQUENCE rbac.object_serialid_seq OWNER TO admin; -- --- Name: object_serialid_seq; Type: SEQUENCE OWNED BY; Schema: rbac; Owner: test +-- Name: object_serialid_seq; Type: SEQUENCE OWNED BY; Schema: rbac; Owner: admin -- ALTER SEQUENCE rbac.object_serialid_seq OWNED BY rbac.object.serialid; -- --- Name: role_rv; Type: VIEW; Schema: rbac; Owner: test +-- Name: role_rv; Type: VIEW; Schema: rbac; Owner: admin -- CREATE VIEW rbac.role_rv AS @@ -9795,7 +9795,7 @@ CREATE VIEW rbac.role_rv AS ALTER VIEW rbac.role_rv OWNER TO admin; -- --- Name: own_granted_permissions_rv; Type: VIEW; Schema: rbac; Owner: test +-- Name: own_granted_permissions_rv; Type: VIEW; Schema: rbac; Owner: admin -- CREATE VIEW rbac.own_granted_permissions_rv AS @@ -9815,7 +9815,7 @@ CREATE VIEW rbac.own_granted_permissions_rv AS ALTER VIEW rbac.own_granted_permissions_rv OWNER TO admin; -- --- Name: role_ev; Type: VIEW; Schema: rbac; Owner: test +-- Name: role_ev; Type: VIEW; Schema: rbac; Owner: admin -- CREATE VIEW rbac.role_ev AS @@ -9838,7 +9838,7 @@ CREATE VIEW rbac.role_ev AS ALTER VIEW rbac.role_ev OWNER TO admin; -- --- Name: statistics_v; Type: VIEW; Schema: rbac; Owner: test +-- Name: statistics_v; Type: VIEW; Schema: rbac; Owner: admin -- CREATE VIEW rbac.statistics_v AS @@ -9880,7 +9880,7 @@ CREATE VIEW rbac.statistics_v AS ALTER VIEW rbac.statistics_v OWNER TO admin; -- --- Name: subject_ev; Type: VIEW; Schema: rbac; Owner: test +-- Name: subject_ev; Type: VIEW; Schema: rbac; Owner: admin -- CREATE VIEW rbac.subject_ev AS @@ -9901,7 +9901,7 @@ CREATE VIEW rbac.subject_ev AS ALTER VIEW rbac.subject_ev OWNER TO admin; -- --- Name: subject_rv; Type: VIEW; Schema: rbac; Owner: test +-- Name: subject_rv; Type: VIEW; Schema: rbac; Owner: admin -- CREATE VIEW rbac.subject_rv AS @@ -9923,7 +9923,7 @@ CREATE VIEW rbac.subject_rv AS ALTER VIEW rbac.subject_rv OWNER TO admin; -- --- Name: customer_iv; Type: VIEW; Schema: rbactest; Owner: test +-- Name: customer_iv; Type: VIEW; Schema: rbactest; Owner: admin -- CREATE VIEW rbactest.customer_iv AS @@ -9935,7 +9935,7 @@ CREATE VIEW rbactest.customer_iv AS ALTER VIEW rbactest.customer_iv OWNER TO admin; -- --- Name: customer_rv; Type: VIEW; Schema: rbactest; Owner: test +-- Name: customer_rv; Type: VIEW; Schema: rbactest; Owner: admin -- CREATE VIEW rbactest.customer_rv AS @@ -9984,7 +9984,7 @@ CREATE VIEW rbactest.customer_rv AS ALTER VIEW rbactest.customer_rv OWNER TO admin; -- --- Name: domain_iv; Type: VIEW; Schema: rbactest; Owner: test +-- Name: domain_iv; Type: VIEW; Schema: rbactest; Owner: admin -- CREATE VIEW rbactest.domain_iv AS @@ -9996,7 +9996,7 @@ CREATE VIEW rbactest.domain_iv AS ALTER VIEW rbactest.domain_iv OWNER TO admin; -- --- Name: domain_rv; Type: VIEW; Schema: rbactest; Owner: test +-- Name: domain_rv; Type: VIEW; Schema: rbactest; Owner: admin -- CREATE VIEW rbactest.domain_rv AS @@ -10044,7 +10044,7 @@ CREATE VIEW rbactest.domain_rv AS ALTER VIEW rbactest.domain_rv OWNER TO admin; -- --- Name: package_iv; Type: VIEW; Schema: rbactest; Owner: test +-- Name: package_iv; Type: VIEW; Schema: rbactest; Owner: admin -- CREATE VIEW rbactest.package_iv AS @@ -10056,7 +10056,7 @@ CREATE VIEW rbactest.package_iv AS ALTER VIEW rbactest.package_iv OWNER TO admin; -- --- Name: package_rv; Type: VIEW; Schema: rbactest; Owner: test +-- Name: package_rv; Type: VIEW; Schema: rbactest; Owner: admin -- CREATE VIEW rbactest.package_rv AS @@ -10105,49 +10105,49 @@ CREATE VIEW rbactest.package_rv AS ALTER VIEW rbactest.package_rv OWNER TO admin; -- --- Name: contact_legacy_id contact_id; Type: DEFAULT; Schema: hs_office; Owner: test +-- Name: contact_legacy_id contact_id; Type: DEFAULT; Schema: hs_office; Owner: admin -- 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: test +-- Name: coopassettx_legacy_id member_asset_id; Type: DEFAULT; Schema: hs_office; Owner: admin -- 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: test +-- Name: coopsharetx_legacy_id member_share_id; Type: DEFAULT; Schema: hs_office; Owner: admin -- 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: test +-- Name: partner_legacy_id bp_id; Type: DEFAULT; Schema: hs_office; Owner: admin -- 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: test +-- Name: sepamandate_legacy_id sepa_mandate_id; Type: DEFAULT; Schema: hs_office; Owner: admin -- 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: test +-- Name: object serialid; Type: DEFAULT; Schema: rbac; Owner: admin -- 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: test +-- Data for Name: tx_context; Type: TABLE DATA; Schema: base; Owner: admin -- INSERT INTO base.tx_context (txid, txtimestamp, currentsubject, assumedroles, currenttask, currentrequest) VALUES ('1692', '2025-01-30 16:36:11.049546', 'superuser-alex@hostsharing.net', '{}', 'persistOfficeEntities()', ''); @@ -10160,10 +10160,11 @@ INSERT INTO base.tx_context (txid, txtimestamp, currentsubject, assumedroles, cu INSERT INTO base.tx_context (txid, txtimestamp, currentsubject, assumedroles, currenttask, currentrequest) VALUES ('2165', '2025-01-30 16:36:14.17407', 'superuser-alex@hostsharing.net', '{}', 'persistOfficeEntities()', ''); INSERT INTO base.tx_context (txid, txtimestamp, currentsubject, assumedroles, currenttask, currentrequest) VALUES ('2187', '2025-01-30 16:36:14.382939', 'superuser-alex@hostsharing.net', '{}', 'persistOfficeEntities()', ''); INSERT INTO base.tx_context (txid, txtimestamp, currentsubject, assumedroles, currenttask, currentrequest) VALUES ('2210', '2025-01-30 16:36:14.478165', 'superuser-alex@hostsharing.net', '{}', 'persistOfficeEntities()', ''); +INSERT INTO base.tx_context (txid, txtimestamp, currentsubject, assumedroles, currenttask, currentrequest) VALUES ('727', '2025-06-06 10:24:43.324014', '', '{}', 'liquibaseMigrationForBookingAndHosting()', ''); -- --- Data for Name: tx_journal; Type: TABLE DATA; Schema: base; Owner: test +-- Data for Name: tx_journal; Type: TABLE DATA; Schema: base; Owner: admin -- INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1692', 'rbac.object', '691db509-b67e-46ec-a859-c4cb05fbbd70', 'INSERT', '{"uuid": "691db509-b67e-46ec-a859-c4cb05fbbd70", "serialid": 129, "objecttable": "hs_office.contact"}'); @@ -10277,6 +10278,7 @@ INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelt INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1692', 'rbac.object', 'caac18bd-9277-47ac-99bb-368e2d64dac0', 'INSERT', '{"uuid": "caac18bd-9277-47ac-99bb-368e2d64dac0", "serialid": 136, "objecttable": "hs_office.contact"}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1692', 'rbac.role', '310cdf00-c863-4ea0-9e4e-9eac8a74f51a', 'INSERT', '{"uuid": "310cdf00-c863-4ea0-9e4e-9eac8a74f51a", "roletype": "OWNER", "objectuuid": "caac18bd-9277-47ac-99bb-368e2d64dac0"}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1692', 'rbac.permission', '2e07da63-f1f6-4342-b090-f3c465e9093a', 'INSERT', '{"op": "DELETE", "uuid": "2e07da63-f1f6-4342-b090-f3c465e9093a", "objectuuid": "caac18bd-9277-47ac-99bb-368e2d64dac0", "optablename": null}'); +INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1692', 'rbac.role', '97344c39-24d3-4df5-8dba-ba41ff28a020', 'INSERT', '{"uuid": "97344c39-24d3-4df5-8dba-ba41ff28a020", "roletype": "OWNER", "objectuuid": "4b68de11-a658-44bb-be49-ad592e73e3d8"}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1692', 'rbac.grant', '1ec460a0-94c2-4faf-869e-02a6edf7d16c', 'INSERT', '{"uuid": "1ec460a0-94c2-4faf-869e-02a6edf7d16c", "assumed": true, "ascendantuuid": "310cdf00-c863-4ea0-9e4e-9eac8a74f51a", "descendantuuid": "2e07da63-f1f6-4342-b090-f3c465e9093a", "grantedbyroleuuid": null, "grantedbytriggerof": "caac18bd-9277-47ac-99bb-368e2d64dac0"}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1692', 'rbac.grant', 'be53f5ee-7a75-45fe-b438-2b11efbf210d', 'INSERT', '{"uuid": "be53f5ee-7a75-45fe-b438-2b11efbf210d", "assumed": true, "ascendantuuid": "ce47754e-0d06-4b12-bc91-8034a4a046e7", "descendantuuid": "310cdf00-c863-4ea0-9e4e-9eac8a74f51a", "grantedbyroleuuid": null, "grantedbytriggerof": "caac18bd-9277-47ac-99bb-368e2d64dac0"}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1692', 'rbac.grant', 'eac7fcd2-b8db-4b32-834c-41c717ba4a56', 'INSERT', '{"uuid": "eac7fcd2-b8db-4b32-834c-41c717ba4a56", "assumed": true, "ascendantuuid": "3706fd53-e952-408a-aedd-93ec6d5129be", "descendantuuid": "310cdf00-c863-4ea0-9e4e-9eac8a74f51a", "grantedbyroleuuid": "310cdf00-c863-4ea0-9e4e-9eac8a74f51a", "grantedbytriggerof": null}'); @@ -10304,7 +10306,6 @@ INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelt INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1692', 'rbac.grant', '180e3c3c-0f8f-4403-9892-fecd79374318', 'INSERT', '{"uuid": "180e3c3c-0f8f-4403-9892-fecd79374318", "assumed": true, "ascendantuuid": "57ee73c6-769e-461e-9cea-7bfe56970bf7", "descendantuuid": "e65ad361-79d6-46a3-a7c7-a18048b7237a", "grantedbyroleuuid": null, "grantedbytriggerof": "eead6995-dd54-475f-8194-74445c421305"}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1692', 'hs_office.contact', 'eead6995-dd54-475f-8194-74445c421305', 'INSERT', '{"uuid": "eead6995-dd54-475f-8194-74445c421305", "caption": "Test PS, Petra Schmidt", "version": 0, "phonenumbers": {}, "postaladdress": {"firm": "Petra Schmidt", "name": "Petra Schmidt"}, "emailaddresses": {"main": "ps@example.com"}}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1692', 'rbac.object', '4b68de11-a658-44bb-be49-ad592e73e3d8', 'INSERT', '{"uuid": "4b68de11-a658-44bb-be49-ad592e73e3d8", "serialid": 138, "objecttable": "hs_office.contact"}'); -INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1692', 'rbac.role', '97344c39-24d3-4df5-8dba-ba41ff28a020', 'INSERT', '{"uuid": "97344c39-24d3-4df5-8dba-ba41ff28a020", "roletype": "OWNER", "objectuuid": "4b68de11-a658-44bb-be49-ad592e73e3d8"}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1692', 'rbac.permission', '81ea98dc-258a-4ab6-8537-8de22e9e90be', 'INSERT', '{"op": "DELETE", "uuid": "81ea98dc-258a-4ab6-8537-8de22e9e90be", "objectuuid": "4b68de11-a658-44bb-be49-ad592e73e3d8", "optablename": null}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1692', 'rbac.grant', '03f51fe7-db78-4b8d-996f-cbee3ba752ab', 'INSERT', '{"uuid": "03f51fe7-db78-4b8d-996f-cbee3ba752ab", "assumed": true, "ascendantuuid": "97344c39-24d3-4df5-8dba-ba41ff28a020", "descendantuuid": "81ea98dc-258a-4ab6-8537-8de22e9e90be", "grantedbyroleuuid": null, "grantedbytriggerof": "4b68de11-a658-44bb-be49-ad592e73e3d8"}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1692', 'rbac.grant', 'd0280cb3-1d1d-4ec4-b00b-c220caa3729f', 'INSERT', '{"uuid": "d0280cb3-1d1d-4ec4-b00b-c220caa3729f", "assumed": true, "ascendantuuid": "ce47754e-0d06-4b12-bc91-8034a4a046e7", "descendantuuid": "97344c39-24d3-4df5-8dba-ba41ff28a020", "grantedbyroleuuid": null, "grantedbytriggerof": "4b68de11-a658-44bb-be49-ad592e73e3d8"}'); @@ -10415,6 +10416,7 @@ INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelt INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1692', 'rbac.role', 'fdcffa04-a455-4869-ab8f-2f2fa05e4b02', 'INSERT', '{"uuid": "fdcffa04-a455-4869-ab8f-2f2fa05e4b02", "roletype": "ADMIN", "objectuuid": "e8151525-ae0c-44fb-9755-72be88f7f6b1"}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1692', 'rbac.permission', 'e6b918a1-edaa-4170-b6eb-9c8257b9a72a', 'INSERT', '{"op": "UPDATE", "uuid": "e6b918a1-edaa-4170-b6eb-9c8257b9a72a", "objectuuid": "e8151525-ae0c-44fb-9755-72be88f7f6b1", "optablename": null}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1692', 'rbac.grant', '6f889e57-27bc-4441-be05-633783ab6321', 'INSERT', '{"uuid": "6f889e57-27bc-4441-be05-633783ab6321", "assumed": true, "ascendantuuid": "fdcffa04-a455-4869-ab8f-2f2fa05e4b02", "descendantuuid": "e6b918a1-edaa-4170-b6eb-9c8257b9a72a", "grantedbyroleuuid": null, "grantedbytriggerof": "e8151525-ae0c-44fb-9755-72be88f7f6b1"}'); +INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1750', 'rbac.role', '9115be3d-2bef-40ce-b0c9-339e460c751d', 'INSERT', '{"uuid": "9115be3d-2bef-40ce-b0c9-339e460c751d", "roletype": "REFERRER", "objectuuid": "f5dd291e-f8f5-4240-93d5-9fc1e56c376a"}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1692', 'rbac.grant', 'bd9e86d9-db1d-4fae-9ad6-79692780436a', 'INSERT', '{"uuid": "bd9e86d9-db1d-4fae-9ad6-79692780436a", "assumed": true, "ascendantuuid": "9455fccb-71fa-4cff-bf89-5dfc719f3374", "descendantuuid": "fdcffa04-a455-4869-ab8f-2f2fa05e4b02", "grantedbyroleuuid": null, "grantedbytriggerof": "e8151525-ae0c-44fb-9755-72be88f7f6b1"}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1692', 'rbac.role', '67b756a8-aff9-439d-8ac8-b8965b63ac32', 'INSERT', '{"uuid": "67b756a8-aff9-439d-8ac8-b8965b63ac32", "roletype": "REFERRER", "objectuuid": "e8151525-ae0c-44fb-9755-72be88f7f6b1"}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1692', 'rbac.permission', 'c3fa6a59-6d7a-4f1a-a5a5-3ebf64250a5d', 'INSERT', '{"op": "SELECT", "uuid": "c3fa6a59-6d7a-4f1a-a5a5-3ebf64250a5d", "objectuuid": "e8151525-ae0c-44fb-9755-72be88f7f6b1", "optablename": null}'); @@ -10472,6 +10474,7 @@ INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelt INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1750', 'rbac.role', 'a8e7eeaa-7dcd-4ff5-a04f-1d84eafa4b6b', 'INSERT', '{"uuid": "a8e7eeaa-7dcd-4ff5-a04f-1d84eafa4b6b", "roletype": "OWNER", "objectuuid": "ba6468f9-2d1a-45c9-8f5c-71edc1a4ad6f"}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1750', 'rbac.permission', '0beca0d8-2895-476e-afce-0923bba7e701', 'INSERT', '{"op": "DELETE", "uuid": "0beca0d8-2895-476e-afce-0923bba7e701", "objectuuid": "ba6468f9-2d1a-45c9-8f5c-71edc1a4ad6f", "optablename": null}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1750', 'rbac.grant', '3ac85c19-6eb7-47d7-8f20-537a040385bb', 'INSERT', '{"uuid": "3ac85c19-6eb7-47d7-8f20-537a040385bb", "assumed": true, "ascendantuuid": "a8e7eeaa-7dcd-4ff5-a04f-1d84eafa4b6b", "descendantuuid": "0beca0d8-2895-476e-afce-0923bba7e701", "grantedbyroleuuid": null, "grantedbytriggerof": "ba6468f9-2d1a-45c9-8f5c-71edc1a4ad6f"}'); +INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1750', 'rbac.permission', 'ba27345e-0699-437d-b4ca-24a8e326c345', 'INSERT', '{"op": "SELECT", "uuid": "ba27345e-0699-437d-b4ca-24a8e326c345", "objectuuid": "f5dd291e-f8f5-4240-93d5-9fc1e56c376a", "optablename": null}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1750', 'rbac.grant', '5ec2354d-edde-4757-96da-970c87e89500', 'INSERT', '{"uuid": "5ec2354d-edde-4757-96da-970c87e89500", "assumed": true, "ascendantuuid": "ce47754e-0d06-4b12-bc91-8034a4a046e7", "descendantuuid": "a8e7eeaa-7dcd-4ff5-a04f-1d84eafa4b6b", "grantedbyroleuuid": null, "grantedbytriggerof": "ba6468f9-2d1a-45c9-8f5c-71edc1a4ad6f"}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1750', 'rbac.grant', 'f4f90dbf-44f4-492a-a6b4-8d7991d8fcc0', 'INSERT', '{"uuid": "f4f90dbf-44f4-492a-a6b4-8d7991d8fcc0", "assumed": true, "ascendantuuid": "3706fd53-e952-408a-aedd-93ec6d5129be", "descendantuuid": "a8e7eeaa-7dcd-4ff5-a04f-1d84eafa4b6b", "grantedbyroleuuid": "a8e7eeaa-7dcd-4ff5-a04f-1d84eafa4b6b", "grantedbytriggerof": null}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1750', 'rbac.role', 'e03da822-f071-4c66-890f-f93a458aec28', 'INSERT', '{"uuid": "e03da822-f071-4c66-890f-f93a458aec28", "roletype": "ADMIN", "objectuuid": "ba6468f9-2d1a-45c9-8f5c-71edc1a4ad6f"}'); @@ -10500,6 +10503,7 @@ INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelt INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1750', 'rbac.grant', '204f5c32-4252-4adc-9fd7-469b54468378', 'INSERT', '{"uuid": "204f5c32-4252-4adc-9fd7-469b54468378", "assumed": true, "ascendantuuid": "2bcadf08-a16f-4ab6-afbe-83db1b1424d0", "descendantuuid": "624f1c38-a8ba-40a3-8f6b-dfe76cc36034", "grantedbyroleuuid": null, "grantedbytriggerof": "cd48cfd6-6313-408f-ae7d-9af047d0c22e"}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1750', 'rbac.grant', '257ace34-9815-492a-b745-785738584840', 'INSERT', '{"uuid": "257ace34-9815-492a-b745-785738584840", "assumed": true, "ascendantuuid": "f2ef6ba7-3a5b-45fa-a4ac-1131df8acb1b", "descendantuuid": "2bcadf08-a16f-4ab6-afbe-83db1b1424d0", "grantedbyroleuuid": null, "grantedbytriggerof": "cd48cfd6-6313-408f-ae7d-9af047d0c22e"}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1750', 'rbac.permission', '195afe34-3bc9-43cb-86f7-7eadfb5d25cf', 'INSERT', '{"op": "INSERT", "uuid": "195afe34-3bc9-43cb-86f7-7eadfb5d25cf", "objectuuid": "cd48cfd6-6313-408f-ae7d-9af047d0c22e", "optablename": "hs_office.relation"}'); +INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1750', 'rbac.permission', '38061696-b53f-42a9-86c0-77b7196a871a', 'INSERT', '{"op": "UPDATE", "uuid": "38061696-b53f-42a9-86c0-77b7196a871a", "objectuuid": "ff030436-d19e-4606-9d48-7e192eaf469f", "optablename": null}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1750', 'rbac.grant', 'df3d2b46-0a7d-4aee-92b6-d54733b3eeea', 'INSERT', '{"uuid": "df3d2b46-0a7d-4aee-92b6-d54733b3eeea", "assumed": true, "ascendantuuid": "f2ef6ba7-3a5b-45fa-a4ac-1131df8acb1b", "descendantuuid": "195afe34-3bc9-43cb-86f7-7eadfb5d25cf", "grantedbyroleuuid": null, "grantedbytriggerof": null}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1750', 'hs_office.person', 'cd48cfd6-6313-408f-ae7d-9af047d0c22e', 'INSERT', '{"uuid": "cd48cfd6-6313-408f-ae7d-9af047d0c22e", "title": "", "version": 0, "givenname": "Hostmaster", "tradename": "Hostsharing e.G.", "familyname": "Hostsharing", "persontype": "LP", "salutation": "Firma"}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1750', 'rbac.object', '417b9a15-5e1b-4d15-b1b3-79dc19b49c50', 'INSERT', '{"uuid": "417b9a15-5e1b-4d15-b1b3-79dc19b49c50", "serialid": 151, "objecttable": "hs_office.person"}'); @@ -10529,8 +10533,6 @@ INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelt INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1750', 'rbac.permission', '60dbf8ee-3263-4878-990f-ab43fe96e48c', 'INSERT', '{"op": "UPDATE", "uuid": "60dbf8ee-3263-4878-990f-ab43fe96e48c", "objectuuid": "f5dd291e-f8f5-4240-93d5-9fc1e56c376a", "optablename": null}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1750', 'rbac.grant', '0f0fd76f-bd0f-47bf-b9a9-88c77f533484', 'INSERT', '{"uuid": "0f0fd76f-bd0f-47bf-b9a9-88c77f533484", "assumed": true, "ascendantuuid": "bab68a5a-2016-454e-b143-8c334188d2c4", "descendantuuid": "60dbf8ee-3263-4878-990f-ab43fe96e48c", "grantedbyroleuuid": null, "grantedbytriggerof": "f5dd291e-f8f5-4240-93d5-9fc1e56c376a"}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1750', 'rbac.grant', 'ed2e685b-1e10-4252-a32c-7377cf225c03', 'INSERT', '{"uuid": "ed2e685b-1e10-4252-a32c-7377cf225c03", "assumed": true, "ascendantuuid": "09a6064d-a472-48e9-9755-d0117f2af6fe", "descendantuuid": "bab68a5a-2016-454e-b143-8c334188d2c4", "grantedbyroleuuid": null, "grantedbytriggerof": "f5dd291e-f8f5-4240-93d5-9fc1e56c376a"}'); -INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1750', 'rbac.role', '9115be3d-2bef-40ce-b0c9-339e460c751d', 'INSERT', '{"uuid": "9115be3d-2bef-40ce-b0c9-339e460c751d", "roletype": "REFERRER", "objectuuid": "f5dd291e-f8f5-4240-93d5-9fc1e56c376a"}'); -INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1750', 'rbac.permission', 'ba27345e-0699-437d-b4ca-24a8e326c345', 'INSERT', '{"op": "SELECT", "uuid": "ba27345e-0699-437d-b4ca-24a8e326c345", "objectuuid": "f5dd291e-f8f5-4240-93d5-9fc1e56c376a", "optablename": null}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1750', 'rbac.grant', '10659beb-ccc1-47c6-afca-0821a2b3587e', 'INSERT', '{"uuid": "10659beb-ccc1-47c6-afca-0821a2b3587e", "assumed": true, "ascendantuuid": "9115be3d-2bef-40ce-b0c9-339e460c751d", "descendantuuid": "ba27345e-0699-437d-b4ca-24a8e326c345", "grantedbyroleuuid": null, "grantedbytriggerof": "f5dd291e-f8f5-4240-93d5-9fc1e56c376a"}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1750', 'rbac.grant', 'a4b8b81e-4b83-4a44-bc00-1496f9697af7', 'INSERT', '{"uuid": "a4b8b81e-4b83-4a44-bc00-1496f9697af7", "assumed": true, "ascendantuuid": "bab68a5a-2016-454e-b143-8c334188d2c4", "descendantuuid": "9115be3d-2bef-40ce-b0c9-339e460c751d", "grantedbyroleuuid": null, "grantedbytriggerof": "f5dd291e-f8f5-4240-93d5-9fc1e56c376a"}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1750', 'rbac.permission', 'f2850544-cbc8-4add-ad35-4b634370b913', 'INSERT', '{"op": "INSERT", "uuid": "f2850544-cbc8-4add-ad35-4b634370b913", "objectuuid": "f5dd291e-f8f5-4240-93d5-9fc1e56c376a", "optablename": "hs_office.relation"}'); @@ -10560,7 +10562,6 @@ INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelt INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1750', 'rbac.grant', 'f0c593c3-6aa7-43b0-b622-b036d303e7e6', 'INSERT', '{"uuid": "f0c593c3-6aa7-43b0-b622-b036d303e7e6", "assumed": true, "ascendantuuid": "ce47754e-0d06-4b12-bc91-8034a4a046e7", "descendantuuid": "cecee6dc-89dc-4b67-ba2b-adacbbc2c0c8", "grantedbyroleuuid": null, "grantedbytriggerof": "ff030436-d19e-4606-9d48-7e192eaf469f"}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1750', 'rbac.grant', '2f3d60a9-93d1-43b7-9e05-905451f01c3a', 'INSERT', '{"uuid": "2f3d60a9-93d1-43b7-9e05-905451f01c3a", "assumed": true, "ascendantuuid": "3706fd53-e952-408a-aedd-93ec6d5129be", "descendantuuid": "cecee6dc-89dc-4b67-ba2b-adacbbc2c0c8", "grantedbyroleuuid": "cecee6dc-89dc-4b67-ba2b-adacbbc2c0c8", "grantedbytriggerof": null}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1750', 'rbac.role', 'b4224d96-af95-4008-9a96-9ae04b44913f', 'INSERT', '{"uuid": "b4224d96-af95-4008-9a96-9ae04b44913f", "roletype": "ADMIN", "objectuuid": "ff030436-d19e-4606-9d48-7e192eaf469f"}'); -INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1750', 'rbac.permission', '38061696-b53f-42a9-86c0-77b7196a871a', 'INSERT', '{"op": "UPDATE", "uuid": "38061696-b53f-42a9-86c0-77b7196a871a", "objectuuid": "ff030436-d19e-4606-9d48-7e192eaf469f", "optablename": null}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1750', 'rbac.grant', '0601a335-404a-4943-8e99-569022721247', 'INSERT', '{"uuid": "0601a335-404a-4943-8e99-569022721247", "assumed": true, "ascendantuuid": "b4224d96-af95-4008-9a96-9ae04b44913f", "descendantuuid": "38061696-b53f-42a9-86c0-77b7196a871a", "grantedbyroleuuid": null, "grantedbytriggerof": "ff030436-d19e-4606-9d48-7e192eaf469f"}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1750', 'rbac.grant', 'efe4417b-8511-40fd-b9d8-9c543cb11579', 'INSERT', '{"uuid": "efe4417b-8511-40fd-b9d8-9c543cb11579", "assumed": true, "ascendantuuid": "cecee6dc-89dc-4b67-ba2b-adacbbc2c0c8", "descendantuuid": "b4224d96-af95-4008-9a96-9ae04b44913f", "grantedbyroleuuid": null, "grantedbytriggerof": "ff030436-d19e-4606-9d48-7e192eaf469f"}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1750', 'rbac.role', 'e668cce4-9f01-4c71-b28c-79859e02971b', 'INSERT', '{"uuid": "e668cce4-9f01-4c71-b28c-79859e02971b", "roletype": "REFERRER", "objectuuid": "ff030436-d19e-4606-9d48-7e192eaf469f"}'); @@ -10618,6 +10619,7 @@ INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelt INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1750', 'rbac.role', '4de8cdcf-ecc5-4f3b-b3c7-3d674d5c0ac7', 'INSERT', '{"uuid": "4de8cdcf-ecc5-4f3b-b3c7-3d674d5c0ac7", "roletype": "REFERRER", "objectuuid": "2fd1ba30-936a-41a8-8fbe-e93be547f44b"}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1750', 'rbac.permission', '353d7a47-2248-4875-9776-469e7a028cae', 'INSERT', '{"op": "SELECT", "uuid": "353d7a47-2248-4875-9776-469e7a028cae", "objectuuid": "2fd1ba30-936a-41a8-8fbe-e93be547f44b", "optablename": null}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1750', 'rbac.grant', '4c4a01d2-ef9c-4b38-800b-48e24561e0fb', 'INSERT', '{"uuid": "4c4a01d2-ef9c-4b38-800b-48e24561e0fb", "assumed": true, "ascendantuuid": "4de8cdcf-ecc5-4f3b-b3c7-3d674d5c0ac7", "descendantuuid": "353d7a47-2248-4875-9776-469e7a028cae", "grantedbyroleuuid": null, "grantedbytriggerof": "2fd1ba30-936a-41a8-8fbe-e93be547f44b"}'); +INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1750', 'rbac.role', '814e38c8-c053-4c27-9487-997cf318a550', 'INSERT', '{"uuid": "814e38c8-c053-4c27-9487-997cf318a550", "roletype": "REFERRER", "objectuuid": "c3d97013-0ceb-4cc7-a59b-a4f70107acea"}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1750', 'rbac.grant', 'ca9bb2f8-49af-452c-a0aa-283c283ba4d1', 'INSERT', '{"uuid": "ca9bb2f8-49af-452c-a0aa-283c283ba4d1", "assumed": true, "ascendantuuid": "9e5fa680-2abc-4f25-bb22-bd2fe04fd860", "descendantuuid": "4de8cdcf-ecc5-4f3b-b3c7-3d674d5c0ac7", "grantedbyroleuuid": null, "grantedbytriggerof": "2fd1ba30-936a-41a8-8fbe-e93be547f44b"}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1750', 'rbac.permission', '0488a5bf-a825-4105-965f-3fa793d5b9c4', 'INSERT', '{"op": "INSERT", "uuid": "0488a5bf-a825-4105-965f-3fa793d5b9c4", "objectuuid": "2fd1ba30-936a-41a8-8fbe-e93be547f44b", "optablename": "hs_office.relation"}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1750', 'rbac.grant', '06ff60b9-6bdc-44e9-98f6-1a32d6f30512', 'INSERT', '{"uuid": "06ff60b9-6bdc-44e9-98f6-1a32d6f30512", "assumed": true, "ascendantuuid": "9e5fa680-2abc-4f25-bb22-bd2fe04fd860", "descendantuuid": "0488a5bf-a825-4105-965f-3fa793d5b9c4", "grantedbyroleuuid": null, "grantedbytriggerof": null}'); @@ -10704,6 +10706,7 @@ INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelt INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1750', 'rbac.grant', '94be11ba-9d31-480d-b264-47adfa74df20', 'INSERT', '{"uuid": "94be11ba-9d31-480d-b264-47adfa74df20", "assumed": true, "ascendantuuid": "d8c41124-ff96-4bc4-b3be-d0a8091128b6", "descendantuuid": "ea2e5ea3-6e8e-473e-9bca-3972c30c727a", "grantedbyroleuuid": null, "grantedbytriggerof": "d6488771-b5c0-4f39-a6d6-81af6ca982f4"}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1750', 'rbac.grant', 'c695866c-6901-442a-a657-c32fb5320bd4', 'INSERT', '{"uuid": "c695866c-6901-442a-a657-c32fb5320bd4", "assumed": true, "ascendantuuid": "8bfcdf97-8c34-46ca-8159-1314cbb42105", "descendantuuid": "d8c41124-ff96-4bc4-b3be-d0a8091128b6", "grantedbyroleuuid": null, "grantedbytriggerof": "d6488771-b5c0-4f39-a6d6-81af6ca982f4"}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1750', 'rbac.permission', 'c33ab3ab-3d3d-44be-987e-9f1ad950f25c', 'INSERT', '{"op": "INSERT", "uuid": "c33ab3ab-3d3d-44be-987e-9f1ad950f25c", "objectuuid": "d6488771-b5c0-4f39-a6d6-81af6ca982f4", "optablename": "hs_office.relation"}'); +INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1750', 'rbac.permission', 'c123b9c1-7755-4fa5-a0c8-ab6bcb0c7156', 'INSERT', '{"op": "SELECT", "uuid": "c123b9c1-7755-4fa5-a0c8-ab6bcb0c7156", "objectuuid": "c3d97013-0ceb-4cc7-a59b-a4f70107acea", "optablename": null}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1750', 'rbac.grant', 'b631b878-8ffe-4a79-9e49-30f7b0c08c6c', 'INSERT', '{"uuid": "b631b878-8ffe-4a79-9e49-30f7b0c08c6c", "assumed": true, "ascendantuuid": "8bfcdf97-8c34-46ca-8159-1314cbb42105", "descendantuuid": "c33ab3ab-3d3d-44be-987e-9f1ad950f25c", "grantedbyroleuuid": null, "grantedbytriggerof": null}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1750', 'hs_office.person', 'd6488771-b5c0-4f39-a6d6-81af6ca982f4', 'INSERT', '{"uuid": "d6488771-b5c0-4f39-a6d6-81af6ca982f4", "title": "", "version": 0, "givenname": "Inhaber R.", "tradename": "Das Perfekte Haus", "familyname": "Wiese", "persontype": "??", "salutation": "Herr"}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1750', 'rbac.object', '7c10a7d7-bac2-41e2-a5c0-963e191239a8', 'INSERT', '{"uuid": "7c10a7d7-bac2-41e2-a5c0-963e191239a8", "serialid": 163, "objecttable": "hs_office.person"}'); @@ -10733,8 +10736,6 @@ INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelt INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1750', 'rbac.permission', '3086d58a-42c3-4c88-ba4c-a1025e79218d', 'INSERT', '{"op": "UPDATE", "uuid": "3086d58a-42c3-4c88-ba4c-a1025e79218d", "objectuuid": "c3d97013-0ceb-4cc7-a59b-a4f70107acea", "optablename": null}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1750', 'rbac.grant', '9ef9980c-19c0-4387-b05d-b036f03bd1ae', 'INSERT', '{"uuid": "9ef9980c-19c0-4387-b05d-b036f03bd1ae", "assumed": true, "ascendantuuid": "5f936257-6096-4792-a496-b92e46d93d0a", "descendantuuid": "3086d58a-42c3-4c88-ba4c-a1025e79218d", "grantedbyroleuuid": null, "grantedbytriggerof": "c3d97013-0ceb-4cc7-a59b-a4f70107acea"}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1750', 'rbac.grant', 'b368b9e7-c014-4179-838f-5e5f39a319c2', 'INSERT', '{"uuid": "b368b9e7-c014-4179-838f-5e5f39a319c2", "assumed": true, "ascendantuuid": "db6edaf5-7e57-4e26-8172-20fe06d19e16", "descendantuuid": "5f936257-6096-4792-a496-b92e46d93d0a", "grantedbyroleuuid": null, "grantedbytriggerof": "c3d97013-0ceb-4cc7-a59b-a4f70107acea"}'); -INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1750', 'rbac.role', '814e38c8-c053-4c27-9487-997cf318a550', 'INSERT', '{"uuid": "814e38c8-c053-4c27-9487-997cf318a550", "roletype": "REFERRER", "objectuuid": "c3d97013-0ceb-4cc7-a59b-a4f70107acea"}'); -INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1750', 'rbac.permission', 'c123b9c1-7755-4fa5-a0c8-ab6bcb0c7156', 'INSERT', '{"op": "SELECT", "uuid": "c123b9c1-7755-4fa5-a0c8-ab6bcb0c7156", "objectuuid": "c3d97013-0ceb-4cc7-a59b-a4f70107acea", "optablename": null}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1750', 'rbac.grant', 'd404ab50-71f3-4e9f-8d11-d9a79c724b4d', 'INSERT', '{"uuid": "d404ab50-71f3-4e9f-8d11-d9a79c724b4d", "assumed": true, "ascendantuuid": "814e38c8-c053-4c27-9487-997cf318a550", "descendantuuid": "c123b9c1-7755-4fa5-a0c8-ab6bcb0c7156", "grantedbyroleuuid": null, "grantedbytriggerof": "c3d97013-0ceb-4cc7-a59b-a4f70107acea"}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1750', 'rbac.grant', '76051553-cbf2-4278-b0b0-c3359028d7e6', 'INSERT', '{"uuid": "76051553-cbf2-4278-b0b0-c3359028d7e6", "assumed": true, "ascendantuuid": "5f936257-6096-4792-a496-b92e46d93d0a", "descendantuuid": "814e38c8-c053-4c27-9487-997cf318a550", "grantedbyroleuuid": null, "grantedbytriggerof": "c3d97013-0ceb-4cc7-a59b-a4f70107acea"}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1750', 'rbac.permission', '529abd87-8855-4eab-a795-a83717bfa4b1', 'INSERT', '{"op": "INSERT", "uuid": "529abd87-8855-4eab-a795-a83717bfa4b1", "objectuuid": "c3d97013-0ceb-4cc7-a59b-a4f70107acea", "optablename": "hs_office.relation"}'); @@ -10818,6 +10819,7 @@ INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelt INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1823', 'rbac.grant', '4147266e-d023-4753-92ec-07a66f831815', 'INSERT', '{"uuid": "4147266e-d023-4753-92ec-07a66f831815", "assumed": true, "ascendantuuid": "76968391-174d-4530-b310-1244c4b1897a", "descendantuuid": "863eea7c-8b49-494a-9654-9963f2dbb4e5", "grantedbyroleuuid": null, "grantedbytriggerof": "201b417e-4ebe-458b-a7ce-a287c0ad9287"}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1823', 'rbac.role', 'b67105de-0348-4d4c-8ccc-aab9ed905eb6', 'INSERT', '{"uuid": "b67105de-0348-4d4c-8ccc-aab9ed905eb6", "roletype": "TENANT", "objectuuid": "201b417e-4ebe-458b-a7ce-a287c0ad9287"}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1823', 'rbac.permission', '11a4c50e-451c-4041-92c6-671263f82f2d', 'INSERT', '{"op": "SELECT", "uuid": "11a4c50e-451c-4041-92c6-671263f82f2d", "objectuuid": "201b417e-4ebe-458b-a7ce-a287c0ad9287", "optablename": null}'); +INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1823', 'rbac.role', '0726dd6c-118e-4cbc-9077-d4dcb0e61643', 'INSERT', '{"uuid": "0726dd6c-118e-4cbc-9077-d4dcb0e61643", "roletype": "OWNER", "objectuuid": "463c4856-495f-4ab3-b26c-7b2f96b05ab5"}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1823', 'rbac.grant', 'bdf804a6-d255-43bf-b752-934d962f7a9a', 'INSERT', '{"uuid": "bdf804a6-d255-43bf-b752-934d962f7a9a", "assumed": true, "ascendantuuid": "b67105de-0348-4d4c-8ccc-aab9ed905eb6", "descendantuuid": "11a4c50e-451c-4041-92c6-671263f82f2d", "grantedbyroleuuid": null, "grantedbytriggerof": "201b417e-4ebe-458b-a7ce-a287c0ad9287"}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1823', 'rbac.grant', 'ce23e4aa-4648-4b1c-871b-0e23b3913ef1', 'INSERT', '{"uuid": "ce23e4aa-4648-4b1c-871b-0e23b3913ef1", "assumed": true, "ascendantuuid": "a6ff0898-04e1-49b7-8621-b42846df06e1", "descendantuuid": "b67105de-0348-4d4c-8ccc-aab9ed905eb6", "grantedbyroleuuid": null, "grantedbytriggerof": "201b417e-4ebe-458b-a7ce-a287c0ad9287"}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1823', 'rbac.grant', '1a1ec60e-8a1e-472e-80c4-c795e0705237', 'INSERT', '{"uuid": "1a1ec60e-8a1e-472e-80c4-c795e0705237", "assumed": true, "ascendantuuid": "863eea7c-8b49-494a-9654-9963f2dbb4e5", "descendantuuid": "b67105de-0348-4d4c-8ccc-aab9ed905eb6", "grantedbyroleuuid": null, "grantedbytriggerof": "201b417e-4ebe-458b-a7ce-a287c0ad9287"}'); @@ -10871,6 +10873,7 @@ INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelt INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1823', 'rbac.grant', '03061e1b-65d1-4d11-abc7-d8e7ec1fe19f', 'INSERT', '{"uuid": "03061e1b-65d1-4d11-abc7-d8e7ec1fe19f", "assumed": true, "ascendantuuid": "c85e8116-355e-408a-93fa-c699da2a76f3", "descendantuuid": "1280183b-c71a-4b86-bdec-7f3800679ef4", "grantedbyroleuuid": null, "grantedbytriggerof": "f85f9a58-7651-417f-b1b2-cf522bcce415"}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1823', 'rbac.grant', 'a37e1b17-c3d5-4a4d-bfc5-3acbdf1f6aa3', 'INSERT', '{"uuid": "a37e1b17-c3d5-4a4d-bfc5-3acbdf1f6aa3", "assumed": true, "ascendantuuid": "c85e8116-355e-408a-93fa-c699da2a76f3", "descendantuuid": "2bcadf08-a16f-4ab6-afbe-83db1b1424d0", "grantedbyroleuuid": null, "grantedbytriggerof": "f85f9a58-7651-417f-b1b2-cf522bcce415"}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1823', 'rbac.grant', '1ece18ff-7bab-4131-a86f-29e228905d29', 'INSERT', '{"uuid": "1ece18ff-7bab-4131-a86f-29e228905d29", "assumed": true, "ascendantuuid": "f2ef6ba7-3a5b-45fa-a4ac-1131df8acb1b", "descendantuuid": "0f833f5a-8afb-4934-a8a6-9dadbdcf89dd", "grantedbyroleuuid": null, "grantedbytriggerof": "f85f9a58-7651-417f-b1b2-cf522bcce415"}'); +INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1823', 'rbac.permission', '24c34e16-c5e6-4571-b850-fb64b5ddb61f', 'INSERT', '{"op": "DELETE", "uuid": "24c34e16-c5e6-4571-b850-fb64b5ddb61f", "objectuuid": "463c4856-495f-4ab3-b26c-7b2f96b05ab5", "optablename": null}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1823', 'rbac.grant', 'f0ef38f9-1f74-4ece-9545-becfca68e4b0', 'INSERT', '{"uuid": "f0ef38f9-1f74-4ece-9545-becfca68e4b0", "assumed": true, "ascendantuuid": "f2ef6ba7-3a5b-45fa-a4ac-1131df8acb1b", "descendantuuid": "5242e0b6-12e3-4a59-bf06-de114cb69ff4", "grantedbyroleuuid": null, "grantedbytriggerof": "f85f9a58-7651-417f-b1b2-cf522bcce415"}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1823', 'hs_office.relation', 'f85f9a58-7651-417f-b1b2-cf522bcce415', 'INSERT', '{"mark": null, "type": "PARTNER", "uuid": "f85f9a58-7651-417f-b1b2-cf522bcce415", "version": 0, "anchoruuid": "cd48cfd6-6313-408f-ae7d-9af047d0c22e", "holderuuid": "cd48cfd6-6313-408f-ae7d-9af047d0c22e", "contactuuid": "d363745a-e94f-48be-8397-4b361570a54d"}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1823', 'rbac.object', '78123dac-fed2-4e3e-817b-0c13a2129dfe', 'INSERT', '{"uuid": "78123dac-fed2-4e3e-817b-0c13a2129dfe", "serialid": 171, "objecttable": "hs_office.relation"}'); @@ -10898,8 +10901,6 @@ INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelt INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1823', 'rbac.grant', 'a28bf37e-a03d-4b03-98e5-498b1ada6ea2', 'INSERT', '{"uuid": "a28bf37e-a03d-4b03-98e5-498b1ada6ea2", "assumed": true, "ascendantuuid": "bb8fc553-9dbe-4ea5-a3ea-02d129841f68", "descendantuuid": "7ceb0f31-aa57-433f-a2e3-0408c2b88b10", "grantedbyroleuuid": null, "grantedbytriggerof": null}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1823', 'hs_office.relation', '78123dac-fed2-4e3e-817b-0c13a2129dfe', 'INSERT', '{"mark": null, "type": "DEBITOR", "uuid": "78123dac-fed2-4e3e-817b-0c13a2129dfe", "version": 0, "anchoruuid": "cd48cfd6-6313-408f-ae7d-9af047d0c22e", "holderuuid": "cd48cfd6-6313-408f-ae7d-9af047d0c22e", "contactuuid": "d363745a-e94f-48be-8397-4b361570a54d"}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1823', 'rbac.object', '463c4856-495f-4ab3-b26c-7b2f96b05ab5', 'INSERT', '{"uuid": "463c4856-495f-4ab3-b26c-7b2f96b05ab5", "serialid": 172, "objecttable": "hs_office.relation"}'); -INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1823', 'rbac.role', '0726dd6c-118e-4cbc-9077-d4dcb0e61643', 'INSERT', '{"uuid": "0726dd6c-118e-4cbc-9077-d4dcb0e61643", "roletype": "OWNER", "objectuuid": "463c4856-495f-4ab3-b26c-7b2f96b05ab5"}'); -INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1823', 'rbac.permission', '24c34e16-c5e6-4571-b850-fb64b5ddb61f', 'INSERT', '{"op": "DELETE", "uuid": "24c34e16-c5e6-4571-b850-fb64b5ddb61f", "objectuuid": "463c4856-495f-4ab3-b26c-7b2f96b05ab5", "optablename": null}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1823', 'rbac.grant', '242a0315-97b6-47a0-a863-2f7c98806c03', 'INSERT', '{"uuid": "242a0315-97b6-47a0-a863-2f7c98806c03", "assumed": true, "ascendantuuid": "0726dd6c-118e-4cbc-9077-d4dcb0e61643", "descendantuuid": "24c34e16-c5e6-4571-b850-fb64b5ddb61f", "grantedbyroleuuid": null, "grantedbytriggerof": "463c4856-495f-4ab3-b26c-7b2f96b05ab5"}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1823', 'rbac.grant', 'ae05d838-209a-4997-89f9-21d4b03bc0ee', 'INSERT', '{"uuid": "ae05d838-209a-4997-89f9-21d4b03bc0ee", "assumed": true, "ascendantuuid": "ce47754e-0d06-4b12-bc91-8034a4a046e7", "descendantuuid": "0726dd6c-118e-4cbc-9077-d4dcb0e61643", "grantedbyroleuuid": null, "grantedbytriggerof": "463c4856-495f-4ab3-b26c-7b2f96b05ab5"}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1823', 'rbac.grant', '6e48a3f5-7017-43ec-8ced-b6ce9e72cd2d', 'INSERT', '{"uuid": "6e48a3f5-7017-43ec-8ced-b6ce9e72cd2d", "assumed": true, "ascendantuuid": "3706fd53-e952-408a-aedd-93ec6d5129be", "descendantuuid": "0726dd6c-118e-4cbc-9077-d4dcb0e61643", "grantedbyroleuuid": "0726dd6c-118e-4cbc-9077-d4dcb0e61643", "grantedbytriggerof": null}'); @@ -11034,6 +11035,7 @@ INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelt INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1823', 'rbac.grant', '077b5b92-2620-489c-97c8-f32c5013437b', 'INSERT', '{"uuid": "077b5b92-2620-489c-97c8-f32c5013437b", "assumed": true, "ascendantuuid": "6f90fa6f-da1f-41aa-a74e-bd06ef60f48b", "descendantuuid": "42f0c634-d86b-4129-822b-f103cd6e0755", "grantedbyroleuuid": null, "grantedbytriggerof": "e9bb6489-3e78-4707-bbe4-70b1fe6212ac"}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1823', 'rbac.grant', '4e176c48-1f1f-4e8d-8698-565f62041d2b', 'INSERT', '{"uuid": "4e176c48-1f1f-4e8d-8698-565f62041d2b", "assumed": true, "ascendantuuid": "42f0c634-d86b-4129-822b-f103cd6e0755", "descendantuuid": "7a8959c2-e6c0-4af3-9d64-117811ec0d02", "grantedbyroleuuid": null, "grantedbytriggerof": "e9bb6489-3e78-4707-bbe4-70b1fe6212ac"}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1823', 'rbac.grant', 'e8ba8789-050f-4ac4-9bd2-ea16bd83ac7a', 'INSERT', '{"uuid": "e8ba8789-050f-4ac4-9bd2-ea16bd83ac7a", "assumed": true, "ascendantuuid": "42f0c634-d86b-4129-822b-f103cd6e0755", "descendantuuid": "e668cce4-9f01-4c71-b28c-79859e02971b", "grantedbyroleuuid": null, "grantedbytriggerof": "e9bb6489-3e78-4707-bbe4-70b1fe6212ac"}'); +INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1823', 'rbac.role', '7d40c68c-9bbe-4e81-97e3-bb14ed4bd6ff', 'INSERT', '{"uuid": "7d40c68c-9bbe-4e81-97e3-bb14ed4bd6ff", "roletype": "OWNER", "objectuuid": "bcd0fdb5-7415-40d2-8265-85113a4b66be"}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1823', 'rbac.grant', 'ef21d6e1-e714-4d9e-bdbe-86408d6acc87', 'INSERT', '{"uuid": "ef21d6e1-e714-4d9e-bdbe-86408d6acc87", "assumed": true, "ascendantuuid": "42f0c634-d86b-4129-822b-f103cd6e0755", "descendantuuid": "9115be3d-2bef-40ce-b0c9-339e460c751d", "grantedbyroleuuid": null, "grantedbytriggerof": "e9bb6489-3e78-4707-bbe4-70b1fe6212ac"}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1823', 'rbac.grant', '8c126907-db23-4e7f-b375-7109fe72f2c6', 'INSERT', '{"uuid": "8c126907-db23-4e7f-b375-7109fe72f2c6", "assumed": true, "ascendantuuid": "bab68a5a-2016-454e-b143-8c334188d2c4", "descendantuuid": "6f90fa6f-da1f-41aa-a74e-bd06ef60f48b", "grantedbyroleuuid": null, "grantedbytriggerof": "e9bb6489-3e78-4707-bbe4-70b1fe6212ac"}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1823', 'rbac.grant', 'bc3130a1-8534-426a-9dea-7744b423ee9c', 'INSERT', '{"uuid": "bc3130a1-8534-426a-9dea-7744b423ee9c", "assumed": true, "ascendantuuid": "b4224d96-af95-4008-9a96-9ae04b44913f", "descendantuuid": "0d96a253-347e-4903-9db9-b362335e4341", "grantedbyroleuuid": null, "grantedbytriggerof": "e9bb6489-3e78-4707-bbe4-70b1fe6212ac"}'); @@ -11088,7 +11090,6 @@ INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelt INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1823', 'rbac.grant', '2155b641-8562-4ad5-a883-3d5c12b71564', 'INSERT', '{"uuid": "2155b641-8562-4ad5-a883-3d5c12b71564", "assumed": true, "ascendantuuid": "3010c421-5c96-4f0d-b214-c773e0915564", "descendantuuid": "fc2159a0-53c2-416b-9daf-506258c420e3", "grantedbyroleuuid": null, "grantedbytriggerof": null}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1823', 'hs_office.relation', 'bc8c4b35-c55b-4c3e-9122-94485909b17e', 'INSERT', '{"mark": null, "type": "DEBITOR", "uuid": "bc8c4b35-c55b-4c3e-9122-94485909b17e", "version": 0, "anchoruuid": "89bca3fd-d7b2-46f5-821a-64c5566d03f1", "holderuuid": "89bca3fd-d7b2-46f5-821a-64c5566d03f1", "contactuuid": "eead6995-dd54-475f-8194-74445c421305"}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1823', 'rbac.object', 'bcd0fdb5-7415-40d2-8265-85113a4b66be', 'INSERT', '{"uuid": "bcd0fdb5-7415-40d2-8265-85113a4b66be", "serialid": 180, "objecttable": "hs_office.relation"}'); -INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1823', 'rbac.role', '7d40c68c-9bbe-4e81-97e3-bb14ed4bd6ff', 'INSERT', '{"uuid": "7d40c68c-9bbe-4e81-97e3-bb14ed4bd6ff", "roletype": "OWNER", "objectuuid": "bcd0fdb5-7415-40d2-8265-85113a4b66be"}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1823', 'rbac.permission', '9de4eb42-73cf-4178-ad43-0bc7b9042c76', 'INSERT', '{"op": "DELETE", "uuid": "9de4eb42-73cf-4178-ad43-0bc7b9042c76", "objectuuid": "bcd0fdb5-7415-40d2-8265-85113a4b66be", "optablename": null}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1823', 'rbac.grant', '14b41604-025f-45cf-a1fa-92b91a7b060e', 'INSERT', '{"uuid": "14b41604-025f-45cf-a1fa-92b91a7b060e", "assumed": true, "ascendantuuid": "7d40c68c-9bbe-4e81-97e3-bb14ed4bd6ff", "descendantuuid": "9de4eb42-73cf-4178-ad43-0bc7b9042c76", "grantedbyroleuuid": null, "grantedbytriggerof": "bcd0fdb5-7415-40d2-8265-85113a4b66be"}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1823', 'rbac.grant', 'c2077db5-79fb-481f-bc9d-95337bfb2577', 'INSERT', '{"uuid": "c2077db5-79fb-481f-bc9d-95337bfb2577", "assumed": true, "ascendantuuid": "ce47754e-0d06-4b12-bc91-8034a4a046e7", "descendantuuid": "7d40c68c-9bbe-4e81-97e3-bb14ed4bd6ff", "grantedbyroleuuid": null, "grantedbytriggerof": "bcd0fdb5-7415-40d2-8265-85113a4b66be"}'); @@ -11197,6 +11198,7 @@ INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelt INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1823', 'rbac.grant', '49cf2839-3725-4c1b-839f-69006291fa6a', 'INSERT', '{"uuid": "49cf2839-3725-4c1b-839f-69006291fa6a", "assumed": true, "ascendantuuid": "a64973bb-c814-4af9-b020-99f5f726dd24", "descendantuuid": "aa3db109-7ed1-496a-9490-62dabce849e2", "grantedbyroleuuid": null, "grantedbytriggerof": "2db1a3ce-910d-4f3d-be67-b3a0a598d834"}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1823', 'rbac.grant', 'd49825b7-cd73-44c8-b642-fc6e1a2e8343', 'INSERT', '{"uuid": "d49825b7-cd73-44c8-b642-fc6e1a2e8343", "assumed": true, "ascendantuuid": "aa3db109-7ed1-496a-9490-62dabce849e2", "descendantuuid": "38aa2ac2-71e5-4805-94ae-61361288f235", "grantedbyroleuuid": null, "grantedbytriggerof": "2db1a3ce-910d-4f3d-be67-b3a0a598d834"}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1823', 'rbac.grant', 'f19b508b-3f4f-40ed-add1-f4cf0f0f3f44', 'INSERT', '{"uuid": "f19b508b-3f4f-40ed-add1-f4cf0f0f3f44", "assumed": true, "ascendantuuid": "aa3db109-7ed1-496a-9490-62dabce849e2", "descendantuuid": "8806c446-5551-4059-ba53-850a2d147c7c", "grantedbyroleuuid": null, "grantedbytriggerof": "2db1a3ce-910d-4f3d-be67-b3a0a598d834"}'); +INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1823', 'rbac.role', '5b5433b1-b6eb-4034-841b-559cba014f35', 'INSERT', '{"uuid": "5b5433b1-b6eb-4034-841b-559cba014f35", "roletype": "OWNER", "objectuuid": "ddbda55a-0143-4224-bb6c-7ec5e8b79465"}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1823', 'rbac.grant', 'f2c14dae-2c58-49a3-bb69-1179e3e07155', 'INSERT', '{"uuid": "f2c14dae-2c58-49a3-bb69-1179e3e07155", "assumed": true, "ascendantuuid": "b9d1cb3c-79f0-4640-b951-ad41f79d7b95", "descendantuuid": "a64973bb-c814-4af9-b020-99f5f726dd24", "grantedbyroleuuid": null, "grantedbytriggerof": "2db1a3ce-910d-4f3d-be67-b3a0a598d834"}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1823', 'rbac.grant', 'bce6bc63-111c-4b80-be4b-1af2234d732a', 'INSERT', '{"uuid": "bce6bc63-111c-4b80-be4b-1af2234d732a", "assumed": true, "ascendantuuid": "b9d1cb3c-79f0-4640-b951-ad41f79d7b95", "descendantuuid": "52fd5f0b-55be-4e14-abfd-6b94ff5b830d", "grantedbyroleuuid": null, "grantedbytriggerof": "2db1a3ce-910d-4f3d-be67-b3a0a598d834"}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1823', 'hs_office.relation', '2db1a3ce-910d-4f3d-be67-b3a0a598d834', 'INSERT', '{"mark": null, "type": "OPERATIONS_ALERT", "uuid": "2db1a3ce-910d-4f3d-be67-b3a0a598d834", "version": 0, "anchoruuid": "137fb47a-07d4-42cc-b2ef-8e371041cf41", "holderuuid": "137fb47a-07d4-42cc-b2ef-8e371041cf41", "contactuuid": "691db509-b67e-46ec-a859-c4cb05fbbd70"}'); @@ -11224,7 +11226,6 @@ INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelt INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1823', 'rbac.grant', '9bb65a3b-e712-46c4-9bd8-f7a77494e24a', 'INSERT', '{"uuid": "9bb65a3b-e712-46c4-9bd8-f7a77494e24a", "assumed": true, "ascendantuuid": "b9d1cb3c-79f0-4640-b951-ad41f79d7b95", "descendantuuid": "5c2537c8-eb2c-4da1-b78e-071377668767", "grantedbyroleuuid": null, "grantedbytriggerof": "b5cfc5c1-b775-4c59-8967-66d2cf7851e5"}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1823', 'hs_office.relation', 'b5cfc5c1-b775-4c59-8967-66d2cf7851e5', 'INSERT', '{"mark": null, "type": "OPERATIONS", "uuid": "b5cfc5c1-b775-4c59-8967-66d2cf7851e5", "version": 0, "anchoruuid": "137fb47a-07d4-42cc-b2ef-8e371041cf41", "holderuuid": "137fb47a-07d4-42cc-b2ef-8e371041cf41", "contactuuid": "691db509-b67e-46ec-a859-c4cb05fbbd70"}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1823', 'rbac.object', 'ddbda55a-0143-4224-bb6c-7ec5e8b79465', 'INSERT', '{"uuid": "ddbda55a-0143-4224-bb6c-7ec5e8b79465", "serialid": 186, "objecttable": "hs_office.relation"}'); -INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1823', 'rbac.role', '5b5433b1-b6eb-4034-841b-559cba014f35', 'INSERT', '{"uuid": "5b5433b1-b6eb-4034-841b-559cba014f35", "roletype": "OWNER", "objectuuid": "ddbda55a-0143-4224-bb6c-7ec5e8b79465"}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1823', 'rbac.permission', '5ce74841-55a0-48a2-86ff-253dcfdf8a6f', 'INSERT', '{"op": "DELETE", "uuid": "5ce74841-55a0-48a2-86ff-253dcfdf8a6f", "objectuuid": "ddbda55a-0143-4224-bb6c-7ec5e8b79465", "optablename": null}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1823', 'rbac.grant', 'fe96ea19-f953-40d1-9745-b36f78493abb', 'INSERT', '{"uuid": "fe96ea19-f953-40d1-9745-b36f78493abb", "assumed": true, "ascendantuuid": "5b5433b1-b6eb-4034-841b-559cba014f35", "descendantuuid": "5ce74841-55a0-48a2-86ff-253dcfdf8a6f", "grantedbyroleuuid": null, "grantedbytriggerof": "ddbda55a-0143-4224-bb6c-7ec5e8b79465"}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1823', 'rbac.grant', 'fd38daf1-62fa-4edf-a316-dbe4945b4ae8', 'INSERT', '{"uuid": "fd38daf1-62fa-4edf-a316-dbe4945b4ae8", "assumed": true, "ascendantuuid": "ce47754e-0d06-4b12-bc91-8034a4a046e7", "descendantuuid": "5b5433b1-b6eb-4034-841b-559cba014f35", "grantedbyroleuuid": null, "grantedbytriggerof": "ddbda55a-0143-4224-bb6c-7ec5e8b79465"}'); @@ -11306,6 +11307,7 @@ INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelt INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1823', 'rbac.permission', '2c0faec0-6d09-48e9-9ba5-ef060e4d5f6b', 'INSERT', '{"op": "SELECT", "uuid": "2c0faec0-6d09-48e9-9ba5-ef060e4d5f6b", "objectuuid": "93d9827e-63dc-418e-a021-25b400847b2e", "optablename": null}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1823', 'rbac.grant', '117ac268-6306-4b8c-b8b3-b80dd1cdfabe', 'INSERT', '{"uuid": "117ac268-6306-4b8c-b8b3-b80dd1cdfabe", "assumed": true, "ascendantuuid": "ff171f90-f6f2-4c7f-9128-051462cb2368", "descendantuuid": "2c0faec0-6d09-48e9-9ba5-ef060e4d5f6b", "grantedbyroleuuid": null, "grantedbytriggerof": "93d9827e-63dc-418e-a021-25b400847b2e"}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1823', 'rbac.grant', '70e95aa8-1ac0-47ce-a7d7-a0c5a79389bf', 'INSERT', '{"uuid": "70e95aa8-1ac0-47ce-a7d7-a0c5a79389bf", "assumed": true, "ascendantuuid": "dfeb77e8-087e-423f-b4b5-8e8111a8b83e", "descendantuuid": "ff171f90-f6f2-4c7f-9128-051462cb2368", "grantedbyroleuuid": null, "grantedbytriggerof": "93d9827e-63dc-418e-a021-25b400847b2e"}'); +INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1823', 'rbac.role', '47388b74-46ec-45fb-a817-031c959a6c2e', 'INSERT', '{"uuid": "47388b74-46ec-45fb-a817-031c959a6c2e", "roletype": "ADMIN", "objectuuid": "2eec1138-d2ad-43de-a105-605d0182a1f8"}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1823', 'rbac.grant', '844fac0e-a516-4f70-90c5-563ddade6f22', 'INSERT', '{"uuid": "844fac0e-a516-4f70-90c5-563ddade6f22", "assumed": true, "ascendantuuid": "03245b58-dd24-4cd4-bf3f-d9ba51a69810", "descendantuuid": "ff171f90-f6f2-4c7f-9128-051462cb2368", "grantedbyroleuuid": null, "grantedbytriggerof": "93d9827e-63dc-418e-a021-25b400847b2e"}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1823', 'rbac.grant', 'bfaf4e0e-12bd-40a5-bcaf-71f0f767975b', 'INSERT', '{"uuid": "bfaf4e0e-12bd-40a5-bcaf-71f0f767975b", "assumed": true, "ascendantuuid": "ff171f90-f6f2-4c7f-9128-051462cb2368", "descendantuuid": "38aa2ac2-71e5-4805-94ae-61361288f235", "grantedbyroleuuid": null, "grantedbytriggerof": "93d9827e-63dc-418e-a021-25b400847b2e"}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1823', 'rbac.grant', '56586e9a-9626-4412-a088-168ba9ad0426', 'INSERT', '{"uuid": "56586e9a-9626-4412-a088-168ba9ad0426", "assumed": true, "ascendantuuid": "ff171f90-f6f2-4c7f-9128-051462cb2368", "descendantuuid": "8806c446-5551-4059-ba53-850a2d147c7c", "grantedbyroleuuid": null, "grantedbytriggerof": "93d9827e-63dc-418e-a021-25b400847b2e"}'); @@ -11465,6 +11467,7 @@ INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelt INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1823', 'rbac.grant', '064926b6-0149-4518-bbe9-b201997cc90f', 'INSERT', '{"uuid": "064926b6-0149-4518-bbe9-b201997cc90f", "assumed": true, "ascendantuuid": "cedad28c-ea54-48a9-b2f8-e16a29ec56a1", "descendantuuid": "f913c978-1afc-4af0-9bb6-8c21eed95991", "grantedbyroleuuid": null, "grantedbytriggerof": "65879210-cf7c-4e5b-a2d1-742a42fcb488"}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1823', 'rbac.grant', 'b3132dbc-b482-486b-b02e-a8ad200cbdd2', 'INSERT', '{"uuid": "b3132dbc-b482-486b-b02e-a8ad200cbdd2", "assumed": true, "ascendantuuid": "da979efd-9d87-4dc5-a839-493e883cf292", "descendantuuid": "77ef9867-e939-4d36-85e1-4a573c4a9b55", "grantedbyroleuuid": null, "grantedbytriggerof": "65879210-cf7c-4e5b-a2d1-742a42fcb488"}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1823', 'rbac.grant', '38c323d4-bd10-48f2-86a9-ca9246ee0cc8', 'INSERT', '{"uuid": "38c323d4-bd10-48f2-86a9-ca9246ee0cc8", "assumed": true, "ascendantuuid": "b4224d96-af95-4008-9a96-9ae04b44913f", "descendantuuid": "0e190f5b-0333-4f70-aabc-71d2e810a712", "grantedbyroleuuid": null, "grantedbytriggerof": "65879210-cf7c-4e5b-a2d1-742a42fcb488"}'); +INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1823', 'rbac.permission', 'a9ce43ae-4dd7-4ee8-bf8d-d2f3fba4c803', 'INSERT', '{"op": "UPDATE", "uuid": "a9ce43ae-4dd7-4ee8-bf8d-d2f3fba4c803", "objectuuid": "2eec1138-d2ad-43de-a105-605d0182a1f8", "optablename": null}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1823', 'hs_office.relation', '65879210-cf7c-4e5b-a2d1-742a42fcb488', 'INSERT', '{"mark": null, "type": "OPERATIONS_ALERT", "uuid": "65879210-cf7c-4e5b-a2d1-742a42fcb488", "version": 0, "anchoruuid": "ff030436-d19e-4606-9d48-7e192eaf469f", "holderuuid": "177ab8a6-2f70-4c2d-b1ba-2153d0803b16", "contactuuid": "16da0560-e134-41c5-aafb-1f7a5b33692b"}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1823', 'rbac.object', '97e5ed67-e81c-4c12-b354-45db951901c0', 'INSERT', '{"uuid": "97e5ed67-e81c-4c12-b354-45db951901c0", "serialid": 197, "objecttable": "hs_office.relation"}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1823', 'rbac.role', '7377295c-c6d9-4826-b712-ea5df5c3d8d1', 'INSERT', '{"uuid": "7377295c-c6d9-4826-b712-ea5df5c3d8d1", "roletype": "OWNER", "objectuuid": "97e5ed67-e81c-4c12-b354-45db951901c0"}'); @@ -11492,6 +11495,7 @@ INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelt INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1823', 'rbac.object', 'a0e5508f-533d-4f7c-9602-6f23fa85e601', 'INSERT', '{"uuid": "a0e5508f-533d-4f7c-9602-6f23fa85e601", "serialid": 198, "objecttable": "hs_office.relation"}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1823', 'rbac.role', '84802890-6128-4134-8ad7-667491cfcbf7', 'INSERT', '{"uuid": "84802890-6128-4134-8ad7-667491cfcbf7", "roletype": "OWNER", "objectuuid": "a0e5508f-533d-4f7c-9602-6f23fa85e601"}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1823', 'rbac.permission', '19932b77-d4fd-4664-a0c6-ff8fb707f697', 'INSERT', '{"op": "DELETE", "uuid": "19932b77-d4fd-4664-a0c6-ff8fb707f697", "objectuuid": "a0e5508f-533d-4f7c-9602-6f23fa85e601", "optablename": null}'); +INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1823', 'rbac.role', '6093331c-adb2-44e9-baac-ef073278751f', 'INSERT', '{"uuid": "6093331c-adb2-44e9-baac-ef073278751f", "roletype": "OWNER", "objectuuid": "60702c01-7285-4eea-a937-6019d6e3661d"}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1823', 'rbac.grant', 'a0896ff6-bd78-44d7-87c0-37f267aef94c', 'INSERT', '{"uuid": "a0896ff6-bd78-44d7-87c0-37f267aef94c", "assumed": true, "ascendantuuid": "84802890-6128-4134-8ad7-667491cfcbf7", "descendantuuid": "19932b77-d4fd-4664-a0c6-ff8fb707f697", "grantedbyroleuuid": null, "grantedbytriggerof": "a0e5508f-533d-4f7c-9602-6f23fa85e601"}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1823', 'rbac.grant', '6efe6567-1033-4081-ab3f-304926c7c1d3', 'INSERT', '{"uuid": "6efe6567-1033-4081-ab3f-304926c7c1d3", "assumed": true, "ascendantuuid": "ce47754e-0d06-4b12-bc91-8034a4a046e7", "descendantuuid": "84802890-6128-4134-8ad7-667491cfcbf7", "grantedbyroleuuid": null, "grantedbytriggerof": "a0e5508f-533d-4f7c-9602-6f23fa85e601"}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1823', 'rbac.grant', '7d0bd8b9-381a-4502-a4ee-2b91505447a6', 'INSERT', '{"uuid": "7d0bd8b9-381a-4502-a4ee-2b91505447a6", "assumed": true, "ascendantuuid": "3706fd53-e952-408a-aedd-93ec6d5129be", "descendantuuid": "84802890-6128-4134-8ad7-667491cfcbf7", "grantedbyroleuuid": "84802890-6128-4134-8ad7-667491cfcbf7", "grantedbytriggerof": null}'); @@ -11519,8 +11523,6 @@ INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelt INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1823', 'rbac.grant', '55622a21-18b4-4889-a133-b0f9e999a5f8', 'INSERT', '{"uuid": "55622a21-18b4-4889-a133-b0f9e999a5f8", "assumed": true, "ascendantuuid": "0eacfafa-b06b-47f6-8bd5-a4c4c7d4986d", "descendantuuid": "3c82a048-8d56-4f34-98c4-a20e193f815e", "grantedbyroleuuid": null, "grantedbytriggerof": "2eec1138-d2ad-43de-a105-605d0182a1f8"}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1823', 'rbac.grant', 'bdec28d3-ff09-4651-a5cc-afb25e7cf5fd', 'INSERT', '{"uuid": "bdec28d3-ff09-4651-a5cc-afb25e7cf5fd", "assumed": true, "ascendantuuid": "ce47754e-0d06-4b12-bc91-8034a4a046e7", "descendantuuid": "0eacfafa-b06b-47f6-8bd5-a4c4c7d4986d", "grantedbyroleuuid": null, "grantedbytriggerof": "2eec1138-d2ad-43de-a105-605d0182a1f8"}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1823', 'rbac.grant', '348bed58-906a-43d6-9fb5-789d99bc2448', 'INSERT', '{"uuid": "348bed58-906a-43d6-9fb5-789d99bc2448", "assumed": true, "ascendantuuid": "3706fd53-e952-408a-aedd-93ec6d5129be", "descendantuuid": "0eacfafa-b06b-47f6-8bd5-a4c4c7d4986d", "grantedbyroleuuid": "0eacfafa-b06b-47f6-8bd5-a4c4c7d4986d", "grantedbytriggerof": null}'); -INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1823', 'rbac.role', '47388b74-46ec-45fb-a817-031c959a6c2e', 'INSERT', '{"uuid": "47388b74-46ec-45fb-a817-031c959a6c2e", "roletype": "ADMIN", "objectuuid": "2eec1138-d2ad-43de-a105-605d0182a1f8"}'); -INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1823', 'rbac.permission', 'a9ce43ae-4dd7-4ee8-bf8d-d2f3fba4c803', 'INSERT', '{"op": "UPDATE", "uuid": "a9ce43ae-4dd7-4ee8-bf8d-d2f3fba4c803", "objectuuid": "2eec1138-d2ad-43de-a105-605d0182a1f8", "optablename": null}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1823', 'rbac.grant', '57cb83c6-c9be-4a0d-9345-5c1d93dcbff5', 'INSERT', '{"uuid": "57cb83c6-c9be-4a0d-9345-5c1d93dcbff5", "assumed": true, "ascendantuuid": "47388b74-46ec-45fb-a817-031c959a6c2e", "descendantuuid": "a9ce43ae-4dd7-4ee8-bf8d-d2f3fba4c803", "grantedbyroleuuid": null, "grantedbytriggerof": "2eec1138-d2ad-43de-a105-605d0182a1f8"}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1823', 'rbac.grant', 'bcfbb0b7-df3c-41ed-8493-c971aa14c270', 'INSERT', '{"uuid": "bcfbb0b7-df3c-41ed-8493-c971aa14c270", "assumed": true, "ascendantuuid": "0eacfafa-b06b-47f6-8bd5-a4c4c7d4986d", "descendantuuid": "47388b74-46ec-45fb-a817-031c959a6c2e", "grantedbyroleuuid": null, "grantedbytriggerof": "2eec1138-d2ad-43de-a105-605d0182a1f8"}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1823', 'rbac.role', 'fb0b7122-f782-414f-85b1-c1df876a3441', 'INSERT', '{"uuid": "fb0b7122-f782-414f-85b1-c1df876a3441", "roletype": "AGENT", "objectuuid": "2eec1138-d2ad-43de-a105-605d0182a1f8"}'); @@ -11575,6 +11577,7 @@ INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelt INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1823', 'rbac.role', '4c98fcb4-e0b6-4692-86e5-dabb78af17ed', 'INSERT', '{"uuid": "4c98fcb4-e0b6-4692-86e5-dabb78af17ed", "roletype": "TENANT", "objectuuid": "fad03414-b62b-45d4-93fd-51c52149762c"}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1823', 'rbac.permission', '740e371f-18b1-4e93-8408-2fcc777b7da6', 'INSERT', '{"op": "SELECT", "uuid": "740e371f-18b1-4e93-8408-2fcc777b7da6", "objectuuid": "fad03414-b62b-45d4-93fd-51c52149762c", "optablename": null}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1823', 'rbac.grant', '5b522b03-0f33-43b4-90a0-cdb5d3842343', 'INSERT', '{"uuid": "5b522b03-0f33-43b4-90a0-cdb5d3842343", "assumed": true, "ascendantuuid": "4c98fcb4-e0b6-4692-86e5-dabb78af17ed", "descendantuuid": "740e371f-18b1-4e93-8408-2fcc777b7da6", "grantedbyroleuuid": null, "grantedbytriggerof": "fad03414-b62b-45d4-93fd-51c52149762c"}'); +INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1823', 'rbac.permission', '46d04d79-5187-44ec-8f30-e6f823bc47e6', 'INSERT', '{"op": "DELETE", "uuid": "46d04d79-5187-44ec-8f30-e6f823bc47e6", "objectuuid": "60702c01-7285-4eea-a937-6019d6e3661d", "optablename": null}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1823', 'rbac.grant', 'e0c22b32-549b-49e3-a838-172fa221eed6', 'INSERT', '{"uuid": "e0c22b32-549b-49e3-a838-172fa221eed6", "assumed": true, "ascendantuuid": "42d9e5ef-8114-49d5-b6cd-1f5bf43c9d1b", "descendantuuid": "4c98fcb4-e0b6-4692-86e5-dabb78af17ed", "grantedbyroleuuid": null, "grantedbytriggerof": "fad03414-b62b-45d4-93fd-51c52149762c"}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1823', 'rbac.grant', '484d6f99-3537-4bce-b543-edec82063ebc', 'INSERT', '{"uuid": "484d6f99-3537-4bce-b543-edec82063ebc", "assumed": true, "ascendantuuid": "367f629c-223d-456c-98cf-ddf6600d5858", "descendantuuid": "4c98fcb4-e0b6-4692-86e5-dabb78af17ed", "grantedbyroleuuid": null, "grantedbytriggerof": "fad03414-b62b-45d4-93fd-51c52149762c"}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1823', 'rbac.grant', '04e04fc5-fcec-47b4-b836-cf3210e750f3', 'INSERT', '{"uuid": "04e04fc5-fcec-47b4-b836-cf3210e750f3", "assumed": true, "ascendantuuid": "4c98fcb4-e0b6-4692-86e5-dabb78af17ed", "descendantuuid": "24f9488b-412f-4314-b160-2897f4dcff1b", "grantedbyroleuuid": null, "grantedbytriggerof": "fad03414-b62b-45d4-93fd-51c52149762c"}'); @@ -11709,6 +11712,7 @@ INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelt INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1823', 'rbac.role', 'f4bed22e-44be-4ce4-9d95-5d9be630012a', 'INSERT', '{"uuid": "f4bed22e-44be-4ce4-9d95-5d9be630012a", "roletype": "TENANT", "objectuuid": "2185083d-3134-4b30-9dcb-674058feaac2"}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1823', 'rbac.permission', '8a7273c3-5012-45bd-9d3f-72dd52163117', 'INSERT', '{"op": "SELECT", "uuid": "8a7273c3-5012-45bd-9d3f-72dd52163117", "objectuuid": "2185083d-3134-4b30-9dcb-674058feaac2", "optablename": null}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1823', 'rbac.grant', 'b8fcfba2-925f-41b3-a68d-9f5e282ee1d6', 'INSERT', '{"uuid": "b8fcfba2-925f-41b3-a68d-9f5e282ee1d6", "assumed": true, "ascendantuuid": "f4bed22e-44be-4ce4-9d95-5d9be630012a", "descendantuuid": "8a7273c3-5012-45bd-9d3f-72dd52163117", "grantedbyroleuuid": null, "grantedbytriggerof": "2185083d-3134-4b30-9dcb-674058feaac2"}'); +INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1823', 'rbac.permission', 'eb9181ce-7b72-4ed9-93aa-49eb66db32eb', 'INSERT', '{"op": "DELETE", "uuid": "eb9181ce-7b72-4ed9-93aa-49eb66db32eb", "objectuuid": "cbda6432-b849-4787-84ab-88e680dbfa72", "optablename": null}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1823', 'rbac.grant', '2e09df1b-489e-4f3a-add9-eecca44a15a7', 'INSERT', '{"uuid": "2e09df1b-489e-4f3a-add9-eecca44a15a7", "assumed": true, "ascendantuuid": "93ec1b20-de2b-4af1-924f-047a7afa0276", "descendantuuid": "f4bed22e-44be-4ce4-9d95-5d9be630012a", "grantedbyroleuuid": null, "grantedbytriggerof": "2185083d-3134-4b30-9dcb-674058feaac2"}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1823', 'rbac.grant', 'f50fdd37-fce2-49aa-bb36-bf91c808a68a', 'INSERT', '{"uuid": "f50fdd37-fce2-49aa-bb36-bf91c808a68a", "assumed": true, "ascendantuuid": "98f81765-6d0e-4cb5-ab49-da912f668f5d", "descendantuuid": "f4bed22e-44be-4ce4-9d95-5d9be630012a", "grantedbyroleuuid": null, "grantedbytriggerof": "2185083d-3134-4b30-9dcb-674058feaac2"}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1823', 'rbac.grant', '1bc31c7c-b350-408c-9da4-811d0151766a', 'INSERT', '{"uuid": "1bc31c7c-b350-408c-9da4-811d0151766a", "assumed": true, "ascendantuuid": "f4bed22e-44be-4ce4-9d95-5d9be630012a", "descendantuuid": "4330591d-61d5-4435-827a-c71b8328a700", "grantedbyroleuuid": null, "grantedbytriggerof": "2185083d-3134-4b30-9dcb-674058feaac2"}'); @@ -11735,6 +11739,7 @@ INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelt INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1823', 'rbac.grant', 'e0e15d6c-1f34-4ad9-99bb-dae9bea370e0', 'INSERT', '{"uuid": "e0e15d6c-1f34-4ad9-99bb-dae9bea370e0", "assumed": true, "ascendantuuid": "f68f9b54-fcc3-45ed-b2a4-9db7bcc5add3", "descendantuuid": "ce3d8199-1a11-409c-8f0f-99a8344f1d1a", "grantedbyroleuuid": null, "grantedbytriggerof": "c60e1d4e-01a1-42a8-9521-1681c77b350f"}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1823', 'rbac.grant', '54344d9d-5501-48d4-b021-efb561be481a', 'INSERT', '{"uuid": "54344d9d-5501-48d4-b021-efb561be481a", "assumed": true, "ascendantuuid": "ce3d8199-1a11-409c-8f0f-99a8344f1d1a", "descendantuuid": "5167487b-90ee-40b9-9c34-535b74b3186e", "grantedbyroleuuid": null, "grantedbytriggerof": "c60e1d4e-01a1-42a8-9521-1681c77b350f"}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1823', 'rbac.grant', '87faed89-6652-4ebd-a2c2-183e88046dab', 'INSERT', '{"uuid": "87faed89-6652-4ebd-a2c2-183e88046dab", "assumed": true, "ascendantuuid": "ce3d8199-1a11-409c-8f0f-99a8344f1d1a", "descendantuuid": "e97003a9-9162-4142-8d08-814e6c8fabd9", "grantedbyroleuuid": null, "grantedbytriggerof": "c60e1d4e-01a1-42a8-9521-1681c77b350f"}'); +INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1823', 'rbac.permission', 'fe2d0171-effb-42e9-ad87-d877454fa221', 'INSERT', '{"op": "UPDATE", "uuid": "fe2d0171-effb-42e9-ad87-d877454fa221", "objectuuid": "f3b07a47-e7ac-4fea-850e-1d785edfea34", "optablename": null}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1823', 'rbac.grant', 'ce026d6a-238b-4663-8a6a-63b30be9a7e0', 'INSERT', '{"uuid": "ce026d6a-238b-4663-8a6a-63b30be9a7e0", "assumed": true, "ascendantuuid": "95f09796-be4b-4b39-a759-a1f5a4fe54fb", "descendantuuid": "f68f9b54-fcc3-45ed-b2a4-9db7bcc5add3", "grantedbyroleuuid": null, "grantedbytriggerof": "c60e1d4e-01a1-42a8-9521-1681c77b350f"}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1823', 'rbac.grant', '5ada012b-e322-4928-a6b4-c08620cceadb', 'INSERT', '{"uuid": "5ada012b-e322-4928-a6b4-c08620cceadb", "assumed": true, "ascendantuuid": "95f09796-be4b-4b39-a759-a1f5a4fe54fb", "descendantuuid": "8772af22-67d6-4721-bc48-20f841f171e6", "grantedbyroleuuid": null, "grantedbytriggerof": "c60e1d4e-01a1-42a8-9521-1681c77b350f"}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1823', 'hs_office.relation', 'c60e1d4e-01a1-42a8-9521-1681c77b350f', 'INSERT', '{"mark": "generalversammlung", "type": "SUBSCRIBER", "uuid": "c60e1d4e-01a1-42a8-9521-1681c77b350f", "version": 0, "anchoruuid": "38cc5d59-085f-449e-aeb3-439febbabd9b", "holderuuid": "38cc5d59-085f-449e-aeb3-439febbabd9b", "contactuuid": "25358342-4f90-4397-b4c4-d90524ac0b7b"}'); @@ -11762,8 +11767,6 @@ INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelt INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1823', 'rbac.grant', 'a906bcfa-8745-41df-a97f-691c5a303f1a', 'INSERT', '{"uuid": "a906bcfa-8745-41df-a97f-691c5a303f1a", "assumed": true, "ascendantuuid": "95f09796-be4b-4b39-a759-a1f5a4fe54fb", "descendantuuid": "bd1cdc2f-13aa-490d-84bf-1cea1d91fd05", "grantedbyroleuuid": null, "grantedbytriggerof": "17ea3654-289d-4892-a837-3ddcaea2d7db"}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1823', 'hs_office.relation', '17ea3654-289d-4892-a837-3ddcaea2d7db', 'INSERT', '{"mark": "members-announce", "type": "SUBSCRIBER", "uuid": "17ea3654-289d-4892-a837-3ddcaea2d7db", "version": 0, "anchoruuid": "38cc5d59-085f-449e-aeb3-439febbabd9b", "holderuuid": "38cc5d59-085f-449e-aeb3-439febbabd9b", "contactuuid": "25358342-4f90-4397-b4c4-d90524ac0b7b"}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1823', 'rbac.object', '60702c01-7285-4eea-a937-6019d6e3661d', 'INSERT', '{"uuid": "60702c01-7285-4eea-a937-6019d6e3661d", "serialid": 210, "objecttable": "hs_office.relation"}'); -INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1823', 'rbac.role', '6093331c-adb2-44e9-baac-ef073278751f', 'INSERT', '{"uuid": "6093331c-adb2-44e9-baac-ef073278751f", "roletype": "OWNER", "objectuuid": "60702c01-7285-4eea-a937-6019d6e3661d"}'); -INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1823', 'rbac.permission', '46d04d79-5187-44ec-8f30-e6f823bc47e6', 'INSERT', '{"op": "DELETE", "uuid": "46d04d79-5187-44ec-8f30-e6f823bc47e6", "objectuuid": "60702c01-7285-4eea-a937-6019d6e3661d", "optablename": null}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1823', 'rbac.grant', 'd9fbd26a-a4b0-4ad1-8c38-3281b7b4b992', 'INSERT', '{"uuid": "d9fbd26a-a4b0-4ad1-8c38-3281b7b4b992", "assumed": true, "ascendantuuid": "6093331c-adb2-44e9-baac-ef073278751f", "descendantuuid": "46d04d79-5187-44ec-8f30-e6f823bc47e6", "grantedbyroleuuid": null, "grantedbytriggerof": "60702c01-7285-4eea-a937-6019d6e3661d"}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1823', 'rbac.grant', '71a02cb0-4e2d-49ad-8ebc-e91cefaf35bd', 'INSERT', '{"uuid": "71a02cb0-4e2d-49ad-8ebc-e91cefaf35bd", "assumed": true, "ascendantuuid": "ce47754e-0d06-4b12-bc91-8034a4a046e7", "descendantuuid": "6093331c-adb2-44e9-baac-ef073278751f", "grantedbyroleuuid": null, "grantedbytriggerof": "60702c01-7285-4eea-a937-6019d6e3661d"}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1823', 'rbac.grant', '4ca42285-8620-423d-833e-591a0c311ef9', 'INSERT', '{"uuid": "4ca42285-8620-423d-833e-591a0c311ef9", "assumed": true, "ascendantuuid": "3706fd53-e952-408a-aedd-93ec6d5129be", "descendantuuid": "6093331c-adb2-44e9-baac-ef073278751f", "grantedbyroleuuid": "6093331c-adb2-44e9-baac-ef073278751f", "grantedbytriggerof": null}'); @@ -11844,6 +11847,7 @@ INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelt INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1823', 'rbac.grant', '1938ede4-bf20-4e00-af7c-e2824876b1c8', 'INSERT', '{"uuid": "1938ede4-bf20-4e00-af7c-e2824876b1c8", "assumed": true, "ascendantuuid": "832cde07-7e08-41a0-84e0-201f12393e15", "descendantuuid": "4e1db019-7622-4ba1-aec7-4046419a7b28", "grantedbyroleuuid": null, "grantedbytriggerof": "8363ec62-6d90-4dd9-940b-6073b3246c39"}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1823', 'rbac.grant', '5d6d973a-91c3-446a-8265-c561784b9469', 'INSERT', '{"uuid": "5d6d973a-91c3-446a-8265-c561784b9469", "assumed": true, "ascendantuuid": "4e1db019-7622-4ba1-aec7-4046419a7b28", "descendantuuid": "206fcdf2-c22e-480f-9029-42183cc2990e", "grantedbyroleuuid": null, "grantedbytriggerof": "8363ec62-6d90-4dd9-940b-6073b3246c39"}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1823', 'rbac.grant', 'e37e4ee5-9e16-48d3-8f4f-a830266ea4f8', 'INSERT', '{"uuid": "e37e4ee5-9e16-48d3-8f4f-a830266ea4f8", "assumed": true, "ascendantuuid": "4e1db019-7622-4ba1-aec7-4046419a7b28", "descendantuuid": "bdeffe17-405f-4ad0-8131-82728ea0e382", "grantedbyroleuuid": null, "grantedbytriggerof": "8363ec62-6d90-4dd9-940b-6073b3246c39"}'); +INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1823', 'rbac.permission', 'b0a82131-7ecd-4685-be5a-89dd1c4cc7de', 'INSERT', '{"op": "DELETE", "uuid": "b0a82131-7ecd-4685-be5a-89dd1c4cc7de", "objectuuid": "e74992df-66a8-4572-9e55-ec7b210f04e0", "optablename": null}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1823', 'rbac.grant', 'aabbd5f7-d31b-41e3-a111-736caf90ba92', 'INSERT', '{"uuid": "aabbd5f7-d31b-41e3-a111-736caf90ba92", "assumed": true, "ascendantuuid": "1373e547-4804-4c8d-9014-ce51c65f3a06", "descendantuuid": "832cde07-7e08-41a0-84e0-201f12393e15", "grantedbyroleuuid": null, "grantedbytriggerof": "8363ec62-6d90-4dd9-940b-6073b3246c39"}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1823', 'rbac.grant', '13193ab0-7409-4371-9d99-43fc3d4b3c38', 'INSERT', '{"uuid": "13193ab0-7409-4371-9d99-43fc3d4b3c38", "assumed": true, "ascendantuuid": "1373e547-4804-4c8d-9014-ce51c65f3a06", "descendantuuid": "2a60ab65-5d4d-49bf-b184-3b1ef563bd62", "grantedbyroleuuid": null, "grantedbytriggerof": "8363ec62-6d90-4dd9-940b-6073b3246c39"}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1823', 'hs_office.relation', '8363ec62-6d90-4dd9-940b-6073b3246c39', 'INSERT', '{"mark": "operations-discussion", "type": "SUBSCRIBER", "uuid": "8363ec62-6d90-4dd9-940b-6073b3246c39", "version": 0, "anchoruuid": "a3cb6be0-b9e4-42f8-ae29-ef2ba0f3a763", "holderuuid": "a3cb6be0-b9e4-42f8-ae29-ef2ba0f3a763", "contactuuid": "4997dce8-4927-4a10-a7b3-16c574eb79c9"}'); @@ -12004,7 +12008,6 @@ INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelt INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1823', 'hs_office.relation', '18124f89-8ce6-4813-8efe-3ed47b7eb453', 'INSERT', '{"mark": "operations-discussion", "type": "SUBSCRIBER", "uuid": "18124f89-8ce6-4813-8efe-3ed47b7eb453", "version": 0, "anchoruuid": "38cc5d59-085f-449e-aeb3-439febbabd9b", "holderuuid": "d7485220-e4f2-4683-9e84-7728a2ef4ebf", "contactuuid": "9dcab961-1465-40e3-8d83-357b22af2674"}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1823', 'rbac.object', 'cbda6432-b849-4787-84ab-88e680dbfa72', 'INSERT', '{"uuid": "cbda6432-b849-4787-84ab-88e680dbfa72", "serialid": 221, "objecttable": "hs_office.relation"}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1823', 'rbac.role', 'cf88430b-e0a1-431e-9912-098933e6771c', 'INSERT', '{"uuid": "cf88430b-e0a1-431e-9912-098933e6771c", "roletype": "OWNER", "objectuuid": "cbda6432-b849-4787-84ab-88e680dbfa72"}'); -INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1823', 'rbac.permission', 'eb9181ce-7b72-4ed9-93aa-49eb66db32eb', 'INSERT', '{"op": "DELETE", "uuid": "eb9181ce-7b72-4ed9-93aa-49eb66db32eb", "objectuuid": "cbda6432-b849-4787-84ab-88e680dbfa72", "optablename": null}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1823', 'rbac.grant', 'f47d3670-a996-43b9-ac56-bc64167bf8e9', 'INSERT', '{"uuid": "f47d3670-a996-43b9-ac56-bc64167bf8e9", "assumed": true, "ascendantuuid": "cf88430b-e0a1-431e-9912-098933e6771c", "descendantuuid": "eb9181ce-7b72-4ed9-93aa-49eb66db32eb", "grantedbyroleuuid": null, "grantedbytriggerof": "cbda6432-b849-4787-84ab-88e680dbfa72"}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1823', 'rbac.grant', 'bf388cd5-754d-4a67-a900-74c8ae8d0763', 'INSERT', '{"uuid": "bf388cd5-754d-4a67-a900-74c8ae8d0763", "assumed": true, "ascendantuuid": "ce47754e-0d06-4b12-bc91-8034a4a046e7", "descendantuuid": "cf88430b-e0a1-431e-9912-098933e6771c", "grantedbyroleuuid": null, "grantedbytriggerof": "cbda6432-b849-4787-84ab-88e680dbfa72"}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1823', 'rbac.grant', '04ee36e9-7e18-455b-bec1-f850ccc4fa03', 'INSERT', '{"uuid": "04ee36e9-7e18-455b-bec1-f850ccc4fa03", "assumed": true, "ascendantuuid": "3706fd53-e952-408a-aedd-93ec6d5129be", "descendantuuid": "cf88430b-e0a1-431e-9912-098933e6771c", "grantedbyroleuuid": "cf88430b-e0a1-431e-9912-098933e6771c", "grantedbytriggerof": null}'); @@ -12032,7 +12035,6 @@ INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelt INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1823', 'rbac.grant', 'f5db57a6-93dd-4658-b13b-827f28d9ef59', 'INSERT', '{"uuid": "f5db57a6-93dd-4658-b13b-827f28d9ef59", "assumed": true, "ascendantuuid": "ce47754e-0d06-4b12-bc91-8034a4a046e7", "descendantuuid": "7bddc04e-775b-48f6-acb1-c1c9e638f836", "grantedbyroleuuid": null, "grantedbytriggerof": "f3b07a47-e7ac-4fea-850e-1d785edfea34"}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1823', 'rbac.grant', '75685f6f-2403-40ef-b08b-1625bd699a13', 'INSERT', '{"uuid": "75685f6f-2403-40ef-b08b-1625bd699a13", "assumed": true, "ascendantuuid": "3706fd53-e952-408a-aedd-93ec6d5129be", "descendantuuid": "7bddc04e-775b-48f6-acb1-c1c9e638f836", "grantedbyroleuuid": "7bddc04e-775b-48f6-acb1-c1c9e638f836", "grantedbytriggerof": null}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1823', 'rbac.role', 'd8668032-3755-4ef6-8ea7-7c34e0109e25', 'INSERT', '{"uuid": "d8668032-3755-4ef6-8ea7-7c34e0109e25", "roletype": "ADMIN", "objectuuid": "f3b07a47-e7ac-4fea-850e-1d785edfea34"}'); -INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1823', 'rbac.permission', 'fe2d0171-effb-42e9-ad87-d877454fa221', 'INSERT', '{"op": "UPDATE", "uuid": "fe2d0171-effb-42e9-ad87-d877454fa221", "objectuuid": "f3b07a47-e7ac-4fea-850e-1d785edfea34", "optablename": null}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1823', 'rbac.grant', 'd34d2490-26a3-40dd-8417-faec7508092e', 'INSERT', '{"uuid": "d34d2490-26a3-40dd-8417-faec7508092e", "assumed": true, "ascendantuuid": "d8668032-3755-4ef6-8ea7-7c34e0109e25", "descendantuuid": "fe2d0171-effb-42e9-ad87-d877454fa221", "grantedbyroleuuid": null, "grantedbytriggerof": "f3b07a47-e7ac-4fea-850e-1d785edfea34"}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1823', 'rbac.grant', '75f5c8b1-9e1c-4dbf-85c8-c119cfe29326', 'INSERT', '{"uuid": "75f5c8b1-9e1c-4dbf-85c8-c119cfe29326", "assumed": true, "ascendantuuid": "7bddc04e-775b-48f6-acb1-c1c9e638f836", "descendantuuid": "d8668032-3755-4ef6-8ea7-7c34e0109e25", "grantedbyroleuuid": null, "grantedbytriggerof": "f3b07a47-e7ac-4fea-850e-1d785edfea34"}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1823', 'rbac.role', '9dc88526-27f4-4c56-aef0-740429a8c457', 'INSERT', '{"uuid": "9dc88526-27f4-4c56-aef0-740429a8c457", "roletype": "AGENT", "objectuuid": "f3b07a47-e7ac-4fea-850e-1d785edfea34"}'); @@ -12166,7 +12168,6 @@ INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelt INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1823', 'hs_office.relation', 'ac44bd92-4e10-441c-8af3-6fc7cd6b242f', 'INSERT', '{"mark": null, "type": "OPERATIONS", "uuid": "ac44bd92-4e10-441c-8af3-6fc7cd6b242f", "version": 0, "anchoruuid": "ba6468f9-2d1a-45c9-8f5c-71edc1a4ad6f", "holderuuid": "c3d97013-0ceb-4cc7-a59b-a4f70107acea", "contactuuid": "e8151525-ae0c-44fb-9755-72be88f7f6b1"}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1823', 'rbac.object', 'e74992df-66a8-4572-9e55-ec7b210f04e0', 'INSERT', '{"uuid": "e74992df-66a8-4572-9e55-ec7b210f04e0", "serialid": 228, "objecttable": "hs_office.relation"}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1823', 'rbac.role', '1a2692a7-05c3-433a-990c-54a184a91661', 'INSERT', '{"uuid": "1a2692a7-05c3-433a-990c-54a184a91661", "roletype": "OWNER", "objectuuid": "e74992df-66a8-4572-9e55-ec7b210f04e0"}'); -INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1823', 'rbac.permission', 'b0a82131-7ecd-4685-be5a-89dd1c4cc7de', 'INSERT', '{"op": "DELETE", "uuid": "b0a82131-7ecd-4685-be5a-89dd1c4cc7de", "objectuuid": "e74992df-66a8-4572-9e55-ec7b210f04e0", "optablename": null}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1823', 'rbac.grant', 'e37467aa-eee1-4f42-aac8-fa3219b8c712', 'INSERT', '{"uuid": "e37467aa-eee1-4f42-aac8-fa3219b8c712", "assumed": true, "ascendantuuid": "1a2692a7-05c3-433a-990c-54a184a91661", "descendantuuid": "b0a82131-7ecd-4685-be5a-89dd1c4cc7de", "grantedbyroleuuid": null, "grantedbytriggerof": "e74992df-66a8-4572-9e55-ec7b210f04e0"}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1823', 'rbac.grant', '774d40b1-0544-4e8f-a6d9-feeae437ec88', 'INSERT', '{"uuid": "774d40b1-0544-4e8f-a6d9-feeae437ec88", "assumed": true, "ascendantuuid": "ce47754e-0d06-4b12-bc91-8034a4a046e7", "descendantuuid": "1a2692a7-05c3-433a-990c-54a184a91661", "grantedbyroleuuid": null, "grantedbytriggerof": "e74992df-66a8-4572-9e55-ec7b210f04e0"}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1823', 'rbac.grant', '0f85a127-53ac-4858-841e-bdbb56283a00', 'INSERT', '{"uuid": "0f85a127-53ac-4858-841e-bdbb56283a00", "assumed": true, "ascendantuuid": "3706fd53-e952-408a-aedd-93ec6d5129be", "descendantuuid": "1a2692a7-05c3-433a-990c-54a184a91661", "grantedbyroleuuid": "1a2692a7-05c3-433a-990c-54a184a91661", "grantedbytriggerof": null}'); @@ -12274,6 +12275,7 @@ INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelt INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1823', 'rbac.grant', '62f3ce10-f42c-4106-a6ea-40aa0e018eed', 'INSERT', '{"uuid": "62f3ce10-f42c-4106-a6ea-40aa0e018eed", "assumed": true, "ascendantuuid": "da9600c2-7dcc-4a7d-87f1-33f4a441e807", "descendantuuid": "ac5044f1-1f16-43fa-afe2-24d80506ae5b", "grantedbyroleuuid": null, "grantedbytriggerof": "08e80808-fb86-4503-ab9b-9652af82d5b5"}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1823', 'rbac.grant', '4fe21ec9-c4cd-462d-8754-e16bbf8a180a', 'INSERT', '{"uuid": "4fe21ec9-c4cd-462d-8754-e16bbf8a180a", "assumed": true, "ascendantuuid": "e108043f-3dcd-498c-9560-cde4ed35680e", "descendantuuid": "ac5044f1-1f16-43fa-afe2-24d80506ae5b", "grantedbyroleuuid": null, "grantedbytriggerof": "08e80808-fb86-4503-ab9b-9652af82d5b5"}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1823', 'rbac.grant', 'fa4aad7d-a9e0-40a4-9075-10e1bab8f777', 'INSERT', '{"uuid": "fa4aad7d-a9e0-40a4-9075-10e1bab8f777", "assumed": true, "ascendantuuid": "ac5044f1-1f16-43fa-afe2-24d80506ae5b", "descendantuuid": "f1afc7a2-588d-4b7e-9975-7b0eda21f846", "grantedbyroleuuid": null, "grantedbytriggerof": "08e80808-fb86-4503-ab9b-9652af82d5b5"}'); +INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('2033', 'rbac.permission', 'a4b5890e-c3d9-4eda-8a8c-3ebc20a39061', 'INSERT', '{"op": "UPDATE", "uuid": "a4b5890e-c3d9-4eda-8a8c-3ebc20a39061", "objectuuid": "db7f287e-dfd7-4627-88e3-407cac226472", "optablename": null}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1823', 'rbac.grant', '4200700a-6aa6-4949-80e8-a2ccbe1de26e', 'INSERT', '{"uuid": "4200700a-6aa6-4949-80e8-a2ccbe1de26e", "assumed": true, "ascendantuuid": "ac5044f1-1f16-43fa-afe2-24d80506ae5b", "descendantuuid": "95cfeaa7-1c01-4090-8f37-fc3306cc0ba9", "grantedbyroleuuid": null, "grantedbytriggerof": "08e80808-fb86-4503-ab9b-9652af82d5b5"}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1823', 'rbac.grant', '407d18e1-5185-41fd-9073-afe3b884826c', 'INSERT', '{"uuid": "407d18e1-5185-41fd-9073-afe3b884826c", "assumed": true, "ascendantuuid": "ac5044f1-1f16-43fa-afe2-24d80506ae5b", "descendantuuid": "779e4c3b-97f0-4218-8eab-5575a6afa54a", "grantedbyroleuuid": null, "grantedbytriggerof": "08e80808-fb86-4503-ab9b-9652af82d5b5"}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('1823', 'rbac.grant', '3b1cf5ad-8b58-4229-a6db-e9927917d0dc', 'INSERT', '{"uuid": "3b1cf5ad-8b58-4229-a6db-e9927917d0dc", "assumed": true, "ascendantuuid": "de10229b-be9d-45dc-b1bf-8f832ebffe68", "descendantuuid": "e108043f-3dcd-498c-9560-cde4ed35680e", "grantedbyroleuuid": null, "grantedbytriggerof": "08e80808-fb86-4503-ab9b-9652af82d5b5"}'); @@ -12302,7 +12304,7 @@ INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelt INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('2033', 'rbac.grant', '23fe6f7c-4bd4-4450-9cd0-5e2f26b0f3e4', 'INSERT', '{"uuid": "23fe6f7c-4bd4-4450-9cd0-5e2f26b0f3e4", "assumed": true, "ascendantuuid": "7db53bc9-99f3-478e-abb0-437dcbd32051", "descendantuuid": "4d9e1a7c-84fa-43c7-a1d7-e898b20df129", "grantedbyroleuuid": null, "grantedbytriggerof": "db7f287e-dfd7-4627-88e3-407cac226472"}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('2033', 'rbac.permission', '8c236a58-3fab-421e-b8a3-6c9df1269fed', 'INSERT', '{"op": "SELECT", "uuid": "8c236a58-3fab-421e-b8a3-6c9df1269fed", "objectuuid": "db7f287e-dfd7-4627-88e3-407cac226472", "optablename": null}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('2033', 'rbac.grant', 'be124201-7708-49e7-9cbe-6e129694e33a', 'INSERT', '{"uuid": "be124201-7708-49e7-9cbe-6e129694e33a", "assumed": true, "ascendantuuid": "e37e21bc-4d4f-4d41-8c24-399be1680a15", "descendantuuid": "8c236a58-3fab-421e-b8a3-6c9df1269fed", "grantedbyroleuuid": null, "grantedbytriggerof": "db7f287e-dfd7-4627-88e3-407cac226472"}'); -INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('2033', 'rbac.permission', 'a4b5890e-c3d9-4eda-8a8c-3ebc20a39061', 'INSERT', '{"op": "UPDATE", "uuid": "a4b5890e-c3d9-4eda-8a8c-3ebc20a39061", "objectuuid": "db7f287e-dfd7-4627-88e3-407cac226472", "optablename": null}'); +INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('2033', 'rbac.object', 'defa6288-bed7-4ed8-ae6d-fbbb3530a632', 'INSERT', '{"uuid": "defa6288-bed7-4ed8-ae6d-fbbb3530a632", "serialid": 244, "objecttable": "hs_office.partner"}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('2033', 'rbac.grant', 'dd3c3ef8-59bd-4633-9555-cdf9c6440489', 'INSERT', '{"uuid": "dd3c3ef8-59bd-4633-9555-cdf9c6440489", "assumed": true, "ascendantuuid": "9771d06d-8352-404c-aaba-743800e621e9", "descendantuuid": "a4b5890e-c3d9-4eda-8a8c-3ebc20a39061", "grantedbyroleuuid": null, "grantedbytriggerof": "db7f287e-dfd7-4627-88e3-407cac226472"}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('2033', 'rbac.permission', 'f35bc896-c93b-42ca-994d-4f5f4e2e5b5f', 'INSERT', '{"op": "DELETE", "uuid": "f35bc896-c93b-42ca-994d-4f5f4e2e5b5f", "objectuuid": "7b7a528d-a284-4d0d-99ce-73f2a7585f78", "optablename": null}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('2033', 'rbac.grant', '12748785-e835-4f51-ac95-ee436ca09f2c', 'INSERT', '{"uuid": "12748785-e835-4f51-ac95-ee436ca09f2c", "assumed": true, "ascendantuuid": "7db53bc9-99f3-478e-abb0-437dcbd32051", "descendantuuid": "f35bc896-c93b-42ca-994d-4f5f4e2e5b5f", "grantedbyroleuuid": null, "grantedbytriggerof": "db7f287e-dfd7-4627-88e3-407cac226472"}'); @@ -12332,6 +12334,7 @@ INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelt INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('2033', 'hs_office.partner_details', '90604765-0e48-4363-83e4-1c2e9e4a8f33', 'INSERT', '{"uuid": "90604765-0e48-4363-83e4-1c2e9e4a8f33", "version": 0, "birthday": null, "birthname": null, "birthplace": null, "dateofdeath": null, "registrationnumber": null, "registrationoffice": null}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('2033', 'rbac.object', '029b1c78-d68b-48e6-83e5-8883b9cefe7c', 'INSERT', '{"uuid": "029b1c78-d68b-48e6-83e5-8883b9cefe7c", "serialid": 240, "objecttable": "hs_office.partner"}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('2033', 'rbac.permission', '45cfb9f8-8e5e-438d-90f7-6b1ee872c003', 'INSERT', '{"op": "DELETE", "uuid": "45cfb9f8-8e5e-438d-90f7-6b1ee872c003", "objectuuid": "029b1c78-d68b-48e6-83e5-8883b9cefe7c", "optablename": null}'); +INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('2033', 'rbac.permission', '1aa9a0f2-47a7-498d-b0e8-9e73ef9f5b00', 'INSERT', '{"op": "DELETE", "uuid": "1aa9a0f2-47a7-498d-b0e8-9e73ef9f5b00", "objectuuid": "defa6288-bed7-4ed8-ae6d-fbbb3530a632", "optablename": null}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('2033', 'rbac.grant', '14c82607-a49e-45fa-aa03-92c48062069c', 'INSERT', '{"uuid": "14c82607-a49e-45fa-aa03-92c48062069c", "assumed": true, "ascendantuuid": "b26cca89-03f0-4498-bf64-7385c0b7244a", "descendantuuid": "45cfb9f8-8e5e-438d-90f7-6b1ee872c003", "grantedbyroleuuid": null, "grantedbytriggerof": "029b1c78-d68b-48e6-83e5-8883b9cefe7c"}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('2033', 'rbac.permission', 'ac1f7518-f255-47bd-bf31-29d3cd2bb57a', 'INSERT', '{"op": "SELECT", "uuid": "ac1f7518-f255-47bd-bf31-29d3cd2bb57a", "objectuuid": "029b1c78-d68b-48e6-83e5-8883b9cefe7c", "optablename": null}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('2033', 'rbac.grant', 'd276fd29-2bdd-4567-9276-5996c2c75389', 'INSERT', '{"uuid": "d276fd29-2bdd-4567-9276-5996c2c75389", "assumed": true, "ascendantuuid": "b67105de-0348-4d4c-8ccc-aab9ed905eb6", "descendantuuid": "ac1f7518-f255-47bd-bf31-29d3cd2bb57a", "grantedbyroleuuid": null, "grantedbytriggerof": "029b1c78-d68b-48e6-83e5-8883b9cefe7c"}'); @@ -12361,8 +12364,6 @@ INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelt INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('2033', 'hs_office.partner', '58ca016b-15ea-41e3-80ba-2603bf736619', 'INSERT', '{"uuid": "58ca016b-15ea-41e3-80ba-2603bf736619", "version": 0, "detailsuuid": "a7494bd0-af97-421e-bfa3-53bd97fb1df8", "partnernumber": 19090, "partnerreluuid": "bcd0fdb5-7415-40d2-8265-85113a4b66be"}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('2033', 'rbac.object', 'f1048d9f-e560-459a-91fe-f769ef049648', 'INSERT', '{"uuid": "f1048d9f-e560-459a-91fe-f769ef049648", "serialid": 243, "objecttable": "hs_office.partner_details"}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('2033', 'hs_office.partner_details', 'f1048d9f-e560-459a-91fe-f769ef049648', 'INSERT', '{"uuid": "f1048d9f-e560-459a-91fe-f769ef049648", "version": 0, "birthday": null, "birthname": null, "birthplace": null, "dateofdeath": null, "registrationnumber": null, "registrationoffice": null}'); -INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('2033', 'rbac.object', 'defa6288-bed7-4ed8-ae6d-fbbb3530a632', 'INSERT', '{"uuid": "defa6288-bed7-4ed8-ae6d-fbbb3530a632", "serialid": 244, "objecttable": "hs_office.partner"}'); -INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('2033', 'rbac.permission', '1aa9a0f2-47a7-498d-b0e8-9e73ef9f5b00', 'INSERT', '{"op": "DELETE", "uuid": "1aa9a0f2-47a7-498d-b0e8-9e73ef9f5b00", "objectuuid": "defa6288-bed7-4ed8-ae6d-fbbb3530a632", "optablename": null}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('2033', 'rbac.grant', 'b3544903-2ae4-4b16-84f7-01adc31301f8', 'INSERT', '{"uuid": "b3544903-2ae4-4b16-84f7-01adc31301f8", "assumed": true, "ascendantuuid": "5242e0b6-12e3-4a59-bf06-de114cb69ff4", "descendantuuid": "1aa9a0f2-47a7-498d-b0e8-9e73ef9f5b00", "grantedbyroleuuid": null, "grantedbytriggerof": "defa6288-bed7-4ed8-ae6d-fbbb3530a632"}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('2033', 'rbac.permission', '57130e2a-328a-4402-bd54-a76cb815503c', 'INSERT', '{"op": "SELECT", "uuid": "57130e2a-328a-4402-bd54-a76cb815503c", "objectuuid": "defa6288-bed7-4ed8-ae6d-fbbb3530a632", "optablename": null}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('2033', 'rbac.grant', '889edabb-a1de-44f3-8051-788e2e6b61c2', 'INSERT', '{"uuid": "889edabb-a1de-44f3-8051-788e2e6b61c2", "assumed": true, "ascendantuuid": "c85e8116-355e-408a-93fa-c699da2a76f3", "descendantuuid": "57130e2a-328a-4402-bd54-a76cb815503c", "grantedbyroleuuid": null, "grantedbytriggerof": "defa6288-bed7-4ed8-ae6d-fbbb3530a632"}'); @@ -12838,6 +12839,7 @@ INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelt INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('2165', 'rbac.object', '466056f2-efc6-45d6-b778-fa111db7a18b', 'INSERT', '{"uuid": "466056f2-efc6-45d6-b778-fa111db7a18b", "serialid": 275, "objecttable": "hs_office.sepamandate"}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('2165', 'rbac.role', '0017035a-e8ef-4e77-a43d-938cfc7962f5', 'INSERT', '{"uuid": "0017035a-e8ef-4e77-a43d-938cfc7962f5", "roletype": "OWNER", "objectuuid": "466056f2-efc6-45d6-b778-fa111db7a18b"}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('2165', 'rbac.permission', 'a3d6ce3f-655b-452b-91b1-539956c8580d', 'INSERT', '{"op": "DELETE", "uuid": "a3d6ce3f-655b-452b-91b1-539956c8580d", "objectuuid": "466056f2-efc6-45d6-b778-fa111db7a18b", "optablename": null}'); +INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('2210', 'rbac.permission', 'a46e7e72-094a-4677-a2ba-b027e117c814', 'INSERT', '{"op": "SELECT", "uuid": "a46e7e72-094a-4677-a2ba-b027e117c814", "objectuuid": "1b444a8f-352d-4812-97aa-bd1e649201f8", "optablename": null}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('2165', 'rbac.grant', '9295097d-a6bb-4f56-872c-786a6e030c4d', 'INSERT', '{"uuid": "9295097d-a6bb-4f56-872c-786a6e030c4d", "assumed": true, "ascendantuuid": "0017035a-e8ef-4e77-a43d-938cfc7962f5", "descendantuuid": "a3d6ce3f-655b-452b-91b1-539956c8580d", "grantedbyroleuuid": null, "grantedbytriggerof": "466056f2-efc6-45d6-b778-fa111db7a18b"}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('2165', 'rbac.grant', '2f1d9ae4-4df3-4b51-bd68-0140f715fc71', 'INSERT', '{"uuid": "2f1d9ae4-4df3-4b51-bd68-0140f715fc71", "assumed": true, "ascendantuuid": "ce47754e-0d06-4b12-bc91-8034a4a046e7", "descendantuuid": "0017035a-e8ef-4e77-a43d-938cfc7962f5", "grantedbyroleuuid": null, "grantedbytriggerof": "466056f2-efc6-45d6-b778-fa111db7a18b"}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('2165', 'rbac.grant', '829228f5-33c6-47e3-b6d5-4eae06004c3b', 'INSERT', '{"uuid": "829228f5-33c6-47e3-b6d5-4eae06004c3b", "assumed": true, "ascendantuuid": "3706fd53-e952-408a-aedd-93ec6d5129be", "descendantuuid": "0017035a-e8ef-4e77-a43d-938cfc7962f5", "grantedbyroleuuid": "0017035a-e8ef-4e77-a43d-938cfc7962f5", "grantedbytriggerof": null}'); @@ -12974,7 +12976,6 @@ INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelt INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('2210', 'rbac.grant', '9b17f569-8476-4251-a789-cfb74e3d3f98', 'INSERT', '{"uuid": "9b17f569-8476-4251-a789-cfb74e3d3f98", "assumed": true, "ascendantuuid": "0eabdcfb-e308-4e52-8c7f-27643332c947", "descendantuuid": "793d3808-9277-4bc1-b39e-46fd0b5028d1", "grantedbyroleuuid": null, "grantedbytriggerof": "f9c724b4-3965-4cfa-bc93-5b780b2362e7"}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('2210', 'hs_office.coopassettx', 'f9c724b4-3965-4cfa-bc93-5b780b2362e7', 'INSERT', '{"uuid": "f9c724b4-3965-4cfa-bc93-5b780b2362e7", "comment": "for subscription A", "version": 0, "reference": "1000300", "valuedate": "2000-12-06", "assetvalue": 5120.00, "membershipuuid": "f97e9751-6e67-40fb-b840-b818dc69afcf", "transactiontype": "DEPOSIT", "assetadoptiontxuuid": null, "revertedassettxuuid": null}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('2210', 'rbac.object', '1b444a8f-352d-4812-97aa-bd1e649201f8', 'INSERT', '{"uuid": "1b444a8f-352d-4812-97aa-bd1e649201f8", "serialid": 290, "objecttable": "hs_office.coopassettx"}'); -INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('2210', 'rbac.permission', 'a46e7e72-094a-4677-a2ba-b027e117c814', 'INSERT', '{"op": "SELECT", "uuid": "a46e7e72-094a-4677-a2ba-b027e117c814", "objectuuid": "1b444a8f-352d-4812-97aa-bd1e649201f8", "optablename": null}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('2210', 'rbac.grant', 'bbde51c9-e683-4ff4-a012-a554ae9bf2bb', 'INSERT', '{"uuid": "bbde51c9-e683-4ff4-a012-a554ae9bf2bb", "assumed": true, "ascendantuuid": "5fd54e69-2513-4413-95d6-dde58ed6d8ae", "descendantuuid": "a46e7e72-094a-4677-a2ba-b027e117c814", "grantedbyroleuuid": null, "grantedbytriggerof": "1b444a8f-352d-4812-97aa-bd1e649201f8"}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('2210', 'rbac.permission', '34608829-3d7a-475c-b734-f3692e102b82', 'INSERT', '{"op": "UPDATE", "uuid": "34608829-3d7a-475c-b734-f3692e102b82", "objectuuid": "1b444a8f-352d-4812-97aa-bd1e649201f8", "optablename": null}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('2210', 'rbac.grant', '6e566df6-3722-4285-b7c9-529dae12bf44', 'INSERT', '{"uuid": "6e566df6-3722-4285-b7c9-529dae12bf44", "assumed": true, "ascendantuuid": "9c725eaf-2d1b-43ed-b3cd-f7fcf75b2772", "descendantuuid": "34608829-3d7a-475c-b734-f3692e102b82", "grantedbyroleuuid": null, "grantedbytriggerof": "1b444a8f-352d-4812-97aa-bd1e649201f8"}'); @@ -13075,10 +13076,12 @@ INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelt INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('2210', 'rbac.permission', '16994a15-ef4b-4c7f-b123-e9c2e03919d0', 'INSERT', '{"op": "UPDATE", "uuid": "16994a15-ef4b-4c7f-b123-e9c2e03919d0", "objectuuid": "cd8cd45a-a4af-46ce-a434-5b5208095346", "optablename": null}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('2210', 'rbac.grant', '2f57e665-78f6-48fa-b811-d8537ff580e3', 'INSERT', '{"uuid": "2f57e665-78f6-48fa-b811-d8537ff580e3", "assumed": true, "ascendantuuid": "bf27b482-99fb-43fe-8789-b926b9131a32", "descendantuuid": "16994a15-ef4b-4c7f-b123-e9c2e03919d0", "grantedbyroleuuid": null, "grantedbytriggerof": "cd8cd45a-a4af-46ce-a434-5b5208095346"}'); INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('2210', 'hs_office.coopassettx', 'cd8cd45a-a4af-46ce-a434-5b5208095346', 'INSERT', '{"uuid": "cd8cd45a-a4af-46ce-a434-5b5208095346", "comment": "chargeback for subscription E", "version": 0, "reference": "1909000", "valuedate": "2024-01-20", "assetvalue": -128.00, "membershipuuid": "9c468212-9e05-4b29-9d75-5a2c147b2b8f", "transactiontype": "REVERSAL", "assetadoptiontxuuid": null, "revertedassettxuuid": "df223672-3c4b-4044-8f54-1794a50c957e"}'); +INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('727', 'rbac.subject', '71678403-0e87-4df2-b93f-a3821b631f5a', 'INSERT', '{"name": "import-superuser@hostsharing.net", "uuid": "71678403-0e87-4df2-b93f-a3821b631f5a"}'); +INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('727', 'rbac.grant', '079c28f8-1452-4efd-b0b8-5315c2272d3d', 'INSERT', '{"uuid": "079c28f8-1452-4efd-b0b8-5315c2272d3d", "assumed": true, "ascendantuuid": "71678403-0e87-4df2-b93f-a3821b631f5a", "descendantuuid": "ce47754e-0d06-4b12-bc91-8034a4a046e7", "grantedbyroleuuid": "ce47754e-0d06-4b12-bc91-8034a4a046e7", "grantedbytriggerof": null}'); -- --- Data for Name: bankaccount; Type: TABLE DATA; Schema: hs_office; Owner: test +-- Data for Name: bankaccount; Type: TABLE DATA; Schema: hs_office; Owner: admin -- INSERT INTO hs_office.bankaccount (uuid, version, holder, iban, bic) VALUES ('9b403ef6-3fae-4698-9b21-2627c51fa254', 0, 'Ragnar Richter', 'DE02300209000106531065', 'GENODEM1GLS'); @@ -13091,7 +13094,7 @@ INSERT INTO hs_office.bankaccount (uuid, version, holder, iban, bic) VALUES ('f3 -- --- Data for Name: contact; Type: TABLE DATA; Schema: hs_office; Owner: test +-- Data for Name: contact; Type: TABLE DATA; Schema: hs_office; Owner: admin -- INSERT INTO hs_office.contact (uuid, version, caption, postaladdress, emailaddresses, phonenumbers) VALUES ('691db509-b67e-46ec-a859-c4cb05fbbd70', 0, 'Michael Mellis, Herr Michael Mellis', '{"city": "Hage", "firm": "Herr Michael Mellis", "name": "Herr Michael Mellis", "street": "Dr. Bolte Str. 50", "country": "Germany", "zipcode": "26524"}', '{"main": "michael@Mellis.example.org"}', '{"fax": "+49 40 912345-9", "phone_mobile": "+49/1522123455", "phone_office": "+49 4931/1234567"}'); @@ -13116,7 +13119,7 @@ INSERT INTO hs_office.contact (uuid, version, caption, postaladdress, emailaddre -- --- Data for Name: contact_legacy_id; Type: TABLE DATA; Schema: hs_office; Owner: test +-- Data for Name: contact_legacy_id; Type: TABLE DATA; Schema: hs_office; Owner: admin -- INSERT INTO hs_office.contact_legacy_id (uuid, contact_id) VALUES ('691db509-b67e-46ec-a859-c4cb05fbbd70', 100); @@ -13141,7 +13144,7 @@ INSERT INTO hs_office.contact_legacy_id (uuid, contact_id) VALUES ('c3b8c521-37f -- --- Data for Name: coopassettx; Type: TABLE DATA; Schema: hs_office; Owner: test +-- Data for Name: coopassettx; Type: TABLE DATA; Schema: hs_office; Owner: admin -- INSERT INTO hs_office.coopassettx (uuid, version, membershipuuid, transactiontype, valuedate, assetvalue, reference, revertedassettxuuid, assetadoptiontxuuid, comment) VALUES ('f9c724b4-3965-4cfa-bc93-5b780b2362e7', 0, 'f97e9751-6e67-40fb-b840-b818dc69afcf', 'DEPOSIT', '2000-12-06', 5120.00, '1000300', NULL, NULL, 'for subscription A'); @@ -13165,7 +13168,7 @@ INSERT INTO hs_office.coopassettx (uuid, version, membershipuuid, transactiontyp -- --- Data for Name: coopassettx_legacy_id; Type: TABLE DATA; Schema: hs_office; Owner: test +-- Data for Name: coopassettx_legacy_id; Type: TABLE DATA; Schema: hs_office; Owner: admin -- INSERT INTO hs_office.coopassettx_legacy_id (uuid, member_asset_id) VALUES ('f9c724b4-3965-4cfa-bc93-5b780b2362e7', 358); @@ -13189,7 +13192,7 @@ INSERT INTO hs_office.coopassettx_legacy_id (uuid, member_asset_id) VALUES ('cd8 -- --- Data for Name: coopsharetx; Type: TABLE DATA; Schema: hs_office; Owner: test +-- Data for Name: coopsharetx; Type: TABLE DATA; Schema: hs_office; Owner: admin -- INSERT INTO hs_office.coopsharetx (uuid, version, membershipuuid, transactiontype, valuedate, sharecount, reference, revertedsharetxuuid, comment) VALUES ('925e61ee-5120-4205-b609-18083af2c4d6', 0, 'f97e9751-6e67-40fb-b840-b818dc69afcf', 'SUBSCRIPTION', '2000-12-06', 80, '1000300', NULL, 'initial share subscription'); @@ -13206,7 +13209,7 @@ INSERT INTO hs_office.coopsharetx (uuid, version, membershipuuid, transactiontyp -- --- Data for Name: coopsharetx_legacy_id; Type: TABLE DATA; Schema: hs_office; Owner: test +-- Data for Name: coopsharetx_legacy_id; Type: TABLE DATA; Schema: hs_office; Owner: admin -- INSERT INTO hs_office.coopsharetx_legacy_id (uuid, member_share_id) VALUES ('925e61ee-5120-4205-b609-18083af2c4d6', 3); @@ -13223,7 +13226,7 @@ INSERT INTO hs_office.coopsharetx_legacy_id (uuid, member_share_id) VALUES ('eb4 -- --- Data for Name: debitor; Type: TABLE DATA; Schema: hs_office; Owner: test +-- Data for Name: debitor; Type: TABLE DATA; Schema: hs_office; Owner: admin -- INSERT INTO hs_office.debitor (uuid, version, debitornumbersuffix, debitorreluuid, billable, vatid, vatcountrycode, vatbusiness, vatreversecharge, refundbankaccountuuid, defaultprefix) VALUES ('6fc20aab-5dcf-4b04-8a33-1d1512fe8c61', 0, '00', 'f415978e-b5c2-4a99-962e-3d31a4658780', false, 'DE217249198', NULL, true, false, NULL, 'mim'); @@ -13237,7 +13240,7 @@ INSERT INTO hs_office.debitor (uuid, version, debitornumbersuffix, debitorreluui -- --- Data for Name: membership; Type: TABLE DATA; Schema: hs_office; Owner: test +-- Data for Name: membership; Type: TABLE DATA; Schema: hs_office; Owner: admin -- INSERT INTO hs_office.membership (uuid, version, partneruuid, membernumbersuffix, validity, status, membershipfeebillable) VALUES ('f97e9751-6e67-40fb-b840-b818dc69afcf', 0, '91b63591-b1e2-4c65-8ad2-c607be4c1238', '00', '[2000-12-06,)', 'ACTIVE', false); @@ -13250,7 +13253,7 @@ INSERT INTO hs_office.membership (uuid, version, partneruuid, membernumbersuffix -- --- Data for Name: partner; Type: TABLE DATA; Schema: hs_office; Owner: test +-- Data for Name: partner; Type: TABLE DATA; Schema: hs_office; Owner: admin -- INSERT INTO hs_office.partner (uuid, version, partnernumber, partnerreluuid, detailsuuid) VALUES ('91b63591-b1e2-4c65-8ad2-c607be4c1238', 0, 10003, '48618c28-9304-4ccb-b022-e2cbb1832944', '6da29bfa-4744-437f-aed3-2695571c58bf'); @@ -13264,7 +13267,7 @@ INSERT INTO hs_office.partner (uuid, version, partnernumber, partnerreluuid, det -- --- Data for Name: partner_details; Type: TABLE DATA; Schema: hs_office; Owner: test +-- Data for Name: partner_details; Type: TABLE DATA; Schema: hs_office; Owner: admin -- INSERT INTO hs_office.partner_details (uuid, version, registrationoffice, registrationnumber, birthplace, birthname, birthday, dateofdeath) VALUES ('6da29bfa-4744-437f-aed3-2695571c58bf', 0, NULL, NULL, NULL, NULL, NULL, NULL); @@ -13278,7 +13281,7 @@ INSERT INTO hs_office.partner_details (uuid, version, registrationoffice, regist -- --- Data for Name: partner_legacy_id; Type: TABLE DATA; Schema: hs_office; Owner: test +-- Data for Name: partner_legacy_id; Type: TABLE DATA; Schema: hs_office; Owner: admin -- INSERT INTO hs_office.partner_legacy_id (uuid, bp_id) VALUES ('91b63591-b1e2-4c65-8ad2-c607be4c1238', 100); @@ -13292,7 +13295,7 @@ INSERT INTO hs_office.partner_legacy_id (uuid, bp_id) VALUES ('c83c9583-a825-4a2 -- --- Data for Name: person; Type: TABLE DATA; Schema: hs_office; Owner: test +-- Data for Name: person; Type: TABLE DATA; Schema: hs_office; Owner: admin -- INSERT INTO hs_office.person (uuid, version, persontype, tradename, salutation, title, givenname, familyname) VALUES ('137fb47a-07d4-42cc-b2ef-8e371041cf41', 0, '??', 'Michael Mellis', 'Herr', '', 'Michael', 'Mellis'); @@ -13316,7 +13319,7 @@ INSERT INTO hs_office.person (uuid, version, persontype, tradename, salutation, -- --- Data for Name: relation; Type: TABLE DATA; Schema: hs_office; Owner: test +-- Data for Name: relation; Type: TABLE DATA; Schema: hs_office; Owner: admin -- INSERT INTO hs_office.relation (uuid, version, anchoruuid, holderuuid, contactuuid, type, mark) VALUES ('48618c28-9304-4ccb-b022-e2cbb1832944', 0, 'cd48cfd6-6313-408f-ae7d-9af047d0c22e', '137fb47a-07d4-42cc-b2ef-8e371041cf41', '691db509-b67e-46ec-a859-c4cb05fbbd70', 'PARTNER', NULL); @@ -13389,7 +13392,7 @@ INSERT INTO hs_office.relation (uuid, version, anchoruuid, holderuuid, contactuu -- --- Data for Name: sepamandate; Type: TABLE DATA; Schema: hs_office; Owner: test +-- Data for Name: sepamandate; Type: TABLE DATA; Schema: hs_office; Owner: admin -- INSERT INTO hs_office.sepamandate (uuid, version, debitoruuid, bankaccountuuid, reference, agreement, validity) VALUES ('3d0e6bb5-a62e-4225-a2bb-967c76926705', 0, '67c2d793-212f-4ce0-a750-b18224a93c73', '9b403ef6-3fae-4698-9b21-2627c51fa254', 'HS-10152-20140801', '2013-12-01', '[2013-12-01,2016-02-16)'); @@ -13402,7 +13405,7 @@ INSERT INTO hs_office.sepamandate (uuid, version, debitoruuid, bankaccountuuid, -- --- Data for Name: sepamandate_legacy_id; Type: TABLE DATA; Schema: hs_office; Owner: test +-- Data for Name: sepamandate_legacy_id; Type: TABLE DATA; Schema: hs_office; Owner: admin -- INSERT INTO hs_office.sepamandate_legacy_id (uuid, sepa_mandate_id) VALUES ('3d0e6bb5-a62e-4225-a2bb-967c76926705', 30); @@ -13415,7 +13418,7 @@ INSERT INTO hs_office.sepamandate_legacy_id (uuid, sepa_mandate_id) VALUES ('51a -- --- Data for Name: databasechangelog; Type: TABLE DATA; Schema: public; Owner: test +-- Data for Name: databasechangelog; Type: TABLE DATA; Schema: public; Owner: admin -- 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-30 16:35:49.973591', 1, 'EXECUTED', '9:5ad38f09c5cfce85000d90157413112e', 'sql', '', NULL, '4.29.2', NULL, NULL, '8251349802'); @@ -13707,21 +13710,21 @@ INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, ordere -- --- Data for Name: databasechangeloglock; Type: TABLE DATA; Schema: public; Owner: test +-- Data for Name: databasechangeloglock; Type: TABLE DATA; Schema: public; Owner: admin -- INSERT INTO public.databasechangeloglock (id, locked, lockgranted, lockedby) VALUES (1, false, NULL, NULL); -- --- Data for Name: global; Type: TABLE DATA; Schema: rbac; Owner: test +-- Data for Name: global; Type: TABLE DATA; Schema: rbac; Owner: admin -- INSERT INTO rbac.global (uuid, name) VALUES ('33af1d05-a7de-4552-9118-7900fe5fde7d', 'global'); -- --- Data for Name: grant; Type: TABLE DATA; Schema: rbac; Owner: test +-- Data for Name: grant; Type: TABLE DATA; Schema: rbac; Owner: admin -- INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('0209d9e5-197a-448f-9249-46549f500058', NULL, 'ce47754e-0d06-4b12-bc91-8034a4a046e7', '3706fd53-e952-408a-aedd-93ec6d5129be', 'ce47754e-0d06-4b12-bc91-8034a4a046e7', true); @@ -15290,10 +15293,11 @@ INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendant INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('a6994a91-4291-4342-bc50-9a7bd25f7b20', 'df223672-3c4b-4044-8f54-1794a50c957e', NULL, 'bf27b482-99fb-43fe-8789-b926b9131a32', 'cc4e1270-9d63-449f-ae27-a492326f72b1', true); INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('72e5484a-06b8-4fcb-b039-42dd92d1b54a', 'cd8cd45a-a4af-46ce-a434-5b5208095346', NULL, '1d24331c-d029-4539-8b40-2b891f6a75a9', 'f03cc85a-b722-43f4-8d56-a29f1387e692', true); INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('2f57e665-78f6-48fa-b811-d8537ff580e3', 'cd8cd45a-a4af-46ce-a434-5b5208095346', NULL, 'bf27b482-99fb-43fe-8789-b926b9131a32', '16994a15-ef4b-4c7f-b123-e9c2e03919d0', true); +INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('079c28f8-1452-4efd-b0b8-5315c2272d3d', NULL, 'ce47754e-0d06-4b12-bc91-8034a4a046e7', '71678403-0e87-4df2-b93f-a3821b631f5a', 'ce47754e-0d06-4b12-bc91-8034a4a046e7', true); -- --- Data for Name: object; Type: TABLE DATA; Schema: rbac; Owner: test +-- Data for Name: object; Type: TABLE DATA; Schema: rbac; Owner: admin -- INSERT INTO rbac.object (uuid, serialid, objecttable) VALUES ('33af1d05-a7de-4552-9118-7900fe5fde7d', 1, 'rbac.global'); @@ -15478,7 +15482,7 @@ INSERT INTO rbac.object (uuid, serialid, objecttable) VALUES ('cd8cd45a-a4af-46c -- --- Data for Name: permission; Type: TABLE DATA; Schema: rbac; Owner: test +-- Data for Name: permission; Type: TABLE DATA; Schema: rbac; Owner: admin -- INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('47b0efd3-0e9a-4275-b2c5-d50dd2b22024', '33af1d05-a7de-4552-9118-7900fe5fde7d', 'INSERT', 'rbactest.customer'); @@ -15594,6 +15598,7 @@ INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('d8d2363 INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('f3e17013-eb06-49e1-94a8-2e81e0f8a706', 'a3cb6be0-b9e4-42f8-ae29-ef2ba0f3a763', 'DELETE', NULL); INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('6712a948-ac81-455e-8d87-cb05438ac85d', 'a3cb6be0-b9e4-42f8-ae29-ef2ba0f3a763', 'UPDATE', NULL); INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('3e298df0-8c98-4e48-a103-cfd3bbe2bec6', 'a3cb6be0-b9e4-42f8-ae29-ef2ba0f3a763', 'SELECT', NULL); +INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('7fd8da11-6a47-4ca3-8bf3-9713a6ac0305', 'af82432c-09a8-42a7-9525-e9095025d4dd', 'SELECT', NULL); INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('afceedea-4a23-4f6f-a0a2-a210ac148935', 'a3cb6be0-b9e4-42f8-ae29-ef2ba0f3a763', 'INSERT', 'hs_office.relation'); INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('9fe16585-5125-43c0-a683-f4d1579f784b', 'd7485220-e4f2-4683-9e84-7728a2ef4ebf', 'DELETE', NULL); INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('9405dc92-3dc7-4f4a-b799-514ce78ac05a', 'd7485220-e4f2-4683-9e84-7728a2ef4ebf', 'UPDATE', NULL); @@ -15709,7 +15714,6 @@ INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('39a2c81 INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('09cb2efd-3998-4b84-a315-788b6375ffa6', 'a6bb6f3a-eb45-44ff-918b-7a94f9f770af', 'SELECT', NULL); INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('5c5e2c73-6a91-4b38-a290-fb7fc94d6cc0', 'af82432c-09a8-42a7-9525-e9095025d4dd', 'DELETE', NULL); INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('708ff719-70c9-48f5-8664-dbf49352d261', 'af82432c-09a8-42a7-9525-e9095025d4dd', 'UPDATE', NULL); -INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('7fd8da11-6a47-4ca3-8bf3-9713a6ac0305', 'af82432c-09a8-42a7-9525-e9095025d4dd', 'SELECT', NULL); INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('63ab27e2-5a5b-483e-8346-0024da814b06', 'f691585e-eb5e-45bd-8d8a-8187094ed0a0', 'DELETE', NULL); INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('14fd3310-5109-472b-9eb8-9b3aac0cc5c8', 'f691585e-eb5e-45bd-8d8a-8187094ed0a0', 'UPDATE', NULL); INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('a351e412-5f16-4c87-b09f-6c0290e20b7c', 'f691585e-eb5e-45bd-8d8a-8187094ed0a0', 'SELECT', NULL); @@ -16034,7 +16038,7 @@ INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('16994a1 -- --- Data for Name: reference; Type: TABLE DATA; Schema: rbac; Owner: test +-- Data for Name: reference; Type: TABLE DATA; Schema: rbac; Owner: admin -- INSERT INTO rbac.reference (uuid, type) VALUES ('ce47754e-0d06-4b12-bc91-8034a4a046e7', 'rbac.role'); @@ -17726,10 +17730,11 @@ INSERT INTO rbac.reference (uuid, type) VALUES ('63c07ed8-5b6d-4cb7-b663-6a5ce5e INSERT INTO rbac.reference (uuid, type) VALUES ('cc4e1270-9d63-449f-ae27-a492326f72b1', 'rbac.permission'); INSERT INTO rbac.reference (uuid, type) VALUES ('f03cc85a-b722-43f4-8d56-a29f1387e692', 'rbac.permission'); INSERT INTO rbac.reference (uuid, type) VALUES ('16994a15-ef4b-4c7f-b123-e9c2e03919d0', 'rbac.permission'); +INSERT INTO rbac.reference (uuid, type) VALUES ('71678403-0e87-4df2-b93f-a3821b631f5a', 'rbac.subject'); -- --- Data for Name: role; Type: TABLE DATA; Schema: rbac; Owner: test +-- Data for Name: role; Type: TABLE DATA; Schema: rbac; Owner: admin -- INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('ce47754e-0d06-4b12-bc91-8034a4a046e7', '33af1d05-a7de-4552-9118-7900fe5fde7d', 'ADMIN'); @@ -18186,75 +18191,76 @@ INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('81268148-75ff-467a-8 -- --- Data for Name: subject; Type: TABLE DATA; Schema: rbac; Owner: test +-- Data for Name: subject; Type: TABLE DATA; Schema: rbac; Owner: admin -- INSERT INTO rbac.subject (uuid, name) VALUES ('3706fd53-e952-408a-aedd-93ec6d5129be', 'superuser-alex@hostsharing.net'); INSERT INTO rbac.subject (uuid, name) VALUES ('9ae5d7ce-d996-4510-9513-9b352cf4427f', 'superuser-fran@hostsharing.net'); +INSERT INTO rbac.subject (uuid, name) VALUES ('71678403-0e87-4df2-b93f-a3821b631f5a', 'import-superuser@hostsharing.net'); -- --- Data for Name: customer; Type: TABLE DATA; Schema: rbactest; Owner: test +-- Data for Name: customer; Type: TABLE DATA; Schema: rbactest; Owner: admin -- -- --- Data for Name: domain; Type: TABLE DATA; Schema: rbactest; Owner: test +-- Data for Name: domain; Type: TABLE DATA; Schema: rbactest; Owner: admin -- -- --- Data for Name: package; Type: TABLE DATA; Schema: rbactest; Owner: test +-- Data for Name: package; Type: TABLE DATA; Schema: rbactest; Owner: admin -- -- --- Name: contact_legacy_id_seq; Type: SEQUENCE SET; Schema: hs_office; Owner: test +-- Name: contact_legacy_id_seq; Type: SEQUENCE SET; Schema: hs_office; Owner: admin -- SELECT pg_catalog.setval('hs_office.contact_legacy_id_seq', 1000000018, true); -- --- Name: coopassettx_legacy_id_seq; Type: SEQUENCE SET; Schema: hs_office; Owner: test +-- Name: coopassettx_legacy_id_seq; Type: SEQUENCE SET; Schema: hs_office; Owner: admin -- SELECT pg_catalog.setval('hs_office.coopassettx_legacy_id_seq', 1000000017, true); -- --- Name: coopsharetx_legacy_id_seq; Type: SEQUENCE SET; Schema: hs_office; Owner: test +-- Name: coopsharetx_legacy_id_seq; Type: SEQUENCE SET; Schema: hs_office; Owner: admin -- SELECT pg_catalog.setval('hs_office.coopsharetx_legacy_id_seq', 1000000022, true); -- --- Name: partner_legacy_id_seq; Type: SEQUENCE SET; Schema: hs_office; Owner: test +-- Name: partner_legacy_id_seq; Type: SEQUENCE SET; Schema: hs_office; Owner: admin -- SELECT pg_catalog.setval('hs_office.partner_legacy_id_seq', 1000000012, true); -- --- Name: sepamandate_legacy_id_seq; Type: SEQUENCE SET; Schema: hs_office; Owner: test +-- Name: sepamandate_legacy_id_seq; Type: SEQUENCE SET; Schema: hs_office; Owner: admin -- SELECT pg_catalog.setval('hs_office.sepamandate_legacy_id_seq', 1000000009, true); -- --- Name: object_serialid_seq; Type: SEQUENCE SET; Schema: rbac; Owner: test +-- Name: object_serialid_seq; Type: SEQUENCE SET; Schema: rbac; Owner: admin -- SELECT pg_catalog.setval('rbac.object_serialid_seq', 306, true); -- --- Name: tx_context tx_context_pkey; Type: CONSTRAINT; Schema: base; Owner: test +-- Name: tx_context tx_context_pkey; Type: CONSTRAINT; Schema: base; Owner: admin -- ALTER TABLE ONLY base.tx_context @@ -18262,7 +18268,7 @@ ALTER TABLE ONLY base.tx_context -- --- Name: bankaccount bankaccount_uuid_key; Type: CONSTRAINT; Schema: hs_office; Owner: test +-- Name: bankaccount bankaccount_uuid_key; Type: CONSTRAINT; Schema: hs_office; Owner: admin -- ALTER TABLE ONLY hs_office.bankaccount @@ -18270,7 +18276,7 @@ ALTER TABLE ONLY hs_office.bankaccount -- --- Name: contact_legacy_id contact_legacy_id_contact_id_key; Type: CONSTRAINT; Schema: hs_office; Owner: test +-- Name: contact_legacy_id contact_legacy_id_contact_id_key; Type: CONSTRAINT; Schema: hs_office; Owner: admin -- ALTER TABLE ONLY hs_office.contact_legacy_id @@ -18278,7 +18284,7 @@ ALTER TABLE ONLY hs_office.contact_legacy_id -- --- Name: contact_legacy_id contact_legacy_id_pkey; Type: CONSTRAINT; Schema: hs_office; Owner: test +-- Name: contact_legacy_id contact_legacy_id_pkey; Type: CONSTRAINT; Schema: hs_office; Owner: admin -- ALTER TABLE ONLY hs_office.contact_legacy_id @@ -18286,7 +18292,7 @@ ALTER TABLE ONLY hs_office.contact_legacy_id -- --- Name: contact contact_uuid_key; Type: CONSTRAINT; Schema: hs_office; Owner: test +-- Name: contact contact_uuid_key; Type: CONSTRAINT; Schema: hs_office; Owner: admin -- ALTER TABLE ONLY hs_office.contact @@ -18294,7 +18300,7 @@ ALTER TABLE ONLY hs_office.contact -- --- Name: coopassettx coopassettx_assetadoptiontxuuid_key; Type: CONSTRAINT; Schema: hs_office; Owner: test +-- Name: coopassettx coopassettx_assetadoptiontxuuid_key; Type: CONSTRAINT; Schema: hs_office; Owner: admin -- ALTER TABLE ONLY hs_office.coopassettx @@ -18302,7 +18308,7 @@ ALTER TABLE ONLY hs_office.coopassettx -- --- Name: coopassettx_legacy_id coopassettx_legacy_id_member_asset_id_key; Type: CONSTRAINT; Schema: hs_office; Owner: test +-- Name: coopassettx_legacy_id coopassettx_legacy_id_member_asset_id_key; Type: CONSTRAINT; Schema: hs_office; Owner: admin -- ALTER TABLE ONLY hs_office.coopassettx_legacy_id @@ -18310,7 +18316,7 @@ ALTER TABLE ONLY hs_office.coopassettx_legacy_id -- --- Name: coopassettx_legacy_id coopassettx_legacy_id_pkey; Type: CONSTRAINT; Schema: hs_office; Owner: test +-- Name: coopassettx_legacy_id coopassettx_legacy_id_pkey; Type: CONSTRAINT; Schema: hs_office; Owner: admin -- ALTER TABLE ONLY hs_office.coopassettx_legacy_id @@ -18318,7 +18324,7 @@ ALTER TABLE ONLY hs_office.coopassettx_legacy_id -- --- Name: coopassettx coopassettx_revertedassettxuuid_key; Type: CONSTRAINT; Schema: hs_office; Owner: test +-- Name: coopassettx coopassettx_revertedassettxuuid_key; Type: CONSTRAINT; Schema: hs_office; Owner: admin -- ALTER TABLE ONLY hs_office.coopassettx @@ -18326,7 +18332,7 @@ ALTER TABLE ONLY hs_office.coopassettx -- --- Name: coopassettx coopassettx_uuid_key; Type: CONSTRAINT; Schema: hs_office; Owner: test +-- Name: coopassettx coopassettx_uuid_key; Type: CONSTRAINT; Schema: hs_office; Owner: admin -- ALTER TABLE ONLY hs_office.coopassettx @@ -18334,7 +18340,7 @@ ALTER TABLE ONLY hs_office.coopassettx -- --- Name: coopsharetx_legacy_id coopsharetx_legacy_id_member_share_id_key; Type: CONSTRAINT; Schema: hs_office; Owner: test +-- Name: coopsharetx_legacy_id coopsharetx_legacy_id_member_share_id_key; Type: CONSTRAINT; Schema: hs_office; Owner: admin -- ALTER TABLE ONLY hs_office.coopsharetx_legacy_id @@ -18342,7 +18348,7 @@ ALTER TABLE ONLY hs_office.coopsharetx_legacy_id -- --- Name: coopsharetx_legacy_id coopsharetx_legacy_id_pkey; Type: CONSTRAINT; Schema: hs_office; Owner: test +-- Name: coopsharetx_legacy_id coopsharetx_legacy_id_pkey; Type: CONSTRAINT; Schema: hs_office; Owner: admin -- ALTER TABLE ONLY hs_office.coopsharetx_legacy_id @@ -18350,7 +18356,7 @@ ALTER TABLE ONLY hs_office.coopsharetx_legacy_id -- --- Name: coopsharetx coopsharetx_revertedsharetxuuid_key; Type: CONSTRAINT; Schema: hs_office; Owner: test +-- Name: coopsharetx coopsharetx_revertedsharetxuuid_key; Type: CONSTRAINT; Schema: hs_office; Owner: admin -- ALTER TABLE ONLY hs_office.coopsharetx @@ -18358,7 +18364,7 @@ ALTER TABLE ONLY hs_office.coopsharetx -- --- Name: coopsharetx coopsharetx_uuid_key; Type: CONSTRAINT; Schema: hs_office; Owner: test +-- Name: coopsharetx coopsharetx_uuid_key; Type: CONSTRAINT; Schema: hs_office; Owner: admin -- ALTER TABLE ONLY hs_office.coopsharetx @@ -18366,7 +18372,7 @@ ALTER TABLE ONLY hs_office.coopsharetx -- --- Name: debitor debitor_defaultprefix_key; Type: CONSTRAINT; Schema: hs_office; Owner: test +-- Name: debitor debitor_defaultprefix_key; Type: CONSTRAINT; Schema: hs_office; Owner: admin -- ALTER TABLE ONLY hs_office.debitor @@ -18374,7 +18380,7 @@ ALTER TABLE ONLY hs_office.debitor -- --- Name: debitor debitor_uuid_key; Type: CONSTRAINT; Schema: hs_office; Owner: test +-- Name: debitor debitor_uuid_key; Type: CONSTRAINT; Schema: hs_office; Owner: admin -- ALTER TABLE ONLY hs_office.debitor @@ -18382,7 +18388,7 @@ ALTER TABLE ONLY hs_office.debitor -- --- Name: membership membership_partneruuid_membernumbersuffix_key; Type: CONSTRAINT; Schema: hs_office; Owner: test +-- Name: membership membership_partneruuid_membernumbersuffix_key; Type: CONSTRAINT; Schema: hs_office; Owner: admin -- ALTER TABLE ONLY hs_office.membership @@ -18390,7 +18396,7 @@ ALTER TABLE ONLY hs_office.membership -- --- Name: membership membership_uuid_key; Type: CONSTRAINT; Schema: hs_office; Owner: test +-- Name: membership membership_uuid_key; Type: CONSTRAINT; Schema: hs_office; Owner: admin -- ALTER TABLE ONLY hs_office.membership @@ -18398,7 +18404,7 @@ ALTER TABLE ONLY hs_office.membership -- --- Name: partner_details partner_details_uuid_key; Type: CONSTRAINT; Schema: hs_office; Owner: test +-- Name: partner_details partner_details_uuid_key; Type: CONSTRAINT; Schema: hs_office; Owner: admin -- ALTER TABLE ONLY hs_office.partner_details @@ -18406,7 +18412,7 @@ ALTER TABLE ONLY hs_office.partner_details -- --- Name: partner_legacy_id partner_legacy_id_bp_id_key; Type: CONSTRAINT; Schema: hs_office; Owner: test +-- Name: partner_legacy_id partner_legacy_id_bp_id_key; Type: CONSTRAINT; Schema: hs_office; Owner: admin -- ALTER TABLE ONLY hs_office.partner_legacy_id @@ -18414,7 +18420,7 @@ ALTER TABLE ONLY hs_office.partner_legacy_id -- --- Name: partner_legacy_id partner_legacy_id_pkey; Type: CONSTRAINT; Schema: hs_office; Owner: test +-- Name: partner_legacy_id partner_legacy_id_pkey; Type: CONSTRAINT; Schema: hs_office; Owner: admin -- ALTER TABLE ONLY hs_office.partner_legacy_id @@ -18422,7 +18428,7 @@ ALTER TABLE ONLY hs_office.partner_legacy_id -- --- Name: partner partner_partnernumber_key; Type: CONSTRAINT; Schema: hs_office; Owner: test +-- Name: partner partner_partnernumber_key; Type: CONSTRAINT; Schema: hs_office; Owner: admin -- ALTER TABLE ONLY hs_office.partner @@ -18430,7 +18436,7 @@ ALTER TABLE ONLY hs_office.partner -- --- Name: partner partner_uuid_key; Type: CONSTRAINT; Schema: hs_office; Owner: test +-- Name: partner partner_uuid_key; Type: CONSTRAINT; Schema: hs_office; Owner: admin -- ALTER TABLE ONLY hs_office.partner @@ -18438,7 +18444,7 @@ ALTER TABLE ONLY hs_office.partner -- --- Name: person person_uuid_key; Type: CONSTRAINT; Schema: hs_office; Owner: test +-- Name: person person_uuid_key; Type: CONSTRAINT; Schema: hs_office; Owner: admin -- ALTER TABLE ONLY hs_office.person @@ -18446,7 +18452,7 @@ ALTER TABLE ONLY hs_office.person -- --- Name: relation relation_uuid_key; Type: CONSTRAINT; Schema: hs_office; Owner: test +-- Name: relation relation_uuid_key; Type: CONSTRAINT; Schema: hs_office; Owner: admin -- ALTER TABLE ONLY hs_office.relation @@ -18454,7 +18460,7 @@ ALTER TABLE ONLY hs_office.relation -- --- Name: sepamandate_legacy_id sepamandate_legacy_id_pkey; Type: CONSTRAINT; Schema: hs_office; Owner: test +-- Name: sepamandate_legacy_id sepamandate_legacy_id_pkey; Type: CONSTRAINT; Schema: hs_office; Owner: admin -- ALTER TABLE ONLY hs_office.sepamandate_legacy_id @@ -18462,7 +18468,7 @@ ALTER TABLE ONLY hs_office.sepamandate_legacy_id -- --- Name: sepamandate_legacy_id sepamandate_legacy_id_sepa_mandate_id_key; Type: CONSTRAINT; Schema: hs_office; Owner: test +-- Name: sepamandate_legacy_id sepamandate_legacy_id_sepa_mandate_id_key; Type: CONSTRAINT; Schema: hs_office; Owner: admin -- ALTER TABLE ONLY hs_office.sepamandate_legacy_id @@ -18470,7 +18476,7 @@ ALTER TABLE ONLY hs_office.sepamandate_legacy_id -- --- Name: sepamandate sepamandate_uuid_key; Type: CONSTRAINT; Schema: hs_office; Owner: test +-- Name: sepamandate sepamandate_uuid_key; Type: CONSTRAINT; Schema: hs_office; Owner: admin -- ALTER TABLE ONLY hs_office.sepamandate @@ -18478,7 +18484,7 @@ ALTER TABLE ONLY hs_office.sepamandate -- --- Name: databasechangeloglock databasechangeloglock_pkey; Type: CONSTRAINT; Schema: public; Owner: test +-- Name: databasechangeloglock databasechangeloglock_pkey; Type: CONSTRAINT; Schema: public; Owner: admin -- ALTER TABLE ONLY public.databasechangeloglock @@ -18486,7 +18492,7 @@ ALTER TABLE ONLY public.databasechangeloglock -- --- Name: global global_name_key; Type: CONSTRAINT; Schema: rbac; Owner: test +-- Name: global global_name_key; Type: CONSTRAINT; Schema: rbac; Owner: admin -- ALTER TABLE ONLY rbac.global @@ -18494,7 +18500,7 @@ ALTER TABLE ONLY rbac.global -- --- Name: global global_pkey; Type: CONSTRAINT; Schema: rbac; Owner: test +-- Name: global global_pkey; Type: CONSTRAINT; Schema: rbac; Owner: admin -- ALTER TABLE ONLY rbac.global @@ -18502,7 +18508,7 @@ ALTER TABLE ONLY rbac.global -- --- Name: grant grant_ascendantuuid_descendantuuid_key; Type: CONSTRAINT; Schema: rbac; Owner: test +-- Name: grant grant_ascendantuuid_descendantuuid_key; Type: CONSTRAINT; Schema: rbac; Owner: admin -- ALTER TABLE ONLY rbac."grant" @@ -18510,7 +18516,7 @@ ALTER TABLE ONLY rbac."grant" -- --- Name: grant grant_pkey; Type: CONSTRAINT; Schema: rbac; Owner: test +-- Name: grant grant_pkey; Type: CONSTRAINT; Schema: rbac; Owner: admin -- ALTER TABLE ONLY rbac."grant" @@ -18518,7 +18524,7 @@ ALTER TABLE ONLY rbac."grant" -- --- Name: object object_objecttable_uuid_key; Type: CONSTRAINT; Schema: rbac; Owner: test +-- Name: object object_objecttable_uuid_key; Type: CONSTRAINT; Schema: rbac; Owner: admin -- ALTER TABLE ONLY rbac.object @@ -18526,7 +18532,7 @@ ALTER TABLE ONLY rbac.object -- --- Name: object object_pkey; Type: CONSTRAINT; Schema: rbac; Owner: test +-- Name: object object_pkey; Type: CONSTRAINT; Schema: rbac; Owner: admin -- ALTER TABLE ONLY rbac.object @@ -18534,7 +18540,7 @@ ALTER TABLE ONLY rbac.object -- --- Name: permission permission_pkey; Type: CONSTRAINT; Schema: rbac; Owner: test +-- Name: permission permission_pkey; Type: CONSTRAINT; Schema: rbac; Owner: admin -- ALTER TABLE ONLY rbac.permission @@ -18542,7 +18548,7 @@ ALTER TABLE ONLY rbac.permission -- --- Name: reference reference_uuid_key; Type: CONSTRAINT; Schema: rbac; Owner: test +-- Name: reference reference_uuid_key; Type: CONSTRAINT; Schema: rbac; Owner: admin -- ALTER TABLE ONLY rbac.reference @@ -18550,7 +18556,7 @@ ALTER TABLE ONLY rbac.reference -- --- Name: role role_objectuuid_roletype_key; Type: CONSTRAINT; Schema: rbac; Owner: test +-- Name: role role_objectuuid_roletype_key; Type: CONSTRAINT; Schema: rbac; Owner: admin -- ALTER TABLE ONLY rbac.role @@ -18558,7 +18564,7 @@ ALTER TABLE ONLY rbac.role -- --- Name: role role_pkey; Type: CONSTRAINT; Schema: rbac; Owner: test +-- Name: role role_pkey; Type: CONSTRAINT; Schema: rbac; Owner: admin -- ALTER TABLE ONLY rbac.role @@ -18566,7 +18572,7 @@ ALTER TABLE ONLY rbac.role -- --- Name: subject subject_name_key; Type: CONSTRAINT; Schema: rbac; Owner: test +-- Name: subject subject_name_key; Type: CONSTRAINT; Schema: rbac; Owner: admin -- ALTER TABLE ONLY rbac.subject @@ -18574,7 +18580,7 @@ ALTER TABLE ONLY rbac.subject -- --- Name: subject subject_pkey; Type: CONSTRAINT; Schema: rbac; Owner: test +-- Name: subject subject_pkey; Type: CONSTRAINT; Schema: rbac; Owner: admin -- ALTER TABLE ONLY rbac.subject @@ -18582,7 +18588,7 @@ ALTER TABLE ONLY rbac.subject -- --- Name: permission unique_including_null_values; Type: CONSTRAINT; Schema: rbac; Owner: test +-- Name: permission unique_including_null_values; Type: CONSTRAINT; Schema: rbac; Owner: admin -- ALTER TABLE ONLY rbac.permission @@ -18590,7 +18596,7 @@ ALTER TABLE ONLY rbac.permission -- --- Name: customer customer_prefix_key; Type: CONSTRAINT; Schema: rbactest; Owner: test +-- Name: customer customer_prefix_key; Type: CONSTRAINT; Schema: rbactest; Owner: admin -- ALTER TABLE ONLY rbactest.customer @@ -18598,7 +18604,7 @@ ALTER TABLE ONLY rbactest.customer -- --- Name: customer customer_reference_key; Type: CONSTRAINT; Schema: rbactest; Owner: test +-- Name: customer customer_reference_key; Type: CONSTRAINT; Schema: rbactest; Owner: admin -- ALTER TABLE ONLY rbactest.customer @@ -18606,7 +18612,7 @@ ALTER TABLE ONLY rbactest.customer -- --- Name: customer customer_uuid_key; Type: CONSTRAINT; Schema: rbactest; Owner: test +-- Name: customer customer_uuid_key; Type: CONSTRAINT; Schema: rbactest; Owner: admin -- ALTER TABLE ONLY rbactest.customer @@ -18614,7 +18620,7 @@ ALTER TABLE ONLY rbactest.customer -- --- Name: domain domain_uuid_key; Type: CONSTRAINT; Schema: rbactest; Owner: test +-- Name: domain domain_uuid_key; Type: CONSTRAINT; Schema: rbactest; Owner: admin -- ALTER TABLE ONLY rbactest.domain @@ -18622,7 +18628,7 @@ ALTER TABLE ONLY rbactest.domain -- --- Name: package package_uuid_key; Type: CONSTRAINT; Schema: rbactest; Owner: test +-- Name: package package_uuid_key; Type: CONSTRAINT; Schema: rbactest; Owner: admin -- ALTER TABLE ONLY rbactest.package @@ -18630,1099 +18636,1099 @@ ALTER TABLE ONLY rbactest.package -- --- Name: tx_context_txtimestamp_idx; Type: INDEX; Schema: base; Owner: test +-- Name: tx_context_txtimestamp_idx; Type: INDEX; Schema: base; Owner: admin -- CREATE INDEX tx_context_txtimestamp_idx ON base.tx_context USING brin (txtimestamp); -- --- Name: tx_journal_targettable_targetuuid_idx; Type: INDEX; Schema: base; Owner: test +-- Name: tx_journal_targettable_targetuuid_idx; Type: INDEX; Schema: base; Owner: admin -- 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: test +-- Name: unique_partner_relation; Type: INDEX; Schema: hs_office; Owner: admin -- 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: test +-- Name: unique_relation_with_mark; Type: INDEX; Schema: hs_office; Owner: admin -- 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: test +-- Name: unique_relation_without_mark; Type: INDEX; Schema: hs_office; Owner: admin -- 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: test +-- Name: global_singleton; Type: INDEX; Schema: rbac; Owner: admin -- CREATE UNIQUE INDEX global_singleton ON rbac.global USING btree ((0)); -- --- Name: grant_ascendantuuid_idx; Type: INDEX; Schema: rbac; Owner: test +-- Name: grant_ascendantuuid_idx; Type: INDEX; Schema: rbac; Owner: admin -- CREATE INDEX grant_ascendantuuid_idx ON rbac."grant" USING btree (ascendantuuid); -- --- Name: grant_descendantuuid_idx; Type: INDEX; Schema: rbac; Owner: test +-- Name: grant_descendantuuid_idx; Type: INDEX; Schema: rbac; Owner: admin -- CREATE INDEX grant_descendantuuid_idx ON rbac."grant" USING btree (descendantuuid); -- --- Name: permission_objectuuid_op_idx; Type: INDEX; Schema: rbac; Owner: test +-- Name: permission_objectuuid_op_idx; Type: INDEX; Schema: rbac; Owner: admin -- CREATE INDEX permission_objectuuid_op_idx ON rbac.permission USING btree (objectuuid, op); -- --- Name: permission_optablename_op_idx; Type: INDEX; Schema: rbac; Owner: test +-- Name: permission_optablename_op_idx; Type: INDEX; Schema: rbac; Owner: admin -- 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: test +-- Name: bankaccount build_rbac_system_after_insert_tg; Type: TRIGGER; Schema: hs_office; Owner: admin -- 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: test +-- Name: contact build_rbac_system_after_insert_tg; Type: TRIGGER; Schema: hs_office; Owner: admin -- 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: test +-- Name: coopassettx build_rbac_system_after_insert_tg; Type: TRIGGER; Schema: hs_office; Owner: admin -- 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: test +-- Name: coopsharetx build_rbac_system_after_insert_tg; Type: TRIGGER; Schema: hs_office; Owner: admin -- 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: test +-- Name: debitor build_rbac_system_after_insert_tg; Type: TRIGGER; Schema: hs_office; Owner: admin -- 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: test +-- Name: membership build_rbac_system_after_insert_tg; Type: TRIGGER; Schema: hs_office; Owner: admin -- 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: test +-- Name: partner build_rbac_system_after_insert_tg; Type: TRIGGER; Schema: hs_office; Owner: admin -- 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: test +-- Name: partner_details build_rbac_system_after_insert_tg; Type: TRIGGER; Schema: hs_office; Owner: admin -- 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: test +-- Name: person build_rbac_system_after_insert_tg; Type: TRIGGER; Schema: hs_office; Owner: admin -- 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: test +-- Name: relation build_rbac_system_after_insert_tg; Type: TRIGGER; Schema: hs_office; Owner: admin -- 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: test +-- Name: sepamandate build_rbac_system_after_insert_tg; Type: TRIGGER; Schema: hs_office; Owner: admin -- 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: test +-- Name: coopassettx coopassettx_insert_permission_check_tg; Type: TRIGGER; Schema: hs_office; Owner: admin -- 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: test +-- Name: membership coopassettx_z_grants_after_insert_tg; Type: TRIGGER; Schema: hs_office; Owner: admin -- 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: test +-- Name: coopsharetx coopsharetx_insert_permission_check_tg; Type: TRIGGER; Schema: hs_office; Owner: admin -- 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: test +-- Name: membership coopsharetx_z_grants_after_insert_tg; Type: TRIGGER; Schema: hs_office; Owner: admin -- 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: test +-- Name: bankaccount createrbacobjectfor_bankaccount_delete_tg_1058_35; Type: TRIGGER; Schema: hs_office; Owner: admin -- 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: test +-- Name: bankaccount createrbacobjectfor_bankaccount_insert_tg_1058_25; Type: TRIGGER; Schema: hs_office; Owner: admin -- 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: test +-- Name: contact createrbacobjectfor_contact_delete_tg_1058_35; Type: TRIGGER; Schema: hs_office; Owner: admin -- 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: test +-- Name: contact createrbacobjectfor_contact_insert_tg_1058_25; Type: TRIGGER; Schema: hs_office; Owner: admin -- 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: test +-- Name: coopassettx createrbacobjectfor_coopassettx_delete_tg_1058_35; Type: TRIGGER; Schema: hs_office; Owner: admin -- 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: test +-- Name: coopassettx createrbacobjectfor_coopassettx_insert_tg_1058_25; Type: TRIGGER; Schema: hs_office; Owner: admin -- 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: test +-- Name: coopsharetx createrbacobjectfor_coopsharetx_delete_tg_1058_35; Type: TRIGGER; Schema: hs_office; Owner: admin -- 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: test +-- Name: coopsharetx createrbacobjectfor_coopsharetx_insert_tg_1058_25; Type: TRIGGER; Schema: hs_office; Owner: admin -- 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: test +-- Name: debitor createrbacobjectfor_debitor_delete_tg_1058_35; Type: TRIGGER; Schema: hs_office; Owner: admin -- 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: test +-- Name: debitor createrbacobjectfor_debitor_insert_tg_1058_25; Type: TRIGGER; Schema: hs_office; Owner: admin -- 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: test +-- Name: membership createrbacobjectfor_membership_delete_tg_1058_35; Type: TRIGGER; Schema: hs_office; Owner: admin -- 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: test +-- Name: membership createrbacobjectfor_membership_insert_tg_1058_25; Type: TRIGGER; Schema: hs_office; Owner: admin -- 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: test +-- Name: partner createrbacobjectfor_partner_delete_tg_1058_35; Type: TRIGGER; Schema: hs_office; Owner: admin -- 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: test +-- Name: partner_details createrbacobjectfor_partner_details_delete_tg_1058_35; Type: TRIGGER; Schema: hs_office; Owner: admin -- 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: test +-- Name: partner_details createrbacobjectfor_partner_details_insert_tg_1058_25; Type: TRIGGER; Schema: hs_office; Owner: admin -- 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: test +-- Name: partner createrbacobjectfor_partner_insert_tg_1058_25; Type: TRIGGER; Schema: hs_office; Owner: admin -- 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: test +-- Name: person createrbacobjectfor_person_delete_tg_1058_35; Type: TRIGGER; Schema: hs_office; Owner: admin -- 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: test +-- Name: person createrbacobjectfor_person_insert_tg_1058_25; Type: TRIGGER; Schema: hs_office; Owner: admin -- 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: test +-- Name: relation createrbacobjectfor_relation_delete_tg_1058_35; Type: TRIGGER; Schema: hs_office; Owner: admin -- 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: test +-- Name: relation createrbacobjectfor_relation_insert_tg_1058_25; Type: TRIGGER; Schema: hs_office; Owner: admin -- 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: test +-- Name: sepamandate createrbacobjectfor_sepamandate_delete_tg_1058_35; Type: TRIGGER; Schema: hs_office; Owner: admin -- 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: test +-- Name: sepamandate createrbacobjectfor_sepamandate_insert_tg_1058_25; Type: TRIGGER; Schema: hs_office; Owner: admin -- 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: test +-- Name: debitor debitor_delete_dependents_tg; Type: TRIGGER; Schema: hs_office; Owner: admin -- 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: test +-- Name: debitor debitor_insert_permission_check_tg; Type: TRIGGER; Schema: hs_office; Owner: admin -- 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: test +-- Name: partner delete_dependents_tg; Type: TRIGGER; Schema: hs_office; Owner: admin -- 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: test +-- Name: contact delete_legacy_id_mapping_tf; Type: TRIGGER; Schema: hs_office; Owner: admin -- 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: test +-- Name: sepamandate delete_legacy_id_mapping_tf; Type: TRIGGER; Schema: hs_office; Owner: admin -- 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: test +-- Name: coopassettx delete_legacy_id_mapping_tg; Type: TRIGGER; Schema: hs_office; Owner: admin -- 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: test +-- Name: coopsharetx delete_legacy_id_mapping_tg; Type: TRIGGER; Schema: hs_office; Owner: admin -- 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: test +-- Name: partner delete_legacy_id_mapping_tg; Type: TRIGGER; Schema: hs_office; Owner: admin -- 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: test +-- Name: coopassettx enforce_transaction_constraints; Type: TRIGGER; Schema: hs_office; Owner: admin -- 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: test +-- Name: partner insert_legacy_id_mapping_tf; Type: TRIGGER; Schema: hs_office; Owner: admin -- 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: test +-- Name: contact insert_legacy_id_mapping_tg; Type: TRIGGER; Schema: hs_office; Owner: admin -- 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: test +-- Name: coopassettx insert_legacy_id_mapping_tg; Type: TRIGGER; Schema: hs_office; Owner: admin -- 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: test +-- Name: coopsharetx insert_legacy_id_mapping_tg; Type: TRIGGER; Schema: hs_office; Owner: admin -- 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: test +-- Name: sepamandate insert_legacy_id_mapping_tg; Type: TRIGGER; Schema: hs_office; Owner: admin -- 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: test +-- Name: bankaccount_rv instead_of_delete_tg; Type: TRIGGER; Schema: hs_office; Owner: admin -- 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: test +-- Name: contact_rv instead_of_delete_tg; Type: TRIGGER; Schema: hs_office; Owner: admin -- 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: test +-- Name: coopassettx_rv instead_of_delete_tg; Type: TRIGGER; Schema: hs_office; Owner: admin -- 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: test +-- Name: coopsharetx_rv instead_of_delete_tg; Type: TRIGGER; Schema: hs_office; Owner: admin -- 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: test +-- Name: debitor_rv instead_of_delete_tg; Type: TRIGGER; Schema: hs_office; Owner: admin -- 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: test +-- Name: membership_rv instead_of_delete_tg; Type: TRIGGER; Schema: hs_office; Owner: admin -- 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: test +-- Name: partner_details_rv instead_of_delete_tg; Type: TRIGGER; Schema: hs_office; Owner: admin -- 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: test +-- Name: partner_rv instead_of_delete_tg; Type: TRIGGER; Schema: hs_office; Owner: admin -- 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: test +-- Name: person_rv instead_of_delete_tg; Type: TRIGGER; Schema: hs_office; Owner: admin -- 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: test +-- Name: relation_rv instead_of_delete_tg; Type: TRIGGER; Schema: hs_office; Owner: admin -- 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: test +-- Name: sepamandate_rv instead_of_delete_tg; Type: TRIGGER; Schema: hs_office; Owner: admin -- 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: test +-- Name: bankaccount_rv instead_of_insert_tg; Type: TRIGGER; Schema: hs_office; Owner: admin -- 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: test +-- Name: contact_rv instead_of_insert_tg; Type: TRIGGER; Schema: hs_office; Owner: admin -- 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: test +-- Name: coopassettx_rv instead_of_insert_tg; Type: TRIGGER; Schema: hs_office; Owner: admin -- 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: test +-- Name: coopsharetx_rv instead_of_insert_tg; Type: TRIGGER; Schema: hs_office; Owner: admin -- 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: test +-- Name: debitor_rv instead_of_insert_tg; Type: TRIGGER; Schema: hs_office; Owner: admin -- 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: test +-- Name: membership_rv instead_of_insert_tg; Type: TRIGGER; Schema: hs_office; Owner: admin -- 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: test +-- Name: partner_details_rv instead_of_insert_tg; Type: TRIGGER; Schema: hs_office; Owner: admin -- 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: test +-- Name: partner_rv instead_of_insert_tg; Type: TRIGGER; Schema: hs_office; Owner: admin -- 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: test +-- Name: person_rv instead_of_insert_tg; Type: TRIGGER; Schema: hs_office; Owner: admin -- 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: test +-- Name: relation_rv instead_of_insert_tg; Type: TRIGGER; Schema: hs_office; Owner: admin -- 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: test +-- Name: sepamandate_rv instead_of_insert_tg; Type: TRIGGER; Schema: hs_office; Owner: admin -- 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: test +-- Name: bankaccount_rv instead_of_update_tg; Type: TRIGGER; Schema: hs_office; Owner: admin -- 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: test +-- Name: contact_rv instead_of_update_tg; Type: TRIGGER; Schema: hs_office; Owner: admin -- 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: test +-- Name: coopassettx_rv instead_of_update_tg; Type: TRIGGER; Schema: hs_office; Owner: admin -- 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: test +-- Name: coopsharetx_rv instead_of_update_tg; Type: TRIGGER; Schema: hs_office; Owner: admin -- 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: test +-- Name: debitor_rv instead_of_update_tg; Type: TRIGGER; Schema: hs_office; Owner: admin -- 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: test +-- Name: membership_rv instead_of_update_tg; Type: TRIGGER; Schema: hs_office; Owner: admin -- 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: test +-- Name: partner_details_rv instead_of_update_tg; Type: TRIGGER; Schema: hs_office; Owner: admin -- 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: test +-- Name: partner_rv instead_of_update_tg; Type: TRIGGER; Schema: hs_office; Owner: admin -- 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: test +-- Name: person_rv instead_of_update_tg; Type: TRIGGER; Schema: hs_office; Owner: admin -- 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: test +-- Name: relation_rv instead_of_update_tg; Type: TRIGGER; Schema: hs_office; Owner: admin -- 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: test +-- Name: sepamandate_rv instead_of_update_tg; Type: TRIGGER; Schema: hs_office; Owner: admin -- 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: test +-- Name: membership membership_insert_permission_check_tg; Type: TRIGGER; Schema: hs_office; Owner: admin -- 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: test +-- Name: partner_details partner_details_insert_permission_check_tg; Type: TRIGGER; Schema: hs_office; Owner: admin -- 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: test +-- Name: partner partner_insert_permission_check_tg; Type: TRIGGER; Schema: hs_office; Owner: admin -- 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: test +-- Name: relation relation_insert_permission_check_tg; Type: TRIGGER; Schema: hs_office; Owner: admin -- 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: test +-- Name: person relation_z_grants_after_insert_tg; Type: TRIGGER; Schema: hs_office; Owner: admin -- 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: test +-- Name: sepamandate sepamandate_insert_permission_check_tg; Type: TRIGGER; Schema: hs_office; Owner: admin -- 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: test +-- Name: relation sepamandate_z_grants_after_insert_tg; Type: TRIGGER; Schema: hs_office; Owner: admin -- 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: test +-- Name: bankaccount tx_0_journal_tg; Type: TRIGGER; Schema: hs_office; Owner: admin -- 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: test +-- Name: contact tx_0_journal_tg; Type: TRIGGER; Schema: hs_office; Owner: admin -- 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: test +-- Name: coopassettx tx_0_journal_tg; Type: TRIGGER; Schema: hs_office; Owner: admin -- 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: test +-- Name: coopsharetx tx_0_journal_tg; Type: TRIGGER; Schema: hs_office; Owner: admin -- 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: test +-- Name: debitor tx_0_journal_tg; Type: TRIGGER; Schema: hs_office; Owner: admin -- 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: test +-- Name: membership tx_0_journal_tg; Type: TRIGGER; Schema: hs_office; Owner: admin -- 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: test +-- Name: partner tx_0_journal_tg; Type: TRIGGER; Schema: hs_office; Owner: admin -- 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: test +-- Name: partner_details tx_0_journal_tg; Type: TRIGGER; Schema: hs_office; Owner: admin -- 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: test +-- Name: person tx_0_journal_tg; Type: TRIGGER; Schema: hs_office; Owner: admin -- 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: test +-- Name: relation tx_0_journal_tg; Type: TRIGGER; Schema: hs_office; Owner: admin -- 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: test +-- Name: sepamandate tx_0_journal_tg; Type: TRIGGER; Schema: hs_office; Owner: admin -- 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: test +-- Name: debitor update_rbac_system_after_update_tg; Type: TRIGGER; Schema: hs_office; Owner: admin -- 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: test +-- Name: partner update_rbac_system_after_update_tg; Type: TRIGGER; Schema: hs_office; Owner: admin -- 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: test +-- Name: relation update_rbac_system_after_update_tg; Type: TRIGGER; Schema: hs_office; Owner: admin -- 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: test +-- Name: global customer_z_grants_after_insert_tg; Type: TRIGGER; Schema: rbac; Owner: admin -- 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: test +-- Name: global debitor_z_grants_after_insert_tg; Type: TRIGGER; Schema: rbac; Owner: admin -- 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: test +-- Name: grant_rv delete_grant_tg; Type: TRIGGER; Schema: rbac; Owner: admin -- 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: test +-- Name: role delete_grants_of_role_tg; Type: TRIGGER; Schema: rbac; Owner: admin -- 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: test +-- Name: object delete_roles_of_object_tg; Type: TRIGGER; Schema: rbac; Owner: admin -- 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: test +-- Name: subject_rv delete_subject_tg; Type: TRIGGER; Schema: rbac; Owner: admin -- 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: test +-- Name: grant_rv insert_grant_tg; Type: TRIGGER; Schema: rbac; Owner: admin -- 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: test +-- Name: subject_rv insert_subject_tg; Type: TRIGGER; Schema: rbac; Owner: admin -- 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: test +-- Name: global membership_z_grants_after_insert_tg; Type: TRIGGER; Schema: rbac; Owner: admin -- 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: test +-- Name: global partner_details_z_grants_after_insert_tg; Type: TRIGGER; Schema: rbac; Owner: admin -- 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: test +-- Name: global partner_z_grants_after_insert_tg; Type: TRIGGER; Schema: rbac; Owner: admin -- 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: test +-- Name: grant tx_0_journal_tg; Type: TRIGGER; Schema: rbac; Owner: admin -- 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: test +-- Name: object tx_0_journal_tg; Type: TRIGGER; Schema: rbac; Owner: admin -- 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: test +-- Name: permission tx_0_journal_tg; Type: TRIGGER; Schema: rbac; Owner: admin -- 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: test +-- Name: role tx_0_journal_tg; Type: TRIGGER; Schema: rbac; Owner: admin -- 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: test +-- Name: subject tx_0_journal_tg; Type: TRIGGER; Schema: rbac; Owner: admin -- 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: test +-- Name: customer build_rbac_system_after_insert_tg; Type: TRIGGER; Schema: rbactest; Owner: admin -- 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: test +-- Name: domain build_rbac_system_after_insert_tg; Type: TRIGGER; Schema: rbactest; Owner: admin -- 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: test +-- Name: package build_rbac_system_after_insert_tg; Type: TRIGGER; Schema: rbactest; Owner: admin -- 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: test +-- Name: customer createrbacobjectfor_customer_delete_tg_1058_35; Type: TRIGGER; Schema: rbactest; Owner: admin -- 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: test +-- Name: customer createrbacobjectfor_customer_insert_tg_1058_25; Type: TRIGGER; Schema: rbactest; Owner: admin -- 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: test +-- Name: domain createrbacobjectfor_domain_delete_tg_1058_35; Type: TRIGGER; Schema: rbactest; Owner: admin -- 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: test +-- Name: domain createrbacobjectfor_domain_insert_tg_1058_25; Type: TRIGGER; Schema: rbactest; Owner: admin -- 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: test +-- Name: package createrbacobjectfor_package_delete_tg_1058_35; Type: TRIGGER; Schema: rbactest; Owner: admin -- 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: test +-- Name: package createrbacobjectfor_package_insert_tg_1058_25; Type: TRIGGER; Schema: rbactest; Owner: admin -- 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: test +-- Name: customer customer_insert_permission_check_tg; Type: TRIGGER; Schema: rbactest; Owner: admin -- 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: test +-- Name: domain domain_insert_permission_check_tg; Type: TRIGGER; Schema: rbactest; Owner: admin -- 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: test +-- Name: package domain_z_grants_after_insert_tg; Type: TRIGGER; Schema: rbactest; Owner: admin -- 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: test +-- Name: customer_rv instead_of_delete_tg; Type: TRIGGER; Schema: rbactest; Owner: admin -- 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: test +-- Name: domain_rv instead_of_delete_tg; Type: TRIGGER; Schema: rbactest; Owner: admin -- 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: test +-- Name: package_rv instead_of_delete_tg; Type: TRIGGER; Schema: rbactest; Owner: admin -- 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: test +-- Name: customer_rv instead_of_insert_tg; Type: TRIGGER; Schema: rbactest; Owner: admin -- 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: test +-- Name: domain_rv instead_of_insert_tg; Type: TRIGGER; Schema: rbactest; Owner: admin -- 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: test +-- Name: package_rv instead_of_insert_tg; Type: TRIGGER; Schema: rbactest; Owner: admin -- 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: test +-- Name: customer_rv instead_of_update_tg; Type: TRIGGER; Schema: rbactest; Owner: admin -- 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: test +-- Name: domain_rv instead_of_update_tg; Type: TRIGGER; Schema: rbactest; Owner: admin -- 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: test +-- Name: package_rv instead_of_update_tg; Type: TRIGGER; Schema: rbactest; Owner: admin -- 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: test +-- Name: package package_insert_permission_check_tg; Type: TRIGGER; Schema: rbactest; Owner: admin -- 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: test +-- Name: customer package_z_grants_after_insert_tg; Type: TRIGGER; Schema: rbactest; Owner: admin -- 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: test +-- Name: domain update_rbac_system_after_update_tg; Type: TRIGGER; Schema: rbactest; Owner: admin -- 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: test +-- Name: package update_rbac_system_after_update_tg; Type: TRIGGER; Schema: rbactest; Owner: admin -- 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: test +-- Name: tx_journal tx_journal_txid_fkey; Type: FK CONSTRAINT; Schema: base; Owner: admin -- ALTER TABLE ONLY base.tx_journal @@ -19730,7 +19736,7 @@ ALTER TABLE ONLY base.tx_journal -- --- Name: bankaccount bankaccount_uuid_fkey; Type: FK CONSTRAINT; Schema: hs_office; Owner: test +-- Name: bankaccount bankaccount_uuid_fkey; Type: FK CONSTRAINT; Schema: hs_office; Owner: admin -- ALTER TABLE ONLY hs_office.bankaccount @@ -19738,7 +19744,7 @@ ALTER TABLE ONLY hs_office.bankaccount -- --- Name: contact_legacy_id contact_legacy_id_uuid_fkey; Type: FK CONSTRAINT; Schema: hs_office; Owner: test +-- Name: contact_legacy_id contact_legacy_id_uuid_fkey; Type: FK CONSTRAINT; Schema: hs_office; Owner: admin -- ALTER TABLE ONLY hs_office.contact_legacy_id @@ -19746,7 +19752,7 @@ ALTER TABLE ONLY hs_office.contact_legacy_id -- --- Name: contact contact_uuid_fkey; Type: FK CONSTRAINT; Schema: hs_office; Owner: test +-- Name: contact contact_uuid_fkey; Type: FK CONSTRAINT; Schema: hs_office; Owner: admin -- ALTER TABLE ONLY hs_office.contact @@ -19754,7 +19760,7 @@ ALTER TABLE ONLY hs_office.contact -- --- Name: coopassettx coopassettx_assetadoptiontxuuid_fkey; Type: FK CONSTRAINT; Schema: hs_office; Owner: test +-- Name: coopassettx coopassettx_assetadoptiontxuuid_fkey; Type: FK CONSTRAINT; Schema: hs_office; Owner: admin -- ALTER TABLE ONLY hs_office.coopassettx @@ -19762,7 +19768,7 @@ ALTER TABLE ONLY hs_office.coopassettx -- --- Name: coopassettx_legacy_id coopassettx_legacy_id_uuid_fkey; Type: FK CONSTRAINT; Schema: hs_office; Owner: test +-- Name: coopassettx_legacy_id coopassettx_legacy_id_uuid_fkey; Type: FK CONSTRAINT; Schema: hs_office; Owner: admin -- ALTER TABLE ONLY hs_office.coopassettx_legacy_id @@ -19770,7 +19776,7 @@ ALTER TABLE ONLY hs_office.coopassettx_legacy_id -- --- Name: coopassettx coopassettx_membershipuuid_fkey; Type: FK CONSTRAINT; Schema: hs_office; Owner: test +-- Name: coopassettx coopassettx_membershipuuid_fkey; Type: FK CONSTRAINT; Schema: hs_office; Owner: admin -- ALTER TABLE ONLY hs_office.coopassettx @@ -19778,7 +19784,7 @@ ALTER TABLE ONLY hs_office.coopassettx -- --- Name: coopassettx coopassettx_revertedassettxuuid_fkey; Type: FK CONSTRAINT; Schema: hs_office; Owner: test +-- Name: coopassettx coopassettx_revertedassettxuuid_fkey; Type: FK CONSTRAINT; Schema: hs_office; Owner: admin -- ALTER TABLE ONLY hs_office.coopassettx @@ -19786,7 +19792,7 @@ ALTER TABLE ONLY hs_office.coopassettx -- --- Name: coopassettx coopassettx_uuid_fkey; Type: FK CONSTRAINT; Schema: hs_office; Owner: test +-- Name: coopassettx coopassettx_uuid_fkey; Type: FK CONSTRAINT; Schema: hs_office; Owner: admin -- ALTER TABLE ONLY hs_office.coopassettx @@ -19794,7 +19800,7 @@ ALTER TABLE ONLY hs_office.coopassettx -- --- Name: coopsharetx_legacy_id coopsharetx_legacy_id_uuid_fkey; Type: FK CONSTRAINT; Schema: hs_office; Owner: test +-- Name: coopsharetx_legacy_id coopsharetx_legacy_id_uuid_fkey; Type: FK CONSTRAINT; Schema: hs_office; Owner: admin -- ALTER TABLE ONLY hs_office.coopsharetx_legacy_id @@ -19802,7 +19808,7 @@ ALTER TABLE ONLY hs_office.coopsharetx_legacy_id -- --- Name: coopsharetx coopsharetx_membershipuuid_fkey; Type: FK CONSTRAINT; Schema: hs_office; Owner: test +-- Name: coopsharetx coopsharetx_membershipuuid_fkey; Type: FK CONSTRAINT; Schema: hs_office; Owner: admin -- ALTER TABLE ONLY hs_office.coopsharetx @@ -19810,7 +19816,7 @@ ALTER TABLE ONLY hs_office.coopsharetx -- --- Name: coopsharetx coopsharetx_revertedsharetxuuid_fkey; Type: FK CONSTRAINT; Schema: hs_office; Owner: test +-- Name: coopsharetx coopsharetx_revertedsharetxuuid_fkey; Type: FK CONSTRAINT; Schema: hs_office; Owner: admin -- ALTER TABLE ONLY hs_office.coopsharetx @@ -19818,7 +19824,7 @@ ALTER TABLE ONLY hs_office.coopsharetx -- --- Name: coopsharetx coopsharetx_uuid_fkey; Type: FK CONSTRAINT; Schema: hs_office; Owner: test +-- Name: coopsharetx coopsharetx_uuid_fkey; Type: FK CONSTRAINT; Schema: hs_office; Owner: admin -- ALTER TABLE ONLY hs_office.coopsharetx @@ -19826,7 +19832,7 @@ ALTER TABLE ONLY hs_office.coopsharetx -- --- Name: debitor debitor_debitorreluuid_fkey; Type: FK CONSTRAINT; Schema: hs_office; Owner: test +-- Name: debitor debitor_debitorreluuid_fkey; Type: FK CONSTRAINT; Schema: hs_office; Owner: admin -- ALTER TABLE ONLY hs_office.debitor @@ -19834,7 +19840,7 @@ ALTER TABLE ONLY hs_office.debitor -- --- Name: debitor debitor_refundbankaccountuuid_fkey; Type: FK CONSTRAINT; Schema: hs_office; Owner: test +-- Name: debitor debitor_refundbankaccountuuid_fkey; Type: FK CONSTRAINT; Schema: hs_office; Owner: admin -- ALTER TABLE ONLY hs_office.debitor @@ -19842,7 +19848,7 @@ ALTER TABLE ONLY hs_office.debitor -- --- Name: debitor debitor_uuid_fkey; Type: FK CONSTRAINT; Schema: hs_office; Owner: test +-- Name: debitor debitor_uuid_fkey; Type: FK CONSTRAINT; Schema: hs_office; Owner: admin -- ALTER TABLE ONLY hs_office.debitor @@ -19850,7 +19856,7 @@ ALTER TABLE ONLY hs_office.debitor -- --- Name: membership membership_partneruuid_fkey; Type: FK CONSTRAINT; Schema: hs_office; Owner: test +-- Name: membership membership_partneruuid_fkey; Type: FK CONSTRAINT; Schema: hs_office; Owner: admin -- ALTER TABLE ONLY hs_office.membership @@ -19858,7 +19864,7 @@ ALTER TABLE ONLY hs_office.membership -- --- Name: membership membership_uuid_fkey; Type: FK CONSTRAINT; Schema: hs_office; Owner: test +-- Name: membership membership_uuid_fkey; Type: FK CONSTRAINT; Schema: hs_office; Owner: admin -- ALTER TABLE ONLY hs_office.membership @@ -19866,7 +19872,7 @@ ALTER TABLE ONLY hs_office.membership -- --- Name: partner_details partner_details_uuid_fkey; Type: FK CONSTRAINT; Schema: hs_office; Owner: test +-- Name: partner_details partner_details_uuid_fkey; Type: FK CONSTRAINT; Schema: hs_office; Owner: admin -- ALTER TABLE ONLY hs_office.partner_details @@ -19874,7 +19880,7 @@ ALTER TABLE ONLY hs_office.partner_details -- --- Name: partner partner_detailsuuid_fkey; Type: FK CONSTRAINT; Schema: hs_office; Owner: test +-- Name: partner partner_detailsuuid_fkey; Type: FK CONSTRAINT; Schema: hs_office; Owner: admin -- ALTER TABLE ONLY hs_office.partner @@ -19882,7 +19888,7 @@ ALTER TABLE ONLY hs_office.partner -- --- Name: partner_legacy_id partner_legacy_id_uuid_fkey; Type: FK CONSTRAINT; Schema: hs_office; Owner: test +-- Name: partner_legacy_id partner_legacy_id_uuid_fkey; Type: FK CONSTRAINT; Schema: hs_office; Owner: admin -- ALTER TABLE ONLY hs_office.partner_legacy_id @@ -19890,7 +19896,7 @@ ALTER TABLE ONLY hs_office.partner_legacy_id -- --- Name: partner partner_partnerreluuid_fkey; Type: FK CONSTRAINT; Schema: hs_office; Owner: test +-- Name: partner partner_partnerreluuid_fkey; Type: FK CONSTRAINT; Schema: hs_office; Owner: admin -- ALTER TABLE ONLY hs_office.partner @@ -19898,7 +19904,7 @@ ALTER TABLE ONLY hs_office.partner -- --- Name: partner partner_uuid_fkey; Type: FK CONSTRAINT; Schema: hs_office; Owner: test +-- Name: partner partner_uuid_fkey; Type: FK CONSTRAINT; Schema: hs_office; Owner: admin -- ALTER TABLE ONLY hs_office.partner @@ -19906,7 +19912,7 @@ ALTER TABLE ONLY hs_office.partner -- --- Name: person person_uuid_fkey; Type: FK CONSTRAINT; Schema: hs_office; Owner: test +-- Name: person person_uuid_fkey; Type: FK CONSTRAINT; Schema: hs_office; Owner: admin -- ALTER TABLE ONLY hs_office.person @@ -19914,7 +19920,7 @@ ALTER TABLE ONLY hs_office.person -- --- Name: relation relation_anchoruuid_fkey; Type: FK CONSTRAINT; Schema: hs_office; Owner: test +-- Name: relation relation_anchoruuid_fkey; Type: FK CONSTRAINT; Schema: hs_office; Owner: admin -- ALTER TABLE ONLY hs_office.relation @@ -19922,7 +19928,7 @@ ALTER TABLE ONLY hs_office.relation -- --- Name: relation relation_contactuuid_fkey; Type: FK CONSTRAINT; Schema: hs_office; Owner: test +-- Name: relation relation_contactuuid_fkey; Type: FK CONSTRAINT; Schema: hs_office; Owner: admin -- ALTER TABLE ONLY hs_office.relation @@ -19930,7 +19936,7 @@ ALTER TABLE ONLY hs_office.relation -- --- Name: relation relation_holderuuid_fkey; Type: FK CONSTRAINT; Schema: hs_office; Owner: test +-- Name: relation relation_holderuuid_fkey; Type: FK CONSTRAINT; Schema: hs_office; Owner: admin -- ALTER TABLE ONLY hs_office.relation @@ -19938,7 +19944,7 @@ ALTER TABLE ONLY hs_office.relation -- --- Name: relation relation_uuid_fkey; Type: FK CONSTRAINT; Schema: hs_office; Owner: test +-- Name: relation relation_uuid_fkey; Type: FK CONSTRAINT; Schema: hs_office; Owner: admin -- ALTER TABLE ONLY hs_office.relation @@ -19946,7 +19952,7 @@ ALTER TABLE ONLY hs_office.relation -- --- Name: sepamandate sepamandate_bankaccountuuid_fkey; Type: FK CONSTRAINT; Schema: hs_office; Owner: test +-- Name: sepamandate sepamandate_bankaccountuuid_fkey; Type: FK CONSTRAINT; Schema: hs_office; Owner: admin -- ALTER TABLE ONLY hs_office.sepamandate @@ -19954,7 +19960,7 @@ ALTER TABLE ONLY hs_office.sepamandate -- --- Name: sepamandate sepamandate_debitoruuid_fkey; Type: FK CONSTRAINT; Schema: hs_office; Owner: test +-- Name: sepamandate sepamandate_debitoruuid_fkey; Type: FK CONSTRAINT; Schema: hs_office; Owner: admin -- ALTER TABLE ONLY hs_office.sepamandate @@ -19962,7 +19968,7 @@ ALTER TABLE ONLY hs_office.sepamandate -- --- Name: sepamandate_legacy_id sepamandate_legacy_id_uuid_fkey; Type: FK CONSTRAINT; Schema: hs_office; Owner: test +-- Name: sepamandate_legacy_id sepamandate_legacy_id_uuid_fkey; Type: FK CONSTRAINT; Schema: hs_office; Owner: admin -- ALTER TABLE ONLY hs_office.sepamandate_legacy_id @@ -19970,7 +19976,7 @@ ALTER TABLE ONLY hs_office.sepamandate_legacy_id -- --- Name: sepamandate sepamandate_uuid_fkey; Type: FK CONSTRAINT; Schema: hs_office; Owner: test +-- Name: sepamandate sepamandate_uuid_fkey; Type: FK CONSTRAINT; Schema: hs_office; Owner: admin -- ALTER TABLE ONLY hs_office.sepamandate @@ -19978,7 +19984,7 @@ ALTER TABLE ONLY hs_office.sepamandate -- --- Name: global global_uuid_fkey; Type: FK CONSTRAINT; Schema: rbac; Owner: test +-- Name: global global_uuid_fkey; Type: FK CONSTRAINT; Schema: rbac; Owner: admin -- ALTER TABLE ONLY rbac.global @@ -19986,7 +19992,7 @@ ALTER TABLE ONLY rbac.global -- --- Name: grant grant_ascendantuuid_fkey; Type: FK CONSTRAINT; Schema: rbac; Owner: test +-- Name: grant grant_ascendantuuid_fkey; Type: FK CONSTRAINT; Schema: rbac; Owner: admin -- ALTER TABLE ONLY rbac."grant" @@ -19994,7 +20000,7 @@ ALTER TABLE ONLY rbac."grant" -- --- Name: grant grant_descendantuuid_fkey; Type: FK CONSTRAINT; Schema: rbac; Owner: test +-- Name: grant grant_descendantuuid_fkey; Type: FK CONSTRAINT; Schema: rbac; Owner: admin -- ALTER TABLE ONLY rbac."grant" @@ -20002,7 +20008,7 @@ ALTER TABLE ONLY rbac."grant" -- --- Name: grant grant_grantedbyroleuuid_fkey; Type: FK CONSTRAINT; Schema: rbac; Owner: test +-- Name: grant grant_grantedbyroleuuid_fkey; Type: FK CONSTRAINT; Schema: rbac; Owner: admin -- ALTER TABLE ONLY rbac."grant" @@ -20010,7 +20016,7 @@ ALTER TABLE ONLY rbac."grant" -- --- Name: grant grant_grantedbytriggerof_fkey; Type: FK CONSTRAINT; Schema: rbac; Owner: test +-- Name: grant grant_grantedbytriggerof_fkey; Type: FK CONSTRAINT; Schema: rbac; Owner: admin -- ALTER TABLE ONLY rbac."grant" @@ -20018,7 +20024,7 @@ ALTER TABLE ONLY rbac."grant" -- --- Name: permission permission_objectuuid_fkey; Type: FK CONSTRAINT; Schema: rbac; Owner: test +-- Name: permission permission_objectuuid_fkey; Type: FK CONSTRAINT; Schema: rbac; Owner: admin -- ALTER TABLE ONLY rbac.permission @@ -20026,7 +20032,7 @@ ALTER TABLE ONLY rbac.permission -- --- Name: permission permission_uuid_fkey; Type: FK CONSTRAINT; Schema: rbac; Owner: test +-- Name: permission permission_uuid_fkey; Type: FK CONSTRAINT; Schema: rbac; Owner: admin -- ALTER TABLE ONLY rbac.permission @@ -20034,7 +20040,7 @@ ALTER TABLE ONLY rbac.permission -- --- Name: role role_objectuuid_fkey; Type: FK CONSTRAINT; Schema: rbac; Owner: test +-- Name: role role_objectuuid_fkey; Type: FK CONSTRAINT; Schema: rbac; Owner: admin -- ALTER TABLE ONLY rbac.role @@ -20042,7 +20048,7 @@ ALTER TABLE ONLY rbac.role -- --- Name: role role_uuid_fkey; Type: FK CONSTRAINT; Schema: rbac; Owner: test +-- Name: role role_uuid_fkey; Type: FK CONSTRAINT; Schema: rbac; Owner: admin -- ALTER TABLE ONLY rbac.role @@ -20050,7 +20056,7 @@ ALTER TABLE ONLY rbac.role -- --- Name: subject subject_uuid_fkey; Type: FK CONSTRAINT; Schema: rbac; Owner: test +-- Name: subject subject_uuid_fkey; Type: FK CONSTRAINT; Schema: rbac; Owner: admin -- ALTER TABLE ONLY rbac.subject @@ -20058,7 +20064,7 @@ ALTER TABLE ONLY rbac.subject -- --- Name: customer customer_uuid_fkey; Type: FK CONSTRAINT; Schema: rbactest; Owner: test +-- Name: customer customer_uuid_fkey; Type: FK CONSTRAINT; Schema: rbactest; Owner: admin -- ALTER TABLE ONLY rbactest.customer @@ -20066,7 +20072,7 @@ ALTER TABLE ONLY rbactest.customer -- --- Name: domain domain_packageuuid_fkey; Type: FK CONSTRAINT; Schema: rbactest; Owner: test +-- Name: domain domain_packageuuid_fkey; Type: FK CONSTRAINT; Schema: rbactest; Owner: admin -- ALTER TABLE ONLY rbactest.domain @@ -20074,7 +20080,7 @@ ALTER TABLE ONLY rbactest.domain -- --- Name: domain domain_uuid_fkey; Type: FK CONSTRAINT; Schema: rbactest; Owner: test +-- Name: domain domain_uuid_fkey; Type: FK CONSTRAINT; Schema: rbactest; Owner: admin -- ALTER TABLE ONLY rbactest.domain @@ -20082,7 +20088,7 @@ ALTER TABLE ONLY rbactest.domain -- --- Name: package package_customeruuid_fkey; Type: FK CONSTRAINT; Schema: rbactest; Owner: test +-- Name: package package_customeruuid_fkey; Type: FK CONSTRAINT; Schema: rbactest; Owner: admin -- ALTER TABLE ONLY rbactest.package @@ -20090,7 +20096,7 @@ ALTER TABLE ONLY rbactest.package -- --- Name: package package_uuid_fkey; Type: FK CONSTRAINT; Schema: rbactest; Owner: test +-- Name: package package_uuid_fkey; Type: FK CONSTRAINT; Schema: rbactest; Owner: admin -- ALTER TABLE ONLY rbactest.package @@ -20098,247 +20104,245 @@ ALTER TABLE ONLY rbactest.package -- --- Name: TABLE bankaccount_iv; Type: ACL; Schema: hs_office; Owner: test +-- Name: TABLE bankaccount_iv; Type: ACL; Schema: hs_office; Owner: admin -- GRANT ALL ON TABLE hs_office.bankaccount_iv TO restricted; -- --- Name: TABLE bankaccount_rv; Type: ACL; Schema: hs_office; Owner: test +-- Name: TABLE bankaccount_rv; Type: ACL; Schema: hs_office; Owner: admin -- GRANT ALL ON TABLE hs_office.bankaccount_rv TO restricted; -- --- Name: TABLE contact_iv; Type: ACL; Schema: hs_office; Owner: test +-- Name: TABLE contact_iv; Type: ACL; Schema: hs_office; Owner: admin -- GRANT ALL ON TABLE hs_office.contact_iv TO restricted; -- --- Name: TABLE contact_rv; Type: ACL; Schema: hs_office; Owner: test +-- Name: TABLE contact_rv; Type: ACL; Schema: hs_office; Owner: admin -- GRANT ALL ON TABLE hs_office.contact_rv TO restricted; -- --- Name: TABLE coopassettx_iv; Type: ACL; Schema: hs_office; Owner: test +-- Name: TABLE coopassettx_iv; Type: ACL; Schema: hs_office; Owner: admin -- GRANT ALL ON TABLE hs_office.coopassettx_iv TO restricted; -- --- Name: TABLE coopassettx_rv; Type: ACL; Schema: hs_office; Owner: test +-- Name: TABLE coopassettx_rv; Type: ACL; Schema: hs_office; Owner: admin -- GRANT ALL ON TABLE hs_office.coopassettx_rv TO restricted; -- --- Name: TABLE coopsharetx_iv; Type: ACL; Schema: hs_office; Owner: test +-- Name: TABLE coopsharetx_iv; Type: ACL; Schema: hs_office; Owner: admin -- GRANT ALL ON TABLE hs_office.coopsharetx_iv TO restricted; -- --- Name: TABLE coopsharetx_rv; Type: ACL; Schema: hs_office; Owner: test +-- Name: TABLE coopsharetx_rv; Type: ACL; Schema: hs_office; Owner: admin -- GRANT ALL ON TABLE hs_office.coopsharetx_rv TO restricted; -- --- Name: TABLE debitor_iv; Type: ACL; Schema: hs_office; Owner: test +-- Name: TABLE debitor_iv; Type: ACL; Schema: hs_office; Owner: admin -- GRANT ALL ON TABLE hs_office.debitor_iv TO restricted; -- --- Name: TABLE debitor_rv; Type: ACL; Schema: hs_office; Owner: test +-- Name: TABLE debitor_rv; Type: ACL; Schema: hs_office; Owner: admin -- GRANT ALL ON TABLE hs_office.debitor_rv TO restricted; -- --- Name: TABLE membership_iv; Type: ACL; Schema: hs_office; Owner: test +-- Name: TABLE membership_iv; Type: ACL; Schema: hs_office; Owner: admin -- GRANT ALL ON TABLE hs_office.membership_iv TO restricted; -- --- Name: TABLE membership_rv; Type: ACL; Schema: hs_office; Owner: test +-- Name: TABLE membership_rv; Type: ACL; Schema: hs_office; Owner: admin -- GRANT ALL ON TABLE hs_office.membership_rv TO restricted; -- --- Name: TABLE partner_iv; Type: ACL; Schema: hs_office; Owner: test +-- Name: TABLE partner_iv; Type: ACL; Schema: hs_office; Owner: admin -- GRANT ALL ON TABLE hs_office.partner_iv TO restricted; -- --- Name: TABLE partner_details_iv; Type: ACL; Schema: hs_office; Owner: test +-- Name: TABLE partner_details_iv; Type: ACL; Schema: hs_office; Owner: admin -- GRANT ALL ON TABLE hs_office.partner_details_iv TO restricted; -- --- Name: TABLE partner_details_rv; Type: ACL; Schema: hs_office; Owner: test +-- Name: TABLE partner_details_rv; Type: ACL; Schema: hs_office; Owner: admin -- GRANT ALL ON TABLE hs_office.partner_details_rv TO restricted; -- --- Name: TABLE partner_rv; Type: ACL; Schema: hs_office; Owner: test +-- Name: TABLE partner_rv; Type: ACL; Schema: hs_office; Owner: admin -- GRANT ALL ON TABLE hs_office.partner_rv TO restricted; -- --- Name: TABLE person_iv; Type: ACL; Schema: hs_office; Owner: test +-- Name: TABLE person_iv; Type: ACL; Schema: hs_office; Owner: admin -- GRANT ALL ON TABLE hs_office.person_iv TO restricted; -- --- Name: TABLE person_rv; Type: ACL; Schema: hs_office; Owner: test +-- Name: TABLE person_rv; Type: ACL; Schema: hs_office; Owner: admin -- GRANT ALL ON TABLE hs_office.person_rv TO restricted; -- --- Name: TABLE relation_iv; Type: ACL; Schema: hs_office; Owner: test +-- Name: TABLE relation_iv; Type: ACL; Schema: hs_office; Owner: admin -- GRANT ALL ON TABLE hs_office.relation_iv TO restricted; -- --- Name: TABLE relation_rv; Type: ACL; Schema: hs_office; Owner: test +-- Name: TABLE relation_rv; Type: ACL; Schema: hs_office; Owner: admin -- GRANT ALL ON TABLE hs_office.relation_rv TO restricted; -- --- Name: TABLE sepamandate_iv; Type: ACL; Schema: hs_office; Owner: test +-- Name: TABLE sepamandate_iv; Type: ACL; Schema: hs_office; Owner: admin -- GRANT ALL ON TABLE hs_office.sepamandate_iv TO restricted; -- --- Name: TABLE sepamandate_rv; Type: ACL; Schema: hs_office; Owner: test +-- Name: TABLE sepamandate_rv; Type: ACL; Schema: hs_office; Owner: admin -- GRANT ALL ON TABLE hs_office.sepamandate_rv TO restricted; -- --- Name: TABLE databasechangelog; Type: ACL; Schema: public; Owner: test +-- Name: TABLE databasechangelog; Type: ACL; Schema: public; Owner: admin -- -GRANT ALL ON TABLE public.databasechangelog TO admin; GRANT ALL ON TABLE public.databasechangelog TO restricted; -- --- Name: TABLE databasechangeloglock; Type: ACL; Schema: public; Owner: test +-- Name: TABLE databasechangeloglock; Type: ACL; Schema: public; Owner: admin -- -GRANT ALL ON TABLE public.databasechangeloglock TO admin; GRANT ALL ON TABLE public.databasechangeloglock TO restricted; -- --- Name: TABLE global; Type: ACL; Schema: rbac; Owner: test +-- Name: TABLE global; Type: ACL; Schema: rbac; Owner: admin -- GRANT SELECT ON TABLE rbac.global TO restricted; -- --- Name: TABLE global_iv; Type: ACL; Schema: rbac; Owner: test +-- Name: TABLE global_iv; Type: ACL; Schema: rbac; Owner: admin -- GRANT ALL ON TABLE rbac.global_iv TO restricted; -- --- Name: TABLE role_rv; Type: ACL; Schema: rbac; Owner: test +-- Name: TABLE role_rv; Type: ACL; Schema: rbac; Owner: admin -- GRANT ALL ON TABLE rbac.role_rv TO restricted; -- --- Name: TABLE own_granted_permissions_rv; Type: ACL; Schema: rbac; Owner: test +-- Name: TABLE own_granted_permissions_rv; Type: ACL; Schema: rbac; Owner: admin -- GRANT ALL ON TABLE rbac.own_granted_permissions_rv TO restricted; -- --- Name: TABLE subject_rv; Type: ACL; Schema: rbac; Owner: test +-- Name: TABLE subject_rv; Type: ACL; Schema: rbac; Owner: admin -- GRANT ALL ON TABLE rbac.subject_rv TO restricted; -- --- Name: TABLE customer_iv; Type: ACL; Schema: rbactest; Owner: test +-- Name: TABLE customer_iv; Type: ACL; Schema: rbactest; Owner: admin -- GRANT ALL ON TABLE rbactest.customer_iv TO restricted; -- --- Name: TABLE customer_rv; Type: ACL; Schema: rbactest; Owner: test +-- Name: TABLE customer_rv; Type: ACL; Schema: rbactest; Owner: admin -- GRANT ALL ON TABLE rbactest.customer_rv TO restricted; -- --- Name: TABLE domain_iv; Type: ACL; Schema: rbactest; Owner: test +-- Name: TABLE domain_iv; Type: ACL; Schema: rbactest; Owner: admin -- GRANT ALL ON TABLE rbactest.domain_iv TO restricted; -- --- Name: TABLE domain_rv; Type: ACL; Schema: rbactest; Owner: test +-- Name: TABLE domain_rv; Type: ACL; Schema: rbactest; Owner: admin -- GRANT ALL ON TABLE rbactest.domain_rv TO restricted; -- --- Name: TABLE package_iv; Type: ACL; Schema: rbactest; Owner: test +-- Name: TABLE package_iv; Type: ACL; Schema: rbactest; Owner: admin -- GRANT ALL ON TABLE rbactest.package_iv TO restricted; -- --- Name: TABLE package_rv; Type: ACL; Schema: rbactest; Owner: test +-- Name: TABLE package_rv; Type: ACL; Schema: rbactest; Owner: admin -- GRANT ALL ON TABLE rbactest.package_rv TO restricted; diff --git a/src/test/resources/db/released-only-prod-schema-with-test-data.sql b/src/test/resources/db/released-prod-schema-with-test-data.sql similarity index 96% rename from src/test/resources/db/released-only-prod-schema-with-test-data.sql rename to src/test/resources/db/released-prod-schema-with-test-data.sql index 34ff729f..943c6772 100644 --- a/src/test/resources/db/released-only-prod-schema-with-test-data.sql +++ b/src/test/resources/db/released-prod-schema-with-test-data.sql @@ -9,18 +9,15 @@ -- 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 16.6 (Ubuntu 16.6-0ubuntu0.24.04.1) +-- Dumped by pg_dump version 16.9 (Ubuntu 16.9-0ubuntu0.24.04.1) SET statement_timeout = 0; SET lock_timeout = 0; @@ -279,6 +276,19 @@ CREATE CAST (character varying AS hs_office.persontype) WITH INOUT AS IMPLICIT; CREATE CAST (character varying AS hs_office.relationtype) WITH INOUT AS IMPLICIT; +-- +-- Name: add_if_not_null(anyarray, anyelement); Type: FUNCTION; Schema: base; Owner: test +-- + +CREATE FUNCTION base.add_if_not_null(arr anyarray, val anyelement) RETURNS anyarray + LANGUAGE sql + AS ' + SELECT CASE WHEN val IS NULL THEN arr ELSE arr || val END +'; + + +ALTER FUNCTION base.add_if_not_null(arr anyarray, val anyelement) OWNER TO test; + -- -- Name: asserttrue(boolean, text); Type: FUNCTION; Schema: base; Owner: postgres -- @@ -708,6 +718,8 @@ CREATE PROCEDURE base.tx_create_historicization(IN basetable character varying) LANGUAGE plpgsql AS ' declare + baseSchemaName varchar; + baseTableName varchar; createHistTableSql varchar; createTriggerSQL varchar; viewName varchar; @@ -717,13 +729,18 @@ declare begin + SELECT split_part(basetable, ''.'', 1), + split_part(basetable, ''.'', 2) + INTO baseSchemaName, baseTableName; + + createHistTableSql = '''' || - ''CREATE TABLE '' || baseTable || ''_ex ('' || + ''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 || + '' LIKE '' || basetable || '' EXCLUDING CONSTRAINTS'' || '' EXCLUDING STATISTICS'' || '')''; @@ -731,12 +748,12 @@ begin execute createHistTableSql; - viewName = baseTable || ''_hv''; - exVersionsTable = baseTable || ''_ex''; + 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); + where table_schema = baseSchemaName + and table_name = baseTableName); createViewSQL = format( ''CREATE OR REPLACE VIEW %1$s AS'' || @@ -762,7 +779,7 @@ begin createTriggerSQL = ''CREATE TRIGGER tx_9_historicize_tg'' || - '' AFTER INSERT OR DELETE OR UPDATE ON '' || baseTable || + '' AFTER INSERT OR DELETE OR UPDATE ON '' || basetable || '' FOR EACH ROW EXECUTE PROCEDURE base.tx_historicize_tf()''; execute createTriggerSQL; @@ -872,16 +889,24 @@ declare curTask text; curTxId xid8; tableSchemaAndName text; + next_timestamp timestamp; begin curTask := base.currentTask(); curTxId := pg_current_xact_id(); tableSchemaAndName := base.combine_table_schema_and_name(tg_table_schema, tg_table_name); + next_timestamp = ''1970-01-01''; 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; + on conflict do nothing + returning txTimestamp into next_timestamp; + + + if next_timestamp <> ''1970-01-01'' then + PERFORM pg_notify (''tx_context_inserted'', CONCAT(curTxId, '','', extract(epoch from next_timestamp), '','', curTask)); + end if; case tg_op when ''INSERT'' then insert @@ -907,6 +932,19 @@ end; '; ALTER FUNCTION base.tx_journal_trigger() OWNER TO postgres; +-- +-- Name: without_null_values(anyarray); Type: FUNCTION; Schema: base; Owner: test +-- + +CREATE FUNCTION base.without_null_values(arr anyarray) RETURNS anyarray + LANGUAGE sql + AS ' + SELECT array_agg(e) FROM unnest(arr) AS e WHERE e IS NOT NULL +'; + + +ALTER FUNCTION base.without_null_values(arr anyarray) OWNER TO test; + SET default_tablespace = ''; SET default_table_access_method = heap; @@ -1587,31 +1625,6 @@ CREATE FUNCTION hs_office.contact_uuid_by_id_name(givenidname character varying) 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 -- @@ -1626,8 +1639,7 @@ CREATE TABLE hs_office.coopassettx ( 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)) + comment character varying(512) ); @@ -1761,6 +1773,33 @@ end; '; ALTER FUNCTION hs_office.coopassettx_delete_legacy_id_mapping_tf() OWNER TO postgres; +-- +-- Name: coopassettx_enforce_positive_total(); Type: FUNCTION; Schema: hs_office; Owner: test +-- + +CREATE FUNCTION hs_office.coopassettx_enforce_positive_total() RETURNS trigger + 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 = NEW.membershipUuid + into currentAssetValue; + totalAssetValue := currentAssetValue + NEW.assetValue; + if totalAssetValue::numeric < 0 then + raise exception ''[400] coop assets transaction would result in a negative balance of assets''; + end if; + return NEW; +end; +'; + + +ALTER FUNCTION hs_office.coopassettx_enforce_positive_total() OWNER TO test; + -- -- Name: coopassettx_grants_insert_to_membership_tf(); Type: FUNCTION; Schema: hs_office; Owner: postgres -- @@ -2003,31 +2042,6 @@ CREATE FUNCTION hs_office.coopassettx_uuid_by_id_name(givenidname character vary 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 -- @@ -2042,7 +2056,6 @@ CREATE TABLE hs_office.coopsharetx ( 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)))) ); @@ -2171,6 +2184,33 @@ end; '; ALTER FUNCTION hs_office.coopsharetx_delete_legacy_id_mapping_tf() OWNER TO postgres; +-- +-- Name: coopsharetx_enforce_positive_total(); Type: FUNCTION; Schema: hs_office; Owner: test +-- + +CREATE FUNCTION hs_office.coopsharetx_enforce_positive_total() RETURNS trigger + LANGUAGE plpgsql + AS ' + +declare + currentShareCount integer; + totalShareCount integer; +begin + select sum(cst.shareCount) + from hs_office.coopsharetx cst + where cst.membershipUuid = NEW.membershipUuid + into currentShareCount; + totalShareCount := currentShareCount + NEW.shareCount; + if totalShareCount < 0 then + raise exception ''[400] coop shares transaction would result in a negative number of shares''; + end if; + return NEW; +end; +'; + + +ALTER FUNCTION hs_office.coopsharetx_enforce_positive_total() OWNER TO test; + -- -- Name: coopsharetx_grants_insert_to_membership_tf(); Type: FUNCTION; Schema: hs_office; Owner: postgres -- @@ -2980,6 +3020,40 @@ end; '; ALTER PROCEDURE hs_office.membership_create_test_data(IN forpartnernumber numeric, IN newmembernumbersuffix character) OWNER TO postgres; +-- +-- Name: membership_create_test_data(numeric, character, daterange, hs_office.hsofficemembershipstatus); Type: PROCEDURE; Schema: hs_office; Owner: test +-- + +CREATE PROCEDURE hs_office.membership_create_test_data(IN forpartnernumber numeric, IN newmembernumbersuffix character, IN newvalidity daterange, IN newstatus hs_office.hsofficemembershipstatus) + 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; + if not exists (select true + from hs_office.membership + where partneruuid = relatedPartner.uuid and memberNumberSuffix = newMemberNumberSuffix) + then + insert into hs_office.membership (uuid, partneruuid, memberNumberSuffix, validity, status) + values (uuid_generate_v4(), relatedPartner.uuid, newMemberNumberSuffix, + newValidity, newStatus); + else + update hs_office.membership + set memberNumberSuffix = newMemberNumberSuffix, + validity = newValidity, + status = newStatus + where partneruuid = relatedPartner.uuid; + end if; +end; '; + + +ALTER PROCEDURE hs_office.membership_create_test_data(IN forpartnernumber numeric, IN newmembernumbersuffix character, IN newvalidity daterange, IN newstatus hs_office.hsofficemembershipstatus) OWNER TO test; + -- -- Name: membership_grants_insert_to_global_tf(); Type: FUNCTION; Schema: hs_office; Owner: postgres -- @@ -4538,6 +4612,31 @@ 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_enforce_debitor_anchor_partner(); Type: FUNCTION; Schema: hs_office; Owner: test +-- + +CREATE FUNCTION hs_office.relation_enforce_debitor_anchor_partner() RETURNS trigger + LANGUAGE plpgsql + AS ' +declare + countPartner integer; +begin + if NEW.type = ''DEBITOR'' then + SELECT COUNT(*) FROM hs_office.relation r + WHERE r.type = ''PARTNER'' AND r.holderuuid = NEW.anchorUuid + INTO countPartner; + if countPartner < 1 then + raise exception ''[400] invalid debitor relation: anchor person must have a PARTNER relation''; + end if; + end if; + return NEW; +end; +'; + + +ALTER FUNCTION hs_office.relation_enforce_debitor_anchor_partner() OWNER TO test; + -- -- Name: relation_grants_insert_to_person_tf(); Type: FUNCTION; Schema: hs_office; Owner: postgres -- @@ -4655,6 +4754,8 @@ CREATE FUNCTION hs_office.relation_instead_of_update_tf() RETURNS trigger if old.uuid in (select rbac.queryAccessibleObjectUuidsOfSubjectIds(''UPDATE'', ''hs_office.relation'', rbac.currentSubjectOrAssumedRolesUuids())) then update hs_office.relation set + anchorUuid = new.anchorUuid, + holderUuid = new.holderUuid, contactUuid = new.contactUuid where uuid = old.uuid; @@ -4751,7 +4852,9 @@ CREATE PROCEDURE hs_office.relation_update_rbac_system(IN old hs_office.relation AS ' begin - if NEW.contactUuid is distinct from OLD.contactUuid then + if NEW.holderUuid is distinct from OLD.holderUuid + or NEW.anchorUuid is distinct from OLD.anchorUuid + or 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; @@ -5217,6 +5320,53 @@ CREATE FUNCTION hs_office.sepamandate_uuid_by_id_name(givenidname character vary ALTER FUNCTION hs_office.sepamandate_uuid_by_id_name(givenidname character varying) OWNER TO postgres; +-- +-- Name: validate_membership_validity(); Type: FUNCTION; Schema: hs_office; Owner: test +-- + +CREATE FUNCTION hs_office.validate_membership_validity() RETURNS trigger + LANGUAGE plpgsql + AS ' +DECLARE + partnerNumber int; +BEGIN + IF EXISTS ( + SELECT 1 + FROM hs_office.membership + WHERE partnerUuid = NEW.partnerUuid + AND uuid <> NEW.uuid + AND NEW.validity && validity + ) THEN + SELECT p.partnerNumber INTO partnerNumber + FROM hs_office.partner AS p + WHERE p.uuid = NEW.partnerUuid; + RAISE EXCEPTION ''Membership validity ranges overlap for partnerUuid %, partnerNumber %'', NEW.partnerUuid, partnerNumber; + END IF; + + RETURN NEW; +END; +'; + + +ALTER FUNCTION hs_office.validate_membership_validity() OWNER TO test; + +-- +-- Name: set_next_sequential_txid(); Type: FUNCTION; Schema: public; Owner: test +-- + +CREATE FUNCTION public.set_next_sequential_txid() RETURNS trigger + LANGUAGE plpgsql + AS ' +BEGIN + LOCK TABLE base.tx_context IN EXCLUSIVE MODE; + SELECT COALESCE(MAX(seqTxId)+1, 0) INTO NEW.seqTxId FROM base.tx_context; + RETURN NEW; +END; +'; + + +ALTER FUNCTION public.set_next_sequential_txid() OWNER TO test; + -- -- Name: validate_transaction_type(); Type: FUNCTION; Schema: public; Owner: postgres -- @@ -6132,7 +6282,7 @@ begin newColumns := ''new.'' || replace(columnNames, '', '', '', new.''); sql := format($sql$ - create function %1$s_instead_of_insert_tf() + create or replace function %1$s_instead_of_insert_tf() returns trigger language plpgsql as $f$ declare @@ -6149,7 +6299,7 @@ begin sql := format($sql$ - create trigger instead_of_insert_tg + create or replace trigger instead_of_insert_tg instead of insert on %1$s_rv for each row @@ -6159,7 +6309,7 @@ begin sql := format($sql$ - create function %1$s_instead_of_delete_tf() + create or replace function %1$s_instead_of_delete_tf() returns trigger language plpgsql as $f$ begin @@ -6174,7 +6324,7 @@ begin sql := format($sql$ - create trigger instead_of_delete_tg + create or replace trigger instead_of_delete_tg instead of delete on %1$s_rv for each row @@ -6185,7 +6335,7 @@ begin if columnUpdates is not null then sql := format($sql$ - create function %1$s_instead_of_update_tf() + create or replace function %1$s_instead_of_update_tf() returns trigger language plpgsql as $f$ begin @@ -6202,7 +6352,7 @@ begin sql = format($sql$ - create trigger instead_of_update_tg + create or replace trigger instead_of_update_tg instead of update on %1$s_rv for each row @@ -6387,6 +6537,19 @@ select ''rbac.global'', (select uuid from rbac.object where objectTable = ''rbac ALTER FUNCTION rbac.global_admin(assumed boolean) OWNER TO postgres; +-- +-- Name: global_guest(boolean); Type: FUNCTION; Schema: rbac; Owner: test +-- + +CREATE FUNCTION rbac.global_guest(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.global_guest(assumed boolean) OWNER TO test; + -- -- Name: global_id_name_by_uuid(uuid); Type: FUNCTION; Schema: rbac; Owner: postgres -- @@ -8436,7 +8599,8 @@ CREATE TABLE base.tx_context ( currentsubject character varying(63) NOT NULL, assumedroles character varying(1023) NOT NULL, currenttask character varying(127) NOT NULL, - currentrequest text NOT NULL + currentrequest text NOT NULL, + seqtxid bigint ); @@ -8458,11 +8622,12 @@ CREATE TABLE base.tx_journal ( ALTER TABLE base.tx_journal OWNER TO postgres; -- --- Name: tx_journal_v; Type: VIEW; Schema: base; Owner: postgres +-- Name: tx_journal_v; Type: VIEW; Schema: base; Owner: test -- CREATE VIEW base.tx_journal_v AS - SELECT txc.txid, + SELECT txc.seqtxid, + txc.txid, txc.txtimestamp, txc.currentsubject, txc.assumedroles, @@ -8477,7 +8642,7 @@ CREATE VIEW base.tx_journal_v AS ORDER BY txc.txtimestamp; -ALTER VIEW base.tx_journal_v OWNER TO postgres; +ALTER VIEW base.tx_journal_v OWNER TO test; -- -- Name: partner_legacy_id; Type: TABLE; Schema: hs_office; Owner: postgres @@ -10141,34 +10306,36 @@ ALTER TABLE ONLY rbac.object ALTER COLUMN serialid SET DEFAULT nextval('rbac.obj -- 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', ''); +INSERT INTO base.tx_context (txid, txtimestamp, currentsubject, assumedroles, currenttask, currentrequest, seqtxid) VALUES ('893', '2025-01-27 15:34:16.493475', '', '{}', 'initializing table "rbac.global"', '', NULL); +INSERT INTO base.tx_context (txid, txtimestamp, currentsubject, assumedroles, currenttask, currentrequest, seqtxid) VALUES ('895', '2025-01-27 15:34:16.51038', '', '{}', 'creating role:rbac.global#global:ADMIN', '', NULL); +INSERT INTO base.tx_context (txid, txtimestamp, currentsubject, assumedroles, currenttask, currentrequest, seqtxid) VALUES ('897', '2025-01-27 15:34:16.52367', '', '{}', 'creating role:rbac.global#global:guest', '', NULL); +INSERT INTO base.tx_context (txid, txtimestamp, currentsubject, assumedroles, currenttask, currentrequest, seqtxid) VALUES ('899', '2025-01-27 15:34:16.535071', '', '{}', 'creating fake test-realm admin users', '', NULL); +INSERT INTO base.tx_context (txid, txtimestamp, currentsubject, assumedroles, currenttask, currentrequest, seqtxid) VALUES ('912', '2025-01-27 15:34:16.640067', '', '{}', 'create INSERT INTO rbactest.customer permissions for pre-exising rbac.global rows', '', NULL); +INSERT INTO base.tx_context (txid, txtimestamp, currentsubject, assumedroles, currenttask, currentrequest, seqtxid) VALUES ('925', '2025-01-27 15:34:16.741443', 'superuser-alex@hostsharing.net', '{rbac.global#global:ADMIN}', 'creating RBAC test customer', '', NULL); +INSERT INTO base.tx_context (txid, txtimestamp, currentsubject, assumedroles, currenttask, currentrequest, seqtxid) VALUES ('946', '2025-01-27 15:34:16.878576', '', '{}', 'create INSERT INTO rbactest.package permissions for pre-exising rbactest.customer rows', '', NULL); +INSERT INTO base.tx_context (txid, txtimestamp, currentsubject, assumedroles, currenttask, currentrequest, seqtxid) VALUES ('961', '2025-01-27 15:34:16.96811', 'superuser-fran@hostsharing.net', '{rbactest.customer#xxx:ADMIN}', 'creating RBAC test package', '', NULL); +INSERT INTO base.tx_context (txid, txtimestamp, currentsubject, assumedroles, currenttask, currentrequest, seqtxid) VALUES ('1000', '2025-01-27 15:34:17.109844', '', '{}', 'create INSERT INTO rbactest.domain permissions for pre-exising rbactest.package rows', '', NULL); +INSERT INTO base.tx_context (txid, txtimestamp, currentsubject, assumedroles, currenttask, currentrequest, seqtxid) VALUES ('1021', '2025-01-27 15:34:17.217541', 'pac-admin-xxx00@xxx.example.com', '{}', 'creating RBAC test domain', '', NULL); +INSERT INTO base.tx_context (txid, txtimestamp, currentsubject, assumedroles, currenttask, currentrequest, seqtxid) VALUES ('1108', '2025-01-27 15:34:17.598661', '', '{}', 'creating contact test-data', '', NULL); +INSERT INTO base.tx_context (txid, txtimestamp, currentsubject, assumedroles, currenttask, currentrequest, seqtxid) VALUES ('1164', '2025-01-27 15:34:17.804113', '', '{}', 'creating person test-data', '', NULL); +INSERT INTO base.tx_context (txid, txtimestamp, currentsubject, assumedroles, currenttask, currentrequest, seqtxid) VALUES ('1219', '2025-01-27 15:34:18.054056', '', '{}', 'create INSERT INTO hs_office.relation permissions for pre-exising hs_office.person rows', '', NULL); +INSERT INTO base.tx_context (txid, txtimestamp, currentsubject, assumedroles, currenttask, currentrequest, seqtxid) VALUES ('1244', '2025-01-27 15:34:18.154226', 'superuser-alex@hostsharing.net', '{rbac.global#global:ADMIN}', 'creating relation test-data', '', NULL); +INSERT INTO base.tx_context (txid, txtimestamp, currentsubject, assumedroles, currenttask, currentrequest, seqtxid) VALUES ('1309', '2025-01-27 15:34:18.512909', '', '{}', 'create INSERT INTO hs_office.partner permissions for pre-exising rbac.global rows', '', NULL); +INSERT INTO base.tx_context (txid, txtimestamp, currentsubject, assumedroles, currenttask, currentrequest, seqtxid) VALUES ('1326', '2025-01-27 15:34:18.59541', '', '{}', 'create INSERT INTO hs_office.partner_details permissions for pre-exising rbac.global rows', '', NULL); +INSERT INTO base.tx_context (txid, txtimestamp, currentsubject, assumedroles, currenttask, currentrequest, seqtxid) VALUES ('1350', '2025-01-27 15:34:18.739242', 'superuser-alex@hostsharing.net', '{rbac.global#global:ADMIN}', 'creating partner test-data ', '', NULL); +INSERT INTO base.tx_context (txid, txtimestamp, currentsubject, assumedroles, currenttask, currentrequest, seqtxid) VALUES ('1398', '2025-01-27 15:34:18.872672', '', '{}', 'creating bankaccount test-data', '', NULL); +INSERT INTO base.tx_context (txid, txtimestamp, currentsubject, assumedroles, currenttask, currentrequest, seqtxid) VALUES ('1438', '2025-01-27 15:34:19.007502', '', '{}', 'create INSERT INTO hs_office.debitor permissions for pre-exising rbac.global rows', '', NULL); +INSERT INTO base.tx_context (txid, txtimestamp, currentsubject, assumedroles, currenttask, currentrequest, seqtxid) VALUES ('1451', '2025-01-27 15:34:19.070763', 'superuser-alex@hostsharing.net', '{rbac.global#global:ADMIN}', 'creating debitor test-data', '', NULL); +INSERT INTO base.tx_context (txid, txtimestamp, currentsubject, assumedroles, currenttask, currentrequest, seqtxid) VALUES ('1472', '2025-01-27 15:34:19.177715', '', '{}', 'create INSERT INTO hs_office.sepamandate permissions for pre-exising hs_office.relation rows', '', NULL); +INSERT INTO base.tx_context (txid, txtimestamp, currentsubject, assumedroles, currenttask, currentrequest, seqtxid) VALUES ('1500', '2025-01-27 15:34:19.354187', 'superuser-alex@hostsharing.net', '{rbac.global#global:ADMIN}', 'creating SEPA-mandate test-data', '', NULL); +INSERT INTO base.tx_context (txid, txtimestamp, currentsubject, assumedroles, currenttask, currentrequest, seqtxid) VALUES ('1521', '2025-01-27 15:34:19.507316', '', '{}', 'create INSERT INTO hs_office.membership permissions for pre-exising rbac.global rows', '', NULL); +INSERT INTO base.tx_context (txid, txtimestamp, currentsubject, assumedroles, currenttask, currentrequest, seqtxid) VALUES ('1534', '2025-01-27 15:34:19.578193', 'superuser-alex@hostsharing.net', '{rbac.global#global:ADMIN}', 'creating Membership test-data', '', NULL); +INSERT INTO base.tx_context (txid, txtimestamp, currentsubject, assumedroles, currenttask, currentrequest, seqtxid) VALUES ('1559', '2025-01-27 15:34:19.779312', '', '{}', 'create INSERT INTO hs_office.coopsharetx permissions for pre-exising hs_office.membership rows', '', NULL); +INSERT INTO base.tx_context (txid, txtimestamp, currentsubject, assumedroles, currenttask, currentrequest, seqtxid) VALUES ('1585', '2025-01-27 15:34:19.925386', 'superuser-alex@hostsharing.net', '{rbac.global#global:ADMIN}', 'creating coopSharesTransaction test-data', '', NULL); +INSERT INTO base.tx_context (txid, txtimestamp, currentsubject, assumedroles, currenttask, currentrequest, seqtxid) VALUES ('1625', '2025-01-27 15:34:20.11469', '', '{}', 'create INSERT INTO hs_office.coopassettx permissions for pre-exising hs_office.membership rows', '', NULL); +INSERT INTO base.tx_context (txid, txtimestamp, currentsubject, assumedroles, currenttask, currentrequest, seqtxid) VALUES ('1651', '2025-01-27 15:34:20.285257', 'superuser-alex@hostsharing.net', '{rbac.global#global:ADMIN}', 'creating coopAssetsTransaction test-data', '', NULL); +INSERT INTO base.tx_context (txid, txtimestamp, currentsubject, assumedroles, currenttask, currentrequest, seqtxid) VALUES ('770', '2025-06-06 10:23:06.618306', '', '{}', 'creating person test-data', '', 0); +INSERT INTO base.tx_context (txid, txtimestamp, currentsubject, assumedroles, currenttask, currentrequest, seqtxid) VALUES ('816', '2025-06-06 10:23:07.65524', 'superuser-alex@hostsharing.net', '{rbac.global#global:ADMIN}', 'creating Membership test-data', '', 1); -- @@ -11943,6 +12110,7 @@ INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelt 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 ('770', 'rbac.object', '31e75384-0f88-4630-89f3-1d93ac8f7382', 'INSERT', '{"uuid": "31e75384-0f88-4630-89f3-1d93ac8f7382", "serialid": 130, "objecttable": "hs_office.person"}'); 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"}'); @@ -11980,6 +12148,80 @@ INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelt 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}'); +INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('770', 'rbac.subject', '57b796ca-f74b-4255-9224-235a0a32a0b1', 'INSERT', '{"name": "person-HostmasterAlex@example.com", "uuid": "57b796ca-f74b-4255-9224-235a0a32a0b1"}'); +INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('770', 'rbac.object', 'b93ce259-715c-4e8c-ae42-011adabff871', 'INSERT', '{"uuid": "b93ce259-715c-4e8c-ae42-011adabff871", "serialid": 129, "objecttable": "hs_office.person"}'); +INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('770', 'rbac.role', '268cb462-2ba2-4910-be8e-62c9e5154191', 'INSERT', '{"uuid": "268cb462-2ba2-4910-be8e-62c9e5154191", "roletype": "OWNER", "objectuuid": "b93ce259-715c-4e8c-ae42-011adabff871"}'); +INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('770', 'rbac.permission', 'cc577d4c-20c8-4f24-8d8f-f9dfb58220c4', 'INSERT', '{"op": "DELETE", "uuid": "cc577d4c-20c8-4f24-8d8f-f9dfb58220c4", "objectuuid": "b93ce259-715c-4e8c-ae42-011adabff871", "optablename": null}'); +INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('770', 'rbac.grant', 'a9b3d27f-c665-4e36-9bf9-26eecaaef677', 'INSERT', '{"uuid": "a9b3d27f-c665-4e36-9bf9-26eecaaef677", "assumed": true, "ascendantuuid": "268cb462-2ba2-4910-be8e-62c9e5154191", "descendantuuid": "cc577d4c-20c8-4f24-8d8f-f9dfb58220c4", "grantedbyroleuuid": null, "grantedbytriggerof": "b93ce259-715c-4e8c-ae42-011adabff871"}'); +INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('770', 'rbac.grant', '453eb766-346f-4c57-8009-569439ea9066', 'INSERT', '{"uuid": "453eb766-346f-4c57-8009-569439ea9066", "assumed": true, "ascendantuuid": "afc6a14a-f8c7-4c17-9b91-b615833bc002", "descendantuuid": "268cb462-2ba2-4910-be8e-62c9e5154191", "grantedbyroleuuid": null, "grantedbytriggerof": "b93ce259-715c-4e8c-ae42-011adabff871"}'); +INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('770', 'rbac.grant', '5da034d3-1117-400c-870b-50ab1c54ef8a', 'INSERT', '{"uuid": "5da034d3-1117-400c-870b-50ab1c54ef8a", "assumed": true, "ascendantuuid": "57b796ca-f74b-4255-9224-235a0a32a0b1", "descendantuuid": "268cb462-2ba2-4910-be8e-62c9e5154191", "grantedbyroleuuid": "268cb462-2ba2-4910-be8e-62c9e5154191", "grantedbytriggerof": null}'); +INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('770', 'rbac.role', '999308b7-757b-419c-805a-6d4beb0b63b5', 'INSERT', '{"uuid": "999308b7-757b-419c-805a-6d4beb0b63b5", "roletype": "ADMIN", "objectuuid": "b93ce259-715c-4e8c-ae42-011adabff871"}'); +INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('770', 'rbac.permission', '0d07e1e7-a443-427c-b633-398503222db7', 'INSERT', '{"op": "UPDATE", "uuid": "0d07e1e7-a443-427c-b633-398503222db7", "objectuuid": "b93ce259-715c-4e8c-ae42-011adabff871", "optablename": null}'); +INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('770', 'rbac.grant', 'a0dc4f3a-674a-471c-85c0-c3e8b504e8e9', 'INSERT', '{"uuid": "a0dc4f3a-674a-471c-85c0-c3e8b504e8e9", "assumed": true, "ascendantuuid": "999308b7-757b-419c-805a-6d4beb0b63b5", "descendantuuid": "0d07e1e7-a443-427c-b633-398503222db7", "grantedbyroleuuid": null, "grantedbytriggerof": "b93ce259-715c-4e8c-ae42-011adabff871"}'); +INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('770', 'rbac.grant', 'c29df78e-dca2-45d1-91b1-3f5d2094266f', 'INSERT', '{"uuid": "c29df78e-dca2-45d1-91b1-3f5d2094266f", "assumed": true, "ascendantuuid": "268cb462-2ba2-4910-be8e-62c9e5154191", "descendantuuid": "999308b7-757b-419c-805a-6d4beb0b63b5", "grantedbyroleuuid": null, "grantedbytriggerof": "b93ce259-715c-4e8c-ae42-011adabff871"}'); +INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('770', 'rbac.role', '009c23f1-54bd-4494-a1cf-38d814755d97', 'INSERT', '{"uuid": "009c23f1-54bd-4494-a1cf-38d814755d97", "roletype": "REFERRER", "objectuuid": "b93ce259-715c-4e8c-ae42-011adabff871"}'); +INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('770', 'rbac.permission', '7c5ee62a-1c61-4e79-ad24-da18e3f013a7', 'INSERT', '{"op": "SELECT", "uuid": "7c5ee62a-1c61-4e79-ad24-da18e3f013a7", "objectuuid": "b93ce259-715c-4e8c-ae42-011adabff871", "optablename": null}'); +INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('770', 'rbac.grant', '2b850c3c-6988-4494-a1b3-cd3b0cccff57', 'INSERT', '{"uuid": "2b850c3c-6988-4494-a1b3-cd3b0cccff57", "assumed": true, "ascendantuuid": "009c23f1-54bd-4494-a1cf-38d814755d97", "descendantuuid": "7c5ee62a-1c61-4e79-ad24-da18e3f013a7", "grantedbyroleuuid": null, "grantedbytriggerof": "b93ce259-715c-4e8c-ae42-011adabff871"}'); +INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('770', 'rbac.grant', 'c66d6988-0d8c-4ac0-a631-808346da090c', 'INSERT', '{"uuid": "c66d6988-0d8c-4ac0-a631-808346da090c", "assumed": true, "ascendantuuid": "999308b7-757b-419c-805a-6d4beb0b63b5", "descendantuuid": "009c23f1-54bd-4494-a1cf-38d814755d97", "grantedbyroleuuid": null, "grantedbytriggerof": "b93ce259-715c-4e8c-ae42-011adabff871"}'); +INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('770', 'rbac.permission', 'e0114dfa-e7b4-4913-b34b-d4669d6392af', 'INSERT', '{"op": "INSERT", "uuid": "e0114dfa-e7b4-4913-b34b-d4669d6392af", "objectuuid": "b93ce259-715c-4e8c-ae42-011adabff871", "optablename": "hs_office.relation"}'); +INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('770', 'rbac.grant', 'b344ab66-b207-4498-940f-67223108878e', 'INSERT', '{"uuid": "b344ab66-b207-4498-940f-67223108878e", "assumed": true, "ascendantuuid": "999308b7-757b-419c-805a-6d4beb0b63b5", "descendantuuid": "e0114dfa-e7b4-4913-b34b-d4669d6392af", "grantedbyroleuuid": null, "grantedbytriggerof": null}'); +INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('770', 'hs_office.person', 'b93ce259-715c-4e8c-ae42-011adabff871', 'INSERT', '{"uuid": "b93ce259-715c-4e8c-ae42-011adabff871", "title": null, "version": 0, "givenname": "Alex", "tradename": null, "familyname": "Hostmaster", "persontype": "NP", "salutation": null}'); +INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('770', 'rbac.subject', 'd5546ccd-e41f-4aa0-8edb-de4f8b1df748', 'INSERT', '{"name": "person-HostmasterFran@example.com", "uuid": "d5546ccd-e41f-4aa0-8edb-de4f8b1df748"}'); +INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('770', 'rbac.role', '574ed5f9-a824-4e7c-9b4e-cf7497a2fa88', 'INSERT', '{"uuid": "574ed5f9-a824-4e7c-9b4e-cf7497a2fa88", "roletype": "OWNER", "objectuuid": "31e75384-0f88-4630-89f3-1d93ac8f7382"}'); +INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('770', 'rbac.permission', 'c95116d5-c6b1-4d2c-943c-c4e90850ee75', 'INSERT', '{"op": "DELETE", "uuid": "c95116d5-c6b1-4d2c-943c-c4e90850ee75", "objectuuid": "31e75384-0f88-4630-89f3-1d93ac8f7382", "optablename": null}'); +INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('770', 'rbac.grant', '7e2a32c4-651d-44a1-b60a-e22e4c255221', 'INSERT', '{"uuid": "7e2a32c4-651d-44a1-b60a-e22e4c255221", "assumed": true, "ascendantuuid": "574ed5f9-a824-4e7c-9b4e-cf7497a2fa88", "descendantuuid": "c95116d5-c6b1-4d2c-943c-c4e90850ee75", "grantedbyroleuuid": null, "grantedbytriggerof": "31e75384-0f88-4630-89f3-1d93ac8f7382"}'); +INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('770', 'rbac.grant', '759583b1-f392-4b0d-92fa-b1e75711b4a9', 'INSERT', '{"uuid": "759583b1-f392-4b0d-92fa-b1e75711b4a9", "assumed": true, "ascendantuuid": "afc6a14a-f8c7-4c17-9b91-b615833bc002", "descendantuuid": "574ed5f9-a824-4e7c-9b4e-cf7497a2fa88", "grantedbyroleuuid": null, "grantedbytriggerof": "31e75384-0f88-4630-89f3-1d93ac8f7382"}'); +INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('770', 'rbac.grant', '557919d6-1a17-4377-8daa-898f7707b8e3', 'INSERT', '{"uuid": "557919d6-1a17-4377-8daa-898f7707b8e3", "assumed": true, "ascendantuuid": "d5546ccd-e41f-4aa0-8edb-de4f8b1df748", "descendantuuid": "574ed5f9-a824-4e7c-9b4e-cf7497a2fa88", "grantedbyroleuuid": "574ed5f9-a824-4e7c-9b4e-cf7497a2fa88", "grantedbytriggerof": null}'); +INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('770', 'rbac.role', 'f2067171-80b8-4b1a-ab37-0de8081dc034', 'INSERT', '{"uuid": "f2067171-80b8-4b1a-ab37-0de8081dc034", "roletype": "ADMIN", "objectuuid": "31e75384-0f88-4630-89f3-1d93ac8f7382"}'); +INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('770', 'rbac.permission', 'f407f14a-7adb-4de9-b326-0eea55b9b183', 'INSERT', '{"op": "UPDATE", "uuid": "f407f14a-7adb-4de9-b326-0eea55b9b183", "objectuuid": "31e75384-0f88-4630-89f3-1d93ac8f7382", "optablename": null}'); +INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('770', 'rbac.grant', '7e47123f-86ef-4f19-bdcd-2e5291b75edf', 'INSERT', '{"uuid": "7e47123f-86ef-4f19-bdcd-2e5291b75edf", "assumed": true, "ascendantuuid": "f2067171-80b8-4b1a-ab37-0de8081dc034", "descendantuuid": "f407f14a-7adb-4de9-b326-0eea55b9b183", "grantedbyroleuuid": null, "grantedbytriggerof": "31e75384-0f88-4630-89f3-1d93ac8f7382"}'); +INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('770', 'rbac.grant', '169d348e-fbc6-4ea8-b5e4-c0765510a9c8', 'INSERT', '{"uuid": "169d348e-fbc6-4ea8-b5e4-c0765510a9c8", "assumed": true, "ascendantuuid": "574ed5f9-a824-4e7c-9b4e-cf7497a2fa88", "descendantuuid": "f2067171-80b8-4b1a-ab37-0de8081dc034", "grantedbyroleuuid": null, "grantedbytriggerof": "31e75384-0f88-4630-89f3-1d93ac8f7382"}'); +INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('770', 'rbac.role', '4ea19fa4-4eac-4c4a-94f0-36b05b35c2b7', 'INSERT', '{"uuid": "4ea19fa4-4eac-4c4a-94f0-36b05b35c2b7", "roletype": "REFERRER", "objectuuid": "31e75384-0f88-4630-89f3-1d93ac8f7382"}'); +INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('770', 'rbac.permission', 'b86a23c2-753a-4d42-9859-25263d5313f2', 'INSERT', '{"op": "SELECT", "uuid": "b86a23c2-753a-4d42-9859-25263d5313f2", "objectuuid": "31e75384-0f88-4630-89f3-1d93ac8f7382", "optablename": null}'); +INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('770', 'rbac.grant', '77a6c694-005e-41a8-882c-518586ea2e04', 'INSERT', '{"uuid": "77a6c694-005e-41a8-882c-518586ea2e04", "assumed": true, "ascendantuuid": "4ea19fa4-4eac-4c4a-94f0-36b05b35c2b7", "descendantuuid": "b86a23c2-753a-4d42-9859-25263d5313f2", "grantedbyroleuuid": null, "grantedbytriggerof": "31e75384-0f88-4630-89f3-1d93ac8f7382"}'); +INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('770', 'rbac.grant', '0fa3a1d5-6ae5-486f-a4af-982c17d6c60f', 'INSERT', '{"uuid": "0fa3a1d5-6ae5-486f-a4af-982c17d6c60f", "assumed": true, "ascendantuuid": "f2067171-80b8-4b1a-ab37-0de8081dc034", "descendantuuid": "4ea19fa4-4eac-4c4a-94f0-36b05b35c2b7", "grantedbyroleuuid": null, "grantedbytriggerof": "31e75384-0f88-4630-89f3-1d93ac8f7382"}'); +INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('770', 'rbac.permission', '5f304d8e-dbde-4e43-8038-e96023063473', 'INSERT', '{"op": "INSERT", "uuid": "5f304d8e-dbde-4e43-8038-e96023063473", "objectuuid": "31e75384-0f88-4630-89f3-1d93ac8f7382", "optablename": "hs_office.relation"}'); +INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('770', 'rbac.grant', '7a6d6956-2740-4ab2-b614-9a6096c8bb4c', 'INSERT', '{"uuid": "7a6d6956-2740-4ab2-b614-9a6096c8bb4c", "assumed": true, "ascendantuuid": "f2067171-80b8-4b1a-ab37-0de8081dc034", "descendantuuid": "5f304d8e-dbde-4e43-8038-e96023063473", "grantedbyroleuuid": null, "grantedbytriggerof": null}'); +INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('770', 'hs_office.person', '31e75384-0f88-4630-89f3-1d93ac8f7382', 'INSERT', '{"uuid": "31e75384-0f88-4630-89f3-1d93ac8f7382", "title": null, "version": 0, "givenname": "Fran", "tradename": null, "familyname": "Hostmaster", "persontype": "NP", "salutation": null}'); +INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('770', 'rbac.subject', '8eece937-d4fa-4334-8bbe-f488336684b6', 'INSERT', '{"name": "person-UserDrew@example.com", "uuid": "8eece937-d4fa-4334-8bbe-f488336684b6"}'); +INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('770', 'rbac.object', 'c8a8b54b-0911-4803-b21b-7f59d883c9fb', 'INSERT', '{"uuid": "c8a8b54b-0911-4803-b21b-7f59d883c9fb", "serialid": 131, "objecttable": "hs_office.person"}'); +INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('770', 'rbac.role', '77c3dd90-b6a8-41fd-ad38-ab860766d0b0', 'INSERT', '{"uuid": "77c3dd90-b6a8-41fd-ad38-ab860766d0b0", "roletype": "OWNER", "objectuuid": "c8a8b54b-0911-4803-b21b-7f59d883c9fb"}'); +INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('770', 'rbac.permission', '5d1f9d39-65ec-445b-bc4a-ea8ca8deda7b', 'INSERT', '{"op": "DELETE", "uuid": "5d1f9d39-65ec-445b-bc4a-ea8ca8deda7b", "objectuuid": "c8a8b54b-0911-4803-b21b-7f59d883c9fb", "optablename": null}'); +INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('770', 'rbac.grant', '6e3932a6-7630-472a-9bbe-8087cb9bf4d4', 'INSERT', '{"uuid": "6e3932a6-7630-472a-9bbe-8087cb9bf4d4", "assumed": true, "ascendantuuid": "77c3dd90-b6a8-41fd-ad38-ab860766d0b0", "descendantuuid": "5d1f9d39-65ec-445b-bc4a-ea8ca8deda7b", "grantedbyroleuuid": null, "grantedbytriggerof": "c8a8b54b-0911-4803-b21b-7f59d883c9fb"}'); +INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('770', 'rbac.grant', '2a18c28b-9586-468b-9fb0-bc0c96e0e010', 'INSERT', '{"uuid": "2a18c28b-9586-468b-9fb0-bc0c96e0e010", "assumed": true, "ascendantuuid": "afc6a14a-f8c7-4c17-9b91-b615833bc002", "descendantuuid": "77c3dd90-b6a8-41fd-ad38-ab860766d0b0", "grantedbyroleuuid": null, "grantedbytriggerof": "c8a8b54b-0911-4803-b21b-7f59d883c9fb"}'); +INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('770', 'rbac.grant', 'bb698100-ea44-4dff-83fe-07bcc26465df', 'INSERT', '{"uuid": "bb698100-ea44-4dff-83fe-07bcc26465df", "assumed": true, "ascendantuuid": "8eece937-d4fa-4334-8bbe-f488336684b6", "descendantuuid": "77c3dd90-b6a8-41fd-ad38-ab860766d0b0", "grantedbyroleuuid": "77c3dd90-b6a8-41fd-ad38-ab860766d0b0", "grantedbytriggerof": null}'); +INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('770', 'rbac.role', '8a447eae-77f8-4a69-ae9e-48a7120f9df9', 'INSERT', '{"uuid": "8a447eae-77f8-4a69-ae9e-48a7120f9df9", "roletype": "ADMIN", "objectuuid": "c8a8b54b-0911-4803-b21b-7f59d883c9fb"}'); +INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('770', 'rbac.permission', '4674d9d5-3567-400e-b750-e9e1a50e72ef', 'INSERT', '{"op": "UPDATE", "uuid": "4674d9d5-3567-400e-b750-e9e1a50e72ef", "objectuuid": "c8a8b54b-0911-4803-b21b-7f59d883c9fb", "optablename": null}'); +INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('770', 'rbac.grant', 'b1364a89-9188-4bb4-bf7d-8213e890e7ba', 'INSERT', '{"uuid": "b1364a89-9188-4bb4-bf7d-8213e890e7ba", "assumed": true, "ascendantuuid": "8a447eae-77f8-4a69-ae9e-48a7120f9df9", "descendantuuid": "4674d9d5-3567-400e-b750-e9e1a50e72ef", "grantedbyroleuuid": null, "grantedbytriggerof": "c8a8b54b-0911-4803-b21b-7f59d883c9fb"}'); +INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('770', 'rbac.grant', '2f23174d-38cf-44d2-bb92-532c822ae5c2', 'INSERT', '{"uuid": "2f23174d-38cf-44d2-bb92-532c822ae5c2", "assumed": true, "ascendantuuid": "77c3dd90-b6a8-41fd-ad38-ab860766d0b0", "descendantuuid": "8a447eae-77f8-4a69-ae9e-48a7120f9df9", "grantedbyroleuuid": null, "grantedbytriggerof": "c8a8b54b-0911-4803-b21b-7f59d883c9fb"}'); +INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('770', 'rbac.role', '7939df21-5401-4544-8b9d-c6a517187092', 'INSERT', '{"uuid": "7939df21-5401-4544-8b9d-c6a517187092", "roletype": "REFERRER", "objectuuid": "c8a8b54b-0911-4803-b21b-7f59d883c9fb"}'); +INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('770', 'rbac.permission', 'eac22245-9ba0-4da1-a143-02e68bdbc071', 'INSERT', '{"op": "SELECT", "uuid": "eac22245-9ba0-4da1-a143-02e68bdbc071", "objectuuid": "c8a8b54b-0911-4803-b21b-7f59d883c9fb", "optablename": null}'); +INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('770', 'rbac.grant', 'a96fc591-55db-4d15-91fa-70dbce27840e', 'INSERT', '{"uuid": "a96fc591-55db-4d15-91fa-70dbce27840e", "assumed": true, "ascendantuuid": "7939df21-5401-4544-8b9d-c6a517187092", "descendantuuid": "eac22245-9ba0-4da1-a143-02e68bdbc071", "grantedbyroleuuid": null, "grantedbytriggerof": "c8a8b54b-0911-4803-b21b-7f59d883c9fb"}'); +INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('770', 'rbac.grant', '875a339a-00ba-4c38-a777-84ba06f84667', 'INSERT', '{"uuid": "875a339a-00ba-4c38-a777-84ba06f84667", "assumed": true, "ascendantuuid": "8a447eae-77f8-4a69-ae9e-48a7120f9df9", "descendantuuid": "7939df21-5401-4544-8b9d-c6a517187092", "grantedbyroleuuid": null, "grantedbytriggerof": "c8a8b54b-0911-4803-b21b-7f59d883c9fb"}'); +INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('770', 'rbac.permission', '4f9687d4-94ac-4f76-92a5-8aa3a38a30c1', 'INSERT', '{"op": "INSERT", "uuid": "4f9687d4-94ac-4f76-92a5-8aa3a38a30c1", "objectuuid": "c8a8b54b-0911-4803-b21b-7f59d883c9fb", "optablename": "hs_office.relation"}'); +INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('770', 'rbac.grant', '620e078b-b132-4b2c-9c1d-649a85a1f27a', 'INSERT', '{"uuid": "620e078b-b132-4b2c-9c1d-649a85a1f27a", "assumed": true, "ascendantuuid": "8a447eae-77f8-4a69-ae9e-48a7120f9df9", "descendantuuid": "4f9687d4-94ac-4f76-92a5-8aa3a38a30c1", "grantedbyroleuuid": null, "grantedbytriggerof": null}'); +INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('770', 'hs_office.person', 'c8a8b54b-0911-4803-b21b-7f59d883c9fb', 'INSERT', '{"uuid": "c8a8b54b-0911-4803-b21b-7f59d883c9fb", "title": null, "version": 0, "givenname": "Drew", "tradename": null, "familyname": "User", "persontype": "NP", "salutation": null}'); +INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('770', 'rbac.subject', 'd29d59ff-3a49-48df-b265-99c913b428f5', 'INSERT', '{"name": "person-UserTest@example.com", "uuid": "d29d59ff-3a49-48df-b265-99c913b428f5"}'); +INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('770', 'rbac.object', '1a66c5e8-5f47-4204-97c9-f607ee9c336e', 'INSERT', '{"uuid": "1a66c5e8-5f47-4204-97c9-f607ee9c336e", "serialid": 132, "objecttable": "hs_office.person"}'); +INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('770', 'rbac.role', '91f083fc-dbec-4ce2-8761-10993bc09fe8', 'INSERT', '{"uuid": "91f083fc-dbec-4ce2-8761-10993bc09fe8", "roletype": "OWNER", "objectuuid": "1a66c5e8-5f47-4204-97c9-f607ee9c336e"}'); +INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('770', 'rbac.permission', '6f70a61f-fb49-42bf-9a64-c54267e18e94', 'INSERT', '{"op": "DELETE", "uuid": "6f70a61f-fb49-42bf-9a64-c54267e18e94", "objectuuid": "1a66c5e8-5f47-4204-97c9-f607ee9c336e", "optablename": null}'); +INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('770', 'rbac.grant', '4ceb406b-2f7a-4f88-83be-ee3f1721e8ef', 'INSERT', '{"uuid": "4ceb406b-2f7a-4f88-83be-ee3f1721e8ef", "assumed": true, "ascendantuuid": "91f083fc-dbec-4ce2-8761-10993bc09fe8", "descendantuuid": "6f70a61f-fb49-42bf-9a64-c54267e18e94", "grantedbyroleuuid": null, "grantedbytriggerof": "1a66c5e8-5f47-4204-97c9-f607ee9c336e"}'); +INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('770', 'rbac.grant', '730b3c27-3bb9-4d47-879b-73bc28e6d3dc', 'INSERT', '{"uuid": "730b3c27-3bb9-4d47-879b-73bc28e6d3dc", "assumed": true, "ascendantuuid": "afc6a14a-f8c7-4c17-9b91-b615833bc002", "descendantuuid": "91f083fc-dbec-4ce2-8761-10993bc09fe8", "grantedbyroleuuid": null, "grantedbytriggerof": "1a66c5e8-5f47-4204-97c9-f607ee9c336e"}'); +INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('770', 'rbac.grant', 'a5e8901c-fb79-4725-8364-b0acac8f4ac4', 'INSERT', '{"uuid": "a5e8901c-fb79-4725-8364-b0acac8f4ac4", "assumed": true, "ascendantuuid": "d29d59ff-3a49-48df-b265-99c913b428f5", "descendantuuid": "91f083fc-dbec-4ce2-8761-10993bc09fe8", "grantedbyroleuuid": "91f083fc-dbec-4ce2-8761-10993bc09fe8", "grantedbytriggerof": null}'); +INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('770', 'rbac.role', '409fb0cf-7c00-4180-8bd0-2f8b00625e41', 'INSERT', '{"uuid": "409fb0cf-7c00-4180-8bd0-2f8b00625e41", "roletype": "ADMIN", "objectuuid": "1a66c5e8-5f47-4204-97c9-f607ee9c336e"}'); +INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('770', 'rbac.permission', '3bf2f19a-1283-46a0-9868-1493c8a740e7', 'INSERT', '{"op": "UPDATE", "uuid": "3bf2f19a-1283-46a0-9868-1493c8a740e7", "objectuuid": "1a66c5e8-5f47-4204-97c9-f607ee9c336e", "optablename": null}'); +INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('770', 'rbac.grant', 'f49eba98-5a6a-421c-a443-f06683b60c28', 'INSERT', '{"uuid": "f49eba98-5a6a-421c-a443-f06683b60c28", "assumed": true, "ascendantuuid": "409fb0cf-7c00-4180-8bd0-2f8b00625e41", "descendantuuid": "3bf2f19a-1283-46a0-9868-1493c8a740e7", "grantedbyroleuuid": null, "grantedbytriggerof": "1a66c5e8-5f47-4204-97c9-f607ee9c336e"}'); +INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('770', 'rbac.grant', '0c64fa1e-85ed-4feb-8e46-a63c3ef045c2', 'INSERT', '{"uuid": "0c64fa1e-85ed-4feb-8e46-a63c3ef045c2", "assumed": true, "ascendantuuid": "91f083fc-dbec-4ce2-8761-10993bc09fe8", "descendantuuid": "409fb0cf-7c00-4180-8bd0-2f8b00625e41", "grantedbyroleuuid": null, "grantedbytriggerof": "1a66c5e8-5f47-4204-97c9-f607ee9c336e"}'); +INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('770', 'rbac.role', '7f6973f3-a5f3-4ce8-84a0-e1b9aa24b42d', 'INSERT', '{"uuid": "7f6973f3-a5f3-4ce8-84a0-e1b9aa24b42d", "roletype": "REFERRER", "objectuuid": "1a66c5e8-5f47-4204-97c9-f607ee9c336e"}'); +INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('770', 'rbac.permission', '564cb7ff-7288-4d74-845d-3084b0246be6', 'INSERT', '{"op": "SELECT", "uuid": "564cb7ff-7288-4d74-845d-3084b0246be6", "objectuuid": "1a66c5e8-5f47-4204-97c9-f607ee9c336e", "optablename": null}'); +INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('770', 'rbac.grant', '082823dc-fe7b-41a3-a525-9a8caf00432b', 'INSERT', '{"uuid": "082823dc-fe7b-41a3-a525-9a8caf00432b", "assumed": true, "ascendantuuid": "7f6973f3-a5f3-4ce8-84a0-e1b9aa24b42d", "descendantuuid": "564cb7ff-7288-4d74-845d-3084b0246be6", "grantedbyroleuuid": null, "grantedbytriggerof": "1a66c5e8-5f47-4204-97c9-f607ee9c336e"}'); +INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('770', 'rbac.grant', '41dd9636-d5bd-4665-94c4-6e99201aa447', 'INSERT', '{"uuid": "41dd9636-d5bd-4665-94c4-6e99201aa447", "assumed": true, "ascendantuuid": "409fb0cf-7c00-4180-8bd0-2f8b00625e41", "descendantuuid": "7f6973f3-a5f3-4ce8-84a0-e1b9aa24b42d", "grantedbyroleuuid": null, "grantedbytriggerof": "1a66c5e8-5f47-4204-97c9-f607ee9c336e"}'); +INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('770', 'rbac.permission', '49257b61-bd21-4673-a2b3-45384d142829', 'INSERT', '{"op": "INSERT", "uuid": "49257b61-bd21-4673-a2b3-45384d142829", "objectuuid": "1a66c5e8-5f47-4204-97c9-f607ee9c336e", "optablename": "hs_office.relation"}'); +INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('770', 'rbac.grant', '3b70db96-9607-4eb7-b661-f3128e89dbdb', 'INSERT', '{"uuid": "3b70db96-9607-4eb7-b661-f3128e89dbdb", "assumed": true, "ascendantuuid": "409fb0cf-7c00-4180-8bd0-2f8b00625e41", "descendantuuid": "49257b61-bd21-4673-a2b3-45384d142829", "grantedbyroleuuid": null, "grantedbytriggerof": null}'); +INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('770', 'hs_office.person', '1a66c5e8-5f47-4204-97c9-f607ee9c336e', 'INSERT', '{"uuid": "1a66c5e8-5f47-4204-97c9-f607ee9c336e", "title": null, "version": 0, "givenname": "Test", "tradename": null, "familyname": "User", "persontype": "NP", "salutation": null}'); +INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('816', 'hs_office.membership', '4330e211-e36c-45ec-9332-f7593ff42811', 'UPDATE', '{"status": "CANCELLED", "validity": "[2022-10-01,2024-12-31)"}'); +INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('816', 'hs_office.membership', 'bed3c145-aa55-425f-9211-be9f5e9f4ebe', 'UPDATE', '{"status": "CANCELLED"}'); +INSERT INTO base.tx_journal (txid, targettable, targetuuid, targetop, targetdelta) VALUES ('816', 'hs_office.membership', 'a42d61c5-7dad-4379-9dd9-39a8d21ddc32', 'UPDATE', '{}'); -- @@ -12129,8 +12371,8 @@ INSERT INTO hs_office.debitor (uuid, version, debitornumbersuffix, debitorreluui -- 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,2025-01-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,2026-01-01)', 'ACTIVE', true); +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,2024-12-31)', 'CANCELLED', 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,2026-01-01)', 'CANCELLED', 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); @@ -12184,6 +12426,10 @@ INSERT INTO hs_office.person (uuid, version, persontype, tradename, salutation, 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'); +INSERT INTO hs_office.person (uuid, version, persontype, tradename, salutation, title, givenname, familyname) VALUES ('b93ce259-715c-4e8c-ae42-011adabff871', 0, 'NP', NULL, NULL, NULL, 'Alex', 'Hostmaster'); +INSERT INTO hs_office.person (uuid, version, persontype, tradename, salutation, title, givenname, familyname) VALUES ('31e75384-0f88-4630-89f3-1d93ac8f7382', 0, 'NP', NULL, NULL, NULL, 'Fran', 'Hostmaster'); +INSERT INTO hs_office.person (uuid, version, persontype, tradename, salutation, title, givenname, familyname) VALUES ('c8a8b54b-0911-4803-b21b-7f59d883c9fb', 0, 'NP', NULL, NULL, NULL, 'Drew', 'User'); +INSERT INTO hs_office.person (uuid, version, persontype, tradename, salutation, title, givenname, familyname) VALUES ('1a66c5e8-5f47-4204-97c9-f607ee9c336e', 0, 'NP', NULL, NULL, NULL, 'Test', 'User'); -- @@ -12248,12 +12494,9 @@ INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, ordere 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'); @@ -12279,16 +12522,13 @@ INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, ordere 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'); @@ -12297,22 +12537,18 @@ INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, ordere 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-views-ROLE-RESTRICTED-VIEW', 'michael.hoennig', 'db/changelog/1-rbac/1055-rbac-views.sql', '2025-06-06 10:23:06.045627', 297, 'RERAN', '9:d3ae4f43e67f2c249c5b91880da20ee6', 'sql', '', NULL, '4.29.2', NULL, NULL, '9198184942'); 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 ('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'); @@ -12323,8 +12559,6 @@ INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, ordere 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'); @@ -12335,8 +12569,6 @@ INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, ordere 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'); @@ -12349,7 +12581,6 @@ INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, ordere 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'); @@ -12365,7 +12596,6 @@ INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, ordere 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'); @@ -12376,12 +12606,9 @@ INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, ordere 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'); @@ -12392,8 +12619,6 @@ INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, ordere 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'); @@ -12401,7 +12626,6 @@ INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, ordere 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'); @@ -12418,7 +12642,6 @@ INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, ordere 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'); @@ -12429,8 +12652,6 @@ INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, ordere 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'); @@ -12442,7 +12663,6 @@ INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, ordere 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'); @@ -12460,21 +12680,18 @@ INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, ordere 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-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-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'); @@ -12491,10 +12708,8 @@ INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, ordere 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'); @@ -12514,8 +12729,51 @@ INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, ordere 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'); 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-29 16:04:51.601962', 287, 'RERAN', '9:034a82679cf5cf1be4b9729c55621158', 'sql', '', NULL, '4.29.2', NULL, NULL, '8163091421'); 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-29 16:04:51.636353', 288, 'RERAN', '9:a50fd61a191459e25fb01f5fc079f3e7', 'sql', '', NULL, '4.29.2', '!external-db', NULL, '8163091421'); -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-29 16:04:51.686383', 289, 'RERAN', '9:8e3fd77650d35f24e56b99ae54ba77f1', 'sql', '', NULL, '4.29.2', '!without-test-data', NULL, '8163091421'); INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-global-integration-mlmmj', 'timotheus.pokorra', 'db/changelog/9-hs-global/9130-integration-mlmmj.sql', '2025-01-29 16:04:51.747314', 290, 'EXECUTED', '9:df6c8a724cfdd0c0aa013ba996655ed1', 'sql', '', NULL, '4.29.2', NULL, NULL, '8163091421'); +INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('audit-TX-CONTEXT-TABLE-COLUMN-SEQUENTIAL-TX-ID', 'michael.hoennig', 'db/changelog/0-base/020-audit-log.sql', '2025-06-06 10:23:05.748447', 291, 'EXECUTED', '9:c93458b5eceaf28516649c145b671ccf', 'sql', '', NULL, '4.29.2', NULL, NULL, '9198184942'); +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-06-06 10:23:05.825452', 292, 'RERAN', '9:ad2576ab9e7ddc16b97f0656d8485290', 'sql', '', NULL, '4.29.2', NULL, NULL, '9198184942'); +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-06-06 10:23:05.894941', 293, 'RERAN', '9:341eefd91df31fbbb9f526eeadb39f09', 'sql', '', NULL, '4.29.2', NULL, NULL, '9198184942'); +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-06-06 10:23:05.95136', 294, 'RERAN', '9:e3035906d4d5a237a07b10a8a3f088fa', 'sql', '', NULL, '4.29.2', NULL, NULL, '9198184942'); +INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('base-array-functions-WITHOUT-NULL-VALUES', 'michael.hoennig', 'db/changelog/0-base/040-array-functions.sql', '2025-06-06 10:23:05.992443', 295, 'EXECUTED', '9:df78e31e1f57c164682f96ff74b8304a', 'sql', '', NULL, '4.29.2', NULL, NULL, '9198184942'); +INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('base-array-functions-ADD-IF-NOT-NULLCREATE', 'michael.hoennig', 'db/changelog/0-base/040-array-functions.sql', '2025-06-06 10:23:06.016346', 296, 'EXECUTED', '9:86b8a982abbf4f66c9b04ae8c2725d4e', 'sql', '', NULL, '4.29.2', NULL, NULL, '9198184942'); +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-06-06 10:23:06.074787', 298, 'RERAN', '9:6b3a6c6218caf9e4c268ca3b6610ffeb', 'sql', '', NULL, '4.29.2', NULL, NULL, '9198184942'); +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-06-06 10:23:06.115579', 299, 'RERAN', '9:3fb767cefdbebff43652313702edcfa1', 'sql', '', NULL, '4.29.2', NULL, NULL, '9198184942'); +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-06-06 10:23:06.17343', 300, 'RERAN', '9:39387ae431339fe7ceeafb182adf80c6', 'sql', '', NULL, '4.29.2', NULL, NULL, '9198184942'); +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-06-06 10:23:06.206609', 301, 'RERAN', '9:4b78313b13cd72a22adb67eafcc0af3a', 'sql', '', NULL, '4.29.2', NULL, NULL, '9198184942'); +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-06-06 10:23:06.236207', 302, 'RERAN', '9:d080bed873073bb05f609628ed3ba392', 'sql', '', NULL, '4.29.2', NULL, NULL, '9198184942'); +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-06-06 10:23:06.280587', 303, 'RERAN', '9:1debfae5c87a6b2daa14e2d265a889ee', 'sql', '', NULL, '4.29.2', NULL, NULL, '9198184942'); +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-06-06 10:23:06.319936', 304, 'RERAN', '9:8e3fd77650d35f24e56b99ae54ba77f1', 'sql', '', NULL, '4.29.2', '!without-test-data', NULL, '9198184942'); +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-06-06 10:23:06.354389', 305, 'RERAN', '9:10bfb19f7f9ba36549cca3612d69a59c', 'sql', '', NULL, '4.29.2', '!without-test-data', NULL, '9198184942'); +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-06-06 10:23:06.429503', 306, 'RERAN', '9:3b4664dfb6e2d3e47b5b3e00353d18e9', 'sql', '', NULL, '4.29.2', '!without-test-data', NULL, '9198184942'); +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-06-06 10:23:06.469123', 307, 'RERAN', '9:b5f0307fdaf11ba8da772756b5dd1ccd', 'sql', '', NULL, '4.29.2', '!without-test-data', NULL, '9198184942'); +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-06-06 10:23:06.503298', 308, 'RERAN', '9:4c46eb94f876f9c4e89a1aed0f4cd7da', 'sql', '', NULL, '4.29.2', '!without-test-data', NULL, '9198184942'); +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-06-06 10:23:06.53273', 309, 'RERAN', '9:4d2cdd1bc08df6985622d0c5953bf4ba', 'sql', '', NULL, '4.29.2', '!without-test-data', NULL, '9198184942'); +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-06-06 10:23:06.581665', 310, 'RERAN', '9:b29cf6087a2225d235637a187b5946c2', 'sql', '', NULL, '4.29.2', NULL, NULL, '9198184942'); +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-06-06 10:23:06.611557', 311, 'RERAN', '9:9adfbff372bce3de87410eb7582869f2', 'sql', '', NULL, '4.29.2', NULL, NULL, '9198184942'); +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-FOR-CREDENTIALS', 'michael.hoennig', 'db/changelog/5-hs-office/502-person/5028-hs-office-person-test-data-for-credentials.sql', '2025-06-06 10:23:06.727793', 312, 'EXECUTED', '9:cf05c4705d539d4ea7b0199921f8cc78', 'sql', '', NULL, '4.29.2', '!without-test-data AND !without-test-data', NULL, '9198184942'); +INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-relation-debitor-anchor-CONSTRAINT-BY-TRIGGER', 'marc.sandlus', 'db/changelog/5-hs-office/503-relation/5030-hs-office-relation.sql', '2025-06-06 10:23:06.759158', 313, 'EXECUTED', '9:0623a018f7494b53f87b01d88bc3fa41', 'sql', '', NULL, '4.29.2', NULL, NULL, '9198184942'); +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-06-06 10:23:06.7945', 314, 'RERAN', '9:6fc1a046dcd803edfb0ce77cd127b576', 'sql', '', NULL, '4.29.2', NULL, NULL, '9198184942'); +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-06-06 10:23:06.835025', 315, 'RERAN', '9:6737dfa739a4b9036f3e9e8224019276', 'sql', '', NULL, '4.29.2', NULL, NULL, '9198184942'); +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-06-06 10:23:06.937529', 316, 'RERAN', '9:5b17d8b6f29c29468fc2e6f8d3db272b', 'sql', '', NULL, '4.29.2', NULL, NULL, '9198184942'); +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-06-06 10:23:07.037586', 317, 'RERAN', '9:2f5acf511e4c4ade7df5ccf45bdeef4a', 'sql', '', NULL, '4.29.2', NULL, NULL, '9198184942'); +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-06-06 10:23:07.093423', 318, 'RERAN', '9:2b50eddbf13dc27225870f46b71d9f24', 'sql', '', NULL, '4.29.2', NULL, NULL, '9198184942'); +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-06-06 10:23:07.138161', 319, 'RERAN', '9:390d1d64cb613be6bc32ce11e8bb2adc', 'sql', '', NULL, '4.29.2', NULL, NULL, '9198184942'); +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-06-06 10:23:07.18449', 320, 'RERAN', '9:24badd6359ad90334feb979c191ccaa9', 'sql', '', NULL, '4.29.2', NULL, NULL, '9198184942'); +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-06-06 10:23:07.264228', 321, 'RERAN', '9:6f9607bf12c83a5e2a27068b285336ad', 'sql', '', NULL, '4.29.2', NULL, NULL, '9198184942'); +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-06-06 10:23:07.303382', 322, 'RERAN', '9:1baf8f2d47fc8d900e3e8b30bf2fccc9', 'sql', '', NULL, '4.29.2', NULL, NULL, '9198184942'); +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-06-06 10:23:07.419072', 323, 'RERAN', '9:8ca310521c4abee5dd1a9838335a3825', 'sql', '', NULL, '4.29.2', NULL, NULL, '9198184942'); +INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-office-membership-SINGLE-MEMBERSHIP-CHECK', 'michael.hoennig', 'db/changelog/5-hs-office/510-membership/5100-hs-office-membership.sql', '2025-06-06 10:23:07.53212', 324, 'EXECUTED', '9:e294e99608fe2331659a2cdf393f1c83', 'sql', '', NULL, '4.29.2', NULL, NULL, '9198184942'); +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-06-06 10:23:07.597126', 325, 'RERAN', '9:25bd38f58d1b8bd9f38a13bba7bcb338', 'sql', '', NULL, '4.29.2', NULL, NULL, '9198184942'); +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-06-06 10:23:07.639444', 326, 'RERAN', '9:499e15d0d594a82c1e0a078e987efeaa', 'sql', '', NULL, '4.29.2', '!without-test-data', NULL, '9198184942'); +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-06-06 10:23:07.738716', 327, 'RERAN', '9:7c724f03ed805f90f55c0bbdd25cd355', 'sql', '', NULL, '4.29.2', '!without-test-data AND !without-test-data', NULL, '9198184942'); +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-BY-TRIGGER', 'marc.sandlus', 'db/changelog/5-hs-office/511-coopshares/5110-hs-office-coopshares.sql', '2025-06-06 10:23:07.777894', 328, 'EXECUTED', '9:6e64678b4f20c8b11464489ea14ff521', 'sql', '', NULL, '4.29.2', NULL, NULL, '9198184942'); +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-06-06 10:23:07.824742', 329, 'RERAN', '9:9d5d7bc8a9d8466812799bfacc98ff94', 'sql', '', NULL, '4.29.2', NULL, NULL, '9198184942'); +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-BY-TRIGGER', 'marc.sandlus', 'db/changelog/5-hs-office/512-coopassets/5120-hs-office-coopassets.sql', '2025-06-06 10:23:07.861403', 330, 'EXECUTED', '9:d5778a541abbe5b3ed6d9702b2e7542f', 'sql', '', NULL, '4.29.2', NULL, NULL, '9198184942'); +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-06-06 10:23:07.90233', 331, 'RERAN', '9:e22cabe6a9672640e7f7c2e2399d464f', 'sql', '', NULL, '4.29.2', NULL, NULL, '9198184942'); +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/960-integrations/9600-hs-integration-schema.sql', '2025-06-06 10:23:07.949907', 332, 'EXECUTED', '9:c7ef62e3679e748b43426a9ea2afb6ad', 'sql', '', NULL, '4.29.2', NULL, NULL, '9198184942'); +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/960-integrations/9610-integration-kimai.sql', '2025-06-06 10:23:08.013586', 333, 'EXECUTED', '9:56e481a555f86b471b74aaceacc4b520', 'sql', '', NULL, '4.29.2', NULL, NULL, '9198184942'); +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/960-integrations/9620-integration-znuny.sql', '2025-06-06 10:23:08.161601', 334, 'EXECUTED', '9:48685a4882797575f8bb8c83d5fc9380', 'sql', '', NULL, '4.29.2', NULL, NULL, '9198184942'); +INSERT INTO public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) VALUES ('hs-global-integration-mlmmj', 'timotheus.pokorra', 'db/changelog/9-hs-global/960-integrations/9630-integration-mlmmj.sql', '2025-06-06 10:23:08.218463', 335, 'EXECUTED', '9:df6c8a724cfdd0c0aa013ba996655ed1', 'sql', '', NULL, '4.29.2', NULL, NULL, '9198184942'); -- @@ -13421,6 +13679,38 @@ INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendant 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); +INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('a9b3d27f-c665-4e36-9bf9-26eecaaef677', 'b93ce259-715c-4e8c-ae42-011adabff871', NULL, '268cb462-2ba2-4910-be8e-62c9e5154191', 'cc577d4c-20c8-4f24-8d8f-f9dfb58220c4', true); +INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('453eb766-346f-4c57-8009-569439ea9066', 'b93ce259-715c-4e8c-ae42-011adabff871', NULL, 'afc6a14a-f8c7-4c17-9b91-b615833bc002', '268cb462-2ba2-4910-be8e-62c9e5154191', true); +INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('5da034d3-1117-400c-870b-50ab1c54ef8a', NULL, '268cb462-2ba2-4910-be8e-62c9e5154191', '57b796ca-f74b-4255-9224-235a0a32a0b1', '268cb462-2ba2-4910-be8e-62c9e5154191', true); +INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('a0dc4f3a-674a-471c-85c0-c3e8b504e8e9', 'b93ce259-715c-4e8c-ae42-011adabff871', NULL, '999308b7-757b-419c-805a-6d4beb0b63b5', '0d07e1e7-a443-427c-b633-398503222db7', true); +INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('c29df78e-dca2-45d1-91b1-3f5d2094266f', 'b93ce259-715c-4e8c-ae42-011adabff871', NULL, '268cb462-2ba2-4910-be8e-62c9e5154191', '999308b7-757b-419c-805a-6d4beb0b63b5', true); +INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('2b850c3c-6988-4494-a1b3-cd3b0cccff57', 'b93ce259-715c-4e8c-ae42-011adabff871', NULL, '009c23f1-54bd-4494-a1cf-38d814755d97', '7c5ee62a-1c61-4e79-ad24-da18e3f013a7', true); +INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('c66d6988-0d8c-4ac0-a631-808346da090c', 'b93ce259-715c-4e8c-ae42-011adabff871', NULL, '999308b7-757b-419c-805a-6d4beb0b63b5', '009c23f1-54bd-4494-a1cf-38d814755d97', true); +INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('b344ab66-b207-4498-940f-67223108878e', NULL, NULL, '999308b7-757b-419c-805a-6d4beb0b63b5', 'e0114dfa-e7b4-4913-b34b-d4669d6392af', true); +INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('7e2a32c4-651d-44a1-b60a-e22e4c255221', '31e75384-0f88-4630-89f3-1d93ac8f7382', NULL, '574ed5f9-a824-4e7c-9b4e-cf7497a2fa88', 'c95116d5-c6b1-4d2c-943c-c4e90850ee75', true); +INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('759583b1-f392-4b0d-92fa-b1e75711b4a9', '31e75384-0f88-4630-89f3-1d93ac8f7382', NULL, 'afc6a14a-f8c7-4c17-9b91-b615833bc002', '574ed5f9-a824-4e7c-9b4e-cf7497a2fa88', true); +INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('557919d6-1a17-4377-8daa-898f7707b8e3', NULL, '574ed5f9-a824-4e7c-9b4e-cf7497a2fa88', 'd5546ccd-e41f-4aa0-8edb-de4f8b1df748', '574ed5f9-a824-4e7c-9b4e-cf7497a2fa88', true); +INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('7e47123f-86ef-4f19-bdcd-2e5291b75edf', '31e75384-0f88-4630-89f3-1d93ac8f7382', NULL, 'f2067171-80b8-4b1a-ab37-0de8081dc034', 'f407f14a-7adb-4de9-b326-0eea55b9b183', true); +INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('169d348e-fbc6-4ea8-b5e4-c0765510a9c8', '31e75384-0f88-4630-89f3-1d93ac8f7382', NULL, '574ed5f9-a824-4e7c-9b4e-cf7497a2fa88', 'f2067171-80b8-4b1a-ab37-0de8081dc034', true); +INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('77a6c694-005e-41a8-882c-518586ea2e04', '31e75384-0f88-4630-89f3-1d93ac8f7382', NULL, '4ea19fa4-4eac-4c4a-94f0-36b05b35c2b7', 'b86a23c2-753a-4d42-9859-25263d5313f2', true); +INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('0fa3a1d5-6ae5-486f-a4af-982c17d6c60f', '31e75384-0f88-4630-89f3-1d93ac8f7382', NULL, 'f2067171-80b8-4b1a-ab37-0de8081dc034', '4ea19fa4-4eac-4c4a-94f0-36b05b35c2b7', true); +INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('7a6d6956-2740-4ab2-b614-9a6096c8bb4c', NULL, NULL, 'f2067171-80b8-4b1a-ab37-0de8081dc034', '5f304d8e-dbde-4e43-8038-e96023063473', true); +INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('6e3932a6-7630-472a-9bbe-8087cb9bf4d4', 'c8a8b54b-0911-4803-b21b-7f59d883c9fb', NULL, '77c3dd90-b6a8-41fd-ad38-ab860766d0b0', '5d1f9d39-65ec-445b-bc4a-ea8ca8deda7b', true); +INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('2a18c28b-9586-468b-9fb0-bc0c96e0e010', 'c8a8b54b-0911-4803-b21b-7f59d883c9fb', NULL, 'afc6a14a-f8c7-4c17-9b91-b615833bc002', '77c3dd90-b6a8-41fd-ad38-ab860766d0b0', true); +INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('bb698100-ea44-4dff-83fe-07bcc26465df', NULL, '77c3dd90-b6a8-41fd-ad38-ab860766d0b0', '8eece937-d4fa-4334-8bbe-f488336684b6', '77c3dd90-b6a8-41fd-ad38-ab860766d0b0', true); +INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('b1364a89-9188-4bb4-bf7d-8213e890e7ba', 'c8a8b54b-0911-4803-b21b-7f59d883c9fb', NULL, '8a447eae-77f8-4a69-ae9e-48a7120f9df9', '4674d9d5-3567-400e-b750-e9e1a50e72ef', true); +INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('2f23174d-38cf-44d2-bb92-532c822ae5c2', 'c8a8b54b-0911-4803-b21b-7f59d883c9fb', NULL, '77c3dd90-b6a8-41fd-ad38-ab860766d0b0', '8a447eae-77f8-4a69-ae9e-48a7120f9df9', true); +INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('a96fc591-55db-4d15-91fa-70dbce27840e', 'c8a8b54b-0911-4803-b21b-7f59d883c9fb', NULL, '7939df21-5401-4544-8b9d-c6a517187092', 'eac22245-9ba0-4da1-a143-02e68bdbc071', true); +INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('875a339a-00ba-4c38-a777-84ba06f84667', 'c8a8b54b-0911-4803-b21b-7f59d883c9fb', NULL, '8a447eae-77f8-4a69-ae9e-48a7120f9df9', '7939df21-5401-4544-8b9d-c6a517187092', true); +INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('620e078b-b132-4b2c-9c1d-649a85a1f27a', NULL, NULL, '8a447eae-77f8-4a69-ae9e-48a7120f9df9', '4f9687d4-94ac-4f76-92a5-8aa3a38a30c1', true); +INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('4ceb406b-2f7a-4f88-83be-ee3f1721e8ef', '1a66c5e8-5f47-4204-97c9-f607ee9c336e', NULL, '91f083fc-dbec-4ce2-8761-10993bc09fe8', '6f70a61f-fb49-42bf-9a64-c54267e18e94', true); +INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('730b3c27-3bb9-4d47-879b-73bc28e6d3dc', '1a66c5e8-5f47-4204-97c9-f607ee9c336e', NULL, 'afc6a14a-f8c7-4c17-9b91-b615833bc002', '91f083fc-dbec-4ce2-8761-10993bc09fe8', true); +INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('a5e8901c-fb79-4725-8364-b0acac8f4ac4', NULL, '91f083fc-dbec-4ce2-8761-10993bc09fe8', 'd29d59ff-3a49-48df-b265-99c913b428f5', '91f083fc-dbec-4ce2-8761-10993bc09fe8', true); +INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('f49eba98-5a6a-421c-a443-f06683b60c28', '1a66c5e8-5f47-4204-97c9-f607ee9c336e', NULL, '409fb0cf-7c00-4180-8bd0-2f8b00625e41', '3bf2f19a-1283-46a0-9868-1493c8a740e7', true); +INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('0c64fa1e-85ed-4feb-8e46-a63c3ef045c2', '1a66c5e8-5f47-4204-97c9-f607ee9c336e', NULL, '91f083fc-dbec-4ce2-8761-10993bc09fe8', '409fb0cf-7c00-4180-8bd0-2f8b00625e41', true); +INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('082823dc-fe7b-41a3-a525-9a8caf00432b', '1a66c5e8-5f47-4204-97c9-f607ee9c336e', NULL, '7f6973f3-a5f3-4ce8-84a0-e1b9aa24b42d', '564cb7ff-7288-4d74-845d-3084b0246be6', true); +INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('41dd9636-d5bd-4665-94c4-6e99201aa447', '1a66c5e8-5f47-4204-97c9-f607ee9c336e', NULL, '409fb0cf-7c00-4180-8bd0-2f8b00625e41', '7f6973f3-a5f3-4ce8-84a0-e1b9aa24b42d', true); +INSERT INTO rbac."grant" (uuid, grantedbytriggerof, grantedbyroleuuid, ascendantuuid, descendantuuid, assumed) VALUES ('3b70db96-9607-4eb7-b661-f3128e89dbdb', NULL, NULL, '409fb0cf-7c00-4180-8bd0-2f8b00625e41', '49257b61-bd21-4673-a2b3-45384d142829', true); -- @@ -13555,6 +13845,10 @@ INSERT INTO rbac.object (uuid, serialid, objecttable) VALUES ('890e8afe-1dcd-424 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'); +INSERT INTO rbac.object (uuid, serialid, objecttable) VALUES ('b93ce259-715c-4e8c-ae42-011adabff871', 129, 'hs_office.person'); +INSERT INTO rbac.object (uuid, serialid, objecttable) VALUES ('31e75384-0f88-4630-89f3-1d93ac8f7382', 130, 'hs_office.person'); +INSERT INTO rbac.object (uuid, serialid, objecttable) VALUES ('c8a8b54b-0911-4803-b21b-7f59d883c9fb', 131, 'hs_office.person'); +INSERT INTO rbac.object (uuid, serialid, objecttable) VALUES ('1a66c5e8-5f47-4204-97c9-f607ee9c336e', 132, 'hs_office.person'); -- @@ -13953,6 +14247,22 @@ INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('2c6af4f 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); +INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('cc577d4c-20c8-4f24-8d8f-f9dfb58220c4', 'b93ce259-715c-4e8c-ae42-011adabff871', 'DELETE', NULL); +INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('0d07e1e7-a443-427c-b633-398503222db7', 'b93ce259-715c-4e8c-ae42-011adabff871', 'UPDATE', NULL); +INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('7c5ee62a-1c61-4e79-ad24-da18e3f013a7', 'b93ce259-715c-4e8c-ae42-011adabff871', 'SELECT', NULL); +INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('e0114dfa-e7b4-4913-b34b-d4669d6392af', 'b93ce259-715c-4e8c-ae42-011adabff871', 'INSERT', 'hs_office.relation'); +INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('c95116d5-c6b1-4d2c-943c-c4e90850ee75', '31e75384-0f88-4630-89f3-1d93ac8f7382', 'DELETE', NULL); +INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('f407f14a-7adb-4de9-b326-0eea55b9b183', '31e75384-0f88-4630-89f3-1d93ac8f7382', 'UPDATE', NULL); +INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('b86a23c2-753a-4d42-9859-25263d5313f2', '31e75384-0f88-4630-89f3-1d93ac8f7382', 'SELECT', NULL); +INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('5f304d8e-dbde-4e43-8038-e96023063473', '31e75384-0f88-4630-89f3-1d93ac8f7382', 'INSERT', 'hs_office.relation'); +INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('5d1f9d39-65ec-445b-bc4a-ea8ca8deda7b', 'c8a8b54b-0911-4803-b21b-7f59d883c9fb', 'DELETE', NULL); +INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('4674d9d5-3567-400e-b750-e9e1a50e72ef', 'c8a8b54b-0911-4803-b21b-7f59d883c9fb', 'UPDATE', NULL); +INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('eac22245-9ba0-4da1-a143-02e68bdbc071', 'c8a8b54b-0911-4803-b21b-7f59d883c9fb', 'SELECT', NULL); +INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('4f9687d4-94ac-4f76-92a5-8aa3a38a30c1', 'c8a8b54b-0911-4803-b21b-7f59d883c9fb', 'INSERT', 'hs_office.relation'); +INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('6f70a61f-fb49-42bf-9a64-c54267e18e94', '1a66c5e8-5f47-4204-97c9-f607ee9c336e', 'DELETE', NULL); +INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('3bf2f19a-1283-46a0-9868-1493c8a740e7', '1a66c5e8-5f47-4204-97c9-f607ee9c336e', 'UPDATE', NULL); +INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('564cb7ff-7288-4d74-845d-3084b0246be6', '1a66c5e8-5f47-4204-97c9-f607ee9c336e', 'SELECT', NULL); +INSERT INTO rbac.permission (uuid, objectuuid, op, optablename) VALUES ('49257b61-bd21-4673-a2b3-45384d142829', '1a66c5e8-5f47-4204-97c9-f607ee9c336e', 'INSERT', 'hs_office.relation'); -- @@ -14654,6 +14964,38 @@ INSERT INTO rbac.reference (uuid, type) VALUES ('2c6af4ff-0644-4df6-97a0-69c8af1 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'); +INSERT INTO rbac.reference (uuid, type) VALUES ('57b796ca-f74b-4255-9224-235a0a32a0b1', 'rbac.subject'); +INSERT INTO rbac.reference (uuid, type) VALUES ('268cb462-2ba2-4910-be8e-62c9e5154191', 'rbac.role'); +INSERT INTO rbac.reference (uuid, type) VALUES ('cc577d4c-20c8-4f24-8d8f-f9dfb58220c4', 'rbac.permission'); +INSERT INTO rbac.reference (uuid, type) VALUES ('999308b7-757b-419c-805a-6d4beb0b63b5', 'rbac.role'); +INSERT INTO rbac.reference (uuid, type) VALUES ('0d07e1e7-a443-427c-b633-398503222db7', 'rbac.permission'); +INSERT INTO rbac.reference (uuid, type) VALUES ('009c23f1-54bd-4494-a1cf-38d814755d97', 'rbac.role'); +INSERT INTO rbac.reference (uuid, type) VALUES ('7c5ee62a-1c61-4e79-ad24-da18e3f013a7', 'rbac.permission'); +INSERT INTO rbac.reference (uuid, type) VALUES ('e0114dfa-e7b4-4913-b34b-d4669d6392af', 'rbac.permission'); +INSERT INTO rbac.reference (uuid, type) VALUES ('d5546ccd-e41f-4aa0-8edb-de4f8b1df748', 'rbac.subject'); +INSERT INTO rbac.reference (uuid, type) VALUES ('574ed5f9-a824-4e7c-9b4e-cf7497a2fa88', 'rbac.role'); +INSERT INTO rbac.reference (uuid, type) VALUES ('c95116d5-c6b1-4d2c-943c-c4e90850ee75', 'rbac.permission'); +INSERT INTO rbac.reference (uuid, type) VALUES ('f2067171-80b8-4b1a-ab37-0de8081dc034', 'rbac.role'); +INSERT INTO rbac.reference (uuid, type) VALUES ('f407f14a-7adb-4de9-b326-0eea55b9b183', 'rbac.permission'); +INSERT INTO rbac.reference (uuid, type) VALUES ('4ea19fa4-4eac-4c4a-94f0-36b05b35c2b7', 'rbac.role'); +INSERT INTO rbac.reference (uuid, type) VALUES ('b86a23c2-753a-4d42-9859-25263d5313f2', 'rbac.permission'); +INSERT INTO rbac.reference (uuid, type) VALUES ('5f304d8e-dbde-4e43-8038-e96023063473', 'rbac.permission'); +INSERT INTO rbac.reference (uuid, type) VALUES ('8eece937-d4fa-4334-8bbe-f488336684b6', 'rbac.subject'); +INSERT INTO rbac.reference (uuid, type) VALUES ('77c3dd90-b6a8-41fd-ad38-ab860766d0b0', 'rbac.role'); +INSERT INTO rbac.reference (uuid, type) VALUES ('5d1f9d39-65ec-445b-bc4a-ea8ca8deda7b', 'rbac.permission'); +INSERT INTO rbac.reference (uuid, type) VALUES ('8a447eae-77f8-4a69-ae9e-48a7120f9df9', 'rbac.role'); +INSERT INTO rbac.reference (uuid, type) VALUES ('4674d9d5-3567-400e-b750-e9e1a50e72ef', 'rbac.permission'); +INSERT INTO rbac.reference (uuid, type) VALUES ('7939df21-5401-4544-8b9d-c6a517187092', 'rbac.role'); +INSERT INTO rbac.reference (uuid, type) VALUES ('eac22245-9ba0-4da1-a143-02e68bdbc071', 'rbac.permission'); +INSERT INTO rbac.reference (uuid, type) VALUES ('4f9687d4-94ac-4f76-92a5-8aa3a38a30c1', 'rbac.permission'); +INSERT INTO rbac.reference (uuid, type) VALUES ('d29d59ff-3a49-48df-b265-99c913b428f5', 'rbac.subject'); +INSERT INTO rbac.reference (uuid, type) VALUES ('91f083fc-dbec-4ce2-8761-10993bc09fe8', 'rbac.role'); +INSERT INTO rbac.reference (uuid, type) VALUES ('6f70a61f-fb49-42bf-9a64-c54267e18e94', 'rbac.permission'); +INSERT INTO rbac.reference (uuid, type) VALUES ('409fb0cf-7c00-4180-8bd0-2f8b00625e41', 'rbac.role'); +INSERT INTO rbac.reference (uuid, type) VALUES ('3bf2f19a-1283-46a0-9868-1493c8a740e7', 'rbac.permission'); +INSERT INTO rbac.reference (uuid, type) VALUES ('7f6973f3-a5f3-4ce8-84a0-e1b9aa24b42d', 'rbac.role'); +INSERT INTO rbac.reference (uuid, type) VALUES ('564cb7ff-7288-4d74-845d-3084b0246be6', 'rbac.permission'); +INSERT INTO rbac.reference (uuid, type) VALUES ('49257b61-bd21-4673-a2b3-45384d142829', 'rbac.permission'); -- @@ -14914,6 +15256,18 @@ INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('35628825-27df-48e2-9 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'); +INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('268cb462-2ba2-4910-be8e-62c9e5154191', 'b93ce259-715c-4e8c-ae42-011adabff871', 'OWNER'); +INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('999308b7-757b-419c-805a-6d4beb0b63b5', 'b93ce259-715c-4e8c-ae42-011adabff871', 'ADMIN'); +INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('009c23f1-54bd-4494-a1cf-38d814755d97', 'b93ce259-715c-4e8c-ae42-011adabff871', 'REFERRER'); +INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('574ed5f9-a824-4e7c-9b4e-cf7497a2fa88', '31e75384-0f88-4630-89f3-1d93ac8f7382', 'OWNER'); +INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('f2067171-80b8-4b1a-ab37-0de8081dc034', '31e75384-0f88-4630-89f3-1d93ac8f7382', 'ADMIN'); +INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('4ea19fa4-4eac-4c4a-94f0-36b05b35c2b7', '31e75384-0f88-4630-89f3-1d93ac8f7382', 'REFERRER'); +INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('77c3dd90-b6a8-41fd-ad38-ab860766d0b0', 'c8a8b54b-0911-4803-b21b-7f59d883c9fb', 'OWNER'); +INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('8a447eae-77f8-4a69-ae9e-48a7120f9df9', 'c8a8b54b-0911-4803-b21b-7f59d883c9fb', 'ADMIN'); +INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('7939df21-5401-4544-8b9d-c6a517187092', 'c8a8b54b-0911-4803-b21b-7f59d883c9fb', 'REFERRER'); +INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('91f083fc-dbec-4ce2-8761-10993bc09fe8', '1a66c5e8-5f47-4204-97c9-f607ee9c336e', 'OWNER'); +INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('409fb0cf-7c00-4180-8bd0-2f8b00625e41', '1a66c5e8-5f47-4204-97c9-f607ee9c336e', 'ADMIN'); +INSERT INTO rbac.role (uuid, objectuuid, roletype) VALUES ('7f6973f3-a5f3-4ce8-84a0-e1b9aa24b42d', '1a66c5e8-5f47-4204-97c9-f607ee9c336e', 'REFERRER'); -- @@ -14969,6 +15323,10 @@ INSERT INTO rbac.subject (uuid, name) VALUES ('7f239c0c-707e-486d-b38b-e39d51a84 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'); +INSERT INTO rbac.subject (uuid, name) VALUES ('57b796ca-f74b-4255-9224-235a0a32a0b1', 'person-HostmasterAlex@example.com'); +INSERT INTO rbac.subject (uuid, name) VALUES ('d5546ccd-e41f-4aa0-8edb-de4f8b1df748', 'person-HostmasterFran@example.com'); +INSERT INTO rbac.subject (uuid, name) VALUES ('8eece937-d4fa-4334-8bbe-f488336684b6', 'person-UserDrew@example.com'); +INSERT INTO rbac.subject (uuid, name) VALUES ('d29d59ff-3a49-48df-b265-99c913b428f5', 'person-UserTest@example.com'); -- @@ -15058,7 +15416,7 @@ 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); +SELECT pg_catalog.setval('rbac.object_serialid_seq', 132, true); -- @@ -15507,6 +15865,13 @@ CREATE INDEX permission_objectuuid_op_idx ON rbac.permission USING btree (object CREATE INDEX permission_optablename_op_idx ON rbac.permission USING btree (optablename, op); +-- +-- Name: tx_context set_commit_order_trigger; Type: TRIGGER; Schema: base; Owner: postgres +-- + +CREATE TRIGGER set_commit_order_trigger BEFORE INSERT ON base.tx_context FOR EACH ROW EXECUTE FUNCTION public.set_next_sequential_txid(); + + -- -- Name: bankaccount build_rbac_system_after_insert_tg; Type: TRIGGER; Schema: hs_office; Owner: postgres -- @@ -16116,6 +16481,27 @@ CREATE TRIGGER partner_details_insert_permission_check_tg BEFORE INSERT ON hs_of 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: coopassettx positive_total_assets_count_tg; Type: TRIGGER; Schema: hs_office; Owner: postgres +-- + +CREATE TRIGGER positive_total_assets_count_tg BEFORE INSERT ON hs_office.coopassettx FOR EACH ROW EXECUTE FUNCTION hs_office.coopassettx_enforce_positive_total(); + + +-- +-- Name: coopsharetx positive_total_shares_count_tg; Type: TRIGGER; Schema: hs_office; Owner: postgres +-- + +CREATE TRIGGER positive_total_shares_count_tg BEFORE INSERT ON hs_office.coopsharetx FOR EACH ROW EXECUTE FUNCTION hs_office.coopsharetx_enforce_positive_total(); + + +-- +-- Name: relation relation_enforce_debitor_anchor_partner_tg; Type: TRIGGER; Schema: hs_office; Owner: postgres +-- + +CREATE TRIGGER relation_enforce_debitor_anchor_partner_tg BEFORE INSERT ON hs_office.relation FOR EACH ROW EXECUTE FUNCTION hs_office.relation_enforce_debitor_anchor_partner(); + + -- -- Name: relation relation_insert_permission_check_tg; Type: TRIGGER; Schema: hs_office; Owner: postgres -- @@ -16144,6 +16530,13 @@ CREATE TRIGGER sepamandate_insert_permission_check_tg BEFORE INSERT ON hs_office 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: membership trg_validate_membership_validity; Type: TRIGGER; Schema: hs_office; Owner: postgres +-- + +CREATE TRIGGER trg_validate_membership_validity BEFORE INSERT OR UPDATE ON hs_office.membership FOR EACH ROW EXECUTE FUNCTION hs_office.validate_membership_validity(); + + -- -- Name: bankaccount tx_0_journal_tg; Type: TRIGGER; Schema: hs_office; Owner: postgres --