User promoted to administrator role doesn't have access to the Administration menu item
Description
After promoting a user to administrator role using the command line tool, the Administration menu item is not shown on the web interface for this very user.
Steps to Reproduce
- User created using the Keycloak auth strategy. This user is granted the role "user"
- Promote the user to "administrator" role using the cli command:
$ mobilizon_ctl users.modify <user_email> --admin
- Sign in again in the web interface as this user, and check the menu
- Sign in using a different web browser to eliminate cache issues
Expected behaviour:
The menu has an Administration menu item.
Actual behaviour:
It hasn't.
Reproduces how often:
The Administration menu item never shows up for the user.
Versions
Dockerized Mobilizon 1.0.1 instance plus UeberAuth Keycloak auth strategy.
Additional Information
LemonLDAP::ng as OIDC provider.