@owlmeans/server-iam 0.1.18-rc.53 → 0.1.18-rc.54

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/README.md CHANGED
@@ -14,7 +14,7 @@ One-call OIDC RP wiring and IAM gate for OwlMeans servers — `appendIam()` and
14
14
  ## Installation
15
15
 
16
16
  ```bash
17
- bun add @owlmeans/server-iam@^0.1.18-rc.53
17
+ bun add @owlmeans/server-iam@^0.1.18-rc.54
18
18
  ```
19
19
 
20
20
  ## Usage
@@ -47,7 +47,7 @@ This package ships embedded agent skills under `agent-meta/`. After installing y
47
47
  your project's skill store (`.agents/skills/`):
48
48
 
49
49
  ```sh
50
- npx @owlmeans/agent-skills@^0.1.18-rc.45
50
+ npx @owlmeans/agent-skills@^0.1.18-rc.46
51
51
  ```
52
52
 
53
53
  The embedded files are version-matched to this package release. Do not edit them
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "schemaVersion": 2,
3
3
  "package": "@owlmeans/server-iam",
4
- "version": "0.1.18-rc.53",
5
- "generatedAt": "2026-10-01T23:27:48.727Z",
4
+ "version": "0.1.18-rc.54",
5
+ "generatedAt": "2026-10-03T11:19:50.777Z",
6
6
  "canonicalRepo": "https://github.com/owlmeans/common",
7
7
  "entries": [
8
8
  {
@@ -8,7 +8,7 @@ metadata:
8
8
 
9
9
  # Using `@owlmeans/server-iam`
10
10
 
11
- **Install:** `"@owlmeans/server-iam": "^0.1.18-rc.53"` in `dependencies`
11
+ **Install:** `"@owlmeans/server-iam": "^0.1.18-rc.54"` in `dependencies`
12
12
 
13
13
  Boilerplate-less server-side consumer of the OwlMeans IAM. One call wires the OIDC RP stack and the
14
14
  IAM gate; the consumer never knows which IAM backend (Keycloak or integrated) is active. For a
@@ -109,12 +109,9 @@ await ctx.service<GateService>(OIDC_GATE).assert(req, res, ['article--modify'])
109
109
  from `@owlmeans/server-oidc-rp` (`createGateModel().loadPermissions`) — exactly the check
110
110
  `makeOidcGate` performs, which is what a Keycloak-backed deployment gets.
111
111
 
112
- In claims mode the four permission kinds (`iam` skill, "Permission kinds") are all decided locally:
113
- an unbound set applies everywhere, a set bound to an organization (`entitySlug`) only in that one, a
114
- set with `resources` only for those ids. The relying party already strips the binding of the acting
115
- organization's sets and drops every other bound set, so a bound set reaching the gate is a leak —
116
- and `hasPermission` refuses it unless the request acts in exactly its organization, including when
117
- nothing names an organization at all.
112
+ In claims mode all four permission kinds (`iam` skill, "Permission kinds") are decided locally by
113
+ `hasPermission`; a bound set reaching the gate is a leak the relying party should have stripped, and
114
+ it counts only when the request acts in exactly its organization.
118
115
 
119
116
  Which branch runs is decided per request by the token alone: a conforming `permissions` claim selects
120
117
  claims mode, its absence selects the fallback. Nothing configures it, and there is no environment
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@owlmeans/server-iam",
3
- "version": "0.1.18-rc.53",
3
+ "version": "0.1.18-rc.54",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "scripts": {
@@ -22,14 +22,14 @@
22
22
  }
23
23
  },
24
24
  "dependencies": {
25
- "@owlmeans/auth": "^0.1.18-rc.37",
25
+ "@owlmeans/auth": "^0.1.18-rc.38",
26
26
  "@owlmeans/context": "^0.1.18-rc.32",
27
- "@owlmeans/entrypoint": "^0.1.18-rc.38",
27
+ "@owlmeans/entrypoint": "^0.1.18-rc.39",
28
28
  "@owlmeans/error": "^0.1.18-rc.36",
29
- "@owlmeans/iam": "^0.1.18-rc.46",
30
- "@owlmeans/oidc": "^0.1.18-rc.51",
31
- "@owlmeans/server-context": "^0.1.18-rc.39",
32
- "@owlmeans/server-oidc-rp": "^0.1.18-rc.51"
29
+ "@owlmeans/iam": "^0.1.18-rc.47",
30
+ "@owlmeans/oidc": "^0.1.18-rc.52",
31
+ "@owlmeans/server-context": "^0.1.18-rc.40",
32
+ "@owlmeans/server-oidc-rp": "^0.1.18-rc.52"
33
33
  },
34
34
  "devDependencies": {
35
35
  "@owlmeans/dep-config": "workspace:*",