Skip to content

Commit

Permalink
fix: correct parameter names
Browse files Browse the repository at this point in the history
Signed-off-by: Babak K. Shandiz <[email protected]>
  • Loading branch information
babakks committed Mar 28, 2024
1 parent e91ad7d commit f3375ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rebac-admin-backend/v1/interfaces/groups.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ type GroupsService interface {
// GetGroupIdentities returns a page of identities in a Group identified by `groupId`.
GetGroupIdentities(ctx context.Context, groupId string, params *resources.GetGroupsItemIdentitiesParams) (*resources.PaginatedResponse[resources.Identity], error)
// PatchGroupIdentities performs addition or removal of identities to/from a Group identified by `groupId`.
PatchGroupIdentities(ctx context.Context, groupId string, groupPatches []resources.GroupIdentitiesPatchItem) (bool, error)
PatchGroupIdentities(ctx context.Context, groupId string, identityPatches []resources.GroupIdentitiesPatchItem) (bool, error)

// GetGroupRoles returns a page of Roles for Group `groupId`.
GetGroupRoles(ctx context.Context, groupId string, params *resources.GetGroupsItemRolesParams) (*resources.PaginatedResponse[resources.Role], error)
Expand All @@ -41,5 +41,5 @@ type GroupsService interface {
// GetGroupEntitlements returns a page of Entitlements for Group `groupId`.
GetGroupEntitlements(ctx context.Context, groupId string, params *resources.GetGroupsItemEntitlementsParams) (*resources.PaginatedResponse[resources.EntityEntitlement], error)
// PatchGroupEntitlements performs addition or removal of an Entitlement to/from a Group identified by `groupId`.
PatchGroupEntitlements(ctx context.Context, identityId string, entitlementPatches []resources.GroupEntitlementsPatchItem) (bool, error)
PatchGroupEntitlements(ctx context.Context, groupId string, entitlementPatches []resources.GroupEntitlementsPatchItem) (bool, error)
}

0 comments on commit f3375ed

Please sign in to comment.