# org.atgrp.authManageBasic

> For group account sessions. Limited to what the authorizing user's roles grant.

- 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.authManageBasic)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:4pt2cnpyvfgn5b7uxwn2shwv/org.atgrp.authManageBasic/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:4pt2cnpyvfgn5b7uxwn2shwv/org.atgrp.authManageBasic/analytics)

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

Type: permission-set

### Shown at sign-in

- `title` (string): Group profile
- `detail` (string): Edit the group's profile and rules.

### Permissions

- `space` (permission): Read, create, update and delete org.atgrp.about records in the space self among your own org.atgrp.meta spaces. From the Atproto Spaces proposal (0016); servers without it ignore space permissions.
  - Constraints: authority: self, skey: self, collection: org.atgrp.about, action: read, create, update, delete
  - Space type: `org.atgrp.meta`
- `space` (permission): Read, create, update and delete org.atgrp.rule records in the space self among your own org.atgrp.members spaces. From the Atproto Spaces proposal (0016); servers without it ignore space permissions.
  - Constraints: authority: self, skey: self, collection: org.atgrp.rule, action: read, create, update, delete
  - Space type: `org.atgrp.members`

### Asking for it (OAuth scope)

- `include:org.atgrp.authManageBasic` (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 group account sessions. Limited to what the authorizing user's roles grant.",
      "detail": "Edit the group's profile and rules.",
      "permissions": [
        {
          "action": [
            "read",
            "create",
            "update",
            "delete"
          ],
          "authority": "self",
          "collection": [
            "org.atgrp.about"
          ],
          "resource": "space",
          "skey": "self",
          "spaceType": "org.atgrp.meta",
          "type": "permission"
        },
        {
          "action": [
            "read",
            "create",
            "update",
            "delete"
          ],
          "authority": "self",
          "collection": [
            "org.atgrp.rule"
          ],
          "resource": "space",
          "skey": "self",
          "spaceType": "org.atgrp.members",
          "type": "permission"
        }
      ],
      "title": "Group profile",
      "type": "permission-set"
    }
  },
  "id": "org.atgrp.authManageBasic",
  "lexicon": 1
}
```
