@backstage-community/plugin-rbac 1.33.4 → 1.33.6

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 +23 -0
  3. package/package.json +5 -5
package/CHANGELOG.md CHANGED
@@ -1,5 +1,20 @@
1
1
  ### Dependencies
2
2
 
3
+ ## 1.33.6
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
+ ## 1.33.5
10
+
11
+ ### Patch Changes
12
+
13
+ - 0f5c451: Updated dependency `prettier` to `3.4.2`.
14
+ - 064b809: Updated dependency `start-server-and-test` to `2.0.9`.
15
+ - 18f9d9d: Updated dependency `@types/node` to `18.19.68`.
16
+ - 4eef4d1: Updated dependency `@playwright/test` to `1.49.1`.
17
+
3
18
  ## 1.33.4
4
19
 
5
20
  ### Patch Changes
package/README.md CHANGED
@@ -104,3 +104,26 @@ permission:
104
104
  ```
105
105
 
106
106
  - Integrate the [`SignIn`](https://backstage.io/docs/auth/#sign-in-configuration) component to be able to sign-in to the Backstage instance.
107
+
108
+ ### Configure plugins with permission
109
+
110
+ In order for the RBAC UI to display available permissions provided by installed plugins, add the corresponding
111
+ plugin IDs to the `app-config.yaml`.
112
+
113
+ You can specify the plugins with permission in your application configuration as follows:
114
+
115
+ ```YAML
116
+ permission:
117
+ enabled: true
118
+ rbac:
119
+ admin:
120
+ users:
121
+ - name: user:default/alice
122
+ - name: group:default/admins
123
+ pluginsWithPermission:
124
+ - catalog
125
+ - scaffolder
126
+ - permission
127
+ ```
128
+
129
+ For more information on the available permissions, refer to the [RBAC permissions documentation](../rbac-backend/docs/permissions.md).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage-community/plugin-rbac",
3
- "version": "1.33.4",
3
+ "version": "1.33.6",
4
4
  "main": "dist/index.esm.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "license": "Apache-2.0",
@@ -67,7 +67,7 @@
67
67
  "@backstage/core-app-api": "1.15.1",
68
68
  "@backstage/dev-utils": "1.1.2",
69
69
  "@backstage/test-utils": "1.7.0",
70
- "@playwright/test": "1.49.0",
70
+ "@playwright/test": "1.49.1",
71
71
  "@redhat-developer/red-hat-developer-hub-theme": "0.4.0",
72
72
  "@spotify/prettier-config": "^15.0.0",
73
73
  "@testing-library/dom": "^10.0.0",
@@ -76,14 +76,14 @@
76
76
  "@testing-library/react-hooks": "8.0.1",
77
77
  "@testing-library/user-event": "14.5.2",
78
78
  "@types/autosuggest-highlight": "3.2.3",
79
- "@types/node": "18.19.64",
79
+ "@types/node": "18.19.68",
80
80
  "@types/react": "^18.2.58",
81
81
  "msw": "1.3.5",
82
- "prettier": "3.3.3",
82
+ "prettier": "3.4.2",
83
83
  "react": "^16.13.1 || ^17.0.0 || ^18.0.0",
84
84
  "react-dom": "^16.13.1 || ^17.0.0 || ^18.0.0",
85
85
  "react-router-dom": "^6.0.0",
86
- "start-server-and-test": "2.0.8"
86
+ "start-server-and-test": "2.0.9"
87
87
  },
88
88
  "files": [
89
89
  "app-config.dynamic.yaml",