@friggframework/schemas 2.0.0--canary.682.3c8b68a.0 → 2.0.0--canary.683.8a84ab1.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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@friggframework/schemas",
|
|
3
|
-
"version": "2.0.0--canary.
|
|
3
|
+
"version": "2.0.0--canary.683.8a84ab1.0",
|
|
4
4
|
"description": "Canonical JSON Schema definitions for Frigg Framework",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"author": "",
|
|
@@ -41,5 +41,5 @@
|
|
|
41
41
|
"middleware/",
|
|
42
42
|
"index.js"
|
|
43
43
|
],
|
|
44
|
-
"gitHead": "
|
|
44
|
+
"gitHead": "8a84ab14e5e56c7e7939b1b6a0b656ed9301dcfd"
|
|
45
45
|
}
|
|
@@ -115,6 +115,18 @@
|
|
|
115
115
|
"description": "DEPRECATED alias of strictMembership; its meaning changed.",
|
|
116
116
|
"default": false
|
|
117
117
|
},
|
|
118
|
+
"orgAdminRoles": {
|
|
119
|
+
"type": "array",
|
|
120
|
+
"description": "Organization roles that may manage organization-level things: connect or delete an organization-level account, re-authorize or delete its credential, create, change or delete an organization-owned integration (ADR-056 §3). The role is the adopter token's role claim; when the token carries none, the role stored on the caller's membership of the active organization (OrganizationMembership.orgRole); when there is none, MEMBER, never admin. A shared-secret (x-frigg header) caller needs no role, and so does a Frigg bearer token unless orgAdminGateBearerTokens is true. Compared case-insensitively.",
|
|
121
|
+
"items": { "type": "string", "minLength": 1 },
|
|
122
|
+
"minItems": 1,
|
|
123
|
+
"default": ["ADMIN"]
|
|
124
|
+
},
|
|
125
|
+
"orgAdminGateBearerTokens": {
|
|
126
|
+
"type": "boolean",
|
|
127
|
+
"description": "Judge Frigg bearer-token callers (/user/login) by organization role like adopter-token callers. Default false: a bearer token carries no role and keeps its behaviour from before organization roles, so it may manage the organization it acts in.",
|
|
128
|
+
"default": false
|
|
129
|
+
},
|
|
118
130
|
"authModes": {
|
|
119
131
|
"type": "object",
|
|
120
132
|
"description": "Authentication mode configuration - enables multiple authentication strategies. x-frigg-appUserId and x-frigg-appOrgId headers are automatically supported for user identification with any auth mode.",
|