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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user