Chapter co-creators removed from the only chapter they are on are not removed from the work

Description

Steps to reproduce

  1. On (eg) Testy, post a new chapter, or edit a chapter, to add (eg) testy2 as a chapter co-creator

  2. Make sure this is the only chapter of the work that testy2 is co-creator on

  3. Log in as testy 2 and navigate to the Edit Chapter page for the chapter

  4. Select "Remove Me As Chapter Co-Creator"

What happens

testy2 is removed as co-creator of that chapter, but retains co-creator access to the work as a whole

What should happen

If a co-creator who was added only to one or more chapters (and not as co-creator of the whole work) removes themselves from the last chapter for which they were credited, it should also remove them as a co-creator of the work and remove all associated edit permissions etc.

Assignee

DreamSea

Reporter

Sammie Louise

Roadmap

Works

Priority

Medium

Affects versions

Fix versions

Components

BackEnd

Difficulty

Medium

Milestone

Internal 0.9
Configure