diff --git a/config/config.exs b/config/config.exs index 0264d95c9..bec1c440a 100644 --- a/config/config.exs +++ b/config/config.exs @@ -40,9 +40,11 @@ config :mobilizon, :instance, email_reply_to: "noreply@localhost" config :mobilizon, :groups, enabled: true - config :mobilizon, :events, creation: true +config :mobilizon, :restrictions, only_admin_can_create_groups: false +config :mobilizon, :restrictions, only_groups_can_create_events: false + # Configures the endpoint config :mobilizon, Mobilizon.Web.Endpoint, url: [ diff --git a/js/src/components/NavBar.vue b/js/src/components/NavBar.vue index 834de6654..a17d978ad 100644 --- a/js/src/components/NavBar.vue +++ b/js/src/components/NavBar.vue @@ -44,6 +44,7 @@ " >