Package io.jmix.flowui.accesscontext
Class UiMenuContext
java.lang.Object
io.jmix.flowui.accesscontext.UiMenuContext
- All Implemented Interfaces:
AccessContext
Defines authorization point for UI menu items.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns a human-readable explanation of constraints applied to the current context instance for logging of authorization decisions.boolean
void
-
Field Details
-
permitted
protected boolean permitted
-
Constructor Details
-
Method Details
-
getMenuItemId
-
getMenuItem
-
isPermitted
public boolean isPermitted() -
setDenied
public void setDenied() -
explainConstraints
Description copied from interface:AccessContext
Returns a human-readable explanation of constraints applied to the current context instance for logging of authorization decisions. Null if the current context does not impose any constraints.- Specified by:
explainConstraints
in interfaceAccessContext
-