# @spotify/backstage-plugin-rbac

## 0.8.8

### Patch Changes

- RBAC plugin UI has been updated to use standard `@backstage/ui` components.
- Update API reports
- Updated dependency `backstage` to `1.51.0`.
- Migrate PoliciesTable to BUI TableRoot and replace MUI icons with remixicons
- Updated dependencies
  - @spotify/backstage-plugin-core@0.8.18
  - @spotify/backstage-plugin-rbac-common@0.6.17

## 0.8.7

### Patch Changes

- Updated dependency `backstage` to `1.50.0`.
- Updated dependencies
  - @spotify/backstage-plugin-core@0.8.17
  - @spotify/backstage-plugin-rbac-common@0.6.16

## 0.8.6

### Patch Changes

- Adding support for experimental features.
- Updated dependency `backstage` to `1.49.0`.
- Updated package to be compatible with zod versions 3 and 4.
- Updated dependencies
- Updated dependencies
  - @spotify/backstage-plugin-core@0.8.16
  - @spotify/backstage-plugin-rbac-common@0.6.15

## 0.8.5

### Patch Changes

- Updated dependency `backstage` to `1.48.0`.
- Updated dependencies
  - @spotify/backstage-plugin-core@0.8.15
  - @spotify/backstage-plugin-rbac-common@0.6.14

## 0.8.4

### Patch Changes

- Updated dependency `backstage` to `1.47.0`.
- Updated dependencies
  - @spotify/backstage-plugin-core@0.8.14
  - @spotify/backstage-plugin-rbac-common@0.6.13

## 0.8.3

### Patch Changes

- Updated dependency `backstage` to `1.46.0`.
- Updated dependencies
  - @spotify/backstage-plugin-core@0.8.13
  - @spotify/backstage-plugin-rbac-common@0.6.12

## 0.8.2

### Patch Changes

- Updated dependency `backstage` to `1.45.0`.
- Updated dependencies
- Updated dependencies
  - @spotify/backstage-plugin-core@0.8.12
  - @spotify/backstage-plugin-rbac-common@0.6.11

## 0.8.1

### Patch Changes

- Fixed an issue where the plugin header icon was misaligned.

## 0.8.0

### Minor Changes

