-
Notifications
You must be signed in to change notification settings - Fork 422
SignOff
Rémy HUBSCHER edited this page Oct 24, 2016
·
6 revisions
People of the reviewer group can change the collection status to to-sign
to trigger a kinto-signer signature of the collection.
Today anyone with write permission on the collection can do it.
What we want is to make sure only of the reviewer group can do it and that the editor who asked for the review cannot sign-off for their own changes.
The collection status can take 4 values: signed
, work-in-progress
, to-review
, to-sign
- Only the kinto-signer can set the status to
signed
- Anyone who can update or create records in the collection will automatically set the collection status to work-in-progress
- Anyone is the editor group can turn the status to:
to-review
- Only people in the reviewer group can turn the status to:
to-sign
Note that one who turned the status in to-review
cannot then turn it in to-sign
mode even if this one is both in the editors
and the reviewers
groups.
- When something happens in the collection records and the collection status is
signed
, kinto-signer will automatically turn it towork-in-progress
. - When someone try to turn the status in
to-review
kinto-signer will only allow it if it was inwork-in-progress
and if the user is in the editors group. It will also update theasked_for_review
property of the collection to the user ID that asked for the review. - When one try to turn the status in
to-sign
kinto-signer will only allow it if it was into-review
status, if one is in thereviewers
group and if theasked_for_review
property is not one's user ID. - When kinto-signer receive a valid
to-sign
status it will update the public collection with the signature and turn the status tosigned
Join us on irc.freenode.net #kinto or on our Slack Workspace for more info.