Discord: opt-in Message Content intent for inspection #489

Open
nsaspy wants to merge 0 commits from rage/27-discord-opt-in-message-content into main
Owner

Closes #27.

  • keeps Message Content disabled by default
  • derives the privileged intent request only from persisted, operator-enabled random/inspection policy
  • marks metadata-only inspection honestly when the intent is not active
  • fails with actionable Discord Developer Portal recovery instructions if Discord rejects the requested privileged intent
  • preserves bounded Zara service-plugin lifecycle and existing access policy

RED-first commits define both policy derivation and gateway rejection behavior. This PR is intentionally limited to zara-discord and does not change Zara Core.

Closes #27. - keeps Message Content disabled by default - derives the privileged intent request only from persisted, operator-enabled random/inspection policy - marks metadata-only inspection honestly when the intent is not active - fails with actionable Discord Developer Portal recovery instructions if Discord rejects the requested privileged intent - preserves bounded Zara service-plugin lifecycle and existing access policy RED-first commits define both policy derivation and gateway rejection behavior. This PR is intentionally limited to zara-discord and does not change Zara Core.
Some checks failed
CI / test (pull_request) Failing after 17s
This branch is already included in the target branch. There is nothing to merge.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin rage/27-discord-opt-in-message-content:rage/27-discord-opt-in-message-content
git switch rage/27-discord-opt-in-message-content

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch main
git merge --no-ff rage/27-discord-opt-in-message-content
git switch rage/27-discord-opt-in-message-content
git rebase main
git switch main
git merge --ff-only rage/27-discord-opt-in-message-content
git switch rage/27-discord-opt-in-message-content
git rebase main
git switch main
git merge --no-ff rage/27-discord-opt-in-message-content
git switch main
git merge --squash rage/27-discord-opt-in-message-content
git switch main
git merge --ff-only rage/27-discord-opt-in-message-content
git switch main
git merge rage/27-discord-opt-in-message-content
git push origin main
Sign in to join this conversation.
No description provided.