'use strict';

Object.defineProperty(exports, '__esModule', { value: true });

var backendPluginApi = require('@backstage/backend-plugin-api');
var pluginRbacNode = require('@backstage-community/plugin-rbac-node');

const kuadrantRbacModule = backendPluginApi.createBackendModule({
  pluginId: "permission",
  moduleId: "kuadrant-rbac-provider",
  register(env) {
    env.registerInit({
      deps: {
        pluginIdProvider: pluginRbacNode.pluginIdProviderExtensionPoint
      },
      async init({ pluginIdProvider }) {
        pluginIdProvider.addPluginIdProvider({
          getPluginIds: () => ["kuadrant"]
        });
      }
    });
  }
});

exports.default = kuadrantRbacModule;
exports.kuadrantRbacModule = kuadrantRbacModule;
//# sourceMappingURL=rbac-module.cjs.js.map
