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 SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionReturns a human-readable explanation of constraints applied to the current context instance for logging of authorization decisions.booleanvoid
- 
Field Details
- 
permittedprotected boolean permitted
 
- 
Constructor Details
- 
Method Details- 
getMenuItemId
- 
getMenuItem
- 
isPermittedpublic boolean isPermitted()
- 
setDeniedpublic void setDenied()
- 
explainConstraintsDescription copied from interface:AccessContextReturns 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:
- explainConstraintsin interface- AccessContext
 
 
-