# pub.techne.draft.authWrite

> Publish your records, and keep private ones in the spaces you also grant. Create, edit and delete the public pub.techne records an app keeps in your repo for you: your profile, events you host and their listings, the approvals and invites you give as a host, connections, evaluations and check-ins, feedback on whether a tag fits a record, venue research and short card lines, asks and offers, places, collectives, feed recipes and the queries an app publishes, an app's own public configuration, and the credentials an issuer publishes. It names every pub.techne record type that has a public home in the published placement manifest (pub.techne.draft.placement), and nothing private. Where you also grant a space, it lets the app work through the Techne platform as you: write private records for you there, by way of your own PDS (into your repo); hand the platform the public ones it just wrote, so they are checked and indexed; and list permissioned records, your own and anyone's in a space you can read (a collective you belong to, a beacon shared with you), not only the ones it wrote. Without a space it reaches only your public records.

- Kind: permission-set
- Authority: draft.techne.pub
- Lexicon: 1
- Published by [lexicons.techne.town](https://lexicon.garden/identity/did:plc:cbtfheqpi4g6vlrha4tpoh53), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:cbtfheqpi4g6vlrha4tpoh53/pub.techne.draft.authWrite)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:cbtfheqpi4g6vlrha4tpoh53/pub.techne.draft.authWrite/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:cbtfheqpi4g6vlrha4tpoh53/pub.techne.draft.authWrite/analytics)

## Permission set (`pub.techne.draft.authWrite`)

Type: permission-set

### Shown at sign-in

- `title` (string): Publish your Techne records
- `detail` (string): Create, edit and delete your public Techne records. Where you also grant a space, save private ones there.

### Permissions

- `repo` (permission): Create, update and delete records in pub.techne.draft.actor.profile, pub.techne.draft.appConfig, pub.techne.draft.approval, pub.techne.draft.assessment, pub.techne.draft.channelVerification, pub.techne.draft.collective, pub.techne.draft.collectiveV2, pub.techne.draft.connection, pub.techne.draft.contactChannel, pub.techne.draft.containedIn, pub.techne.draft.credential, pub.techne.draft.credentialRevocation, pub.techne.draft.derivation, pub.techne.draft.distinctFrom, pub.techne.draft.evaluation, pub.techne.draft.event.config, pub.techne.draft.event.listing, pub.techne.draft.feed.recipe, pub.techne.draft.geo, pub.techne.draft.heldAt, pub.techne.draft.invite, pub.techne.draft.market.ask, pub.techne.draft.market.offer, pub.techne.draft.membership, pub.techne.draft.operator, pub.techne.draft.org, pub.techne.draft.orgAtPlace, pub.techne.draft.financials, pub.techne.draft.statement, pub.techne.draft.place, pub.techne.draft.placeV2, pub.techne.draft.placeResearch, pub.techne.draft.presence, pub.techne.draft.profile, pub.techne.draft.provenance, pub.techne.draft.publisher, pub.techne.draft.query, pub.techne.draft.questionSet, pub.techne.draft.receipt, pub.techne.draft.region, pub.techne.draft.registry.typeRequest, pub.techne.draft.retirement, pub.techne.draft.sameAs, pub.techne.draft.source, pub.techne.draft.sourceAttribution, pub.techne.draft.sourceRef, pub.techne.draft.summary, pub.techne.draft.tagFeedback, pub.techne.draft.verdict and pub.techne.draft.verification.
  - Constraints: action: create, update, delete
  - Collections: `pub.techne.draft.actor.profile`, `pub.techne.draft.appConfig`, `pub.techne.draft.approval`, `pub.techne.draft.assessment`, `pub.techne.draft.channelVerification`, `pub.techne.draft.collective`, `pub.techne.draft.collectiveV2`, `pub.techne.draft.connection`, `pub.techne.draft.contactChannel`, `pub.techne.draft.containedIn`, `pub.techne.draft.credential`, `pub.techne.draft.credentialRevocation`, `pub.techne.draft.derivation`, `pub.techne.draft.distinctFrom`, `pub.techne.draft.evaluation`, `pub.techne.draft.event.config`, `pub.techne.draft.event.listing`, `pub.techne.draft.feed.recipe`, `pub.techne.draft.geo`, `pub.techne.draft.heldAt`, `pub.techne.draft.invite`, `pub.techne.draft.market.ask`, `pub.techne.draft.market.offer`, `pub.techne.draft.membership`, `pub.techne.draft.operator`, `pub.techne.draft.org`, `pub.techne.draft.orgAtPlace`, `pub.techne.draft.financials`, `pub.techne.draft.statement`, `pub.techne.draft.place`, `pub.techne.draft.placeV2`, `pub.techne.draft.placeResearch`, `pub.techne.draft.presence`, `pub.techne.draft.profile`, `pub.techne.draft.provenance`, `pub.techne.draft.publisher`, `pub.techne.draft.query`, `pub.techne.draft.questionSet`, `pub.techne.draft.receipt`, `pub.techne.draft.region`, `pub.techne.draft.registry.typeRequest`, `pub.techne.draft.retirement`, `pub.techne.draft.sameAs`, `pub.techne.draft.source`, `pub.techne.draft.sourceAttribution`, `pub.techne.draft.sourceRef`, `pub.techne.draft.summary`, `pub.techne.draft.tagFeedback`, `pub.techne.draft.verdict`, `pub.techne.draft.verification`
- `rpc` (permission): Call pub.techne.draft.permissioned.listRecords, pub.techne.draft.permissioned.putRecords and pub.techne.draft.sync.indexRecord on the service named by the scope's aud parameter. Without one, it isn't granted.
  - Constraints: inheritAud: true
  - Methods: `pub.techne.draft.permissioned.listRecords`, `pub.techne.draft.permissioned.putRecords`, `pub.techne.draft.sync.indexRecord`

### Asking for it (OAuth scope)

- `include:pub.techne.draft.authWrite` (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": "Publish your records, and keep private ones in the spaces you also grant. Create, edit and delete the public pub.techne records an app keeps in your repo for you: your profile, events you host and their listings, the approvals and invites you give as a host, connections, evaluations and check-ins, feedback on whether a tag fits a record, venue research and short card lines, asks and offers, places, collectives, feed recipes and the queries an app publishes, an app's own public configuration, and the credentials an issuer publishes. It names every pub.techne record type that has a public home in the published placement manifest (pub.techne.draft.placement), and nothing private. Where you also grant a space, it lets the app work through the Techne platform as you: write private records for you there, by way of your own PDS (into your repo); hand the platform the public ones it just wrote, so they are checked and indexed; and list permissioned records, your own and anyone's in a space you can read (a collective you belong to, a beacon shared with you), not only the ones it wrote. Without a space it reaches only your public records.",
      "detail": "Create, edit and delete your public Techne records. Where you also grant a space, save private ones there.",
      "permissions": [
        {
          "action": [
            "create",
            "update",
            "delete"
          ],
          "collection": [
            "pub.techne.draft.actor.profile",
            "pub.techne.draft.appConfig",
            "pub.techne.draft.approval",
            "pub.techne.draft.assessment",
            "pub.techne.draft.channelVerification",
            "pub.techne.draft.collective",
            "pub.techne.draft.collectiveV2",
            "pub.techne.draft.connection",
            "pub.techne.draft.contactChannel",
            "pub.techne.draft.containedIn",
            "pub.techne.draft.credential",
            "pub.techne.draft.credentialRevocation",
            "pub.techne.draft.derivation",
            "pub.techne.draft.distinctFrom",
            "pub.techne.draft.evaluation",
            "pub.techne.draft.event.config",
            "pub.techne.draft.event.listing",
            "pub.techne.draft.feed.recipe",
            "pub.techne.draft.geo",
            "pub.techne.draft.heldAt",
            "pub.techne.draft.invite",
            "pub.techne.draft.market.ask",
            "pub.techne.draft.market.offer",
            "pub.techne.draft.membership",
            "pub.techne.draft.operator",
            "pub.techne.draft.org",
            "pub.techne.draft.orgAtPlace",
            "pub.techne.draft.financials",
            "pub.techne.draft.statement",
            "pub.techne.draft.place",
            "pub.techne.draft.placeV2",
            "pub.techne.draft.placeResearch",
            "pub.techne.draft.presence",
            "pub.techne.draft.profile",
            "pub.techne.draft.provenance",
            "pub.techne.draft.publisher",
            "pub.techne.draft.query",
            "pub.techne.draft.questionSet",
            "pub.techne.draft.receipt",
            "pub.techne.draft.region",
            "pub.techne.draft.registry.typeRequest",
            "pub.techne.draft.retirement",
            "pub.techne.draft.sameAs",
            "pub.techne.draft.source",
            "pub.techne.draft.sourceAttribution",
            "pub.techne.draft.sourceRef",
            "pub.techne.draft.summary",
            "pub.techne.draft.tagFeedback",
            "pub.techne.draft.verdict",
            "pub.techne.draft.verification"
          ],
          "resource": "repo",
          "type": "permission"
        },
        {
          "inheritAud": true,
          "lxm": [
            "pub.techne.draft.permissioned.listRecords",
            "pub.techne.draft.permissioned.putRecords",
            "pub.techne.draft.sync.indexRecord"
          ],
          "resource": "rpc",
          "type": "permission"
        }
      ],
      "title": "Publish your Techne records",
      "type": "permission-set"
    }
  },
  "id": "pub.techne.draft.authWrite",
  "lexicon": 1
}
```
