forked from janus-idp/backstage-plugins
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(rbac): turn rbac plugin into a dynamic plugin (janus-idp#1133)
* feat(rbac): turn rbac plugin into a dynamic plugin * Removed changes made accidentally Signed-off-by: Yi Cai <yicai@redhat.com> * Checkout upstream yarn.lock Signed-off-by: Yi Cai <yicai@redhat.com> * Checkout upstream main yarn.lock Signed-off-by: Yi Cai <yicai@redhat.com> --------- Signed-off-by: Yi Cai <yicai@redhat.com>
- Loading branch information
Showing
4 changed files
with
31 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
dynamicPlugins: | ||
frontend: | ||
janus-idp.backstage-plugin-rbac: | ||
appIcons: | ||
- name: AdminPanelSettingsOutlinedIcon | ||
module: RbacPlugin | ||
importName: AdminPanelSettingsOutlinedIcon | ||
dynamicRoutes: | ||
- path: /rbac | ||
importName: RbacPage | ||
module: RbacPlugin | ||
menuItem: | ||
icon: AdminPanelSettingsOutlinedIcon | ||
text: Administration |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,3 @@ | ||
export { rbacPlugin, RbacPage, Administration } from './plugin'; | ||
|
||
export { default as AdminPanelSettingsOutlinedIcon } from '@mui/icons-material/AdminPanelSettingsOutlined'; |