|
a/Allura/allura/app.py |
|
b/Allura/allura/app.py |
|
... |
|
... |
397 |
group_ids = [ group_ids ]
|
397 |
group_ids = [ group_ids ]
|
398 |
role_ids = map(ObjectId, group_ids + new_group_ids)
|
398 |
role_ids = map(ObjectId, group_ids + new_group_ids)
|
399 |
self.app.config.acl += [
|
399 |
self.app.config.acl += [
|
400 |
model.ACE.allow(r, perm) for r in role_ids]
|
400 |
model.ACE.allow(r, perm) for r in role_ids]
|
401 |
redirect(request.referer)
|
401 |
redirect(request.referer)
|
402 |
|
|
|
403 |
@event_handler('project_updated')
|
|
|
404 |
def subscribe_admins(topic):
|
|
|
405 |
for ac in c.project.app_configs:
|
|
|
406 |
c.project.app_instance(ac).subscribe_admins()
|
|
|