18 lines
778 B
Markdown
18 lines
778 B
Markdown
## ADDED Requirements
|
|
|
|
### Requirement: Incremental Business User Group Membership
|
|
|
|
The frontend SHALL use the member query, candidate query, incremental POST add/move, and scoped DELETE remove contracts from the modification document.
|
|
|
|
#### Scenario: Add or move members
|
|
|
|
- **WHEN** the user selects candidate accounts and confirms adding members
|
|
- **THEN** the frontend MUST POST the account IDs to `/api/admin/business-user-groups/{id}/members`
|
|
- **AND** MUST refresh current members and member counts
|
|
|
|
#### Scenario: Remove current members
|
|
|
|
- **WHEN** the user selects members currently belonging to the group and confirms removal
|
|
- **THEN** the frontend MUST DELETE `/api/admin/business-user-groups/{id}/members` with the account IDs
|
|
- **AND** MUST refresh current members
|