##// END OF EJS Templates
move permission check of write access to repo groups inside a form....
move permission check of write access to repo groups inside a form. - it's runned via create/edit/fork forms - in case we have disabled repo creation, it will check root location write access for people that are not super admins, or have explicity create repo permission - in case there's a group value passed to form, it checks just admin or write access

File last commit:

r2434:f2946967 codereview
r3372:157231a4 beta
Show More
test_pullrequests.py
9 lines | 268 B | text/x-python | PythonLexer
from rhodecode.tests import *
class TestPullrequestsController(TestController):
def test_index(self):
self.log_user()
response = self.app.get(url(controller='pullrequests', action='index',
repo_name=HG_REPO))