Skip to content

Commit b9c76b0

Browse files
authored
Merge pull request #6900 from umbraco/cms/fix-content-settings
Updated content settings to remove old setting keys
2 parents 94689a9 + b83fada commit b9c76b0

File tree

3 files changed

+14
-20
lines changed

3 files changed

+14
-20
lines changed

13/umbraco-cms/reference/configuration/contentsettings.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,10 @@ The following snippet will give an overview of the keys and values in the conten
1818
"KeepLatestVersionPerDayForDays": 90
1919
},
2020
"AllowEditInvariantFromNonDefault": true,
21-
"AllowedUploadFiles": [],
2221
"AllowedMediaHosts": [],
2322
"AllowedUploadedFileExtensions": [],
2423
"DisableDeleteWhenReferenced": false,
2524
"DisableUnpublishWhenReferenced": false,
26-
"DisallowedUploadFiles": ["ashx", "aspx", "ascx", "config", "cshtml", "vbhtml", "asmx", "air", "axd", "xamlx"],
2725
"DisallowedUploadedFileExtensions": ["ashx", "aspx", "ascx", "config", "cshtml", "vbhtml", "asmx", "air", "axd", "xamlx"],
2826
"Error404Collection": [],
2927
"HideBackOfficeLogo": false,
@@ -57,19 +55,19 @@ The following snippet will give an overview of the keys and values in the conten
5755

5856
## Root level settings
5957

60-
In the root level section, that is those without a seperate sub section like Imaging, you can configure:
58+
In the root level section, that is those without a separate sub section like Imaging, you can configure:
6159

62-
### Allow Edit Invariant From Non-Default
60+
### Allow edit invariant from non-default
6361

6462
Invariant properties are properties on a multilingual site that are not varied by culture. This means that they share the same value across all languages added to the website.
6563

6664
When the setting is set to `false` the invariant properties that are shared between all languages can only be edited from the default language. This means you need access to the default language, in order to edit the property.
6765

6866
When set to `true` (default) the invariant properties will need to be unlocked before they can be edited. The lock exists in order to make it clear that this change will affect more languages.
6967

70-
### Allowed upload files
68+
### Allowed upload file extensions
7169

72-
If greater control is required than available from the above, this setting can be used to store a list of file extensions. If provided, only files with these extensions can be uploaded via the backoffice.
70+
If greater control is required than available from the `DisallowedUploadedFileExtensions` setting, this setting can be used to store a list of file extensions. If provided, only files with these extensions can be uploaded via the backoffice.
7371

7472
### Allowed media hosts
7573

14/umbraco-cms/reference/configuration/contentsettings.md

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,10 @@ The following snippet will give an overview of the keys and values in the conten
1818
"KeepLatestVersionPerDayForDays": 90
1919
},
2020
"AllowEditInvariantFromNonDefault": true,
21-
"AllowedUploadFiles": [],
2221
"AllowedMediaHosts": [],
2322
"AllowedUploadedFileExtensions": [],
2423
"DisableDeleteWhenReferenced": false,
2524
"DisableUnpublishWhenReferenced": false,
26-
"DisallowedUploadFiles": ["ashx", "aspx", "ascx", "config", "cshtml", "vbhtml", "asmx", "air", "axd", "xamlx"],
2725
"DisallowedUploadedFileExtensions": ["ashx", "aspx", "ascx", "config", "cshtml", "vbhtml", "asmx", "air", "axd", "xamlx"],
2826
"Error404Collection": [],
2927
"HideBackOfficeLogo": false,
@@ -57,19 +55,19 @@ The following snippet will give an overview of the keys and values in the conten
5755

5856
## Root level settings
5957

60-
In the root level section, that is those without a seperate sub section like Imaging, you can configure:
58+
In the root level section, that is those without a separate sub section like Imaging, you can configure:
6159

62-
### Allow Edit Invariant From Non-Default
60+
### Allow edit invariant from non-default
6361

6462
Invariant properties are properties on a multilingual site that are not varied by culture. This means that they share the same value across all languages added to the website.
6563

