Only allow authors and/or committers in eligible user to approve their own merge requests

I would like to allow only revelant users (author(s) and/or commiter(s) of the branch) in elligible user in MR.
This way non related developers can’t approve a MR if they do not work on.
Maybe there’s a way with code onwner but by branch but I can’t realize how.

Hi @Minaro
You can use Merge request approval rules | GitLab for Protected branches.

Please let me know, where I choose Only author/Only commiters

If you look for some kind of dynamic list of authors/commiters on a branch, there is no such thing.