Skip to content

fix(annotations): block non-superusers from making an annotation editorial - #159

Open
saad-mhmd wants to merge 1 commit into
mainfrom
fix-158/editorial-patch-guard
Open

fix(annotations): block non-superusers from making an annotation editorial#159
saad-mhmd wants to merge 1 commit into
mainfrom
fix-158/editorial-patch-guard

Conversation

@saad-mhmd

Copy link
Copy Markdown
Contributor

Closes #158. perform_create already blocked creating editorial annotations for non-superusers, but there was no equivalent guard on update and annotation_type is writable - any authenticated user could PATCH an annotation to editorial.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Non-superuser can PATCH an annotation to editorial

1 participant