Gets the IsSensitive property mapped to the display object and changes the property output to show that the field contains sensitive data. Refactors the TabsAndPropertiesResolver and simplifies it a lot which also allows us to pass in an UmbracoContext which we'll need in order to determine a user's rights, etc... Refactors how the TreeNodeUrls are mapped and they now use a proper mapper. This now means we do much less in AfterMap

This commit is contained in:
Shannon
2018-01-25 14:14:12 -07:00
parent b49db0e941
commit 64628c0a9d
19 changed files with 458 additions and 288 deletions

View File

@@ -34,6 +34,9 @@ namespace Umbraco.Web.Models.ContentEditing
public bool HideLabel { get; set; }
[DataMember(Name = "validation")]
public PropertyTypeValidation Validation { get; set; }
public PropertyTypeValidation Validation { get; set; }
[DataMember(Name = "isSensitiveData")]
public bool IsSensitive { get; set; }
}
}
}