public interface IMenuAuthLogic
MenuItemState for a given MenuItemState; based on certain Authorization
configured on AuthorizableMenuItem. The User Roles are compared to it.| Modifier and Type | Method and Description |
|---|---|
IAuthorizationService.AuthState |
getItemAuthState(MenuItemState currentState,
User user)
Determine the Authorization State of a Menu Item after reading its Auth Configuration
(If its
MenuItem is of type AuthorizableMenuItem). |
IAuthorizationService.AuthState getItemAuthState(MenuItemState currentState, User user)
MenuItem is of type AuthorizableMenuItem). If it not of that sub-type
then it is upto the implementation to decide the final state.
currentState - as MenuItemState @nullable falseuser - as User @nullable trueIAuthorizationService.AuthStateCopyright © 2018. All rights reserved.