@byline/auth 3.15.2 → 3.16.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/abilities.d.ts +1 -1
- package/dist/actor.js +1 -1
- package/dist/context.d.ts +1 -1
- package/dist/session-provider.d.ts +1 -1
- package/package.json +2 -2
package/dist/abilities.d.ts
CHANGED
package/dist/actor.js
CHANGED
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
* place (`assertActorCanPerform`, `assertAdminActor`).
|
|
28
28
|
*
|
|
29
29
|
* Ability keys are flat dotted strings (e.g. `collections.pages.publish`,
|
|
30
|
-
* `media.manage`). See docs/
|
|
30
|
+
* `media.manage`). See docs/06-auth-and-security/01-authn-authz.md for the rationale and the
|
|
31
31
|
* registry that mints them.
|
|
32
32
|
*/
|
|
33
33
|
import { ERR_FORBIDDEN } from './errors.js';
|
package/dist/context.d.ts
CHANGED
|
@@ -15,7 +15,7 @@ import { type Actor } from './actor.js';
|
|
|
15
15
|
* Service-layer enforcement is live: `assertActorCanPerform` runs at
|
|
16
16
|
* every `document-lifecycle` write entry and on `@byline/client` reads;
|
|
17
17
|
* `assertAdminActor` runs inside every admin-management `*Command`.
|
|
18
|
-
* See docs/
|
|
18
|
+
* See docs/06-auth-and-security/01-authn-authz.md for the present-state reference.
|
|
19
19
|
*
|
|
20
20
|
* `RequestContext` is intentionally independent of the existing
|
|
21
21
|
* `ReadContext` (populate / `afterRead` recursion guard) for now. Merging
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@byline/auth",
|
|
3
3
|
"private": false,
|
|
4
4
|
"license": "MPL-2.0",
|
|
5
|
-
"version": "3.
|
|
5
|
+
"version": "3.16.0",
|
|
6
6
|
"engines": {
|
|
7
7
|
"node": ">=20.9.0"
|
|
8
8
|
},
|
|
@@ -39,7 +39,6 @@
|
|
|
39
39
|
"dist"
|
|
40
40
|
],
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"npm-run-all": "^4.1.5",
|
|
43
42
|
"uuid": "^14.0.0"
|
|
44
43
|
},
|
|
45
44
|
"devDependencies": {
|
|
@@ -47,6 +46,7 @@
|
|
|
47
46
|
"@types/node": "^25.9.1",
|
|
48
47
|
"chokidar": "^5.0.0",
|
|
49
48
|
"chokidar-cli": "^3.0.0",
|
|
49
|
+
"npm-run-all": "^4.1.5",
|
|
50
50
|
"tsc-alias": "^1.8.17",
|
|
51
51
|
"tsx": "^4.22.3",
|
|
52
52
|
"typescript": "6.0.3",
|