# cc.coffeencode.authPublic

- 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.authPublic)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:z7hzwpuv5ytin56wecfxa4mx/cc.coffeencode.authPublic/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:z7hzwpuv5ytin56wecfxa4mx/cc.coffeencode.authPublic/analytics)

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

Type: permission-set

### Shown at sign-in

- `title` (string): Coffee & Code
- `detail` (string): Follow and Block Tags and Authors, like and dislike posts, leave comments and edit your public profile, create and edit lists, mark post as read and save posts for later

### Permissions

- `repo` (permission): Create, update and delete records in cc.coffeencode.comment, cc.coffeencode.profile, cc.coffeencode.list and cc.coffeencode.author.profile.
  - Constraints: action: create, update, delete
  - Collections: `cc.coffeencode.comment`, `cc.coffeencode.profile`, `cc.coffeencode.list`, `cc.coffeencode.author.profile`
- `repo` (permission): Create and delete records in cc.coffeencode.comment.like, cc.coffeencode.comment.dislike, cc.coffeencode.tag.follow, cc.coffeencode.profile.follow, cc.coffeencode.author.follow, cc.coffeencode.tag.block, cc.coffeencode.author.block, cc.coffeencode.profile.block, cc.coffeencode.interact.like, cc.coffeencode.interact.dislike, cc.coffeencode.save and cc.coffeencode.user.block.
  - Constraints: action: create, delete
  - Collections: `cc.coffeencode.comment.like`, `cc.coffeencode.comment.dislike`, `cc.coffeencode.tag.follow`, `cc.coffeencode.profile.follow`, `cc.coffeencode.author.follow`, `cc.coffeencode.tag.block`, `cc.coffeencode.author.block`, `cc.coffeencode.profile.block`, `cc.coffeencode.interact.like`, `cc.coffeencode.interact.dislike`, `cc.coffeencode.save`, `cc.coffeencode.user.block`
- `repo` (permission): Create records in cc.coffeencode.interact.view.
  - Constraints: action: create
  - Collections: `cc.coffeencode.interact.view`
- `repo` (permission): Create and update records in cc.coffeencode.notifications.read and cc.coffeencode.notifications.settings.
  - Constraints: action: create, update
  - Collections: `cc.coffeencode.notifications.read`, `cc.coffeencode.notifications.settings`

### Asking for it (OAuth scope)

- `include:cc.coffeencode.authPublic` (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": "Follow and Block Tags and Authors, like and dislike posts, leave comments and edit your public profile, create and edit lists, mark post as read and save posts for later",
      "permissions": [
        {
          "action": [
            "create",
            "update",
            "delete"
          ],
          "collection": [
            "cc.coffeencode.comment",
            "cc.coffeencode.profile",
            "cc.coffeencode.list",
            "cc.coffeencode.author.profile"
          ],
          "resource": "repo",
          "type": "permission"
        },
        {
          "action": [
            "create",
            "delete"
          ],
          "collection": [
            "cc.coffeencode.comment.like",
            "cc.coffeencode.comment.dislike",
            "cc.coffeencode.tag.follow",
            "cc.coffeencode.profile.follow",
            "cc.coffeencode.author.follow",
            "cc.coffeencode.tag.block",
            "cc.coffeencode.author.block",
            "cc.coffeencode.profile.block",
            "cc.coffeencode.interact.like",
            "cc.coffeencode.interact.dislike",
            "cc.coffeencode.save",
            "cc.coffeencode.user.block"
          ],
          "resource": "repo",
          "type": "permission"
        },
        {
          "action": [
            "create"
          ],
          "collection": [
            "cc.coffeencode.interact.view"
          ],
          "resource": "repo",
          "type": "permission"
        },
        {
          "action": [
            "create",
            "update"
          ],
          "collection": [
            "cc.coffeencode.notifications.read",
            "cc.coffeencode.notifications.settings"
          ],
          "resource": "repo",
          "type": "permission"
        }
      ],
      "title": "Coffee & Code",
      "type": "permission-set"
    }
  },
  "id": "cc.coffeencode.authPublic",
  "lexicon": 1
}
```
