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(
|
||||
"ck_tenant_resolution_strategy",
|
||||
"tenants",
|
||||
sa.schema.CheckConstraint(
|
||||
"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',
|
||||
});
|
||||
|
||||
const columns: TableColumn<AuditLogEntry> = [
|
||||
const columns: TableColumn<AuditLogEntry>[] = [
|
||||
{
|
||||
key: 'timestamp',
|
||||
header: 'Zeitpunkt',
|
||||
@@ -283,7 +283,7 @@ function AuditTab() {
|
||||
{
|
||||
key: 'action',
|
||||
header: 'Aktion',
|
||||
render: (row) => {
|
||||
render: (row: AuditLogEntry) => {
|
||||
const labels: Record<string, string> = {
|
||||
permission_grant: 'Freigabe erteilt',
|
||||
permission_revoke: 'Freigabe entzogen',
|
||||
@@ -305,7 +305,7 @@ function AuditTab() {
|
||||
{
|
||||
key: 'details',
|
||||
header: 'Details',
|
||||
render: (row) => {
|
||||
render: (row: AuditLogEntry) => {
|
||||
if (!row.details) return '—';
|
||||
try {
|
||||
const parsed = JSON.parse(row.details);
|
||||
|
||||
Reference in New Issue
Block a user