DeviceDtoLastModifiedBy Property

The AccountDto user that last modified this business object

Definition

Namespace: MobileTrack.Common.Models
Assembly: MobileTrack.Common (in MobileTrack.Common.dll) Version: 0.7+ce90b2cf6b782b8d7b7fd47b3c546987c652c00f
public Guid LastModifiedBy { get; set; }

Property Value

Guid

Implements

IModifiedStatsLastModifiedBy

Remarks

  • 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.

See Also