Skip to content

Commit 31731fb

Browse files
committed
Tighten plugin changeset description
1 parent 635cc68 commit 31731fb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.changeset/plugin-auth-path.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
"@trigger.dev/plugins": patch
33
---
44

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.
5+
The public interfaces for a plugin system. Initially consolidated authentication and authorization interfaces.

0 commit comments

Comments
 (0)