- This plugin now uses a more compact header style. Note: the [@backstage/ui](https://ui.backstage.io/install) package must be installed and available in your Backstage instance.

### Patch Changes

- Updated dependency `backstage` to `1.44.1`.
- Updated dependencies
  - @spotify/backstage-plugin-core@0.8.11
  - @spotify/backstage-plugin-rbac-common@0.6.10

## 0.7.10

### Patch Changes

- Updated dependency `backstage` to `1.42.0`.
- Updated dependencies
- Updated dependencies
  - @spotify/backstage-plugin-core@0.8.10
  - @spotify/backstage-plugin-rbac-common@0.6.9

## 0.7.9

### Patch Changes

- Fixed a bug that could cause the RBAC UI to crash when attempting to add a conditional permission decision to one or more resource permissions which have no associated rules.
- Updated dependency `@types/jest` to `^30.0.0`.
- Updated dependency `backstage` to `1.41.1`.
- Updated dependencies
- Updated dependencies
- Updated dependencies
  - @spotify/backstage-plugin-core@0.8.9
  - @spotify/backstage-plugin-rbac-common@0.6.8

## 0.7.8

### Patch Changes

- Instrumented the Insights and RBAC plugins with additional analytics events.
- Updated dependencies
  - @spotify/backstage-plugin-core@0.8.8

## 0.7.7

### Patch Changes

- Update to Backstage `v1.37.0`
- Updated dependencies
  - @spotify/backstage-plugin-core@0.8.7
  - @spotify/backstage-plugin-rbac-common@0.6.7

## 0.7.6

### Patch Changes

- Update to Backstage `v1.36.0`
- In line with the open source Backstage framework, support for React 16 has been dropped.
- Improved the first-time user experience when using the `permission.rbac.fallbackPolicy` configuration.
- UI updates to make it clearer that `create` actions do not apply to `resource` permissions.
- The role members table and members search now shows entity display names instead of refs when available.
- Added the ability to provide descriptions for roles.
- Updated dependencies
  - @spotify/backstage-plugin-core@0.8.6
  - @spotify/backstage-plugin-rbac-common@0.6.6

## 0.7.5

### Patch Changes

- Update to Backstage `v1.35.0`
- Updated dependencies
  - @spotify/backstage-plugin-core@0.8.5
  - @spotify/backstage-plugin-rbac-common@0.6.5

## 0.7.4

### Patch Changes

- Update to Backstage `v1.34.0`
- Fixed a bug that could cause a draft policy to be corrupted and lost while editing the policy or its roles.
- The UI has been optimized for the default Backstage theme and should better respect theme customizations.
- Fixed a bug with policy diffing that incorrectly identified changes to roles and permissions that were unchanged when exported and reimported.
- Updated dependencies
  - @spotify/backstage-plugin-core@0.8.4
  - @spotify/backstage-plugin-rbac-common@0.6.4

## 0.7.3

### Patch Changes

- Update to Backstage `v1.33.3`
- Fixed a bug that could cause namespaces from irrelevant entity kinds to be shown in the member selector.
- Role membership based on namespaces now supports groups (in addition to existing support for user namespaces).
- Updated dependency `uuid` to `^11.0.0`.
- Updated dependency `@types/node` to `^22.0.0`.
- Updated dependencies
- Updated dependencies
- Updated dependencies
  - @spotify/backstage-plugin-core@0.8.3
  - @spotify/backstage-plugin-rbac-common@0.6.3

## 0.7.2

### Patch Changes

- Update to Backstage v1.32.0
- Updated dependencies
  - @spotify/backstage-plugin-core@0.8.2
  - @spotify/backstage-plugin-rbac-common@0.6.2

## 0.7.1

### Patch Changes

- Minor fixes and improvements
- Update to Backstage v1.31.1
- Added the `authorizedUsers` property to the config definition file
- Updated dependencies
  - @spotify/backstage-plugin-core@0.8.1
  - @spotify/backstage-plugin-rbac-common@0.6.1

## 0.7.0

### Minor Changes

- Upgraded Backstage to `v1.30.3`.

### Patch Changes

- Add peerDependency on react-dom
- Remove peerDependency on @backstage/plugin-permission-node
- Updated dependencies
  - @spotify/backstage-plugin-core@0.8.0
  - @spotify/backstage-plugin-rbac-common@0.6.0

## 0.6.4

### Patch Changes

- Upgraded Backstage to v1.29.1
- Updated dependencies
  - @spotify/backstage-plugin-rbac-common@0.5.15
  - @spotify/backstage-plugin-core@0.7.3

## 0.6.3

### Patch Changes

- Updated dependency `uuid` to `^10.0.0`.
- Added additional plugin metadata to `package.json`.
- Upgraded Backstage to v1.28.2
- Updated dependencies
  - @spotify/backstage-plugin-core@0.7.2
  - @spotify/backstage-plugin-rbac-common@0.5.14

## 0.6.2

### Patch Changes

- Aligned dependencies with Backstage package architecture expectations.
- Updated backstage dependencies to `v1.26.0`
- Updated dependencies
  - @spotify/backstage-plugin-core@0.7.1
  - @spotify/backstage-plugin-rbac-common@0.5.13

## 0.6.1

### Patch Changes

- Updated backstage dependencies to `v1.24.0`
- Updated dependencies
  - `@spotify/backstage-plugin-core` to `^0.7.0`
  - `@spotify/backstage-plugin-rbac-common` to `^0.5.12`

## 0.6.0

### Minor Changes

- Added compatibility for React 18. You do not need to upgrade your Backstage App to use React 18, but this plugin is now built and tested against it.

### Patch Changes

- Bug fixes and performance improvements to the JSON editing experience for conditional decisions.
- Upgraded to Backstage `v1.23.0`
- Updated dependencies
  - `@spotify/backstage-plugin-core` to `^0.6.0`
  - `@spotify/backstage-plugin-rbac-common` to `^0.5.11`

## 0.5.12

### Patch Changes

- Upgraded Backstage to v1.22.0
- Minor UI fixes and improvements.
- Updated dependency `@types/node` to `^20.0.0`.
- Updated dependencies
  - @spotify/backstage-plugin-rbac-common@0.5.10
  - @spotify/backstage-plugin-core@0.5.9

## 0.5.11

### Patch Changes

- Downgraded dependency `vanilla-jsoneditor` to `0.19.0`.

## 0.5.10

### Patch Changes

- Added a policy tester for checking the behavior of RBAC policies. The policy tester is designed to display simulated policy decisions for a given set of permissions, helping you ensure that the configured policy returns the expected decisions. For each [Permission](https://backstage.io/docs/permissions/concepts#permission) selected in the UI, the policy tester will output the decision that would be returned by the policy in question for a user assigned to all of the selected policy roles. If the given permission request requires certain conditions to be met, the policy tester will list exactly which conditions would be required. You can find the policy tester in the Policy page of any active, draft, or previous policy.
- Fixed a bug where stale data could be shown in the UI after publishing a policy
- Updated dependency `vanilla-jsoneditor` to `^0.20.0`.
- Updated dependency `vanilla-jsoneditor` to `^0.19.0`.
- Updated dependencies
  - @spotify/backstage-plugin-rbac-common@0.5.9

## 0.5.9

### Patch Changes

- Upgraded Backstage to `v1.20.3`.
- Updated dependency `cross-fetch` to `^4.0.0`.
- Updated dependencies
  - @spotify/backstage-plugin-rbac-common@0.5.8
  - @spotify/backstage-plugin-core@0.5.8

## 0.5.8

### Patch Changes

- Upgraded Backstage to v1.19.0
- Updated dependencies
  - @spotify/backstage-plugin-rbac-common@0.5.7
  - @spotify/backstage-plugin-core@0.5.7

## 0.5.7

### Patch Changes

- Mark package as being free of side effects, allowing more optimized Webpack builds.
- Updated dependency `@testing-library/jest-dom` to `^6.0.0`.
- Upgraded Backstage to v1.18.1
- Updated dependencies
  - @spotify/backstage-plugin-rbac-common@0.5.6
  - @spotify/backstage-plugin-core@0.5.6

## 0.5.6

### Patch Changes

- Upgraded Backstage to `v1.17.0`.
- Updated dependencies
  - @spotify/backstage-plugin-core@0.5.5
  - @spotify/backstage-plugin-rbac-common@0.5.5

## 0.5.5

### Patch Changes

- Minor UI fixes and improvements.
- Improved performance when selecting groups and users on a policy for organizations with an exceptionally large number of groups and users.
- Upgraded Backstage to `v1.16.0`
- Updated dependencies
  - @spotify/backstage-plugin-core@0.5.4
  - @spotify/backstage-plugin-rbac-common@0.5.4

## 0.5.4

### Patch Changes

- Fixed a bug where all imported policies were set to the first-match decision resolution strategy.
- Upgraded to Backstage `v1.15.0`
- Updated dependency `@types/node` to `^18.0.0`.
- Added a 'Save and Publish' option to the policy page menu to combine both the save and publish actions together, and added a default primary action that sits next to the menu button to either save, republish or duplicate policies depending on their state
- Updated dependencies
  - @spotify/backstage-plugin-core@0.5.3
  - @spotify/backstage-plugin-rbac-common@0.5.3

## 0.5.3

### Patch Changes

- Minor accessibility improvements.
- Upgraded to Backstage `v1.14.0`
- RBAC policy authors can now choose how authorization is resolved for users matching multiple roles. This `Decision resolution strategy` can be set from a new policy options page.
- Minor UI tweaks and improvements.
- Set the default Resolution Strategy to be 'any-allow' for new policy drafts that are created.
- Updated dependency `vanilla-jsoneditor` to `^0.17.0`.
- Updated dependencies
  - @spotify/backstage-plugin-rbac-common@0.5.2
  - @spotify/backstage-plugin-core@0.5.2

## 0.5.2

### Patch Changes

- Fixed the permission decision dialog showing no options when any plugin returned invalid permission metadata.
- Moved the action buttons on the Policy page into a context menu.
- Upgraded Backstage to `v1.13.0`.
- Updated dependencies
  - @spotify/backstage-plugin-rbac-common@0.5.1
  - @spotify/backstage-plugin-core@0.5.1

## 0.5.1

### Patch Changes

- ce34bb19: Updated dependency `vanilla-jsoneditor` to `^0.16.0`.

## 0.5.0

### Minor Changes

- 07770382: Upgrade to Backstage 1.12.0

### Patch Changes

- 4425875a: Bumped dependency vanilla-jsoneditor
- 35578e13: Added functionality to add all users and groups in a namespace and view namespaces when there is more than one namespace in the catalog.
- 31ac4320: Cleaned up some unnecessary output in published packages. 🧹
- dc2ed662: Fixes an issue where the row on the members table does not expand to the full width of the table
- 69c59b22: Updated dependency `vanilla-jsoneditor` to `^0.15.0`.
- Updated dependencies [31ac4320]
  - @spotify/backstage-plugin-core@0.5.0
  - @spotify/backstage-plugin-rbac-common@0.5.0

## 0.4.0

### Minor Changes

- 7488dd5e: Updated to Backstage release `1.11.0`.

### Patch Changes

- 16c9542b: Updated dependency `vanilla-jsoneditor` to `0.14.4`.
- fd778e76: Updated dependency 'zod-to-json-schema' for type compatibility with 'zod'.
- 75240255: Updated dependency `uuid` to `^v9.0.0`.
- df765098: Minor interface improvements for accessibility.
- 104c4d1f: Improved the roles member table to output the namespace if it differs from the default namespace (following the same pattern as the members search dropdown and catalog page). Added automatic sorting for the members table by type, namespace, and alphabetically, rather than by order added.
- 3da31b35: Updated dependency `zod` to `^v3.20.0`.
- Updated dependencies [75240255]
- Updated dependencies [3da31b35]
- Updated dependencies [7488dd5e]
  - @spotify/backstage-plugin-rbac-common@0.4.0
  - @spotify/backstage-plugin-core@0.4.0

## 0.3.1

### Patch Changes

- f2083b1c: removes requirement that there needs to be an active policy in order to perform diffing on 2 policies.
- 4d803800: Fix imports related to a shared time utility in backstage-plugin-core.
- Updated dependencies [4d803800]
  - @spotify/backstage-plugin-core@0.3.1

## 0.3.0

### Minor Changes

- d72af34c: Upgrade to Backstage 1.10.0

### Patch Changes

- 3f878b29: Minor UI tweaks and improvements
- Updated dependencies [d72af34c]
- Updated dependencies [c55842f7]
  - @spotify/backstage-plugin-core@0.3.0
  - @spotify/backstage-plugin-rbac-common@0.3.0
