You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When there is a mail that is not a user email but a group email, uploading a file fails with a 400 error while setting the blob permissions:
WARNING quetzal.app.api.data.file 2019-09-17 15:33:41 Failed to set file permissions
Traceback (most recent call last):
File "/code/quetzal/app/api/data/file.py", line 137, in create
storage.set_permissions(obj, workspace.owner)
File "/code/quetzal/app/api/data/storage/__init__.py", line 73, in set_permissions
return gcp.set_permissions(file_obj, owner)
File "/code/quetzal/app/api/data/storage/gcp.py", line 60, in set_permissions
acl.save()
File "/usr/local/lib/python3.6/site-packages/google/cloud/storage/acl.py", line 504, in save
self._save(acl, None, client)
File "/usr/local/lib/python3.6/site-packages/google/cloud/storage/acl.py", line 476, in _save
query_params=query_params,
File "/usr/local/lib/python3.6/site-packages/google/cloud/_http.py", line 319, in api_request
raise exceptions.from_http_response(response)
google.api_core.exceptions.BadRequest: 400 PATCH https://www.googleapis.com/storage/v1/b/quetzal-ws-73-operator-benchmark/o/20190917-151546.hdf5?projection=full: Group set as user: [email protected]
This should not be a 400 but a 500. More importantly, the GCP backend should manage the group e-mail correctly.
The text was updated successfully, but these errors were encountered:
When there is a mail that is not a user email but a group email, uploading a file fails with a 400 error while setting the blob permissions:
This should not be a 400 but a 500. More importantly, the GCP backend should manage the group e-mail correctly.
The text was updated successfully, but these errors were encountered: