Require permission to generate a new project
This commit is contained in:
parent
f8d9b0803c
commit
7df5838bc0
|
@ -156,6 +156,7 @@ class GenerateProjectView(View):
|
||||||
"Generate new project source code")
|
"Generate new project source code")
|
||||||
config.add_route('generate_project', '/generate-project')
|
config.add_route('generate_project', '/generate-project')
|
||||||
config.add_view(cls, route_name='generate_project',
|
config.add_view(cls, route_name='generate_project',
|
||||||
|
permission='common.generate_project',
|
||||||
renderer='/generate_project.mako')
|
renderer='/generate_project.mako')
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue