Ash FrameworkAF
Ash Framework8mo ago
3 replies
ZachDaniel

`Ash.Scope` PR has been merged, allowing you to group actor/tenant/context into a single value

See the PR and docs from the PR here: https://github.com/ash-project/ash/pull/2050
Anyone who wants to set this up in AshAuthentication installer LMK, and AshPhoenix installers could also react to the presence of a module called MyApp.Scope and swap out the current_user logic for scope.
GitHub
This would likely need to be incrementally adopted in various places, and the first place would be in AshAuthentication. We would likely make it an option in the ash_authentication_live_session, to...
improvement: add `Ash.Scope` for converting a scope to options by z...
Was this page helpful?