permission-react: keep batching internal

Revert the public multi-request authorize overload and rely on internal batching instead. Frontend app predicate checks now make separate authorize calls that still coalesce within the same tick.

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
Made-with: Cursor
This commit is contained in:
Patrik Oldsberg
2026-03-14 12:28:57 +01:00
parent 5fec07d083
commit 47f7cd2505
3 changed files with 3 additions and 12 deletions
+1 -1
View File
@@ -2,4 +2,4 @@
'@backstage/plugin-permission-react': patch
---
The `PermissionApi.authorize()` method now accepts arrays of permission requests, and permission checks made in the same tick are batched into a single call to the permission backend.
Permission checks made in the same tick are now batched into a single call to the permission backend.