branch-permissions: enabled branch permissions checks for SSH backend.

This commit is contained in:
Marcin Kuzminski 2018-08-29 16:41:52 +02:00
parent 6458ef9105
commit 08d3f6b83b
6 changed files with 46 additions and 21 deletions

View file

@ -139,6 +139,9 @@ class TestGitServer(object):
'hooks': ['push', 'pull'],
'is_shadow_repo': False,
'hooks_module': 'rhodecode.lib.hooks_daemon',
'check_branch_perms': False,
'detect_force_push': False,
'user_agent': u'ssh-user-agent',
'SSH': True,
'SSH_PERMISSIONS': 'repository.admin',
}