[Auto] [Backend] POST /api/v1/auth/login: (sqlalchemy.dialects.postgresql.asyncpg.ProgrammingError) <class 'asyncpg.exceptions.InsufficientPrivilegeError'>: permission denied for table audit_log [SQL: INSERT INTO audit_log (id, user_id, action, entity_... #285
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Error Report
Message: [Backend] POST /api/v1/auth/login: (sqlalchemy.dialects.postgresql.asyncpg.ProgrammingError) <class 'asyncpg.exceptions.InsufficientPrivilegeError'>: permission denied for table audit_log
[SQL: INSERT INTO audit_log (id, user_id, action, entity_type, entity_id, changes, tenant_id, deleted_at) VALUES ($1::UUID, $2::UUID, $3::VARCHAR, $4::VARCHAR, $5::UUID, $6::JSONB, $7::UUID, $8::TIMESTAMP WITH TIME ZONE) RETURNING audit_log.timestamp, audit_log.created_at, audit_log.updated_at]
[parameters: (UUID('ac81d6dd-62da-47ad-ae8b-d6f821fd8d0f'), UUID('8dcd2e7c-2edf-433b-b0c2-dcb120575e19'), 'login', 'user', UUID('8dcd2e7c-2edf-433b-b0c2-dcb120575e19'), '{"email": "admin@media-on.de"}', UUID('bfe4d09e-e84d-4e01-ba00-8bc2aa49e5aa'), None)]
(Background on this error at: https://sqlalche.me/e/20/f405)
Stack:
URL: http://crm.media-on.de/api/v1/auth/login
Context: