@backstage-community/plugin-rbac-backend 5.2.7 → 5.2.9

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.
Files changed (3) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/README.md +24 -1
  3. package/package.json +4 -4
package/CHANGELOG.md CHANGED
@@ -1,5 +1,20 @@
1
1
  ### Dependencies
2
2
 
3
+ ## 5.2.9
4
+
5
+ ### Patch Changes
6
+
7
+ - 5b19b0d: Update documentation information about `pluginsWithPermission` setting. In order for the RBAC UI to display available permissions provided by installed plugins, this setting needs to be configured.
8
+
9
+ ## 5.2.8
10
+
11
+ ### Patch Changes
12
+
13
+ - 0f5c451: Updated dependency `prettier` to `3.4.2`.
14
+ - 18f9d9d: Updated dependency `@types/node` to `18.19.68`.
15
+ - Updated dependencies [0f5c451]
16
+ - @backstage-community/plugin-rbac-node@1.8.4
17
+
3
18
  ## 5.2.7
4
19
 
5
20
  ### Patch Changes
package/README.md CHANGED
@@ -85,6 +85,29 @@ permission:
85
85
 
86
86
  For more information on the available API endpoints accessible to the policy administrators, refer to the [API documentation](./docs/apis.md).
87
87
 
88
+ ### Configure plugins with permission
89
+
90
+ In order for the RBAC UI to display available permissions provided by installed plugins, add the corresponding
91
+ plugin IDs to the `app-config.yaml`.
92
+
93
+ You can specify the plugins with permission in your application configuration as follows:
94
+
95
+ ```YAML
96
+ permission:
97
+ enabled: true
98
+ rbac:
99
+ pluginsWithPermission:
100
+ - catalog
101
+ - scaffolder
102
+ - permission
103
+ admin:
104
+ users:
105
+ - name: user:default/alice
106
+ - name: group:default/admins
107
+ ```
108
+
109
+ For more information on the available permissions, refer to the [RBAC permissions documentation](./docs/permissions.md).
110
+
88
111
  ### Configuring policies via file
89
112
 
90
113
  The RBAC plugin also allows you to import policies from an external file. These policies are defined in the [Casbin rules format](https://casbin.org/docs/category/the-basics), known for its simplicity and clarity. For a quick start, please refer to the format details in the provided link.
@@ -125,7 +148,7 @@ permission:
125
148
  policyFileReload: true
126
149
  ```
127
150
 
128
- For more information on the available permissions within Showcase and RHDH, refer to the [permissions documentation](./docs/permissions.md).
151
+ For more information on the available permissions, refer to the [RBAC permissions documentation](./docs/permissions.md).
129
152
 
130
153
  We also have a fairly strict validation for permission policies and roles based on the originating role's source information, refer to the [api documentation](./docs/apis.md).
131
154
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage-community/plugin-rbac-backend",
3
- "version": "5.2.7",
3
+ "version": "5.2.9",
4
4
  "main": "dist/index.cjs.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "license": "Apache-2.0",
@@ -35,7 +35,7 @@
35
35
  },
36
36
  "dependencies": {
37
37
  "@backstage-community/plugin-rbac-common": "^1.12.3",
38
- "@backstage-community/plugin-rbac-node": "^1.8.3",
38
+ "@backstage-community/plugin-rbac-node": "^1.8.4",
39
39
  "@backstage/backend-defaults": "^0.5.2",
40
40
  "@backstage/backend-plugin-api": "^1.0.1",
41
41
  "@backstage/catalog-client": "^1.7.1",
@@ -65,11 +65,11 @@
65
65
  "@spotify/prettier-config": "^15.0.0",
66
66
  "@types/express": "4.17.21",
67
67
  "@types/lodash": "^4.14.151",
68
- "@types/node": "18.19.64",
68
+ "@types/node": "18.19.68",
69
69
  "@types/supertest": "2.0.16",
70
70
  "knex-mock-client": "2.0.1",
71
71
  "msw": "1.3.5",
72
- "prettier": "3.3.3",
72
+ "prettier": "3.4.2",
73
73
  "qs": "6.13.1",
74
74
  "supertest": "6.3.4"
75
75
  },