Uploaded image for project: 'Red Hat Internal Developer Platform'
  1. Red Hat Internal Developer Platform
  2. RHIDP-5130

RBAC: Ability to add plugin(s) with permissions to the plugins configuration for the rbac-backend via the UI or API

    • M
    • False
    • Hide

      None

      Show
      None
    • 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?

      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

              oandriie Aleksander Andriienko
              rh-ee-pknight Patrick Knight
              RHIDP - Plugins
              Votes:
              2 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: