Skip to content

Commit

Permalink
Additional flag on UserPermissionSetResource
Browse files Browse the repository at this point in the history
  • Loading branch information
NickJosevski committed Mar 28, 2019
1 parent b1ee23b commit 978daf7
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 978daf7

Please sign in to comment.