@crombolo/api-management 0.77.0 → 0.79.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 +4 -4
- package/src/authorization.ts +2 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@crombolo/api-management",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.79.0",
|
|
4
4
|
"description": "Internal to crombolo, with no compatibility promise: use @crombolo/crombolo. Umbraco-compatible Management API handlers for crombolo.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Crombolo",
|
|
@@ -29,8 +29,8 @@
|
|
|
29
29
|
"access": "public"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@crombolo/content": "0.
|
|
33
|
-
"@crombolo/contracts": "0.
|
|
34
|
-
"@crombolo/core": "0.
|
|
32
|
+
"@crombolo/content": "0.79.0",
|
|
33
|
+
"@crombolo/contracts": "0.79.0",
|
|
34
|
+
"@crombolo/core": "0.79.0"
|
|
35
35
|
}
|
|
36
36
|
}
|
package/src/authorization.ts
CHANGED
|
@@ -208,7 +208,8 @@ export function sectionRequirements(operation: OperationInfo): Array<Sections |
|
|
|
208
208
|
case 'template':
|
|
209
209
|
return write ? [['components', 'content'], CODE] : [['components', 'content']]
|
|
210
210
|
case 'language':
|
|
211
|
-
|
|
211
|
+
// Story 419: languages are Translation's, beside the dictionary.
|
|
212
|
+
return write ? [TRANSLATION] : []
|
|
212
213
|
case 'dictionary':
|
|
213
214
|
return [TRANSLATION]
|
|
214
215
|
case 'user':
|