# me.cusee.permissions

- Kind: permission-set
- Authority: cusee.me
- Lexicon: 1
- Published by [solpbc.org](https://lexicon.garden/identity/did:plc:kg5hlfyrdjmtiyymo57n7dpg), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:kg5hlfyrdjmtiyymo57n7dpg/me.cusee.permissions)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:kg5hlfyrdjmtiyymo57n7dpg/me.cusee.permissions/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:kg5hlfyrdjmtiyymo57n7dpg/me.cusee.permissions/analytics)

## Permission set (`me.cusee.permissions`)

Type: permission-set

### Shown at sign-in

- `title` (string): cusee.me
- `detail` (string): Create and participate in private CU-SeeMe rooms

### Permissions

- `space` (permission): Read, create, update and delete me.cusee.config, me.cusee.presence, me.cusee.stream and me.cusee.chat records in anyone's me.cusee.room spaces, and create, update and delete the spaces themselves. From the Atproto Spaces proposal (0016); servers without it ignore space permissions.
  - Constraints: authority: *, skey: *, collection: me.cusee.config, me.cusee.presence, me.cusee.stream, me.cusee.chat, action: read, create, update, delete, manage: create, update, delete
  - Space type: `me.cusee.room`

### Asking for it (OAuth scope)

- `include:me.cusee.permissions` (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": {
      "detail": "Create and participate in private CU-SeeMe rooms",
      "permissions": [
        {
          "action": [
            "read",
            "create",
            "update",
            "delete"
          ],
          "authority": "*",
          "collection": [
            "me.cusee.config",
            "me.cusee.presence",
            "me.cusee.stream",
            "me.cusee.chat"
          ],
          "manage": [
            "create",
            "update",
            "delete"
          ],
          "resource": "space",
          "skey": "*",
          "spaceType": "me.cusee.room",
          "type": "permission"
        }
      ],
      "title": "cusee.me",
      "type": "permission-set"
    }
  },
  "id": "me.cusee.permissions",
  "lexicon": 1
}
```
