* fix(authz): sqlmigration for postgres * fix(authz): only launch transaction for pg * fix(authz): fix the sql migration number * fix(authz): add integration tests for public_dashboard * fix(authz): added changes for tuples in integration tests * fix(authz): added changes for tuples in integration tests * fix(authz): reduce cyclomatic complexity