@backstage-community/plugin-rbac-backend 6.2.6 → 7.0.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 +42 -0
- package/README.md +44 -6
- package/dist/auditor/auditor.cjs.js +5 -0
- package/dist/auditor/auditor.cjs.js.map +1 -1
- package/dist/auditor/rest-interceptor.cjs.js +5 -0
- package/dist/auditor/rest-interceptor.cjs.js.map +1 -1
- package/dist/database/extra-permission-enabled-plugins-storage.cjs.js +21 -0
- package/dist/database/extra-permission-enabled-plugins-storage.cjs.js.map +1 -0
- package/dist/index.d.ts +7 -6
- package/dist/permissions/conditions.cjs.js +6 -5
- package/dist/permissions/conditions.cjs.js.map +1 -1
- package/dist/permissions/resource.cjs.js +12 -0
- package/dist/permissions/resource.cjs.js.map +1 -0
- package/dist/permissions/rules.cjs.js +3 -4
- package/dist/permissions/rules.cjs.js.map +1 -1
- package/dist/plugin.cjs.js +12 -6
- package/dist/plugin.cjs.js.map +1 -1
- package/dist/service/extendable-id-provider.cjs.js +32 -0
- package/dist/service/extendable-id-provider.cjs.js.map +1 -0
- package/dist/service/permission-definition-routes.cjs.js +104 -0
- package/dist/service/permission-definition-routes.cjs.js.map +1 -0
- package/dist/service/plugin-endpoints.cjs.js +5 -4
- package/dist/service/plugin-endpoints.cjs.js.map +1 -1
- package/dist/service/policies-rest-api.cjs.js +153 -147
- package/dist/service/policies-rest-api.cjs.js.map +1 -1
- package/dist/service/policy-builder.cjs.js +43 -29
- package/dist/service/policy-builder.cjs.js.map +1 -1
- package/dist/service/router.cjs.js +3 -1
- package/dist/service/router.cjs.js.map +1 -1
- package/dist/validation/plugin-validation.cjs.js +15 -0
- package/dist/validation/plugin-validation.cjs.js.map +1 -0
- package/migrations/20250509110032_migrations.js +29 -0
- package/package.json +18 -19
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@backstage-community/plugin-rbac-backend",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "7.0.0",
|
|
4
4
|
"main": "dist/index.cjs.js",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -11,7 +11,6 @@
|
|
|
11
11
|
},
|
|
12
12
|
"backstage": {
|
|
13
13
|
"role": "backend-plugin",
|
|
14
|
-
"supported-versions": "^1.28.4",
|
|
15
14
|
"pluginId": "rbac",
|
|
16
15
|
"pluginPackages": [
|
|
17
16
|
"@backstage-community/plugin-rbac",
|
|
@@ -37,22 +36,23 @@
|
|
|
37
36
|
"postpack": "backstage-cli package postpack"
|
|
38
37
|
},
|
|
39
38
|
"dependencies": {
|
|
40
|
-
"@backstage-community/plugin-rbac-common": "^1.
|
|
41
|
-
"@backstage-community/plugin-rbac-node": "^1.
|
|
42
|
-
"@backstage/backend-defaults": "^0.
|
|
43
|
-
"@backstage/backend-plugin-api": "^1.3.
|
|
44
|
-
"@backstage/catalog-client": "^1.
|
|
45
|
-
"@backstage/catalog-model": "^1.7.
|
|
39
|
+
"@backstage-community/plugin-rbac-common": "^1.18.0",
|
|
40
|
+
"@backstage-community/plugin-rbac-node": "^1.12.0",
|
|
41
|
+
"@backstage/backend-defaults": "^0.10.0",
|
|
42
|
+
"@backstage/backend-plugin-api": "^1.3.1",
|
|
43
|
+
"@backstage/catalog-client": "^1.10.0",
|
|
44
|
+
"@backstage/catalog-model": "^1.7.4",
|
|
46
45
|
"@backstage/errors": "^1.2.7",
|
|
47
|
-
"@backstage/plugin-auth-node": "^0.6.
|
|
48
|
-
"@backstage/plugin-permission-backend": "^0.
|
|
49
|
-
"@backstage/plugin-permission-common": "^0.
|
|
50
|
-
"@backstage/plugin-permission-node": "^0.
|
|
46
|
+
"@backstage/plugin-auth-node": "^0.6.3",
|
|
47
|
+
"@backstage/plugin-permission-backend": "^0.7.0",
|
|
48
|
+
"@backstage/plugin-permission-common": "^0.9.0",
|
|
49
|
+
"@backstage/plugin-permission-node": "^0.10.0",
|
|
51
50
|
"@dagrejs/graphlib": "^2.1.13",
|
|
52
51
|
"casbin": "^5.27.1",
|
|
53
52
|
"chokidar": "^3.6.0",
|
|
54
53
|
"csv-parse": "^5.5.5",
|
|
55
54
|
"express": "^4.18.2",
|
|
55
|
+
"express-promise-router": "^4.1.0",
|
|
56
56
|
"js-yaml": "^4.1.0",
|
|
57
57
|
"knex": "^3.0.0",
|
|
58
58
|
"lodash": "^4.17.21",
|
|
@@ -61,15 +61,16 @@
|
|
|
61
61
|
"zod-to-json-schema": "^3.24.5"
|
|
62
62
|
},
|
|
63
63
|
"devDependencies": {
|
|
64
|
-
"@backstage/backend-test-utils": "^1.
|
|
65
|
-
"@backstage/cli": "^0.32.
|
|
64
|
+
"@backstage/backend-test-utils": "^1.5.0",
|
|
65
|
+
"@backstage/cli": "^0.32.1",
|
|
66
66
|
"@backstage/config": "^1.3.2",
|
|
67
|
-
"@backstage/core-plugin-api": "^1.10.
|
|
67
|
+
"@backstage/core-plugin-api": "^1.10.7",
|
|
68
|
+
"@backstage/plugin-catalog-node": "^1.17.0",
|
|
68
69
|
"@backstage/types": "^1.2.1",
|
|
69
|
-
"@types/express": "4.17.
|
|
70
|
+
"@types/express": "4.17.22",
|
|
70
71
|
"@types/knex": "^0.16.1",
|
|
71
72
|
"@types/lodash": "^4.14.151",
|
|
72
|
-
"@types/node": "22.
|
|
73
|
+
"@types/node": "22.15.29",
|
|
73
74
|
"@types/supertest": "2.0.16",
|
|
74
75
|
"knex-mock-client": "2.0.1",
|
|
75
76
|
"msw": "1.3.5",
|
|
@@ -87,8 +88,6 @@
|
|
|
87
88
|
"directory": "workspaces/rbac/plugins/rbac-backend"
|
|
88
89
|
},
|
|
89
90
|
"keywords": [
|
|
90
|
-
"support:production",
|
|
91
|
-
"lifecycle:active",
|
|
92
91
|
"backstage",
|
|
93
92
|
"plugin"
|
|
94
93
|
],
|