Skip to content

Fetching drives results in space image and readme getting lost #452

@JammingBen

Description

@JammingBen

Describe the bug

Fetching drives via the https://localhost:9200/graph/v1beta1/drives endpoint may result in space image and readme getting lost. This only goes for spaces where the current user is not a member of.

Steps to reproduce

  1. As margaret, create a space and upload an image
  2. As admin, fetch all spaces via https://localhost:9200/graph/v1beta1/drives (via curl or e.g. by visiting the spaces overview in the admin settings app)
  3. As margaret, reload the spaces overview

Expected behavior

The newly created space has the uploaded image.

Actual behavior

The image and description are gone. The https://localhost:9200/graph/v1beta1/drives returns no special property for the newly create space (although the image and the md file are still present on the disc).

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions