Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support multiple role selection in projects
Horizon currently overwrites existing roles when saving project membership. The backend was only initialising the form with the first role of each user, so when the form was submitted any other roles on *all* users were removed. Changes: - Fix backend to pass through all roles - Keep role dropdown open on click, clicks add a tick to a role - Show the first two roles on the dropdown label, add a "..." for three or more. Fixes bug #1081374. Change-Id: Iaf64afc4c50d4d24d6acb529a6e810a0ba154505
- Loading branch information
Showing
4 changed files
with
89 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters