Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
01/05/18 15:13:25 (7 years ago)
Author:
jzenisek
Message:

#2839 worked on service side mgmt of project-resource assignments and project-user permissions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HiveProjectManagement/HeuristicLab.Services.Hive/3.3/ServiceContracts/IHiveService.cs

    r15546 r15577  
    147147    [OperationContract]
    148148    IEnumerable<Project> GetProjects();
     149
     150    [OperationContract]
     151    IEnumerable<Project> GetProjectsForAdministration();
    149152    #endregion
    150153
    151154    #region ProjectPermission Methods
    152155    [OperationContract]
    153     void GrantProjectPermissions(Guid projectId, Guid[] grantedUserIds, bool cascading);
    154 
    155     [OperationContract]
    156     void RevokeProjectPermissions(Guid projectId, Guid[] grantedUserIds, bool cascading);
     156    void SaveProjectPermissions(Guid projectId, List<Guid> grantedUserIds, bool reassign, bool cascading, bool reassignCascading);
     157
     158    [OperationContract]
     159    void GrantProjectPermissions(Guid projectId, List<Guid> grantedUserIds, bool cascading);
     160
     161    [OperationContract]
     162    void RevokeProjectPermissions(Guid projectId, List<Guid> grantedUserIds, bool cascading);
    157163
    158164    [OperationContract]
     
    162168    #region AssignedProjectResource Methods
    163169    [OperationContract]
    164     void AssignProjectResources(Guid projectId, Guid[] resourceIds, bool cascading);
    165 
    166     [OperationContract]
    167     void UnassignProjectResources(Guid projectId, Guid[] resourceIds, bool cascading);
     170    void SaveProjectResourceAssignments(Guid projectId, List<Guid> resourceIds, bool reassign, bool cascading, bool reassignCascading);
     171
     172    [OperationContract]
     173    void AssignProjectResources(Guid projectId, List<Guid> resourceIds, bool cascading);
     174
     175    [OperationContract]
     176    void UnassignProjectResources(Guid projectId, List<Guid> resourceIds, bool cascading);
    168177
    169178    [OperationContract]
     
    235244    [OperationContract]
    236245    Guid GetUserIdByUsername(string username);
     246
     247    [OperationContract]
     248    Dictionary<Guid, HashSet<Guid>> GetUserGroupTree();
    237249    #endregion
    238250
Note: See TracChangeset for help on using the changeset viewer.