Skip to content
Snippets Groups Projects
Commit 0721573a authored by Alexandru Munteanu's avatar Alexandru Munteanu
Browse files

fix(authsome-mode): allow unauthorized reviewers to decline from email

parent abb8644e
No related branches found
No related tags found
1 merge request!21Sprint #16 features
......@@ -47,6 +47,12 @@ function unauthenticatedUser(operation, object) {
}
}
if (operation === 'PATCH') {
// let unauthorized reviewers decline the review invitation
if (get(object, 'type') === 'invitation') {
return true
}
}
return false
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment