fix: migration 0058 checkconstraint + all sprint 20-23 deployed
This commit is contained in:
@@ -27,10 +27,7 @@ def upgrade() -> None:
|
|||||||
op.create_check_constraint(
|
op.create_check_constraint(
|
||||||
"ck_tenant_resolution_strategy",
|
"ck_tenant_resolution_strategy",
|
||||||
"tenants",
|
"tenants",
|
||||||
sa.schema.CheckConstraint(
|
|
||||||
"resolution_strategy IN ('highest_wins', 'deny_overrides_allow', 'direct_overrides_group', 'most_restrictive_wins')",
|
"resolution_strategy IN ('highest_wins', 'deny_overrides_allow', 'direct_overrides_group', 'most_restrictive_wins')",
|
||||||
name="ck_tenant_resolution_strategy",
|
|
||||||
),
|
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -273,7 +273,7 @@ function AuditTab() {
|
|||||||
action: 'permission_grant,permission_revoke,permission_update',
|
action: 'permission_grant,permission_revoke,permission_update',
|
||||||
});
|
});
|
||||||
|
|
||||||
const columns: TableColumn<AuditLogEntry> = [
|
const columns: TableColumn<AuditLogEntry>[] = [
|
||||||
{
|
{
|
||||||
key: 'timestamp',
|
key: 'timestamp',
|
||||||
header: 'Zeitpunkt',
|
header: 'Zeitpunkt',
|
||||||
@@ -283,7 +283,7 @@ function AuditTab() {
|
|||||||
{
|
{
|
||||||
key: 'action',
|
key: 'action',
|
||||||
header: 'Aktion',
|
header: 'Aktion',
|
||||||
render: (row) => {
|
render: (row: AuditLogEntry) => {
|
||||||
const labels: Record<string, string> = {
|
const labels: Record<string, string> = {
|
||||||
permission_grant: 'Freigabe erteilt',
|
permission_grant: 'Freigabe erteilt',
|
||||||
permission_revoke: 'Freigabe entzogen',
|
permission_revoke: 'Freigabe entzogen',
|
||||||
@@ -305,7 +305,7 @@ function AuditTab() {
|
|||||||
{
|
{
|
||||||
key: 'details',
|
key: 'details',
|
||||||
header: 'Details',
|
header: 'Details',
|
||||||
render: (row) => {
|
render: (row: AuditLogEntry) => {
|
||||||
if (!row.details) return '—';
|
if (!row.details) return '—';
|
||||||
try {
|
try {
|
||||||
const parsed = JSON.parse(row.details);
|
const parsed = JSON.parse(row.details);
|
||||||
|
|||||||
Reference in New Issue
Block a user