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

refactor: make expand on user and group listings optional #10566

Merged
merged 1 commit into from
Mar 8, 2024

Conversation

JammingBen
Copy link
Contributor

@JammingBen JammingBen commented Mar 8, 2024

Description

The endpoints for listing users and groups will be used for fetching potential sharees in the future. Regular users (non-admins) are not allowed to expand these requests though, hence we need to make the expand option optional.

To be honest, our current wrapper of the Graph SDK just feels like useless boilerplate since we're basically re-implementing it 1:1 (with the exception of some parts that were left out or are set to default - which bites us here e.g.). IMO we should either drop this wrapper or make it somewhat useful.

Related Issue

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Technical debt
  • Tests
  • Documentation
  • Maintenance (e.g. dependency updates or tooling)

@JammingBen JammingBen self-assigned this Mar 8, 2024
Copy link

update-docs bot commented Mar 8, 2024

Thanks for opening this pull request! The maintainers of this repository would appreciate it if you would create a changelog item based on your changes.

The endpoints for listing users and groups will be used for fetching potential sharees in the future. Regular users (non-admins) are not allowed to expand these requests though, hence we need to make the expand option optional.
@JammingBen JammingBen force-pushed the make-user-group-expand-optional branch from 7daa88b to 3c08d81 Compare March 8, 2024 08:17
Copy link

sonarqubecloud bot commented Mar 8, 2024

Copy link
Contributor

@kulmann kulmann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💪

@JammingBen JammingBen merged commit 56f0806 into master Mar 8, 2024
3 checks passed
@delete-merged-branch delete-merged-branch bot deleted the make-user-group-expand-optional branch March 8, 2024 08:48
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

Successfully merging this pull request may close these issues.

2 participants