# com.livtet.authLivtetCore

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

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:e2x3ihw2ntxt7pcgzmtu3abi/com.livtet.authLivtetCore)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:e2x3ihw2ntxt7pcgzmtu3abi/com.livtet.authLivtetCore/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:e2x3ihw2ntxt7pcgzmtu3abi/com.livtet.authLivtetCore/analytics)

## Permission set (`com.livtet.authLivtetCore`)

Type: permission-set

### Shown at sign-in

- `title` (string): Your Livtet library on the web
- `detail` (string): Read and update your Livtet profile, shelves, reading goal, reading plans, reading progress, follows, reviews and the replies to them, top books, giveaways, contributor claims, and your muted books, accounts and contributors. This is what the Livtet web app asks for when you sign in.

### Permissions

- `repo` (permission): Create, update and delete records in com.livtet.actor.profile, com.livtet.readingGoal, com.livtet.readingPlan, com.livtet.shelf, com.livtet.bookStatus, com.livtet.shelfItem, com.livtet.follow, com.livtet.readingProgress, com.livtet.topBook, com.livtet.contributorClaim, com.livtet.reviewReply, com.livtet.giveaway.entry and com.livtet.giveaway.event.
  - Constraints: action: create, update, delete
  - Collections: `com.livtet.actor.profile`, `com.livtet.readingGoal`, `com.livtet.readingPlan`, `com.livtet.shelf`, `com.livtet.bookStatus`, `com.livtet.shelfItem`, `com.livtet.follow`, `com.livtet.readingProgress`, `com.livtet.topBook`, `com.livtet.contributorClaim`, `com.livtet.reviewReply`, `com.livtet.giveaway.entry`, `com.livtet.giveaway.event`
- `rpc` (permission): Call com.livtet.giveaway.draw, com.livtet.giveaway.extend, com.livtet.ensureEdition, com.livtet.setMute, com.livtet.getMutes and com.livtet.isMuted on the service named by the scope's aud parameter. Without one, it isn't granted.
  - Constraints: inheritAud: true
  - Methods: `com.livtet.giveaway.draw`, `com.livtet.giveaway.extend`, `com.livtet.ensureEdition`, `com.livtet.setMute`, `com.livtet.getMutes`, `com.livtet.isMuted`

### Asking for it (OAuth scope)

- `include:com.livtet.authLivtetCore` (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": "Read and update your Livtet profile, shelves, reading goal, reading plans, reading progress, follows, reviews and the replies to them, top books, giveaways, contributor claims, and your muted books, accounts and contributors. This is what the Livtet web app asks for when you sign in.",
      "permissions": [
        {
          "action": [
            "create",
            "update",
            "delete"
          ],
          "collection": [
            "com.livtet.actor.profile",
            "com.livtet.readingGoal",
            "com.livtet.readingPlan",
            "com.livtet.shelf",
            "com.livtet.bookStatus",
            "com.livtet.shelfItem",
            "com.livtet.follow",
            "com.livtet.readingProgress",
            "com.livtet.topBook",
            "com.livtet.contributorClaim",
            "com.livtet.reviewReply",
            "com.livtet.giveaway.entry",
            "com.livtet.giveaway.event"
          ],
          "resource": "repo",
          "type": "permission"
        },
        {
          "inheritAud": true,
          "lxm": [
            "com.livtet.giveaway.draw",
            "com.livtet.giveaway.extend",
            "com.livtet.ensureEdition",
            "com.livtet.setMute",
            "com.livtet.getMutes",
            "com.livtet.isMuted"
          ],
          "resource": "rpc",
          "type": "permission"
        }
      ],
      "title": "Your Livtet library on the web",
      "type": "permission-set"
    }
  },
  "id": "com.livtet.authLivtetCore",
  "lexicon": 1
}
```
