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 rich member details to organization data sources #45

Open
ethanndickson opened this issue Jul 26, 2024 · 0 comments
Open

Add rich member details to organization data sources #45

ethanndickson opened this issue Jul 26, 2024 · 0 comments

Comments

@ethanndickson
Copy link
Member

Currently, an organization data source just contains the members of the organization as a set of their IDs. On the other hand, group data sources currently contain a set of rich user objects, containing more information about the user such as email and username. Unfortunately, the information for each user retrieved by the Group API differs from the Organization API.

Going forward, we should decide on a single set of fields that members retrieved via organizations and groups will contain. This may require changes to the Organization API, or an additional request for each member of the org. For example, email is not included in an codersdk.OrganizationMemberWithName instance.

@coder-labeler coder-labeler bot added docs Improvements or additions to documentation enhancement labels Jul 26, 2024
@ethanndickson ethanndickson removed the docs Improvements or additions to documentation label Jul 26, 2024
@matifali matifali added bug and removed enhancement labels Oct 15, 2024
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

2 participants