예제 #1
0
 public PageDirectoryCreatePermission()
 {
     EntityDefinition = new PageDirectoryEntityDefinition();
     PermissionType   = CommonPermissionTypes.Create("Page Directories");
 }
예제 #2
0
 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");
 }
예제 #5
0
 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");
 }