- Timestamp:
- 07/08/10 23:13:56 (14 years ago)
- Location:
- branches/HeuristicLab.Services.Authentication Prototype/Service/Services/Administration
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.Services.Authentication Prototype/Service/Services/Administration/AuthorizationManagementService.cs
r3976 r4021 3 3 using System.Linq; 4 4 using System.Text; 5 using System.Security.Permissions; 5 6 6 7 namespace Service.Services.Administration { … … 8 9 #region IAuthorizationManagementService Member 9 10 11 10 12 public void CreateRole(string roleName, bool isPermission) { 11 13 new Service.Provider.HeuristicLabRoleProvider().CreateRole(roleName, isPermission); -
branches/HeuristicLab.Services.Authentication Prototype/Service/Services/Administration/IAuthorizationManagementService.cs
r3971 r4021 1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using System.ServiceModel; 1 using System.ServiceModel; 2 using System.Security.Permissions; 6 3 7 4 namespace Service.Services.Administration { … … 10 7 11 8 [OperationContract] 9 [PrincipalPermission(SecurityAction.PermitOnly, Role = "Admin")] 12 10 void CreateRole(string roleName, bool isPermission); 13 11
Note: See TracChangeset
for help on using the changeset viewer.