Files @ 069884383cc7
Branch filter:

Location: kallithea/rhodecode/tests/functional/test_changeset.py

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
8
from rhodecode.tests import *

class TestChangesetController(TestController):

    def test_index(self):
        response = self.app.get(url(controller='changeset', action='index',
                                    repo_name=HG_REPO,revision='tip'))
        # Test response...