Do not allow to trigger Duo Code Review if user doesn't have access
Background
It was reported in #493890 (comment 2164882679) that user can trigger Duo Code Review (via /duo_code_review
quick action) even if they're not allowed to do not having Duo enterprise access.
Proposed fix
- Introduce a policy following: https://docs.gitlab.com/ee/development/cloud_connector/#permission-checks.
- Call that policy check in https://gitlab.com/gitlab-org/gitlab/-/blob/5cf2cfec789d561e3d75fff9cd0ca07de658e1a0/ee/app/models/ee/merge_request.rb#L557-565.