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

Add support for drive root endpoint #223

Closed
9 tasks done
amrita-shrestha opened this issue Jul 2, 2024 · 3 comments
Closed
9 tasks done

Add support for drive root endpoint #223

amrita-shrestha opened this issue Jul 2, 2024 · 3 comments
Assignees

Comments

@amrita-shrestha
Copy link
Contributor

amrita-shrestha commented Jul 2, 2024

New endpoint has been added on ocis : https://owncloud.dev/libre-graph-api/#/drives.root/InviteSpaceRoot
Add code to support root endpoint api

Ocis-php-sdk story-line for drive invitation

  • user A invite user B on drive player.
  • user A should be able to update the role, and expiration date and remove the user.
  • user B gets invited-drive on getMYdrive.
  • user B should able to get all resources inside invited drive.
  • user B should able to invite other user if he/she has enough permission.
  • user B should get permission of drive on which he/she invited

Test coverage

  • user send drive invitation to group

  • user A invite user B on drive player.

  • user A should be able to update the role, and expiration date and remove the user.

  • user B gets invited-drive on getMYdrive.

  • user B should able to get all resources inside invited drive.

  • user B should able to invite other user if he/she has enough permission.

  • user B should get permission of drive on which he/she invited

  • Check ocis-php-sdk with moodle-repository-ocis @nirajacharya2

@amrita-shrestha amrita-shrestha self-assigned this Jul 2, 2024
@phil-davis phil-davis changed the title Add support for drive root enpoint Add support for drive root endpoint Jul 2, 2024
@phil-davis
Copy link
Contributor

phil-davis commented Jul 2, 2024

The endpoint is available in ocis major version 6, so the code needs to understand that.
Code for that is being added in PR #229

@amrita-shrestha
Copy link
Contributor Author

amrita-shrestha commented Jul 12, 2024

@nirajacharya2 and @S-Panta split tests coverage

@amrita-shrestha
Copy link
Contributor Author

feature support for drive endpoint and tests has been added so closing this issue

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

No branches or pull requests

4 participants