mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-19 10:51:34 +08:00
Merge pull request #18235 from mvdbeek/accessible_followup
[24.0] Fix element serialization for collections that aren't populated yet
This commit is contained in:
@@ -273,7 +273,7 @@ class DatasetCollectionsService(ServiceBase, UsesLibraryMixinItems):
|
||||
hdca_id=self.encode_id(hdca.id),
|
||||
parent_id=self.encode_id(result["object"]["id"]),
|
||||
)
|
||||
else:
|
||||
elif result["element_type"] == DCEType.hda:
|
||||
result["object"]["accessible"] = self.hda_manager.is_accessible(dsc_element.element_object, trans.user)
|
||||
return result
|
||||
|
||||
|
||||
Reference in New Issue
Block a user