OnTopicCMS/OnTopic-Editor-AspNetCore

Introduce a `DisableDelete` capability for the current topic

Closed this issue · 1 comments

Currently, DisableDelete prevents instances of a ContentTypeDescriptor from being deleted. Ideally, we'd introduce a way to protect individual ContentTypeDescriptor and AttributeDescriptors from being deleted, while still allowing instances of those content types to be deleted. This might be named, for example, IsSystem?

Introduced support for a new IsProtected attribute by adding it as a property on EditingTopicViewModel. Used this property to display a warning in the editor (df6023e), disable delete (c2e031d), and disable moves (dcfa0d2). This was merged into develop as part of 7d8bd09.