fix: BUG-038 (audit log for tags/tasks/wiki/mail/calendar), BUG-072 (workflow instance), BUG-052 (miniapps), BUG-047 (approvals), BUG-037 (compliance), BUG-030 (GRANT DELETE), BUG-016 (search use_ai), BUG-014 (tags assign), BUG-009 (contact folders), BUG-073 (broken imports)
Check Cross-Plugin Imports / check (push) Has been cancelled
Check Cross-Plugin Imports / check (push) Has been cancelled
This commit is contained in:
@@ -39,6 +39,7 @@ from app.plugins.builtins.calendar.models import (
|
||||
)
|
||||
from app.plugins.builtins.calendar.recurrence import generate_occurrences
|
||||
from app.plugins.builtins.calendar.schemas import (
|
||||
from app.core.audit import log_audit
|
||||
BookResourceRequest,
|
||||
BulkAction,
|
||||
CalendarCreate,
|
||||
@@ -467,6 +468,7 @@ async def create_entry(
|
||||
# Record history (D-PLUG)
|
||||
from app.services.entity_history_service import record_history
|
||||
await record_history(db, tenant_id, user_id, "calendar_entry", entry.id, "create", snapshot_after=_entry_to_dict(entry))
|
||||
await log_audit(db, tenant_id, user_id, "create", "calendar_entry", entry.id, changes={"title": entry.title, "entry_type": entry.entry_type})
|
||||
|
||||
# ── Hook: calendar.after_appointment (Action) ──
|
||||
from app.core.hooks import do_action
|
||||
|
||||
Reference in New Issue
Block a user