@backstage/plugin-permission-node 0.7.8-next.0 → 0.7.8

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,5 +1,46 @@
1
1
  # @backstage/plugin-permission-node
2
2
 
3
+ ## 0.7.8
4
+
5
+ ### Patch Changes
6
+
7
+ - a788e715cfc: `createPermissionIntegrationRouter` now accepts rules and permissions for multiple resource types. Example:
8
+
9
+ ```typescript
10
+ createPermissionIntegrationRouter({
11
+ resources: [
12
+ {
13
+ resourceType: 'resourceType-1',
14
+ permissions: permissionsResourceType1,
15
+ rules: rulesResourceType1,
16
+ },
17
+ {
18
+ resourceType: 'resourceType-2',
19
+ permissions: permissionsResourceType2,
20
+ rules: rulesResourceType2,
21
+ },
22
+ ],
23
+ });
24
+ ```
25
+
26
+ - Updated dependencies
27
+ - @backstage/backend-common@0.18.5
28
+ - @backstage/plugin-auth-node@0.2.14
29
+ - @backstage/backend-plugin-api@0.5.2
30
+ - @backstage/config@1.0.7
31
+ - @backstage/errors@1.1.5
32
+ - @backstage/plugin-permission-common@0.7.5
33
+
34
+ ## 0.7.8-next.1
35
+
36
+ ### Patch Changes
37
+
38
+ - Updated dependencies
39
+ - @backstage/backend-common@0.18.5-next.1
40
+ - @backstage/plugin-auth-node@0.2.14-next.1
41
+ - @backstage/backend-plugin-api@0.5.2-next.1
42
+ - @backstage/config@1.0.7
43
+
3
44
  ## 0.7.8-next.0
4
45
 
5
46
  ### Patch Changes
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage/plugin-permission-node",
3
- "version": "0.7.8-next.0",
3
+ "version": "0.7.8",
4
4
  "main": "../dist/alpha.cjs.js",
5
5
  "types": "../dist/alpha.d.ts"
6
6
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@backstage/plugin-permission-node",
3
3
  "description": "Common permission and authorization utilities for backend plugins",
4
- "version": "0.7.8-next.0",
4
+ "version": "0.7.8",
5
5
  "main": "dist/index.cjs.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "license": "Apache-2.0",
@@ -46,11 +46,11 @@
46
46
  "start": "backstage-cli package start"
47
47
  },
48
48
  "dependencies": {
49
- "@backstage/backend-common": "^0.18.5-next.0",
50
- "@backstage/backend-plugin-api": "^0.5.2-next.0",
49
+ "@backstage/backend-common": "^0.18.5",
50
+ "@backstage/backend-plugin-api": "^0.5.2",
51
51
  "@backstage/config": "^1.0.7",
52
52
  "@backstage/errors": "^1.1.5",
53
- "@backstage/plugin-auth-node": "^0.2.14-next.0",
53
+ "@backstage/plugin-auth-node": "^0.2.14",
54
54
  "@backstage/plugin-permission-common": "^0.7.5",
55
55
  "@types/express": "^4.17.6",
56
56
  "express": "^4.17.1",
@@ -59,8 +59,8 @@
59
59
  "zod-to-json-schema": "^3.20.4"
60
60
  },
61
61
  "devDependencies": {
62
- "@backstage/backend-test-utils": "^0.1.37-next.0",
63
- "@backstage/cli": "^0.22.7-next.0",
62
+ "@backstage/backend-test-utils": "^0.1.37",
63
+ "@backstage/cli": "^0.22.7",
64
64
  "@types/supertest": "^2.0.8",
65
65
  "msw": "^1.0.0",
66
66
  "supertest": "^6.1.3"