Add the get group by id endpoint #47
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/get-group-endpoint"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Implements task 75:
GET /api/groups/{groupId}, authenticated, returning the group and its roster to a member.RequireGroupCapability(GroupCapability.Member)—GroupScopedEndpointAuthorisationTestscovers the new route automatically since it matches/api/groups/{groupId}.mainand every open branch, none claims 0045+).GroupDetailResponse(GroupResponse Group, IReadOnlyList<GroupMemberResponse> Members)reusesGroupResponseand the wireGroupRolefrom PR #44 rather than duplicating fields.New repository methods:
GroupRepository.FindByIdAsync,GroupMembershipRepository.ListForGroupAsync.