Class AssociatedWritePermissions
java.lang.Object
com.kingsrook.qqq.backend.core.actions.permissions.AssociatedWritePermissions
Preflight the association writes requested by HTTP before changing the parent.
Omitted members of a named relationship require DELETE even when record
locks hide them. Key-only discovery is internal; actual DML retains its locks.
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidcheck(DeleteInput input) The caller has already authorized DELETE on the parent table.static voidcheck(InsertInput input) The caller has already authorized INSERT on the parent table.static voidcheck(UpdateInput input) The caller has already authorized EDIT on the parent table.static voidAs check, also rejecting child records that write fields denied to the session by a FieldSecurityLock (used by the core actions when enforcing).static voidAs check, also rejecting child records that write fields denied to the session by a FieldSecurityLock (used by the core actions when enforcing).static voidAs check, also rejecting child records that write fields denied to the session by a FieldSecurityLock (used by the core actions when enforcing).
-
Method Details
-
check
The caller has already authorized INSERT on the parent table.- Throws:
QException
-
checkWithFieldSecurityLocks
As check, also rejecting child records that write fields denied to the session by a FieldSecurityLock (used by the core actions when enforcing).- Throws:
QException
-
check
The caller has already authorized EDIT on the parent table.- Throws:
QException
-
checkWithFieldSecurityLocks
As check, also rejecting child records that write fields denied to the session by a FieldSecurityLock (used by the core actions when enforcing).- Throws:
QException
-
check
The caller has already authorized DELETE on the parent table.- Throws:
QException
-
checkWithFieldSecurityLocks
As check, also rejecting child records that write fields denied to the session by a FieldSecurityLock (used by the core actions when enforcing).- Throws:
QException
-