Fixes to editor access for specific components of a book
From QA of permissions in #974 (closed)
Expected behaviour
As per the BCMS permissions sheet, an Editor can be added to a team for only a specific book component (added from the team tab of the book component).
This type of editor, has access to view and edit book components where it is assigned.
They should not be able to edit Settings, Metadata, Team and Toc of the Book. Should only have view access for these modals.
They should not be allowed to update all book components from bulk upload, if they are not editors of all of them, but should be able to publish a book component from the Files tab if they have access to that component.
They should not be able to upload converted book components (only Sys admins can do that).
Current behaviour
Only applicable for chapter processed book.
- To Fix 1: However it should not have access to the edit Settings, Metadata, Team and Toc of the Book. Should only have view access for these modals.
- To Fix 2: It should not be allowed to update all book components from bulk upload, if they are not editors of them.
- To Fix 3: Should be able to publish a book component from the preview tab.
Steps to reproduce issue for fix 1
- Add editor to one chapter component only, via team modal for the component
- See editor can edit Settings, Metadata, Team and Toc of the Book
QA steps to make sure fix 1 is done
- Add editor to one chapter component only, via team modal for the component
- See editor cannot edit Settings, Metadata, Team and Toc of the Book
Steps to reproduce issue for fix 2
- Add editor to one chapter component only, via team modal for the component
- See that editor can update all book components from bulk upload, even though they don't have edit access for all those components
QA steps to make sure fix 2 is done
- Add editor to one chapter component only, via team modal for the component
- See that editor cannot update all book components from bulk upload, because they don't have edit access for all those components
Steps to reproduce issue for fix 3
- Add editor to one chapter component only, via team modal for the component
- See that editor cannot publish a book component from the preview tab
QA steps to make sure fix 3 is done
- Add editor to one chapter component only, via team modal for the component
- See that editor can publish that book component from the preview tab
Priority
[Select "Y" for the relevant priority and provide an explanation]
- Resolving this bug is required for migration (Y/N)
- This can be prioritised after migration (Y/N)