mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-11-02 19:52:14 +08:00
When a user's history is configured with private default permissions, running a tool on a dataset imported from a public library would fail with "Job attempted to create sharable output datasets in a storage location with sharing disabled". This happened because output permissions were derived solely from input datasets — public inputs produced outputs with no DATASET_ACCESS restrictions, which conflicted with the private object store. The fix ensures that the history's default DATASET_ACCESS restrictions are applied to tool outputs when the derived permissions from inputs lack them. This respects the user's privacy intent (expressed via history defaults) regardless of input origin.