Skip to content

Commit 635cc68

Browse files
committed
Consolidate plugin changesets into a single patch entry
Six per-feature RBAC changesets were accumulating across the branch. The cumulative effect at release is purely additive — new methods on the controller contract, new accepted shapes on existing methods — so a single patch changeset captures it cleanly without the per-step narrative bleeding into the release notes.
1 parent 977089c commit 635cc68

7 files changed

Lines changed: 5 additions & 30 deletions

.changeset/plugin-auth-path.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@trigger.dev/plugins": patch
3+
---
4+
5+
Consolidate authentication and authorization into the `RoleBaseAccessController` contract. The interface now covers the full per-request flow — authenticate the caller, return a pre-built ability, optionally fold in an action + resource check — for both Bearer (API key + PAT + Public JWT) and session-cookie callers. Replaces several ad-hoc auth helpers consumers were stitching together themselves. Resources passed to `ability.can` may be a single `RbacResource` or an array (any element matches, for records addressable by multiple identifiers). Mutation methods return discriminated `Result` types so user-facing error strings flow through without try/catch.

.changeset/rbac-assignable-role-ids.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/rbac-authenticate-authorize-arrays.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/rbac-mutation-result-types.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/rbac-plugin-array-resources.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/rbac-system-role-ids-method.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/rbac-system-roles.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

0 commit comments

Comments
 (0)