@spotify/backstage-plugin-rbac 0.8.0 → 0.8.1
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,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.1",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"homepage": "https://backstage.spotify.com",
|
|
7
7
|
"main": "./dist/index.esm.js",
|
|
@@ -71,6 +71,7 @@
|
|
|
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
|
+
"@remixicon/react": "^4.6.0",
|
|
74
75
|
"@spotify/backstage-plugin-core": "^0.8.11",
|
|
75
76
|
"@spotify/backstage-plugin-rbac-common": "^0.6.10",
|
|
76
77
|
"ajv": "^8.11.2",
|