Package com.axelor.workflow.security
Class WorkflowRecordAccess
java.lang.Object
com.axelor.workflow.security.WorkflowRecordAccess
Whether the caller may read the business record a task, run or approval is about. Engine rows
reference records by model and id, so every surface answering about a record must check here,
whatever id a client sends.
-
Method Summary
-
Method Details
-
canRead
Whether the current user may readmodel#recordId. An unknown or non-entity model is allowed, having nothing to enforce; an entity goes through row-level rules. -
asId
A context value that should be a record id, or null when it is not one.
-