Skip to content

[Feature] Refactor the managed profile: a guardian should get the complete set of permissions, not a slice #1615

Backlog

Description

@ch3funio

Problem

I run a managed profile (a child) from my own account, and the arrangement only makes sense if
the guardian can do everything in that account. There is no second account that could finish
anything — that is the whole reason such a profile exists.

In practice the guardian gets a slice of it. I hit this with medications: I added a medication
incorrectly and there is no way to remove it. I am not reporting one missing function, though —
that is a symptom. If permissions are granted screen by screen, more such places will keep
turning up one at a time, in the middle of ordinary work on the record, and I will never be sure
I can carry the profile through.

The practical effect: once running the profile needs workarounds, sooner or later I will simply
create a normal account — and the managed profile loses its reason to exist.

Proposed solution

Refactor this part: a managed profile should be created with the guardian's complete set of
permissions — one decision, not a list of features appended one by one.

The rule: the guardian has access to every option the account's owner has. Everything that can be
set and done in this account, the guardian can set and do. Without exceptions — the account has no
login of its own, so there is no other person who would need something kept back.

I am asking for exactly that, as a refactor, because it is about how permissions are granted and
not about one fix. I cannot list the places where they are missing: I know only the one I ran into,
and it suggests there are more — which is precisely why the answer has to come from the way
permissions are granted, not from individual screens.

Alternatives considered

Affected surface

Web (PWA), API

Additional context

Checked on v1.49.0, self-hosted (Docker Compose), Polish UI.

Where it came up: a medication added in the managed profile — in my own record deleting a
medication is available, in the profile it is not there at all, and the API call is refused as well.

I am filing it as a general matter, because the permission map looks like it is being written
screen by screen; medications are only where I stumbled over it.

Duplicate check: I searched the issues and Discussions. #1403 and #1408 were about single places
and have been closed; neither frames the matter as the complete set of permissions on a managed
account.

Written with the help of an agent: the English wording and the code reading (where permissions are
checked) are the agent's; the observations and the reproduction are mine.

Pre-flight checks

  • I confirmed this is not a duplicate of an existing feature request.
  • I'm proposing a feature, not asking a usage question (those go to Discussions or the docs).

Activity

  1. added
    enhancement
    on Nov 27, 2026
  2. changed the title [-]# [Feature] Refactor the managed profile: a guardian should get the complete set of permissions, not a slice[/-] [+][Feature] Refactor the managed profile: a guardian should get the complete set of permissions, not a slice[/+] on Nov 27, 2026
  3. MBombeck commented on Nov 27, 2026

    @MBombeck
    Owner

    @ch3funio Thanks for asking for the rule rather than the next fix. You're right: granting a guardian one screen at a time keeps leaving holes, and you only find them in the middle of real work.

    Removing the medication first. From 1.49.1, out Saturday 28 November, you can delete it from inside the profile: open the medication, go to Advanced, and Delete is in the danger zone at the bottom. The profile's activity log names you as the one who removed it. While I was there I looked for the same kind of gap elsewhere: a custom medication category or a custom cycle symptom you add in the profile can now be renamed and removed by you as well. The :edge image has all of it from today.

    The rule itself comes in 1.50.0 on Saturday 5 December. Inside a managed profile, the guardian can do everything the profile's owner could. That becomes the default for every screen and every API route, including ones added later. A route that keeps a guardian out has to be listed with its reason, and a test fails if it isn't.

    A short list stays with your own account on purpose. Your passkeys, second factor, sessions, password and email are your identity, and the profile has no login of its own. API and MCP tokens sign in as the account they belong to, so a token for the profile would give it a login after all. The push registration of your phone or browser belongs to the device, which is yours. Deleting or erasing an account, and deciding who else may open the profile, happen from the profile's card in your own settings. The choices a person makes after a profile is handed over to them are theirs, once they have a login.

    People who share their own account with another adult keep exactly the access they had.

    Refs #1615

  4. MBombeck commented on Nov 28, 2026

    @MBombeck
    Owner

    @ch3funio the first piece of this is out in 1.49.1: https://github.com/MBombeck/HealthLog/releases/tag/v1.49.1

    A guardian can now remove a medication entered on a managed profile by mistake. The bigger rule you asked for, a guardian getting the owner's rights on the profile as a whole, is on the 1.50 branch for Saturday, 5 December. Refs #1615

  5. added a commit that references this issue on Nov 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions