- 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. |
||
|---|---|---|
| .. | ||
| channels | ||
| components | ||
| controllers | ||
| graphql | ||
| helpers | ||
| live | ||
| plugs | ||
| changelog_parser.ex | ||
| endpoint.ex | ||
| gettext.ex | ||
| gettext_helpers.ex | ||
| permissions.ex | ||
| plug_exceptions.ex | ||
| router.ex | ||
| telemetry.ex | ||
| telemetry_filter.ex | ||
| user_auth.ex | ||