Should not be able to publish Collection TOC unless at least one members (book) is published
Current behaviour
User should not be able to publish Collection TOC with no members belonging to that collection - there must be at least one published book belonging to the collection
New requirement behaviour
Currently user can publish the Collection TOC before any books (members belonging to the collection) are published
Steps to reproduce
- See example of user who was able to this here: https://ncbi.cloud68.co/organizations/32d78686-4b9a-46af-b52a-f5d0c4052177/collectionmanager/b1c66823-81ea-4be5-989f-6293ad54669f
- Notice TOC button top right is green indicating it is published
- Click on TOC button and see you have a published view:
Priority
Y, must work for deployment
QA Steps
- Create a new collection
- Add some books (new or existing) to this collection which do not have the status published
- Check the collection TOC, should not be able to publish
- Add a book which is published to the collection
- On collection TOC now you should be able to publish