Files @ 069884383cc7
Branch filter:

Location: kallithea/rhodecode/tests/api/test_api_hg.py - annotation

Marcin Kuzminski
Implemented #738 Giving a user WRITE+ permissions on folder should not allow repo creation in root folder.
user can create repos only if he got explicitly permission for creating repos globally, or have WRITE+ permission on a group.
Then he can create repositories inside this group
1
2
3
4
5
6
7
from rhodecode.tests import *
from rhodecode.tests.api.api_base import BaseTestApi


class TestHgApi(BaseTestApi, TestController):
    REPO = HG_REPO
    REPO_TYPE = 'hg'