# computer.localnetwork.permissions

> did:web:root.invalid stands for the root account: each network's root publishes this set with its own DID in its place, so the shared spaces it grants writes to are that network's only. The computer.localnetwork.epk repo writes and the press kit space under the user's own DID are for press kits made before the root account held them, which the owner's session moves to the root by deleting the old record and space.

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

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:d42l64gsczg6qh2vo243xv5l/computer.localnetwork.permissions)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:d42l64gsczg6qh2vo243xv5l/computer.localnetwork.permissions/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:d42l64gsczg6qh2vo243xv5l/computer.localnetwork.permissions/analytics)

## Permission set (`computer.localnetwork.permissions`)

Type: permission-set

### Shown at sign-in

- `title` (string): Local Network
- `detail` (string): Keep your profile, submit and manage DJ projects, publish press kits and decide who sees them, edit your sets, announce shows, follow DJs, book DJs, keep a private planner, and record an audit trail of your actions.

### Permissions

- `space` (permission): Read your own and create computer.localnetwork.audit.entry records in the space main among did:plc:d42l64gsczg6qh2vo243xv5l's computer.localnetwork.space.audit spaces. From the Atproto Spaces proposal (0016); servers without it ignore space permissions.
  - Constraints: authority: did:plc:d42l64gsczg6qh2vo243xv5l, skey: main, collection: computer.localnetwork.audit.entry, action: read_self, create
  - Space type: `computer.localnetwork.space.audit`
- `space` (permission): Read your own, create, update and delete computer.localnetwork.moderation.request records in the space main among did:plc:d42l64gsczg6qh2vo243xv5l's computer.localnetwork.space.moderation spaces. From the Atproto Spaces proposal (0016); servers without it ignore space permissions.
  - Constraints: authority: did:plc:d42l64gsczg6qh2vo243xv5l, skey: main, collection: computer.localnetwork.moderation.request, action: read_self, create, update, delete
  - Space type: `computer.localnetwork.space.moderation`
- `space` (permission): Read your own, create, update and delete computer.localnetwork.booking.inquiry, computer.localnetwork.booking.message and computer.localnetwork.booking.status records in did:plc:d42l64gsczg6qh2vo243xv5l's computer.localnetwork.space.booking spaces. From the Atproto Spaces proposal (0016); servers without it ignore space permissions.
  - Constraints: authority: did:plc:d42l64gsczg6qh2vo243xv5l, collection: computer.localnetwork.booking.inquiry, computer.localnetwork.booking.message, computer.localnetwork.booking.status, action: read_self, create, update, delete
  - Space type: `computer.localnetwork.space.booking`
- `space` (permission): Read, create, update and delete computer.localnetwork.planner.save and computer.localnetwork.planner.show records in the space self among your own computer.localnetwork.space.planner spaces, and create and update the spaces themselves. From the Atproto Spaces proposal (0016); servers without it ignore space permissions.
  - Constraints: skey: self, collection: computer.localnetwork.planner.save, computer.localnetwork.planner.show, action: read, create, update, delete, manage: create, update
  - Space type: `computer.localnetwork.space.planner`
- `repo` (permission): Create, update and delete records in computer.localnetwork.epk.
  - Constraints: action: create, update, delete
  - Collections: `computer.localnetwork.epk`
- `repo` (permission): Create, update and delete records in computer.localnetwork.show.
  - Constraints: action: create, update, delete
  - Collections: `computer.localnetwork.show`
- `repo` (permission): Create and delete records in computer.localnetwork.follow.
  - Constraints: action: create, delete
  - Collections: `computer.localnetwork.follow`
- `space` (permission): Read, create, update and delete computer.localnetwork.epk.content and computer.localnetwork.epk.grant records in your own computer.localnetwork.space.epk spaces, and create, update and delete the spaces themselves. From the Atproto Spaces proposal (0016); servers without it ignore space permissions.
  - Constraints: collection: computer.localnetwork.epk.content, computer.localnetwork.epk.grant, action: read, create, update, delete, manage: create, update, delete
  - Space type: `computer.localnetwork.space.epk`
- `space` (permission): Read your own, create, update and delete computer.localnetwork.epk.draft records in did:plc:d42l64gsczg6qh2vo243xv5l's computer.localnetwork.space.backstage spaces. From the Atproto Spaces proposal (0016); servers without it ignore space permissions.
  - Constraints: authority: did:plc:d42l64gsczg6qh2vo243xv5l, collection: computer.localnetwork.epk.draft, action: read_self, create, update, delete
  - Space type: `computer.localnetwork.space.backstage`
- `space` (permission): Read your own, create and delete computer.localnetwork.epk.request records in did:plc:d42l64gsczg6qh2vo243xv5l's computer.localnetwork.space.epkRequests spaces. From the Atproto Spaces proposal (0016); servers without it ignore space permissions.
  - Constraints: authority: did:plc:d42l64gsczg6qh2vo243xv5l, collection: computer.localnetwork.epk.request, action: read_self, create, delete
  - Space type: `computer.localnetwork.space.epkRequests`
- `repo` (permission): Create, update and delete records in computer.localnetwork.profile.
  - Constraints: action: create, update, delete
  - Collections: `computer.localnetwork.profile`
