-
-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
120 additions
and
61 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
image: Visual Studio 2017 | ||
|
||
# Version format | ||
version: 2.1.0.{build} | ||
version: 2.2.0.{build} | ||
|
||
branches: | ||
only: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Configuration # | ||
|
||
## Prevent deleting (v2.2.0+) ## | ||
|
||
To prevent that editors can delete a content or media item that is linked to from other items you can add the following key to your appSettings in the web.config | ||
|
||
<add key="nexu:PreventDelete" value="true" /> | ||
|
||
Removing this setting or setting it to false allows editors to delete the used item | ||
|
||
## Prevent unpublishing (v2.2.0+) ## | ||
|
||
To prevent that editors can unpublish a content item that is linked to from other items you can add the following key to your appSettings in the web.config | ||
|
||
<add key="nexu:PreventUnpublish" value="true" /> | ||
|
||
Removing this setting or setting it to false allows editors to unpublish the used item |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
namespace Our.Umbraco.Nexu.Common.Constants | ||
{ | ||
/// <summary> | ||
/// The app settings constants | ||
/// </summary> | ||
internal class AppSettings | ||
{ | ||
/// <summary> | ||
/// Prevent delete app setting | ||
/// </summary> | ||
public const string PreventDelete = "nexu:PreventDelete"; | ||
|
||
/// <summary> | ||
/// Prevent unpublish app setting | ||
/// </summary> | ||
public const string PreventUnpublish = "nexu:PreventUnpublish"; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters