# blue.vec.authBasic

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

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:ohvis5rxiiyfg3sbnjkuxytw/blue.vec.authBasic)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:ohvis5rxiiyfg3sbnjkuxytw/blue.vec.authBasic/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:ohvis5rxiiyfg3sbnjkuxytw/blue.vec.authBasic/analytics)

## Permission set (`blue.vec.authBasic`)

Type: permission-set

### Shown at sign-in

- `title` (string): vec.blue
- `detail` (string): Manage vec.blue Libraries, sitemaps, lenses, preferences and abuse reports.

### Permissions

- `repo` (permission): Create, update and delete records in blue.vec.actor.declaration, blue.vec.lens, blue.vec.library, blue.vec.libraryItem and blue.vec.sitemap.
  - Collections: `blue.vec.actor.declaration`, `blue.vec.lens`, `blue.vec.library`, `blue.vec.libraryItem`, `blue.vec.sitemap`
- `rpc` (permission): Call blue.vec.actor.getPreferences, blue.vec.actor.putPreferences and blue.vec.moderation.createReport on the service named by the scope's aud parameter. Without one, it isn't granted.
  - Constraints: inheritAud: true
  - Methods: `blue.vec.actor.getPreferences`, `blue.vec.actor.putPreferences`, `blue.vec.moderation.createReport`

### Asking for it (OAuth scope)

- `include:blue.vec.authBasic` (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": "Manage vec.blue Libraries, sitemaps, lenses, preferences and abuse reports.",
      "permissions": [
        {
          "collection": [
            "blue.vec.actor.declaration",
            "blue.vec.lens",
            "blue.vec.library",
            "blue.vec.libraryItem",
            "blue.vec.sitemap"
          ],
          "resource": "repo",
          "type": "permission"
        },
        {
          "inheritAud": true,
          "lxm": [
            "blue.vec.actor.getPreferences",
            "blue.vec.actor.putPreferences",
            "blue.vec.moderation.createReport"
          ],
          "resource": "rpc",
          "type": "permission"
        }
      ],
      "title": "vec.blue",
      "type": "permission-set"
    }
  },
  "id": "blue.vec.authBasic",
  "lexicon": 1
}
```
