- API auth uses current_user, not current_scope - Check membership role directly instead of using owner?/1 helper - Allow superusers to update organization settings - Fixes KeyError: key :current_scope not found Previous code assumed LiveView context with current_scope, but API requests only have current_user and current_organization_id assigned. |
||
|---|---|---|
| .. | ||
| v1 | ||
| account_data_controller.ex | ||
| error_helpers.ex | ||
| mobile_auth_controller.ex | ||
| mobile_controller.ex | ||