-
Feature
-
Resolution: Done
-
Normal
-
None
-
M
-
False
-
-
False
-
0% To Do, 0% In Progress, 100% Done
-
-
Plugin Name
rbac
š Feature description
The ability to add plugin(s with permissions to the RBAC plugin's configuration via the RBAC UI and/or an API endpoint.
š¤ Context
Currently, plugins with permissions are added to the RBAC plugin's configuration via the app-config.yaml file, specifically theĀ pluginsWithPermissionsĀ field which expects an array. On deploy, the RBAC plugin with search the listed plugins for all permissions, and there will be populated into the backend database. They can then be assigned via the UI, or seen via the API endpointĀ /api/permission/plugins/policies. SeeĀ docsĀ for examples.
For some Backstage customers, plugins will be added to their deployment dynamically. In this case, it would be necessary to retrieve the permissions from those dynamically added plugins after the initial deploy, so those permissions can be assigned to permission policies. Currently, this is not possible, and would require redeploying the Backstage instance with an updated app-config.yaml.
āļø Possible Implementation
At minimum, implement an API endpoint to add a plugin or individual plugin permissions to the permissions storage.
Ideally, this would also be available via the RBAC UI.
š Have you spent some time to check if this feature request has been raised before?
- Ā I checked and didn't find similar issue
š¢ Have you read the Code of Conduct?
- Ā I have read theĀ Code of Conduct
Are you willing to submit PR?
Yes I am willing to submit a PR!
Ā
Contributed from upstream Backstage Community Plugins repo link: https://github.com/backstage/community-plugins/issues/2080