[task] Enroll Discord sources and enforce audience access

Open
#453 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
python

Research direction

Start with blocked issue #452, then read design #332 and the Discord retrieval proposal in PR #347; the proposal has changes requested, and this task is pending that design review. Map the authenticated Discord event to its guild, requester, source, reply destination, and current permissions before defining the enrollment checks. Done means the listed access checks, enrollment revision, and withdrawal behavior are covered.

Written by the indexing model from the issue text.

Description

area/bot area/integration blocked type/feature
Blocked by

#452

What

Provide explicit enrollment and member notice for the exact pilot channels or public threads and enforce current audience permissions.

Why

Bot visibility alone cannot authorize searching or publishing a conversation.

Area

bot, integration

Done looks like
  • Bind guild, requester, source and reply destination from the authenticated event. A thread needs its own enrollment and current parent permissions.
  • Check enrollment, history visibility and the requester, bot and destination audience before the first search or model call. Deny unsupported or unverifiable destinations.
  • Record the enrollment revision and allow withdrawal. Permission changes and source restrictions apply before result limits.
Design notes

Part of #451. Design #332 and the Discord retrieval proposal. The PR is open with changes requested. The four tasks track the proposed pilot pending resolution of that design review.

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from UTMIST/Misty

All issues in UTMIST/Misty

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.