Skip to content

Imprecise chapter editing permissions #372

@amyjko

Description

@amyjko

Expected behavior

When an author is given permissions to edit a chapter, they should only be able to edit that chapter.

Actual behavior

The front end verifies the condition above, but if a malicious author were to send a request from their client to edit a different chapter, it would be permitted, since the Firestore rule only checks if they have access to edit any chapter. This is not super consequential, but it is wrong.

Metadata

Metadata

Assignees

Labels

defectSomething isn't working as intendedwritingRelated to book authoring.

Projects

Status
Backlog

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions