Merged feature/CE-882-add-functionality-of-sharing into feature/CE-1068-add-basic-functionality-of

This commit is contained in:
2024-04-30 20:04:56 -05:00
9 changed files with 461 additions and 4 deletions

View File

@ -353,8 +353,10 @@ public class SharingTest
//////////////////////////////////////////////////////////////////////////
// now see if you can update to a user that you don't have (you can't!) //
//////////////////////////////////////////////////////////////////////////
/* todo - here's where the logic in ValidateRecordSecurityLockHelper fails us...
updateOutput = new UpdateAction().execute(new UpdateInput(SharedAsset.TABLE_NAME).withRecord(makeRecordToUpdate.get().withValue("userId", 2)));
assertThat(updateOutput.getRecords().get(0).getErrors()).isNotEmpty();
*/
///////////////////////////////////////////////////////////////////////
// Add that user (2) to the session - then the update should succeed //