# org.atgrp.authParticipate

> For personal sessions, acting as the user rather than the group.

- Kind: permission-set
- Authority: atgrp.org
- Lexicon: 1
- Published by [lex.atgrp.org](https://lexicon.garden/identity/did:plc:4pt2cnpyvfgn5b7uxwn2shwv), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:4pt2cnpyvfgn5b7uxwn2shwv/org.atgrp.authParticipate)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:4pt2cnpyvfgn5b7uxwn2shwv/org.atgrp.authParticipate/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:4pt2cnpyvfgn5b7uxwn2shwv/org.atgrp.authParticipate/analytics)

## Permission set (`org.atgrp.authParticipate`)

Type: permission-set

### Shown at sign-in

- `title` (string): Groups
- `detail` (string): View and interact with your groups.

### Permissions

- `space` (permission): Read records in the space self among anyone's org.atgrp.meta spaces. From the Atproto Spaces proposal (0016); servers without it ignore space permissions.
  - Constraints: authority: *, skey: self, action: read
  - Space type: `org.atgrp.meta`
- `space` (permission): Read, create, update and delete org.atgrp.confirmation records in the space self among anyone's org.atgrp.members spaces. From the Atproto Spaces proposal (0016); servers without it ignore space permissions.
  - Constraints: authority: *, skey: self, collection: org.atgrp.confirmation, action: read, create, update, delete
  - Space type: `org.atgrp.members`
- `space` (permission): Read records in the space self among your own org.atgrp.inbox spaces, and create the spaces themselves. From the Atproto Spaces proposal (0016); servers without it ignore space permissions.
  - Constraints: authority: self, skey: self, action: read, manage: create
  - Space type: `org.atgrp.inbox`
- `rpc` (permission): Call org.atgrp.requestJoin, org.atgrp.cancelJoinRequest, org.atgrp.leaveGroup, org.atgrp.mod.submitReport, org.atgrp.mod.submitAppeal and org.atgrp.mod.querySelfHistory on any service, by the reference implementation's rules. Servers that require a concrete audience grant it only with inheritAud and an aud on the scope.
  - Constraints: aud: *
  - Methods: `org.atgrp.requestJoin`, `org.atgrp.cancelJoinRequest`, `org.atgrp.leaveGroup`, `org.atgrp.mod.submitReport`, `org.atgrp.mod.submitAppeal`, `org.atgrp.mod.querySelfHistory`

### Asking for it (OAuth scope)

- `include:org.atgrp.authParticipate` (scope): A client asks for this permission set with this scope. The scope builder lists what the set grants.
  - Scope builder: `Open in the scope builder`

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "For personal sessions, acting as the user rather than the group.",
      "detail": "View and interact with your groups.",
      "permissions": [
        {
          "action": [
            "read"
          ],
          "authority": "*",
          "resource": "space",
          "skey": "self",
          "spaceType": "org.atgrp.meta",
          "type": "permission"
        },
        {
          "action": [
            "read",
            "create",
            "update",
            "delete"
          ],
          "authority": "*",
          "collection": [
            "org.atgrp.confirmation"
          ],
          "resource": "space",
          "skey": "self",
          "spaceType": "org.atgrp.members",
          "type": "permission"
        },
        {
          "action": [
            "read"
          ],
          "authority": "self",
          "manage": [
            "create"
          ],
          "resource": "space",
          "skey": "self",
          "spaceType": "org.atgrp.inbox",
          "type": "permission"
        },
        {
          "aud": "*",
          "lxm": [
            "org.atgrp.requestJoin",
            "org.atgrp.cancelJoinRequest",
            "org.atgrp.leaveGroup",
            "org.atgrp.mod.submitReport",
            "org.atgrp.mod.submitAppeal",
            "org.atgrp.mod.querySelfHistory"
          ],
          "resource": "rpc",
          "type": "permission"
        }
      ],
      "title": "Groups",
      "type": "permission-set"
    }
  },
  "id": "org.atgrp.authParticipate",
  "lexicon": 1
}
```
