CreateCorpusRole does not require a user to have a verified email
The CorpusRoles
endpoint does not have any permission classes, but could have IsVerifiedOrReadOnly
. The endpoint's serializer already checks for writable corpora but there is no check for a user's verified email status. OrReadOnly
is required here as a corpus' roles can be accessed without login for display purposes.