Skip to main content

Member Portal

Member Portal

๐Ÿ“„๏ธ Update the signed-in member's own profile

Applies the allow-listed fields present in the body to the member's own person record and writes a timeline note naming what changed. Anything else in the body is ignored. Birthday is accepted only when bPortalAllowBirthdayEdit is on. A new email is not saved: a confirmation link goes to the new address, a notice goes to the old one, and the change happens when the link is used (member sign-in design ยง9). Language is ignored in a staff session, which keeps the staff account's own setting.

๐Ÿ“„๏ธ The signed-in member's own photo (binary image)

Returns the member's uploaded photo bytes. The portal serves its own copy because AuthMiddleware confines a self-service session to /portal and /api/portal, so /api/person/{id}/photo โ€” which the profile used to point at โ€” answers those sessions with 403 and every avatar renders broken. The member is taken from the session; there is no person id to pass. Cached privately for two hours, the same window the person endpoint uses; the URLs the portal hands out carry a ?v=<mtime> cache-buster so a fresh upload is visible at once.

๐Ÿ“„๏ธ The photo of somebody in the signed-in member's own family (binary image)

The read side of the portal's own photo serving, for the faces on the My Family page. The id is checked against the members of the acting member's family โ€” the same enumeration GET /portal/family renders โ€” and anything else is 404, never 403: a 403 would confirm that the id names a real person, which a member outside that family must not learn (design P12). This is the only portal route that takes a person id, and it never names the actor.

Can't find what you need? Ask in Discord, or open an issue on the ChurchCRM repository.