6664
When the setting is set to `false` the invariant properties that are shared between all languages can only be edited from the default language. This means you need access to the default language, in order to edit the property.
6765

6866
When set to `true` (default) the invariant properties will need to be unlocked before they can be edited. The lock exists in order to make it clear that this change will affect more languages.
6967

70-
### Allowed upload files
68+
### Allowed upload file extensions
7169

72-
If greater control is required than available from the above, this setting can be used to store a list of file extensions. If provided, only files with these extensions can be uploaded via the backoffice.
70+
If greater control is required than available from the `DisallowedUploadedFileExtensions` setting, this setting can be used to store a list of file extensions. If provided, only files with these extensions can be uploaded via the backoffice.
7371

7472
### Allowed media hosts
7573

@@ -83,7 +81,7 @@ This setting allows you to specify whether a user can delete content or media it
8381

8482
This setting allows you to specify whether or not users can unpublish content items that depend on other items or have descendants that have dependencies. Setting this to **true** will disable the _Unpublish_ button.
8583

86-
### Disallowed upload files
84+
### Disallowed upload file extensions
8785

8886
This setting consists of a list of file extensions that editors shouldn't be allowed to upload via the backoffice.
8987

15/umbraco-cms/reference/configuration/contentsettings.md

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,10 @@ The following snippet will give an overview of the keys and values in the conten
1818
"KeepLatestVersionPerDayForDays": 90
1919
},
2020
"AllowEditInvariantFromNonDefault": true,
21-
"AllowedUploadFiles": [],
2221
"AllowedMediaHosts": [],
2322
"AllowedUploadedFileExtensions": [],
2423
"DisableDeleteWhenReferenced": false,
2524
"DisableUnpublishWhenReferenced": false,
26-
"DisallowedUploadFiles": ["ashx", "aspx", "ascx", "config", "cshtml", "vbhtml", "asmx", "air", "axd", "xamlx"],
2725
"DisallowedUploadedFileExtensions": ["ashx", "aspx", "ascx", "config", "cshtml", "vbhtml", "asmx", "air", "axd", "xamlx"],
2826
"Error404Collection": [],
2927
"BackOfficeLogo": "../media/qyci4xti/logo.png",
@@ -58,19 +56,19 @@ The following snippet will give an overview of the keys and values in the conten
5856

5957
## Root level settings
6058

61-
In the root level section, that is those without a seperate sub section like Imaging, you can configure:
59+
In the root level section, that is those without a separate sub section like Imaging, you can configure:
6260

63-
### Allow Edit Invariant From Non-Default
61+
### Allow edit invariant from non-default
6462

6563
Invariant properties are properties on a multilingual site that are not varied by culture. This means that they share the same value across all languages added to the website.
6664

6765
When the setting is set to `false` the invariant properties that are shared between all languages can only be edited from the default language. This means you need access to the default language, in order to edit the property.
6866

6967
When set to `true` (default) the invariant properties will need to be unlocked before they can be edited. The lock exists in order to make it clear that this change will affect more languages.
7068

71-
### Allowed upload files
69+
### Allowed upload file extensions
7270

73-
If greater control is required than available from the above, this setting can be used to store a list of file extensions. If provided, only files with these extensions can be uploaded via the backoffice.
71+
If greater control is required than available from the `DisallowedUploadedFileExtensions` setting, this setting can be used to store a list of file extensions. If provided, only files with these extensions can be uploaded via the backoffice.
7472

7573
### Allowed media hosts
7674

@@ -84,7 +82,7 @@ This setting allows you to specify whether a user can delete content or media it
8482

8583
This setting allows you to specify whether or not users can unpublish content items that depend on other items or have descendants that have dependencies. Setting this to **true** will disable the _Unpublish_ button.
8684

87-
### Disallowed upload files
85+
### Disallowed upload file extensions
8886

8987
This setting consists of a list of file extensions that editors shouldn't be allowed to upload via the backoffice.
9088

0 commit comments

Comments
 (0)