|
a/Allura/allura/model/project.py |
|
b/Allura/allura/model/project.py |
|
... |
|
... |
556 |
pr = user.project_role()
|
556 |
pr = user.project_role()
|
557 |
pr.roles = [ role_admin._id ]
|
557 |
pr.roles = [ role_admin._id ]
|
558 |
# Setup apps
|
558 |
# Setup apps
|
559 |
for i, (ep_name, mount_point, label) in enumerate(apps):
|
559 |
for i, (ep_name, mount_point, label) in enumerate(apps):
|
560 |
self.install_app(ep_name, mount_point, label, ordinal=i)
|
560 |
self.install_app(ep_name, mount_point, label, ordinal=i)
|
561 |
import pdb; pdb.set_trace()
|
|
|
562 |
if ForgeWikiApp is not None:
|
561 |
if ForgeWikiApp is not None:
|
563 |
home_app = self.app_instance('home')
|
562 |
home_app = self.app_instance('home')
|
564 |
if isinstance(home_app, ForgeWikiApp):
|
563 |
if isinstance(home_app, ForgeWikiApp):
|
565 |
home_app.show_discussion = False
|
564 |
home_app.show_discussion = False
|
566 |
home_app.show_left_bar = False
|
565 |
home_app.show_left_bar = False
|