permission-react: remove deprecated PermissionedRoute component

Removed the deprecated `PermissionedRoute` component that was incompatible
with React Router v6 stable. Use `RequirePermission` instead.

Also removed the `react-router-dom` dependency from the package since it
is no longer needed.

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
Made-with: Cursor
This commit is contained in:
Patrik Oldsberg
2026-04-13 00:40:12 +02:00
parent 774e641e45
commit 53954e1199
6 changed files with 7 additions and 124 deletions
@@ -0,0 +1,5 @@
---
'@backstage/plugin-permission-react': minor
---
**BREAKING**: Removed the deprecated `PermissionedRoute` component. Use `RequirePermission` instead.