Skip to content

New OIDC users do not inherit default user configuration. #1071

@gabay

Description

@gabay

Description
When a new user is authenticated through OIDC and created - its default UI is not copied over for user default (resulting in an extremely ugly light mode, without the sidebar, and with tile size 0).

The only thing that is copied over is the permissions :)

Expected behaviour
The configuration's userDefault should apply to new OIDC users.

What is happening instead?
all configuration parameters are set to false/respective default value.

Additional context
The solution can be as easy as calling "settings.ApplyUserDefaults(&newUser)"

Solution draft here: bf7a1f5

How to reproduce?
Create a user through OIDC, expect DarkMode to be on, it would be off.

Files
N.A.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions