Adds config for import limits closes #336 #394

Merged
carla merged 7 commits from feature/336_import_auth into main 2026-02-02 13:15:24 +01:00
2 changed files with 6 additions and 5 deletions
Showing only changes of commit d61a939deb - Show all commits

View file

@ -52,7 +52,8 @@ config :mv,
ash_domains: [Mv.Membership, Mv.Accounts, Mv.MembershipFees, Mv.Authorization]
# CSV Import configuration
config :mv, csv_import: [
config :mv,
csv_import: [
max_file_size_mb: 10,
max_rows: 1000
]

View file

@ -694,7 +694,7 @@ defmodule MvWeb.GlobalSettingsLiveTest do
original_config = Application.get_env(:mv, :csv_import, [])
try do
Application.put_env(:mv, :csv_import, [max_rows: 500])
Application.put_env(:mv, :csv_import, max_rows: 500)
{:ok, view, _html} = live(conn, ~p"/settings")