Merge pull request #6695 from rekonder/aj_SCI_9770

Fix manage edit card permission propagation [SCI-9770]
This commit is contained in:
ajugo 2023-11-23 11:33:50 +01:00 committed by GitHub
commit 7b09c43c22
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -10,6 +10,7 @@ json.update_path update_cell_repository_repository_row_path(@repository, @reposi
json.permissions do json.permissions do
json.can_export_repository_stock can_export_repository_stock?(@repository) json.can_export_repository_stock can_export_repository_stock?(@repository)
json.can_manage can_manage_repository_rows?(@repository) if @repository.is_a?(Repository)
end end
json.actions do json.actions do