Skip to content

Comments

groups: expose /readers, /writers channel permissions scries#5469

Open
mikolajpp wants to merge 1 commit intodevelopfrom
mp/groups-channel-perms-scry
Open

groups: expose /readers, /writers channel permissions scries#5469
mikolajpp wants to merge 1 commit intodevelopfrom
mp/groups-channel-perms-scry

Conversation

@mikolajpp
Copy link
Collaborator

Summary

Recent experiments with bots revealed a need for a scry endpoint to return a set of ships with read of write permissions to a channel.

Changes

  1. Add a /groups/$group-id/channels/$channel-id/readers scry to return a set of ships with read permissions.
  2. Add a /groups/$group-id/writers/$channel-id/readers scry to return a set of ships with write permissions.

How did I test?

Tested the scries in a group with two ships and a channel.

Risks and impact

  • Safe to rollback without consulting PR author? No, bots might lose access to some of their skills which depend on these endpoints.

  • Affects important code area:

    • Onboarding
    • State / providers
    • Message sync
    • Channel display
    • Notifications
    • Other:

Rollback plan

Revert.

@mikolajpp mikolajpp requested review from Fang- and arthyn February 2, 2026 05:07
@wca4a
Copy link

wca4a commented Feb 2, 2026

Can comment heavily in the code describing what each of these does so the bots can understand?

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.

2 participants