public PageDirectoryCreatePermission() { EntityDefinition = new PageDirectoryEntityDefinition(); PermissionType = CommonPermissionTypes.Create("Page Directories"); }
public DocumentAssetCreatePermission() { EntityDefinition = new DocumentAssetEntityDefinition(); PermissionType = CommonPermissionTypes.Create("Document Assets"); }
public RoleCreatePermission() { EntityDefinition = new RoleEntityDefinition(); PermissionType = CommonPermissionTypes.Create("Roles"); }
public PageTemplateCreatePermission() { EntityDefinition = new PageTemplateEntityDefinition(); PermissionType = CommonPermissionTypes.Create("Page Templates"); }
public ImageAssetCreatePermission() { EntityDefinition = new ImageAssetEntityDefinition(); PermissionType = CommonPermissionTypes.Create("Image Assets"); }
public CofoundryUserCreatePermission() { EntityDefinition = new UserEntityDefinition(); PermissionType = CommonPermissionTypes.Create("Cofoundry Users"); }
public CustomEntityCreatePermission(ICustomEntityDefinition customEntityDefinition) { EntityDefinition = new CustomEntityDynamicEntityDefinition(customEntityDefinition); PermissionType = CommonPermissionTypes.Create(customEntityDefinition.NamePlural); }
/// <summary> /// Constructor used internally by AuthorizePermissionAttribute. /// </summary> public CustomEntityCreatePermission() { PermissionType = CommonPermissionTypes.Create("Not Set"); }