Skip to content

Add option to restrict all users to local content

Configuration

Before this MR:

limit_unauthenticated_to_local_content - Boolean, defaults to true (enabled)

After this MR:

limit_to_local_content with these possible values:

  • false - disable the limitation, everyone can see non local content
  • :unauthenticated - limit unauthenticated users to local content (default)
  • :all - limit all users (including authenticated) to local content

Merge request reports