Is there a Gerrit API that can tell me if a user has a specific permission to a ref?
I have seen the documentation for Gerrit's check.access API, but it does not seem to work at all as described when trying it out with the gerritcodereview/gerrit:2.15.2 docker image.
For example, the documentation says that if I pass permission, I ...