- `repo` (permission): Update records in computer.localnetwork.dj.set.
  - Constraints: action: update
  - Collections: `computer.localnetwork.dj.set`
- `space` (permission): Read your own, create, update and delete computer.localnetwork.epk.draft records in did:plc:d42l64gsczg6qh2vo243xv5l's computer.localnetwork.space.performer spaces. From the Atproto Spaces proposal (0016); servers without it ignore space permissions.
  - Constraints: authority: did:plc:d42l64gsczg6qh2vo243xv5l, collection: computer.localnetwork.epk.draft, action: read_self, create, update, delete
  - Space type: `computer.localnetwork.space.performer`

### Asking for it (OAuth scope)

- `include:computer.localnetwork.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": {
      "description": "did:web:root.invalid stands for the root account: each network's root publishes this set with its own DID in its place, so the shared spaces it grants writes to are that network's only. The computer.localnetwork.epk repo writes and the press kit space under the user's own DID are for press kits made before the root account held them, which the owner's session moves to the root by deleting the old record and space.",
      "detail": "Keep your profile, submit and manage DJ projects, publish press kits and decide who sees them, edit your sets, announce shows, follow DJs, book DJs, keep a private planner, and record an audit trail of your actions.",
      "permissions": [
        {
          "action": [
            "read_self",
            "create"
          ],
          "authority": "did:plc:d42l64gsczg6qh2vo243xv5l",
          "collection": [
            "computer.localnetwork.audit.entry"
          ],
          "resource": "space",
          "skey": "main",
          "spaceType": "computer.localnetwork.space.audit",
          "type": "permission"
        },
        {
          "action": [
            "read_self",
            "create",
            "update",
            "delete"
          ],
          "authority": "did:plc:d42l64gsczg6qh2vo243xv5l",
          "collection": [
            "computer.localnetwork.moderation.request"
          ],
          "resource": "space",
          "skey": "main",
          "spaceType": "computer.localnetwork.space.moderation",
          "type": "permission"
        },
        {
          "action": [
            "read_self",
            "create",
            "update",
            "delete"
          ],
          "authority": "did:plc:d42l64gsczg6qh2vo243xv5l",
          "collection": [
            "computer.localnetwork.booking.inquiry",
            "computer.localnetwork.booking.message",
            "computer.localnetwork.booking.status"
          ],
          "resource": "space",
          "spaceType": "computer.localnetwork.space.booking",
          "type": "permission"
        },
        {
          "action": [
            "read",
            "create",
            "update",
            "delete"
          ],
          "collection": [
            "computer.localnetwork.planner.save",
            "computer.localnetwork.planner.show"
          ],
          "manage": [
            "create",
            "update"
          ],
          "resource": "space",
          "skey": "self",
          "spaceType": "computer.localnetwork.space.planner",
          "type": "permission"
        },
        {
          "action": [
            "create",
            "update",
            "delete"
          ],
          "collection": [
            "computer.localnetwork.epk"
          ],
          "resource": "repo",
          "type": "permission"
        },
        {
          "action": [
            "create",
            "update",
            "delete"
          ],
          "collection": [
            "computer.localnetwork.show"
          ],
          "resource": "repo",
          "type": "permission"
        },
        {
          "action": [
            "create",
            "delete"
          ],
          "collection": [
            "computer.localnetwork.follow"
          ],
          "resource": "repo",
          "type": "permission"
        },
        {
          "action": [
            "read",
            "create",
            "update",
            "delete"
          ],
          "collection": [
            "computer.localnetwork.epk.content",
            "computer.localnetwork.epk.grant"
          ],
          "manage": [
            "create",
            "update",
            "delete"
          ],
          "resource": "space",
          "spaceType": "computer.localnetwork.space.epk",
          "type": "permission"
        },
        {
          "action": [
            "read_self",
            "create",
            "update",
            "delete"
          ],
          "authority": "did:plc:d42l64gsczg6qh2vo243xv5l",
          "collection": [
            "computer.localnetwork.epk.draft"
          ],
          "resource": "space",
          "spaceType": "computer.localnetwork.space.backstage",
          "type": "permission"
        },
        {
          "action": [
            "read_self",
            "create",
            "delete"
          ],
          "authority": "did:plc:d42l64gsczg6qh2vo243xv5l",
          "collection": [
            "computer.localnetwork.epk.request"
          ],
          "resource": "space",
          "spaceType": "computer.localnetwork.space.epkRequests",
          "type": "permission"
        },
        {
          "action": [
            "create",
            "update",
            "delete"
          ],
          "collection": [
            "computer.localnetwork.profile"
          ],
          "resource": "repo",
          "type": "permission"
        },
        {
          "action": [
            "update"
          ],
          "collection": [
            "computer.localnetwork.dj.set"
          ],
          "resource": "repo",
          "type": "permission"
        },
        {
          "action": [
            "read_self",
            "create",
            "update",
            "delete"
          ],
          "authority": "did:plc:d42l64gsczg6qh2vo243xv5l",
          "collection": [
            "computer.localnetwork.epk.draft"
          ],
          "resource": "space",
          "spaceType": "computer.localnetwork.space.performer",
          "type": "permission"
        }
      ],
      "title": "Local Network",
      "type": "permission-set"
    }
  },
  "id": "computer.localnetwork.permissions",
  "lexicon": 1
}
```
