[epic] Scope document access and Misty answers
Maintainers usually reply within 1 day
@qiuethan is already working on this.
Since Aug 1, 2026.
Assessment
This issue has not been assessed yet.
Description
Completion — 2026-10-28
Identity, document grants, managed Groups, channel-team settings, source-access reconciliation and authorized retrieval/tool enforcement are implemented and deployed. Closing #272 on Ethan's acceptance completes this epic's nine native child issues; no open native blockers remain.
This epic closes for delivered access-control capabilities. #272 records the accepted dev Discord and staging provider/browser evidence; no new staging Discord acceptance run is claimed. Follow-ups #324, #338 and #278 were also closed on October 28 after Ethan confirmed he had tested them and requested closure. Each issue retains its earlier evidence and the operator acceptance note.
Area
bot, service, integration, deployment, docs-system
Outcome
Misty must keep direct document access personal while controlling what it can disclose in a shared channel. Direct document lookup/search and DM answers use the authenticated person's full document access. Channel answers use the union of the Google Group access of the teams selected for that channel, regardless of the asking member's personal privileges.
Definition of done
- #73 provides act-as-user / X-On-Behalf-Of authentication.
- #74 enforces document ownership/person/team grants on metadata and stored content reads.
- #75 captures alternate email identifiers through the self-service flow.
- #236 establishes supported Google Group administration; #237 creates a group with each team and synchronizes membership from Team Tracking.
- #238 stores channel-to-team settings; an unconfigured channel has no document access.
- #76 reconciles actual source sharing into person and team/group access, including revocation.
- #176 provides authorized retrieval with the appropriate person or channel context.
- #71 enforces that context in the bot tool loop, including history invalidation and publication checks.
- #272 delivers automatic Groups setup and bot status/recovery. Closed on Ethan's acceptance of the merged implementation, dev Discord flow and staging OAuth/settings/membership/Drive evidence. The additional staging bot rerun was removed as a closure requirement; no new staging command test is claimed.
- #292 / PR #294 installs the hourly source-access refresh runner. Staging scheduled runs, explicit failure, missed-heartbeat and recovery delivery have been verified; scheduled refresh/access-change acceptance was closed in #338 on Ethan's testing confirmation.
Ownership
Team Tracking owns teams, intended membership, managed-group mappings, and channel settings. Connectors owns source API access; documentation-system owns source-grant reconciliation and retrieval authorization. Bot commands and DMs are delivered under #81 by #239 and #240. The LLM is not an authorization boundary.
Delivered scope and completed follow-ups
Identity, source grants, managed Groups, channel settings and authorized retrieval/tool enforcement are implemented and deployed. #272 is closed on operator acceptance of the existing evidence. The production alias-membership follow-up (#324), scheduled content/access-change and expiry acceptance (#338), and integrated helper history/publication and DM/channel work (#278) are now closed on Ethan's separate testing confirmation. Their closure notes distinguish operator acceptance from the earlier agent-recorded evidence.
Task breakdown
| Task | Area | Effort |
|---|---|---|
| #236 — Enable Google Group administration for Misty | deployment, integration | M |
| #237 — Create and synchronize Google Groups for teams | service, integration | L |
| #238 — Store channel-to-team access settings | service | M |
| #76 — Synchronize document access from source sharing | service, integration, docs-system | L |
Completed history
Closed children #73/#74/#75/#76/#236/#237/#238/#272/#292 provide the implemented identity, authorization, managed-group, channel-setting and refresh foundations. Source-permission synchronization is implemented, not future work. Scheduled access-change/expiry acceptance (#338) and helper history/publication cases (#278) are closed on operator acceptance.
Scope and implementation notes
Team Tracking is the source of truth for teams and intended membership. Adding someone to a Discord channel lets them read that channel's answers; it does not add them to a team/group or grant them Drive access. Admins are responsible for channel configuration and audience. We do not compute an intersection of every channel member's permissions.
Managed Google setup: UTMIST-owned domains, staging/dev OAuth and settings/membership automation are established. Production OAuth, managed Groups and the daily runner were activated in #319. The handled-failure fix was deployed in #327. The subsequent alias-membership follow-up #324 is closed on operator acceptance; its closure note also records successful production reconciliation on October 27 and 28. #272 records the operator's closure acceptance and the distinction between existing dev Discord and staging Drive access/revocation evidence.
Bot delivery: #239 defines channel configuration and parent-channel scope inheritance for threads. Person-scoped /doc responses are private; #210 / PR #289 supplies member search. #278 records completed combined DM/channel acceptance on Ethan's testing confirmation, including its original permission-change criteria.
Out of scope: Rebuilding retrieval (#125), bot tool execution (#71), LLM tool support (#70), and changing Discord roles or channel membership.
Working conventions
Tasks are direct sub-issues of their owning epic, with hard prerequisites recorded in GitHub Relationships and the Blocked by field. Use area labels for issues and zones for PRs. Follow AGENTS.md and the affected service's CONTRIBUTING.md for implementation, offline tests, and matching documentation.
Live staging evidence — 2026-10-23
See the release evidence in #301. Adding Ethan through a disposable directory team produced a real Google Group member and Drive-folder access; ending that membership removed the Google member and produced a signed-in browser access-denied result. Existing real-team memberships were preserved. Refresh failure/recovery and an actual missed heartbeat reached the configured Discord alert channel. Helper/DM and scheduled access-change follow-ups #278/#338 have since closed on operator acceptance; discovery #291 remains open. The completed evidence in #301 remains accepted.
- Dominant language
- Python
- Stars
- 0
- Forks
- 2
- Avg merge
- 3d 3h
- Merged PRs (30d)
- 31
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from UTMIST/Misty
-
area/tooling automation/health
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
Maintainers usually reply within 1 day
-
Epic: Protect live meeting Q&A and deliver recording outputs to the intended audiencePossibly taken @kr1shap claimed this 1 day ago. Openarea/bot area/docs-system area/integration area/service epic on hold
UTMIST/Misty#489 · 1 assignee ·
Maintainers usually reply within 1 day
-
area/bot on hold type/bug
Difficulty 4/5 3-5 days Newbie friendliness 48/100
Maintainers usually reply within 1 day
-
area/bot on hold type/bug
Difficulty 3/5 1-2 days Newbie friendliness 55/100
Maintainers usually reply within 1 day
-
Use a verified ingress boundary for gateway client IPsPossibly taken @qiuethan claimed this 2 days ago. Openarea/deployment area/observability area/service type/bug
Difficulty 4/5 3-5 days Newbie friendliness 48/100
Maintainers usually reply within 1 day
Similar issues
-
[Doc]: Feedback for `/zh-cn/v0.30.0/tutorials/models/Qwen3.6-35B-A3B.html`A3社区配置和基线不一致,社区配置也达不到基线Opendocumentation
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
vllm-project/vllm-ascend#24429 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
simnJS/AnyPS5#735 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
nq-rdl/agent-extensions#623 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
vortex-data/vortex#12633 ·
Maintainers usually reply within 1 day
-
needs-triage
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
gke-labs/kube-agents#7955 ·
Maintainers usually reply within 1 day