Feat/staff support access consent and audit#842
Merged
Conversation
…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).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.