Merge pull request #2841 from GSA/2795-bug-when-a-new-template-folder-is-added-existing-users-are-automatically-given-permission-to-it

fix and update to template manage
This commit is contained in:
ccostino
2025-08-20 10:42:25 -04:00
committed by GitHub
8 changed files with 64 additions and 12 deletions

View File

@@ -180,7 +180,10 @@ def process_folder_management_form(form, current_folder_id):
if form.is_add_folder_op:
new_folder_id = template_folder_api_client.create_template_folder(
current_service.id, name=form.get_folder_name(), parent_id=current_folder_id
current_service.id,
name=form.get_folder_name(),
parent_id=current_folder_id,
created_by_id=str(current_user.id)
)
if form.is_move_op: