CE-882 Remove removed withHint calls

This commit is contained in:
2024-04-25 12:15:57 -05:00
parent 7fbe2e643e
commit c01a96d4c2

View File

@ -111,11 +111,9 @@ public class SharingMetaDataProvider
.withOperator(MultiRecordSecurityLock.BooleanOperator.OR) .withOperator(MultiRecordSecurityLock.BooleanOperator.OR)
.withLock(new RecordSecurityLock() .withLock(new RecordSecurityLock()
.withSecurityKeyType(USER_ID_KEY_TYPE) .withSecurityKeyType(USER_ID_KEY_TYPE)
.withHint(RecordSecurityLock.QueryHint.DO_NOT_PUT_CRITERIA_IN_JOIN_ON)
.withFieldName("userId")) .withFieldName("userId"))
.withLock(new RecordSecurityLock() .withLock(new RecordSecurityLock()
.withSecurityKeyType(GROUP_ID_KEY_TYPE) .withSecurityKeyType(GROUP_ID_KEY_TYPE)
.withHint(RecordSecurityLock.QueryHint.DO_NOT_PUT_CRITERIA_IN_JOIN_ON)
.withFieldName("groupId")) .withFieldName("groupId"))
)); ));
QInstanceEnricher.setInferredFieldBackendNames(qInstance.getTable(SharedAsset.TABLE_NAME)); QInstanceEnricher.setInferredFieldBackendNames(qInstance.getTable(SharedAsset.TABLE_NAME));