BlobDtoLastModifiedBy Property
The
AccountDto user that last modified this business object
- Referential integrity –
This item must refer to a valid AccountDto upon being set; the account must exist.
Of course, accounts can be deleted later down the line, in which case this property becomes an orphaned reference.
That is fine, in which case front-end will refer to the object as being made by a deleted account.
- Initialization –
When an object is first created and CreatedBy was set, the same value must be
applied to this property. It is only allowed to deviate when newer changes are introduced at a later date.
- Data isolation –
If the creator of the object is a MobileTrack support employee, and not a member of the company itself,
then the members of the company cannot see the real name of the support employee; this must be hidden from them.
Also, if the creator of the object is a user the reader has no rights of seeing as per the ViewAccounts
in their RoleAssignmentDto scope, the name must be censured as well.