예제 #1
0
 public ImageAssetAdminModulePermission()
 {
     EntityDefinition = new ImageAssetEntityDefinition();
     PermissionType   = CommonPermissionTypes.AdminModule("Image Assets");
 }
 public RewriteRuleAdminModulePermission()
 {
     EntityDefinition = new RewriteRuleEntityDefinition();
     PermissionType   = CommonPermissionTypes.AdminModule("Rewrite Rules");
 }
예제 #3
0
 public PageTemplateAdminModulePermission()
 {
     EntityDefinition = new PageTemplateEntityDefinition();
     PermissionType   = CommonPermissionTypes.AdminModule("Page Templates");
 }
 public SettingsAdminModulePermission()
 {
     EntityDefinition = new SettingsEntityDefinition();
     PermissionType   = CommonPermissionTypes.AdminModule("Settings");
 }
 public CofoundryUserAdminModulePermission()
 {
     EntityDefinition = new UserEntityDefinition();
     PermissionType   = CommonPermissionTypes.AdminModule("Cofoundry Users");
 }
예제 #6
0
 public CurrentUserAdminModulePermission()
 {
     EntityDefinition = new CurrentUserEntityDefinition();
     PermissionType   = CommonPermissionTypes.AdminModule("Current User Account");
 }
 public PageDirectoryAdminModulePermission()
 {
     EntityDefinition = new PageDirectoryEntityDefinition();
     PermissionType   = CommonPermissionTypes.AdminModule("Page Directories");
 }
예제 #8
0
 public DocumentAssetAdminModulePermission()
 {
     EntityDefinition = new DocumentAssetEntityDefinition();
     PermissionType   = CommonPermissionTypes.AdminModule("Document Assets");
 }
 public CustomEntityAdminModulePermission(ICustomEntityDefinition customEntityDefinition)
 {
     EntityDefinition = new CustomEntityDynamicEntityDefinition(customEntityDefinition);
     PermissionType   = CommonPermissionTypes.AdminModule(customEntityDefinition.NamePlural);
 }
 /// <summary>
 /// Constructor used internally by AuthorizePermissionAttribute.
 /// </summary>
 public CustomEntityAdminModulePermission()
 {
     PermissionType = CommonPermissionTypes.AdminModule("Not Set");
 }