CSCfi / CSCfi/rems

Adding members shows users already belonging to the application in the list

Open
#1,412 12 comments 0 reactions 0 assignees View on GitHub
Easy Enhancement Good First Issue Hacktoberfest
Dominant language
Clojure
Stars
66
Forks
28
Avg merge
7d 4h
Merged PRs (30d)
2

Description

When a handler is adding members to an application, the dropdown shows members that have already been added. Filter them away so you can't accidentally try to add them twice.

- [x] don't let the handler try to add a member twice
- [ ] bonus: don't let the applicant try to invite a member twice (same email)

See `rems.actions.add-member`, `rems.actions.invite-member`

![add-member](https://user-images.githubusercontent.com/823661/94022732-14097880-fdbe-11ea-944f-1d3faf301f24.png)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.