Defines a contract for authorization logic within the UI5 runtime context.
This interface allows application components (such as Tiles, Cards, Dashboards) to delegate permission checks to a centralized service.
The implementation should evaluate whether a given ability is permitted in the context of the currently active business partner, user session, or any other relevant runtime scope provided via the Ui5RuntimeContext.
Implementations can connect to roles, permissions, policies, or external ACL systems.
Example usage: $authService->authorize('tile.view.pending', $context);
| Methods | ||
|---|---|---|
public
|
authorize(string $ability, Ui5Context $context): bool
|
# |