Publish invariant properties (#12386)
* Publish invariants from non default * Add culture impact service * Use the new culture impact service instead of newing up culture impacts * Only publish invariant properties on non-defaults with invariant culture Essentially we want to be able to fall back to the default culture for the variant properties if a document type is made invariant, not whatever culture was published last. * Move creation logic into the service * Make creation method names consistent * Fix tests We compare the cultures directly, so they have to be the same object instance unfortunately * Add test for the new setting * Add new config to server variables * Fix test setup * Apply suggestions from code review Co-authored-by: Nikolaj Geisle <70372949+Zeegaan@users.noreply.github.com> Co-authored-by: Nikolaj Geisle <70372949+Zeegaan@users.noreply.github.com>
This commit is contained in:
@@ -437,7 +437,8 @@ namespace Umbraco.Cms.Web.BackOffice.Controllers
|
||||
{"showAllowSegmentationForDocumentTypes", false},
|
||||
{"minimumPasswordLength", _memberPasswordConfigurationSettings.RequiredLength},
|
||||
{"minimumPasswordNonAlphaNum", _memberPasswordConfigurationSettings.GetMinNonAlphaNumericChars()},
|
||||
{"sanitizeTinyMce", _globalSettings.SanitizeTinyMce}
|
||||
{"sanitizeTinyMce", _globalSettings.SanitizeTinyMce},
|
||||
{"AllowEditInvariantFromNonDefault", _securitySettings.AllowEditInvariantFromNonDefault},
|
||||
}
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user