@spotify/backstage-plugin-rbac 0.8.0 → 0.8.2
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,21 @@
|
|
|
1
1
|
# @spotify/backstage-plugin-rbac
|
|
2
2
|
|
|
3
|
+
## 0.8.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependency `backstage` to `1.45.0`.
|
|
8
|
+
- Updated dependencies
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
- @spotify/backstage-plugin-core@0.8.12
|
|
11
|
+
- @spotify/backstage-plugin-rbac-common@0.6.11
|
|
12
|
+
|
|
13
|
+
## 0.8.1
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- Fixed an issue where the plugin header icon was misaligned.
|
|
18
|
+
|
|
3
19
|
## 0.8.0
|
|
4
20
|
|
|
5
21
|
### Minor Changes
|
package/dist/alpha.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ import * as _backstage_core_plugin_api from '@backstage/core-plugin-api';
|
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
8
8
|
declare const _default: _backstage_frontend_plugin_api.OverridableFrontendPlugin<{}, {}, {
|
|
9
|
-
"api:rbac": _backstage_frontend_plugin_api.
|
|
9
|
+
"api:rbac": _backstage_frontend_plugin_api.OverridableExtensionDefinition<{
|
|
10
10
|
kind: "api";
|
|
11
11
|
name: undefined;
|
|
12
12
|
config: {};
|
|
@@ -15,7 +15,7 @@ declare const _default: _backstage_frontend_plugin_api.OverridableFrontendPlugin
|
|
|
15
15
|
inputs: {};
|
|
16
16
|
params: <TApi, TImpl extends TApi, TDeps extends { [name in string]: unknown; }>(params: _backstage_core_plugin_api.ApiFactory<TApi, TImpl, TDeps>) => _backstage_frontend_plugin_api.ExtensionBlueprintParams<_backstage_core_plugin_api.AnyApiFactory>;
|
|
17
17
|
}>;
|
|
18
|
-
"page:rbac": _backstage_frontend_plugin_api.
|
|
18
|
+
"page:rbac": _backstage_frontend_plugin_api.OverridableExtensionDefinition<{
|
|
19
19
|
kind: "page";
|
|
20
20
|
name: undefined;
|
|
21
21
|
config: {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{jsxs as
|
|
1
|
+
import{jsxs as a,Fragment as c,jsx as e}from"react/jsx-runtime";import{useRouteRef as m}from"@backstage/core-plugin-api";import{HeaderPage as s,Grid as o}from"@backstage/ui";import{RiLock2Fill as p}from"@remixicon/react";import{SpotifyLicenseBanner as u}from"@spotify/backstage-plugin-core";import{rootRouteRef as d}from"../../routes.esm.js";import{Header as f}from"./Header.esm.js";function g({children:i,pageTitle:r,primaryAction:t,pages:n}){const l=m(d)();return a(c,{children:[e(u,{backend:"rbac",invalidLicenseMessage:"Your existing policy will continue to apply, but you will be unable to make any changes until you enter a valid license."}),e(f,{title:"Role Based Access Control",titleLink:l,icon:e(p,{size:"1rem"})}),e(s,{title:r,customActions:t,breadcrumbs:n}),e(o.Root,{columns:"1",mx:"5",children:e(o.Item,{children:i})})]})}export{g as PageWrapper};
|
|
2
2
|
//# sourceMappingURL=PageWrapper.esm.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{jsx as r}from"react/jsx-runtime";import{SidebarItem as
|
|
1
|
+
import{jsx as r}from"react/jsx-runtime";import{SidebarItem as i}from"@backstage/core-components";import{RiLock2Fill as e}from"@remixicon/react";import{Authorized as m}from"./Auth/Authorized.esm.js";function c({text:t="RBAC",...o}){return r(m,{children:r(i,{icon:()=>r(e,{size:"1.2rem"}),to:"rbac",text:t,...o})})}export{c as RBACSidebarItem};
|
|
2
2
|
//# sourceMappingURL=RBACSidebarItem.esm.js.map
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@spotify/backstage-plugin-rbac",
|
|
3
3
|
"description": "Control access to actions and data in Backstage with ease.",
|
|
4
|
-
"version": "0.8.
|
|
4
|
+
"version": "0.8.2",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"homepage": "https://backstage.spotify.com",
|
|
7
7
|
"main": "./dist/index.esm.js",
|
|
@@ -56,23 +56,24 @@
|
|
|
56
56
|
"a11y": "yarn dlx @lhci/cli@0.13.x --config ./.lighthouserc.js autorun"
|
|
57
57
|
},
|
|
58
58
|
"dependencies": {
|
|
59
|
-
"@backstage/catalog-model": "^1.7.
|
|
60
|
-
"@backstage/core-compat-api": "^0.5.
|
|
61
|
-
"@backstage/core-components": "^0.18.
|
|
62
|
-
"@backstage/core-plugin-api": "^1.
|
|
59
|
+
"@backstage/catalog-model": "^1.7.6",
|
|
60
|
+
"@backstage/core-compat-api": "^0.5.4",
|
|
61
|
+
"@backstage/core-components": "^0.18.3",
|
|
62
|
+
"@backstage/core-plugin-api": "^1.12.0",
|
|
63
63
|
"@backstage/errors": "^1.2.7",
|
|
64
|
-
"@backstage/frontend-plugin-api": "^0.
|
|
65
|
-
"@backstage/plugin-catalog-react": "^1.21.
|
|
66
|
-
"@backstage/plugin-permission-common": "^0.9.
|
|
67
|
-
"@backstage/plugin-permission-react": "^0.4.
|
|
64
|
+
"@backstage/frontend-plugin-api": "^0.13.0",
|
|
65
|
+
"@backstage/plugin-catalog-react": "^1.21.3",
|
|
66
|
+
"@backstage/plugin-permission-common": "^0.9.3",
|
|
67
|
+
"@backstage/plugin-permission-react": "^0.4.38",
|
|
68
68
|
"@backstage/theme": "^0.7.0",
|
|
69
69
|
"@backstage/types": "^1.2.2",
|
|
70
|
-
"@backstage/ui": "^0.
|
|
70
|
+
"@backstage/ui": "^0.9.0",
|
|
71
71
|
"@material-ui/core": "^4.12.2",
|
|
72
72
|
"@material-ui/icons": "^4.9.1",
|
|
73
73
|
"@material-ui/lab": "4.0.0-alpha.61",
|
|
74
|
-
"@
|
|
75
|
-
"@spotify/backstage-plugin-
|
|
74
|
+
"@remixicon/react": "^4.6.0",
|
|
75
|
+
"@spotify/backstage-plugin-core": "^0.8.12",
|
|
76
|
+
"@spotify/backstage-plugin-rbac-common": "^0.6.11",
|
|
76
77
|
"ajv": "^8.11.2",
|
|
77
78
|
"file-saver": "^2.0.5",
|
|
78
79
|
"js-yaml": "^4.1.0",
|
|
@@ -92,12 +93,12 @@
|
|
|
92
93
|
"react-router-dom": "6.0.0-beta.0 || ^6.3.0"
|
|
93
94
|
},
|
|
94
95
|
"devDependencies": {
|
|
95
|
-
"@backstage/cli": "^0.34.
|
|
96
|
-
"@backstage/core-app-api": "^1.19.
|
|
97
|
-
"@backstage/dev-utils": "^1.1.
|
|
96
|
+
"@backstage/cli": "^0.34.5",
|
|
97
|
+
"@backstage/core-app-api": "^1.19.2",
|
|
98
|
+
"@backstage/dev-utils": "^1.1.17",
|
|
98
99
|
"@backstage/e2e-test-utils": "^0.1.1",
|
|
99
|
-
"@backstage/frontend-test-utils": "^0.4.
|
|
100
|
-
"@backstage/test-utils": "^1.7.
|
|
100
|
+
"@backstage/frontend-test-utils": "^0.4.1",
|
|
101
|
+
"@backstage/test-utils": "^1.7.13",
|
|
101
102
|
"@playwright/test": "^1.32.3",
|
|
102
103
|
"@sp4b-dev/test-utils": "^0.0.13",
|
|
103
104
|
"@testing-library/jest-dom": "^6.0.0",
|