@adobe/helix-config 3.4.3 → 3.5.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/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
# [3.5.0](https://github.com/adobe/helix-config/compare/v3.4.4...v3.5.0) (2024-07-10)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* refine roles ([#128](https://github.com/adobe/helix-config/issues/128)) ([4550be1](https://github.com/adobe/helix-config/commit/4550be179e6b0fe6bcc65742500bae6bb3c82486))
|
|
7
|
+
|
|
8
|
+
## [3.4.4](https://github.com/adobe/helix-config/compare/v3.4.3...v3.4.4) (2024-07-09)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* add config-admin role ([#126](https://github.com/adobe/helix-config/issues/126)) ([baa2ba4](https://github.com/adobe/helix-config/commit/baa2ba46c4a741b300c2cc0114654ac6c071bcad))
|
|
14
|
+
|
|
1
15
|
## [3.4.3](https://github.com/adobe/helix-config/compare/v3.4.2...v3.4.3) (2024-07-08)
|
|
2
16
|
|
|
3
17
|
|
package/package.json
CHANGED
|
@@ -43,7 +43,19 @@
|
|
|
43
43
|
"defaultRole": {
|
|
44
44
|
"description": "the default roles assigned to the users. defaults to `basic_publish` for unauthenticated setups.",
|
|
45
45
|
"type": "array",
|
|
46
|
-
"items": {
|
|
46
|
+
"items": {
|
|
47
|
+
"type": "string",
|
|
48
|
+
"enum": [
|
|
49
|
+
"admin",
|
|
50
|
+
"author",
|
|
51
|
+
"publish",
|
|
52
|
+
"develop",
|
|
53
|
+
"basic_author",
|
|
54
|
+
"basic_publish",
|
|
55
|
+
"config",
|
|
56
|
+
"config_admin"
|
|
57
|
+
]
|
|
58
|
+
}
|
|
47
59
|
},
|
|
48
60
|
"apiKeyId": {
|
|
49
61
|
"description": "the id of the API key(s). this is used to validate the API KEYS and allows to invalidate them.",
|
package/types/org-config.d.ts
CHANGED
|
@@ -43,7 +43,7 @@ export interface HttpsNsAdobeComHelixConfigUser {
|
|
|
43
43
|
id: string;
|
|
44
44
|
email: string;
|
|
45
45
|
name?: string;
|
|
46
|
-
roles: ('admin' | 'author' | 'publish' | 'config')[];
|
|
46
|
+
roles: ('admin' | 'author' | 'publish' | 'develop' | 'basic_author' | 'basic_publish' | 'config' | 'config_admin')[];
|
|
47
47
|
}
|
|
48
48
|
export interface Groups {
|
|
49
49
|
[k: string]: Group;
|
|
@@ -220,7 +220,16 @@ export interface AdminAccessConfig {
|
|
|
220
220
|
/**
|
|
221
221
|
* the default roles assigned to the users. defaults to `basic_publish` for unauthenticated setups.
|
|
222
222
|
*/
|
|
223
|
-
defaultRole?:
|
|
223
|
+
defaultRole?: (
|
|
224
|
+
| 'admin'
|
|
225
|
+
| 'author'
|
|
226
|
+
| 'publish'
|
|
227
|
+
| 'develop'
|
|
228
|
+
| 'basic_author'
|
|
229
|
+
| 'basic_publish'
|
|
230
|
+
| 'config'
|
|
231
|
+
| 'config_admin'
|
|
232
|
+
)[];
|
|
224
233
|
/**
|
|
225
234
|
* the id of the API key(s). this is used to validate the API KEYS and allows to invalidate them.
|
|
226
235
|
*/
|
|
@@ -228,7 +237,7 @@ export interface AdminAccessConfig {
|
|
|
228
237
|
}
|
|
229
238
|
export interface Role {
|
|
230
239
|
/**
|
|
231
|
-
* The email glob of the users
|
|
240
|
+
* The email glob of the users or a group reference for the respective role.
|
|
232
241
|
*
|
|
233
242
|
* This interface was referenced by `Role`'s JSON-Schema definition
|
|
234
243
|
* via the `patternProperty` "^[a-z-_]+$".
|
package/types/site-config.d.ts
CHANGED
|
@@ -228,7 +228,16 @@ export interface AdminAccessConfig {
|
|
|
228
228
|
/**
|
|
229
229
|
* the default roles assigned to the users. defaults to `basic_publish` for unauthenticated setups.
|
|
230
230
|
*/
|
|
231
|
-
defaultRole?:
|
|
231
|
+
defaultRole?: (
|
|
232
|
+
| 'admin'
|
|
233
|
+
| 'author'
|
|
234
|
+
| 'publish'
|
|
235
|
+
| 'develop'
|
|
236
|
+
| 'basic_author'
|
|
237
|
+
| 'basic_publish'
|
|
238
|
+
| 'config'
|
|
239
|
+
| 'config_admin'
|
|
240
|
+
)[];
|
|
232
241
|
/**
|
|
233
242
|
* the id of the API key(s). this is used to validate the API KEYS and allows to invalidate them.
|
|
234
243
|
*/
|
|
@@ -236,7 +245,7 @@ export interface AdminAccessConfig {
|
|
|
236
245
|
}
|
|
237
246
|
export interface Role {
|
|
238
247
|
/**
|
|
239
|
-
* The email glob of the users
|
|
248
|
+
* The email glob of the users or a group reference for the respective role.
|
|
240
249
|
*
|
|
241
250
|
* This interface was referenced by `Role`'s JSON-Schema definition
|
|
242
251
|
* via the `patternProperty` "^[a-z-_]+$".
|