- Timestamp:
- 04/07/09 13:12:20 (16 years ago)
- Location:
- trunk/sources
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Security.Contracts/HeuristicLab.Security.Contracts.csproj
r1486 r1520 91 91 <RequiredTargetFramework>3.0</RequiredTargetFramework> 92 92 </Reference> 93 <Reference Include="System.ServiceModel"> 94 <RequiredTargetFramework>3.0</RequiredTargetFramework> 95 </Reference> 93 96 <Reference Include="System.Xml" /> 94 97 </ItemGroup> -
trunk/sources/HeuristicLab.Security.Contracts/Interfaces/IPermissionManager.cs
r1384 r1520 2 2 using System.Collections.Generic; 3 3 using System.Text; 4 using System.ServiceModel; 4 5 5 6 namespace HeuristicLab.Security.Contracts.Interfaces { 6 interface IPermissionManager { 7 8 [ServiceContract] 9 public interface IPermissionManager { 10 11 [OperationContract] 7 12 Guid Authenticate(String userName, String password); 13 14 [OperationContract] 8 15 bool CheckPermission(Guid sessionId, Guid permissionId, 9 16 Guid enitityId); 17 18 [OperationContract] 10 19 void EndSession(Guid sessionId); 11 20 } -
trunk/sources/HeuristicLab.Security.Contracts/Interfaces/ISecurityManager.cs
r1384 r1520 2 2 using System.Collections.Generic; 3 3 using System.Text; 4 using System.ServiceModel; 4 5 using HeuristicLab.Security.Contracts.BusinessObjects; 5 6 6 7 namespace HeuristicLab.Security.Contracts.Interfaces { 7 interface ISecurityManager { 8 9 [ServiceContract] 10 public interface ISecurityManager { 11 12 [OperationContract] 8 13 User AddNewUser(User user); 14 15 [OperationContract] 9 16 bool RemoveUser(Guid userId); 17 18 [OperationContract] 10 19 User UpdateUser(User user); 11 20 21 [OperationContract] 12 22 UserGroup AddNewUserGroup(UserGroup group); 13 bool RemoveUserGroup(Guid groupId); 23 24 [OperationContract] 25 bool RemoveUserGroup(UserGroup group); 26 27 [OperationContract] 14 28 UserGroup UpdateUserGroup(UserGroup group); 15 29 16 bool AddPermissionOwnerToGroup(Guid groupId, Guid permissionOwnerId);17 bool RemovePermissionOwnerFromGroup(Guid groupId, Guid permissionOwnerId);30 [OperationContract] 31 bool AddPermissionOwnerToGroup(UserGroup userGroup, PermissionOwner permissionOwner); 18 32 19 bool GrantPermission(Guid permissionOwnerId, Guid permissionId); 20 bool RevokePermission(Guid permissionOwnerId, Guid permissionId); 33 [OperationContract] 34 bool RemovePermissionOwnerFromGroup(UserGroup userGroup, PermissionOwner permissionOwner); 35 36 [OperationContract] 37 bool GrantPermission(PermissionOwner permissionOwner, Permission permission); 38 39 [OperationContract] 40 bool RevokePermission(PermissionOwner permissionOwner, Permission permission); 21 41 } 22 42 } -
trunk/sources/HeuristicLab.Security.DataAccess/IPermissionAdapter.cs
r1449 r1520 30 30 /// The permission database adapter 31 31 /// </summary> 32 interface IPermissionAdapter: IDataAdapter<Permission> {32 public interface IPermissionAdapter: IDataAdapter<Permission> { 33 33 /// <summary> 34 34 /// Determines, if the permission Owner has the permission on the entity … … 38 38 /// <param name="entityId"></param> 39 39 /// <returns></returns> 40 GrantedPermission getPermssion(Guid permissionOwnerId, Guid permissionId, 41 Guid entityId); 40 GrantedPermission getPermission(PermissionOwner permissionOwner, Permission permission); 42 41 43 42 /// <summary> … … 48 47 /// <param name="entityId"></param> 49 48 /// <returns></returns> 50 bool addPermission(Guid permissionOwnerId, Guid permissionId, 51 Guid entityId); 49 bool addPermission(PermissionOwner permissionOwner, Permission permission); 52 50 53 51 /// <summary> … … 58 56 /// <param name="entityId"></param> 59 57 /// <returns></returns> 60 bool removePermission(Guid permissionOwnerId, Guid permissionId, 61 Guid entityId); 58 bool removePermission(PermissionOwner permissionOwner, Permission permission); 62 59 } 63 60 } -
trunk/sources/HeuristicLab.sln
r1517 r1520 158 158 EndProject 159 159 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "HeuristicLab.StatisticalAnalysis", "HeuristicLab.StatisticalAnalysis\HeuristicLab.StatisticalAnalysis.csproj", "{1DAA4952-8D6B-4D43-A9E5-5466053DA777}" 160 EndProject 161 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "HeuristicLab.Security.Core", "HeuristicLab.Security.Core\HeuristicLab.Security.Core.csproj", "{F734E19F-11B3-41EA-B302-52CA7644F8ED}" 160 162 EndProject 161 163 Global … … 2167 2169 {1DAA4952-8D6B-4D43-A9E5-5466053DA777}.Visualization Debug|x64.ActiveCfg = Debug|Any CPU 2168 2170 {1DAA4952-8D6B-4D43-A9E5-5466053DA777}.Visualization Debug|x86.ActiveCfg = Debug|Any CPU 2171 {F734E19F-11B3-41EA-B302-52CA7644F8ED}.CEDMA Debug|Any CPU.ActiveCfg = Debug|Any CPU 2172 {F734E19F-11B3-41EA-B302-52CA7644F8ED}.CEDMA Debug|Any CPU.Build.0 = Debug|Any CPU 2173 {F734E19F-11B3-41EA-B302-52CA7644F8ED}.CEDMA Debug|x64.ActiveCfg = Debug|Any CPU 2174 {F734E19F-11B3-41EA-B302-52CA7644F8ED}.CEDMA Debug|x86.ActiveCfg = Debug|Any CPU 2175 {F734E19F-11B3-41EA-B302-52CA7644F8ED}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 2176 {F734E19F-11B3-41EA-B302-52CA7644F8ED}.Debug|Any CPU.Build.0 = Debug|Any CPU 2177 {F734E19F-11B3-41EA-B302-52CA7644F8ED}.Debug|x64.ActiveCfg = Debug|Any CPU 2178 {F734E19F-11B3-41EA-B302-52CA7644F8ED}.Debug|x86.ActiveCfg = Debug|Any CPU 2179 {F734E19F-11B3-41EA-B302-52CA7644F8ED}.GP Debug|Any CPU.ActiveCfg = Debug|Any CPU 2180 {F734E19F-11B3-41EA-B302-52CA7644F8ED}.GP Debug|Any CPU.Build.0 = Debug|Any CPU 2181 {F734E19F-11B3-41EA-B302-52CA7644F8ED}.GP Debug|x64.ActiveCfg = Debug|Any CPU 2182 {F734E19F-11B3-41EA-B302-52CA7644F8ED}.GP Debug|x86.ActiveCfg = Debug|Any CPU 2183 {F734E19F-11B3-41EA-B302-52CA7644F8ED}.Release|Any CPU.ActiveCfg = Release|Any CPU 2184 {F734E19F-11B3-41EA-B302-52CA7644F8ED}.Release|Any CPU.Build.0 = Release|Any CPU 2185 {F734E19F-11B3-41EA-B302-52CA7644F8ED}.Release|x64.ActiveCfg = Release|Any CPU 2186 {F734E19F-11B3-41EA-B302-52CA7644F8ED}.Release|x86.ActiveCfg = Release|Any CPU 2187 {F734E19F-11B3-41EA-B302-52CA7644F8ED}.Visualization Debug|Any CPU.ActiveCfg = Debug|Any CPU 2188 {F734E19F-11B3-41EA-B302-52CA7644F8ED}.Visualization Debug|Any CPU.Build.0 = Debug|Any CPU 2189 {F734E19F-11B3-41EA-B302-52CA7644F8ED}.Visualization Debug|x64.ActiveCfg = Debug|Any CPU 2190 {F734E19F-11B3-41EA-B302-52CA7644F8ED}.Visualization Debug|x86.ActiveCfg = Debug|Any CPU 2169 2191 EndGlobalSection 2170 2192 GlobalSection(SolutionProperties) = preSolution
Note: See TracChangeset
for help on using the changeset viewer.