Skip to content

Commit

Permalink
Merge pull request #402 from OctopusDeploy/bug-5272
Browse files Browse the repository at this point in the history
Additional flag on UserPermissionSetResource
  • Loading branch information
NickJosevski authored Mar 28, 2019
2 parents b1ee23b + 978daf7 commit fe2fa64
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4355,6 +4355,7 @@ Octopus.Client.Model
Octopus.Client.Model.Resource
{
.ctor()
Boolean IsComplete { get; set; }
Dictionary<Permission, List<UserPermissionRestriction>> SpacePermissions { get; set; }
List<Permission> SystemPermissions { get; set; }
List<ProjectedTeamReferenceDataItem> Teams { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4376,6 +4376,7 @@ Octopus.Client.Model
Octopus.Client.Model.Resource
{
.ctor()
Boolean IsComplete { get; set; }
Dictionary<Permission, List<UserPermissionRestriction>> SpacePermissions { get; set; }
List<Permission> SystemPermissions { get; set; }
List<ProjectedTeamReferenceDataItem> Teams { get; set; }
Expand Down
5 changes: 5 additions & 0 deletions source/Octopus.Client/Model/UserPermissionSetResource.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,10 @@ public class UserPermissionSetResource : Resource
/// Gets the teams that the user is a member of.
/// </summary>
public List<ProjectedTeamReferenceDataItem> Teams { get; set; }

/// <summary>
/// If the requesting user had sufficient access to see a complete view of the permissions
/// </summary>
public bool IsComplete { get; set; }
}
}

0 comments on commit fe2fa64

Please sign in to comment.