Customizing the page we see when we don't have access to a particular repo

Hi,

We are trying change the message we see when we try to access a repo to which we don’t have access. By default, we see the message as “Access is denied” but we want to say something like “you don’t have access to this repo, please reach xyz for support”. Can anyone please suggest us how can we achieve that?

We had a conversation with Atlassian support but they said their support engineers are not trained to customize the product. Although they have suggested us to edit this file
<bitbucket_install>/atlassian-bitbucket-6.8.2/app/static/bitbucket/internal/page/errors.soy
they didn’t say what to edit.

Any help will be appreciated.

Regards,
Upangsu Sarmah