Proposal for Atmosphere Groups standard on atproto spaces

Records-first API #31

Closed atmospheregroups.org
targeting identity-and-authz
Closed opened by atmospheregroups.org
targeting identity-and-authz

Most of the group management methods were just thin wrappers around writing a record, so this drops them. Apps now write the group's profile, rules, roles, memberships, invites and labels directly with ordinary space CRUD, using a group-DID OAuth session.

The methods that remain are the ones that need to be methods: private host state (join requests, the mod queue), creating and deleting spaces (though those may move to com.atproto.space), and things people do as themselves, like joining, leaving or reporting.

Once management runs on OAuth sessions, the separate "actions" vocabulary was just a second permission system that got translated into scopes. So roles now get scopes directly: per space in access, group-wide in permissions, with some drafted permission sets for the common bundles. The one thing scopes can't express is which roles a person may hand out or eject, so we need to keep assignable. The host checks it against the current roles of whoever authorized the session.

I also dropped the label/takedown split because it didn't map neatly to this and felt outside the 90% case.

Lexicons aren't updated yet.

Closes #6, #7, #8, #12, and #13.

This pull request has no versions submitted yet.

Sign up or Sign in to add to the discussion.