Granular review permissions
Decide who can edit, comment, resolve, and approve, per user and per action.

permissionResolver decided per user and per action whether a review action was allowed. It received the permission
being checked, the user's role, the comment or tracked change involved, and the built-in decision. Returning true
or false overrode that decision; returning undefined kept it.
The permissions covered resolving and rejecting your own or other users' comments and tracked changes, editing and deleting comments, uploading versions, and opening version history. The resolver could be set on the instance or on the comments module, where the module setting took precedence.