HER-63-Update-User-Profile-To-Include-Speaker-Specific-Data #62
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
HER-71-Update-Orders-for-Address-Editing
Issue
https://raquelanaroman.atlassian.net/browse/HER-71
Update the UserProfileSerializer to conditionally include speaker-specific information based on the user's role. Ensure that teacher users can view speaker profiles with limited information, while speakers can view their full profile, including bookings. Additionally, ensure teachers can see their own bookings on their profile.
Acceptance Criteria:
Implementation
HER-57
HER-62
Changes
Updated the UserProfileSerializer
Updated Users controller
Created booking, event, availability serializers
Created tests for the UserProfileSerializer
Review Checklist