Package io.jmix.core.accesscontext
Class SpecificOperationAccessContext
java.lang.Object
io.jmix.core.accesscontext.SpecificOperationAccessContext
- All Implemented Interfaces:
AccessContext
- Direct Known Subclasses:
BpmRestAccessContext
,DashboardGroupBrowseContext
,FlowuiFilterModifyConfigurationContext
,FlowuiFilterModifyJpqlConditionContext
,FlowuiLoginToUiContext
,FlowuiShowEntityInfoContext
,FlowuiShowExceptionDetailsContext
,GraphQLAccessContext
,PersistentDashboardEditButtonContext
,ReportRestAccessContext
,RestAccessContext
,RestFileDownloadContext
,RestFileUploadContext
,TemplateBlocksButtonContext
,TemplateGroupsButtonContext
,UiBulkEditContext
,UiFilterModifyConfigurationContext
,UiFilterModifyGlobalConfigurationContext
,UiFilterModifyJpqlConditionContext
,UiGlobalPresentationContext
,UiLoginToUiContext
,UiShowEntityInfoContext
,UiShowExceptionDetailsContext
An access context to check permissions on arbitrary named functionality.
-
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.getName()
boolean
void
-
Field Details
-
permitted
protected boolean permitted -
name
-
-
Constructor Details
-
SpecificOperationAccessContext
-
-
Method Details
-
getName
-
setDenied
public void setDenied() -
isPermitted
public boolean isPermitted() -
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
-