Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# Read-only release actions are allowed

## Context

`ROADMAP.md` listed `release` as a built-in hard deny. #85 then asked for a release
domain, and #114 added `release:list` and `release:view`; the release shipped in 0.7.
Leaving the roadmap unchanged would make the code and the authoritative plan disagree.

## Decision

`release:list` and `release:view` are catalogued, read-only actions. They request
`contents: read` and cannot publish, edit, upload or delete anything.

The hard deny is narrowed to the write side:

- `release create`
- `release edit`
- `release upload`
- `release download`
- `release delete`

## Why

Reading releases is the same permission and risk class as reading repository
contents, which the catalog already allows. Publishing a release creates or replaces
an artifact outside the pull-request lifecycle, so it stays denied until there is a
separate decision for it.

## Consequences

- The action catalog remains the source of truth for broker permissions; the
generated README permission table is documentation derived from it.
- Any future release write action needs a new decision and roadmap update; it is not
opened by this note.
2 changes: 1 addition & 1 deletion ROADMAP.md
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ host_broker:
- [ ] Deny rules evaluated before allow. Unknown command, unknown flag, or missing whitelist entry
is refused.
- [ ] Built-in hard denies (not configurable on): `api`, `auth`, `extension`, `alias`, `config`,
`secret`, `repo delete`, `release`, `gist`, `ssh-key`, `gpg-key`, `codespace`,
`secret`, `repo delete`, `release create/edit/upload/download/delete`, `gist`, `ssh-key`, `gpg-key`, `codespace`,
`run download`, `workflow run`, `pr checkout`, `pr merge`; flags `--web`, `--hostname`,
`--input`, `--template-file`, `--body-file` (the client converts a body file to `--body`).
- [ ] Resolve the repository:
Expand Down
Loading