Bitbucket Server permissions only supports <2500 repositories
Created by: slimsag
Quoting our documentation:
You have fewer than 2500 repositories on your Bitbucket Server instance.
A customer would like to use Bitbucket Server permissions with 40-50k repositories. How can we make this possible?