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

[Share-NG] Emtpy sharedWithMe response when received project drive as share #8839

Closed
amrita-shrestha opened this issue Apr 11, 2024 · 1 comment
Labels

Comments

@amrita-shrestha
Copy link
Contributor

Describe the bug

Share project space drive root using /drives/{driveID}/root/invite . Gets empty share with me list

Similar issues in past

Steps to reproduce

  1. create space newspace
  2. share space with /drives/{driveID}/root/invite endpoint
  3. list share with me

Expected behavior

The response should list the project space newspace similar to shared resource of project space

Actual behavior

{"value":[]}

Setup

Please describe how you started the server and provide a list of relevant environment variables or configuration files.

OCIS_XXX=5.1.0-prealpha+f1deebad63
OCIS_YYY=somevalue
PROXY_XXX=somevalue

Additional context

Add any other context about the problem here.

@rhafer
Copy link
Contributor

rhafer commented Apr 12, 2024

I think this is the expected behavior. The sharedWithMe endpoint is only supposed to list normal "File" and "Folder" shares. The issues you linked above are about Folder-(or File-)Shares created from within a space, not about permissions granted on a space itself.

To know which spaces a user as access to we have /me/drives/

@rhafer rhafer closed this as completed Apr 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants