2021-02-18 11:06:02 +01:00
|
|
|
|
namespace Umbraco.Cms.Core.Actions
|
2018-10-29 17:27:33 +11:00
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// This action is invoked when a document is protected or unprotected
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public class ActionProtect : IAction
|
|
|
|
|
|
{
|
2018-11-24 19:39:15 +01:00
|
|
|
|
public const char ActionLetter = 'P';
|
|
|
|
|
|
|
|
|
|
|
|
public char Letter => ActionLetter;
|
2018-10-29 17:27:33 +11:00
|
|
|
|
public string Alias => "protect";
|
|
|
|
|
|
public string Category => Constants.Conventions.PermissionCategories.AdministrationCategory;
|
|
|
|
|
|
public string Icon => "lock";
|
|
|
|
|
|
public bool ShowInNotifier => true;
|
|
|
|
|
|
public bool CanBePermissionAssigned => true;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|