Package io.jmix.ui.accesscontext
Class UiMenuContext
java.lang.Object
io.jmix.ui.accesscontext.UiMenuContext
- All Implemented Interfaces:
AccessContext
-
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
-