Skip to content

Admin default settings not applied to existing users #101

@adrientualTH

Description

@adrientualTH

Description

Admin default settings configured in Dashboard → Plugins → Moonfin are not applied to users who already exist on the server. The defaults only take effect if the user manually changes at least one setting through the Moonfin settings panel.

This means that on servers with pre-existing users, deploying admin defaults has no practical effect — the UI remains unchanged for those users until they interact with the settings themselves.

Image

Steps to reproduce

  1. Install Moonfin on a Jellyfin server that already has users.
  2. Configure admin default settings in Dashboard → Plugins → Moonfin (e.g. enable the nav bar, media bar, etc.).
  3. Log in as an existing user (who has never opened the Moonfin settings panel).
  4. Observe that the UI does not reflect the admin defaults.
  5. Open the Moonfin settings panel, change any setting, save.
  6. Observe that the admin defaults are now applied.

Expected behaviour

Admin defaults should be applied to all users who have not explicitly customized a given setting — including users who existed before the defaults were configured, on their next page load or sync.

Actual behaviour

The admin default settings are correctly saved and visible in the plugin configuration page. However, they are not applied to existing users on page load. The defaults are only picked up after the user explicitly modifies a setting from the Moonfin settings panel — which triggers the initial write of their server-side profile and causes the admin defaults to be merged in for all untouched settings.

Users who never open the settings panel will therefore never see the admin defaults applied, despite those defaults being properly configured.

Environment

  • Jellyfin version: 10.11.8
  • Moonfin plugin version: 1.8.1.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions