You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by br...@apache.org on 2026/05/26 20:56:38 UTC
(allura) 22/33: [#8607] check subproject parent
This is an automated email from the ASF dual-hosted git repository.
asf-gitbox-commits pushed a commit to branch db/8607
in repository https://gitbox.apache.org/repos/asf/allura.git
commit 8c5d5a16f25b9eb5aabad986847ee13e2b5de23d
Author: Dave Brondsema <da...@brondsema.net>
AuthorDate: Wed May 20 17:26:21 2026 -0400
[#8607] check subproject parent
---
Allura/allura/ext/admin/admin_main.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/Allura/allura/ext/admin/admin_main.py b/Allura/allura/ext/admin/admin_main.py
index cf97d090e..f436e5f22 100644
--- a/Allura/allura/ext/admin/admin_main.py
+++ b/Allura/allura/ext/admin/admin_main.py
@@ -613,6 +613,7 @@ def _update_mounts(self, subproject=None, tool=None, new=None, **kw):
new_app = None
for sp in subproject:
p = M.Project.query.get(shortname=sp['shortname'],
+ parent_id=c.project._id,
neighborhood_id=c.project.neighborhood_id)
if sp.get('delete'):
require_access(c.project, 'admin')