The button to create a group is missing when group creation is restricted to admins
Description
I have restricted group creation in the config file, and now there is no button to create them, even if we are logged as administrator
Steps to Reproduce
-
Update config.exs file to restrict group creation to administrators
config :mobilizon, :restrictions, only_admin_can_create_groups: true,
-
Login to the Mobilizon instance with an admin account
-
Go to the Groups page
Expected behaviour:
As I am logged as Administrator, I should have a button to create groups
Actual behaviour:
The button is not there.
I can still go to the page "groups/create" to create a group
Versions
Mobilizon 3.2.0, based on framasoft/mobilizon Docker image
Additional Information
[Any additional information, configuration or data that might be necessary to reproduce the issue.]