Book shown multiple times if the user has multiple roles
Expected behaviour
The user should see the book listed only once even the user has various roles on the book.
Current behaviour
The user "Author One" in the screenshot below, is added as both Author and Production Editor in the Team Manager of the book titled "I". However this same book is shown twice on the list of the books for this user.
When the user is added as Author, Production Editor, and Copy Editor, the book is shown three times, e.g. book titled "222".
Steps to reproduce
- Create a book or open an existing one
- Add various roles to the same user in Team Manager of the book
- Log in as the user in step 2
- Check that the book in step 1 is shown twice or three times (depending on the number of roles the user has) in the list of books.