Skip to content

Feat/staff support access consent and audit#842

Merged
ussaama merged 3 commits into
mainfrom
feat/staff-support-access-consent-and-audit
Jul 10, 2026
Merged

Feat/staff support access consent and audit#842
ussaama merged 3 commits into
mainfrom
feat/staff-support-access-consent-and-audit

Conversation

@ussaama

@ussaama ussaama commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

No description provided.

ussaama added 2 commits July 10, 2026 11:17
…ons, auto-off

  Extends staff support access (builds on ECHO-863) with four additions:

  - Hybrid request/approve flow: when the workspace toggle is off, staff file
    a request and a workspace admin approves or denies it as a one-time 24h
    grant, without turning the toggle on.
  - Per-workspace audit ledger of every access event, shown to the client in
    workspace settings.
  - Client notifications and emails on each lifecycle event (request, join,
    extend, leave, auto-off, reminder).
  - Auto-off: the toggle turns itself off when the last staff session ends,
    plus a weekly "still on" reminder.

  New choke-point module dembrane/support_access.py records the audit event and
  fans out the notification/email, and holds the shared 24h grant helper reused
  by staff self-join and client approve. Adds two Directus collections
  (support_access_event, support_access_request) and two scheduled_task types
  (support_toggle_reminder, expire_support_access_request).
@ussaama ussaama merged commit 54bb770 into main Jul 10, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant