Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Object store selection is available to anon users (but only works partially?) #18153

Open
mvdbeek opened this issue May 15, 2024 · 1 comment

Comments

@mvdbeek
Copy link
Member

mvdbeek commented May 15, 2024

It's unclear to me if anon users should be able to select object stores.
Currently they can, as we show the Preferred Storage Location button in the history.
If a user clicks on that they can select the object store, however the API returns null and so that somewhat breaks the UI.

If you do upload a dataset to that history it goes to scratch storage, so this seems at least somewhat functional.

Sentry Issue: GALAXY-MAIN-YAR

TypeError: Cannot read properties of null (reading 'quota_source_label')
  at get QuotaUsage.rawSourceLabel (webpack://@galaxyproject/galaxy-client/./src/components/User/DiskUsage/Quota/model/QuotaUsage.ts:18:33)
  at get QuotaUsage.sourceLabel (webpack://@galaxyproject/galaxy-client/./src/components/User/DiskUsage/Quota/model/QuotaUsage.ts:25:27)
  at isDefaultQuota (webpack://@galaxyproject/galaxy-client/./src/components/User/DiskUsage/Quota/QuotaUsageBar.vue?b65b:17:37)
  at Watcher.prototype.get (webpack://@galaxyproject/galaxy-client/./node_modules/vue/dist/vue.esm.js:4164:33)
  at Watcher.prototype.evaluate (webpack://@galaxyproject/galaxy-client/./node_modules/vue/dist/vue.esm.js:4265:27)
...
(21 additional frame(s) were not displayed)
@jmchilton
Copy link
Member

I'll add this to my to do list - thank you for the issue!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants