# cc.coffeencode.authForum

- Kind: permission-set
- Authority: coffeencode.cc
- Lexicon: 1
- Published by [coffeencode.cc](https://lexicon.garden/identity/did:plc:z7hzwpuv5ytin56wecfxa4mx), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:z7hzwpuv5ytin56wecfxa4mx/cc.coffeencode.authForum)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:z7hzwpuv5ytin56wecfxa4mx/cc.coffeencode.authForum/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:z7hzwpuv5ytin56wecfxa4mx/cc.coffeencode.authForum/analytics)

## Permission set (`cc.coffeencode.authForum`)

Type: permission-set

### Shown at sign-in

- `title` (string): Coffee & Code Forum
- `detail` (string): Create, update, and delete your forum posts, replies, and votes, and upload images to attach to them.

### Permissions

- `repo` (permission): Create, update and delete records in cc.coffeencode.forum.post and cc.coffeencode.forum.reply.
  - Constraints: action: create, update, delete
  - Collections: `cc.coffeencode.forum.post`, `cc.coffeencode.forum.reply`
- `repo` (permission): Create and delete records in cc.coffeencode.forum.vote.
  - Constraints: action: create, delete
  - Collections: `cc.coffeencode.forum.vote`
- `blob` (permission): Not granted: permission sets don't grant blob permissions.

### Asking for it (OAuth scope)

- `include:cc.coffeencode.authForum` (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, update, and delete your forum posts, replies, and votes, and upload images to attach to them.",
      "permissions": [
        {
          "action": [
            "create",
            "update",
            "delete"
          ],
          "collection": [
            "cc.coffeencode.forum.post",
            "cc.coffeencode.forum.reply"
          ],
          "resource": "repo",
          "type": "permission"
        },
        {
          "action": [
            "create",
            "delete"
          ],
          "collection": [
            "cc.coffeencode.forum.vote"
          ],
          "resource": "repo",
          "type": "permission"
        },
        {
          "accept": [
            "image/*"
          ],
          "resource": "blob",
          "type": "permission"
        }
      ],
      "title": "Coffee & Code Forum",
      "type": "permission-set"
    }
  },
  "id": "cc.coffeencode.authForum",
  "lexicon": 1
}
```
