fix: CustomField policies, no system-actor fallback, guidelines
- Tests and UI pass actor for CustomField create/read/destroy; seeds use actor - Member required-custom-fields validation uses context.actor only (no fallback) - CODE_GUIDELINES: add rule forbidding system-actor fallbacks
This commit is contained in:
parent
36b5d5880b
commit
1d17c4f2dd
10 changed files with 116 additions and 43 deletions
|
|
@ -130,6 +130,7 @@ defmodule MvWeb.GlobalSettingsLive do
|
|||
:if={@active_editing_section != :member_fields}
|
||||
module={MvWeb.CustomFieldLive.IndexComponent}
|
||||
id="custom-fields-component"
|
||||
actor={@current_user}
|
||||
/>
|
||||
</.form_section>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue