branch-permissions: enabled branch permissions checks for SSH backend.
This commit is contained in:
parent
6458ef9105
commit
08d3f6b83b
6 changed files with 46 additions and 21 deletions
|
|
@ -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',
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue