Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

When applied, you can filter entities based on the their ownership. You can apply this filter to all entities that have a relation to a Core Identity and the . The filter on that property to then only allow allows the permission permitted action to be applied when the current Core Identity is the owner of the object.

...

For example the filter below gives access to all role assignments where the user has read rights to the role of added by the role assignment:

Code Block
{
  "$type": "iTsense.Moving.Backend.DataHandling.Security.Filter.GenericSubFiltersFilter`2[[iTsense.Moving.Backend.Services.DmcoreService.DataInterfaces.Servicedmcore.IRoleAssignment, iTsense.Moving.Backend.Services.DmcoreService],[iTsense.Moving.Backend.Services.DmcoreService.DataInterfaces.Servicedmcore.IRole, iTsense.Moving.Backend.Services.DmcoreService]], iTsense.Moving.Backend.DataHandling",
  "ReferenceDtoTypePropertyName": "Role",
  "ReferenceDtoTypeSecurityMode": 1
}

...