public void AssertSubtreePermission(TestEntity entity, params PermissionTypeBase[] permissions)
 {
     base.AssertSubtreePermission(entity.Id, permissions);
 }
 public bool HasSubtreePermission(TestEntity entity, params PermissionTypeBase[] permissions)
 {
     return(base.HasSubtreePermission(entity.Id, permissions));
 }
 public void UnbreakInheritance(TestEntity entity, bool normalize = false)
 {
     AclEditor.Create(this).UnbreakInheritance(entity.Id, normalize).Apply();
 }
 public bool IsEntityInherited(TestEntity entity)
 {
     return(base.IsEntityInherited(entity.Id));
 }
 public void BreakInheritance(TestEntity entity, bool convertToExplicit = true)
 {
     AclEditor.Create(this).BreakInheritance(entity.Id, convertToExplicit).Apply();
 }
 public void MoveEntity(TestEntity source, TestEntity target)
 {
     base.MoveEntity(source.Id, target.Id);
 }
 public void DeleteEntity(TestEntity entity)
 {
     base.DeleteEntity(entity.Id);
 }
 public void ModifyEntity(TestEntity entity)
 {
     base.ModifyEntityOwner(entity.Id, entity.OwnerId);
 }
 /*********************** High level structure API **********************/
 public void CreateSecurityEntity(TestEntity entity)
 {
     base.CreateSecurityEntity(entity.Id, entity.ParentId, entity.OwnerId);
 }