Skip to content

Commit

Permalink
Explain what this function does.
Browse files Browse the repository at this point in the history
  • Loading branch information
ggreer committed Aug 19, 2024
1 parent 3854b7e commit debe0f3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/connector/group.go
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ func (g *groupResourceType) Entitlements(ctx context.Context, resource *v2.Resou
return rv, "", nil, nil
}

// newGrantFromDN - create a `Grant` from a given group and user distinguished name.
func newGrantFromDN(resource *v2.Resource, userDN string) *v2.Grant {
g := grant.NewGrant(
// remove group profile from grant so we're not saving all group memberships in every grant
Expand Down

0 comments on commit debe0f3

Please sign in to comment.