public CustomEntityCreatePermission(ICustomEntityDefinition customEntityDefinition)
 {
     EntityDefinition = new CustomEntityDynamicEntityDefinition(customEntityDefinition);
     PermissionType   = CommonPermissionTypes.Create(customEntityDefinition.NamePlural);
 }
Exemple #2
0
 public RoleCreatePermission()
 {
     EntityDefinition = new RoleEntityDefinition();
     PermissionType   = CommonPermissionTypes.Create("Roles");
 }
 public DocumentAssetCreatePermission()
 {
     EntityDefinition = new DocumentAssetEntityDefinition();
     PermissionType   = CommonPermissionTypes.Create("Document Assets");
 }
 public CofoundryUserCreatePermission()
 {
     EntityDefinition = new UserEntityDefinition();
     PermissionType   = CommonPermissionTypes.Create("Cofoundry Users");
 }
Exemple #5
0
 public ImageAssetCreatePermission()
 {
     EntityDefinition = new ImageAssetEntityDefinition();
     PermissionType   = CommonPermissionTypes.Create("Image Assets");
 }
 public PageTemplateCreatePermission()
 {
     EntityDefinition = new PageTemplateEntityDefinition();
     PermissionType   = CommonPermissionTypes.Create("Page Templates");
 }
 public WebDirectoryCreatePermission()
 {
     EntityDefinition = new WebDirectoryEntityDefinition();
     PermissionType   = CommonPermissionTypes.Create("Web Directories");
 }