This is an automated email from the ASF dual-hosted git repository.

asf-gitbox-commits pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/allura.git

commit ca1ac596bcd604504bcc8a5115c773b8c8a27915
Author: Dave Brondsema <[email protected]>
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')

Reply via email to