What a release to a protected target must show before it goes (ISO 27001 A.8.32, A.5.3, A.8.19): the commit it is built from carries a tag, the release checklist is checked in full, and one of the people who checked it is not one of the authors of what it ships -- the change approved by someone else than who made it.
class MMO\admin\helpers\ReleaseGate
Espace de noms
MMO\admin\helpers
Off unless the project's `releasePolicy` says `"enabled": true` ([`ProductionController`](https://mmoframework.fr/documentation/mmo.admin/php/controllers/ProductionController.md#productioncontroller)):
a project that does not ask releases as before. Refused, a release only goes with `--override="<reason>"`, and the
reason goes into the journal of every target it reached, beside who approved what ([`approval`](https://mmoframework.fr/documentation/mmo.admin/php/helpers/ReleaseGate.md#releasegate-approval)).
The policy: `enabled`; `tag` (true: the commit is tagged); `checklist` (the checklist's name, `checklists/{name}.json`
of the project; `--checklist=` names another for one release; null: none required); `approval` (true: a checker is not
an author); `approvers` (the logins whose tick approves; null: anyone's); `identities` (login => the e-mail addresses
and names of their commits, `{"mmouret": ["marc@hydra-agency.com"]}`; a login also matches an author of that name,
or of that e-mail's local part); `since` (where the changes start: the tag before the commit's, by default).