From 7c5109fb1282714e31778dcdcf46c33ec24f3a4d Mon Sep 17 00:00:00 2001 From: Andrej Date: Thu, 23 Nov 2023 11:11:43 +0100 Subject: [PATCH] Fix manage edit card permission propagation [SCI-9770] --- app/views/repository_rows/show.json.jbuilder | 1 + 1 file changed, 1 insertion(+) diff --git a/app/views/repository_rows/show.json.jbuilder b/app/views/repository_rows/show.json.jbuilder index 0983aa123..2af8bb646 100644 --- a/app/views/repository_rows/show.json.jbuilder +++ b/app/views/repository_rows/show.json.jbuilder @@ -10,6 +10,7 @@ json.update_path update_cell_repository_repository_row_path(@repository, @reposi json.permissions do json.can_export_repository_stock can_export_repository_stock?(@repository) + json.can_manage can_manage_repository_rows?(@repository) if @repository.is_a?(Repository) end json.actions do