@backstage-community/plugin-rbac-backend 7.0.0 → 7.2.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 +23 -0
- package/README.md +5 -5
- package/package.json +19 -17
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,28 @@
|
|
|
1
1
|
### Dependencies
|
|
2
2
|
|
|
3
|
+
## 7.2.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 2f4d9ff: Backstage version bump to v1.41.1
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- e843699: Added missing configSchema into package.json
|
|
12
|
+
- Updated dependencies [2f4d9ff]
|
|
13
|
+
- @backstage-community/plugin-rbac-common@1.19.0
|
|
14
|
+
- @backstage-community/plugin-rbac-node@1.13.0
|
|
15
|
+
|
|
16
|
+
## 7.1.0
|
|
17
|
+
|
|
18
|
+
### Minor Changes
|
|
19
|
+
|
|
20
|
+
- 8db28a0: Updated readme example on conditional policy yaml to be well formed (removed quotes)
|
|
21
|
+
|
|
22
|
+
### Patch Changes
|
|
23
|
+
|
|
24
|
+
- 4c49556: Updated dependency `@types/express` to `4.17.23`.
|
|
25
|
+
|
|
3
26
|
## 7.0.0
|
|
4
27
|
|
|
5
28
|
### Major Changes
|
package/README.md
CHANGED
|
@@ -222,7 +222,7 @@ Example of the conditional policies file:
|
|
|
222
222
|
```yaml
|
|
223
223
|
---
|
|
224
224
|
result: CONDITIONAL
|
|
225
|
-
roleEntityRef:
|
|
225
|
+
roleEntityRef: role:default/test
|
|
226
226
|
pluginId: catalog
|
|
227
227
|
resourceType: catalog-entity
|
|
228
228
|
permissionMapping:
|
|
@@ -233,11 +233,11 @@ conditions:
|
|
|
233
233
|
resourceType: catalog-entity
|
|
234
234
|
params:
|
|
235
235
|
claims:
|
|
236
|
-
-
|
|
237
|
-
-
|
|
236
|
+
- group:default/team-a
|
|
237
|
+
- group:default/team-b
|
|
238
238
|
---
|
|
239
239
|
result: CONDITIONAL
|
|
240
|
-
roleEntityRef:
|
|
240
|
+
roleEntityRef: role:default/test
|
|
241
241
|
pluginId: catalog
|
|
242
242
|
resourceType: catalog-entity
|
|
243
243
|
permissionMapping:
|
|
@@ -247,7 +247,7 @@ conditions:
|
|
|
247
247
|
resourceType: catalog-entity
|
|
248
248
|
params:
|
|
249
249
|
claims:
|
|
250
|
-
-
|
|
250
|
+
- group:default/team-a
|
|
251
251
|
```
|
|
252
252
|
|
|
253
253
|
Information about condition policies format you can find in the doc: [Conditional policies documentation](./docs/conditions.md). There is only one difference: yaml format compare to json. But yaml and json are back convertiable.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@backstage-community/plugin-rbac-backend",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.2.0",
|
|
4
4
|
"main": "dist/index.cjs.js",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -36,17 +36,17 @@
|
|
|
36
36
|
"postpack": "backstage-cli package postpack"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@backstage-community/plugin-rbac-common": "^1.
|
|
40
|
-
"@backstage-community/plugin-rbac-node": "^1.
|
|
41
|
-
"@backstage/backend-defaults": "^0.
|
|
42
|
-
"@backstage/backend-plugin-api": "^1.
|
|
43
|
-
"@backstage/catalog-client": "^1.10.
|
|
44
|
-
"@backstage/catalog-model": "^1.7.
|
|
39
|
+
"@backstage-community/plugin-rbac-common": "^1.19.0",
|
|
40
|
+
"@backstage-community/plugin-rbac-node": "^1.13.0",
|
|
41
|
+
"@backstage/backend-defaults": "^0.11.1",
|
|
42
|
+
"@backstage/backend-plugin-api": "^1.4.1",
|
|
43
|
+
"@backstage/catalog-client": "^1.10.2",
|
|
44
|
+
"@backstage/catalog-model": "^1.7.5",
|
|
45
45
|
"@backstage/errors": "^1.2.7",
|
|
46
|
-
"@backstage/plugin-auth-node": "^0.6.
|
|
47
|
-
"@backstage/plugin-permission-backend": "^0.7.
|
|
48
|
-
"@backstage/plugin-permission-common": "^0.9.
|
|
49
|
-
"@backstage/plugin-permission-node": "^0.10.
|
|
46
|
+
"@backstage/plugin-auth-node": "^0.6.5",
|
|
47
|
+
"@backstage/plugin-permission-backend": "^0.7.2",
|
|
48
|
+
"@backstage/plugin-permission-common": "^0.9.1",
|
|
49
|
+
"@backstage/plugin-permission-node": "^0.10.2",
|
|
50
50
|
"@dagrejs/graphlib": "^2.1.13",
|
|
51
51
|
"casbin": "^5.27.1",
|
|
52
52
|
"chokidar": "^3.6.0",
|
|
@@ -61,13 +61,14 @@
|
|
|
61
61
|
"zod-to-json-schema": "^3.24.5"
|
|
62
62
|
},
|
|
63
63
|
"devDependencies": {
|
|
64
|
-
"@backstage/backend-test-utils": "^1.
|
|
65
|
-
"@backstage/cli": "^0.
|
|
66
|
-
"@backstage/config": "^1.3.
|
|
67
|
-
"@backstage/core-plugin-api": "^1.10.
|
|
68
|
-
"@backstage/plugin-catalog-node": "^1.17.
|
|
64
|
+
"@backstage/backend-test-utils": "^1.7.0",
|
|
65
|
+
"@backstage/cli": "^0.33.1",
|
|
66
|
+
"@backstage/config": "^1.3.3",
|
|
67
|
+
"@backstage/core-plugin-api": "^1.10.9",
|
|
68
|
+
"@backstage/plugin-catalog-node": "^1.17.2",
|
|
69
69
|
"@backstage/types": "^1.2.1",
|
|
70
|
-
"@types/express": "4.17.
|
|
70
|
+
"@types/express": "4.17.23",
|
|
71
|
+
"@types/js-yaml": "^4.0.9",
|
|
71
72
|
"@types/knex": "^0.16.1",
|
|
72
73
|
"@types/lodash": "^4.14.151",
|
|
73
74
|
"@types/node": "22.15.29",
|
|
@@ -82,6 +83,7 @@
|
|
|
82
83
|
"config.d.ts",
|
|
83
84
|
"migrations"
|
|
84
85
|
],
|
|
86
|
+
"configSchema": "config.d.ts",
|
|
85
87
|
"repository": {
|
|
86
88
|
"type": "git",
|
|
87
89
|
"url": "https://github.com/backstage/community-plugins",
|