Hide UI config options for deploy and access tokens when disabled at the instance level
Target audience
Developer teams and other people who always asking "Why my tokens doesn't work?"
Further details
When enabled git protocols is ssh only, hide "Deploy Tokens" option in project's settings (Settings -> Repository). And, perhaps, hide "read_repository" checkbox in Personal Access Tokens.
Edited by James Ramsay (ex-GitLab)