Skip to content

[T3088] FIX: child profile page now viewable by uses not logged in#314

Merged
NoeBerdoz merged 1 commit into14.0from
T3088-403-child-profile-page
Apr 1, 2026
Merged

[T3088] FIX: child profile page now viewable by uses not logged in#314
NoeBerdoz merged 1 commit into14.0from
T3088-403-child-profile-page

Conversation

@Danielgergely
Copy link
Copy Markdown
Member

@Danielgergely Danielgergely commented Apr 1, 2026

  • FIX: records and total are only calculated if user is a sponsor of the child

- FIX: records and total are only calculated if use is a sponsor of the child
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request updates the my2_render_child_timeline_page function to conditionally load timeline records based on the access scope. The review identifies a logic error where using the child's publication status to gate the timeline prevents sponsors from viewing records for published children. It is recommended to check for a valid sponsorship instead and to apply this logic consistently across related endpoints to avoid potential crashes.

Copy link
Copy Markdown
Contributor

@NoeBerdoz NoeBerdoz left a comment

Choose a reason for hiding this comment

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

Thanks!

@NoeBerdoz NoeBerdoz merged commit a0c4e3c into 14.0 Apr 1, 2026
1 check passed
@NoeBerdoz NoeBerdoz deleted the T3088-403-child-profile-page branch April 1, 2026 13:44
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