Skip to content

Update: Annotate _access with inputType for the authoring UI#113

Merged
taylortom merged 1 commit into
masterfrom
access-schema-inputtype
Jul 9, 2026
Merged

Update: Annotate _access with inputType for the authoring UI#113
taylortom merged 1 commit into
masterfrom
access-schema-inputtype

Conversation

@taylortom

@taylortom taylortom commented Jul 9, 2026

Copy link
Copy Markdown
Collaborator

Adds the editor annotation that lets the authoring UI render _access as a single access control instead of a raw object.

Update

  • schema/access.schema.json — annotate the _access property with _adapt: { inputType: 'Access' }. This is an editor hint only; it is additive and ignored by access enforcement.
  • docs/writing-an-api.md — document the annotation, and note that a module adding a grant key should annotate its own sub-property (an identity grant uses _adapt.inputType: 'Principal' with options.apiRoot/labelField/kind).

Testing

  • Valid JSON; the annotation carries no enforcement behaviour.

@taylortom
taylortom merged commit aec1daf into master Jul 9, 2026
3 checks passed
@taylortom
taylortom deleted the access-schema-inputtype branch July 9, 2026 10:23
github-actions Bot pushed a commit that referenced this pull request Jul 9, 2026
# [4.1.0](v4.0.1...v4.1.0) (2026-07-09)

### Chore

* trigger add-to-project on reopened issues and PRs ([6c4050b](6c4050b))

### Update

* Annotate _access with inputType for the authoring UI (#113) ([aec1daf](aec1daf)), closes [#113](#113)
@github-actions

github-actions Bot commented Jul 9, 2026

Copy link
Copy Markdown

🎉 This PR is included in version 4.1.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Development

Successfully merging this pull request may close these issues.

1 participant