Changeset 15552 for branches/HiveProjectManagement/HeuristicLab.Services.Hive/3.3/Manager/AuthorizationManager.cs
- Timestamp:
- 12/20/17 11:27:33 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HiveProjectManagement/HeuristicLab.Services.Hive/3.3/Manager/AuthorizationManager.cs
r15540 r15552 35 35 private const string NOT_AUTHORIZED_USERRESOURCE = "Current user is not authorized to access the requested resource"; 36 36 private const string NOT_AUTHORIZED_USERPROJECT = "Current user is not authorized to access the requested project"; 37 private const string NOT_AUTHORIZED_USERJOB = "Current user is not authorized to access the requested job"; 37 38 private const string NOT_AUTHORIZED_PROJECTRESOURCE = "Selected project is not authorized to access the requested resource"; 38 39 … … 169 170 if (permission == Permission.NotAllowed 170 171 || ((permission != requiredPermissionEntity) && requiredPermissionEntity == Permission.Full)) { 171 throw new SecurityException(NOT_AUTHORIZED_USER RESOURCE);172 throw new SecurityException(NOT_AUTHORIZED_USERJOB); 172 173 } 173 174 }
Note: See TracChangeset
for help on using the changeset viewer.