`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
improvement: add Ash.Scope for converting a scope to options by z...
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...
2 Replies
iyjim
iyjim2w ago
Does it mean we don't have to wait 4.0 for 'scope' ?
ZachDaniel
ZachDanielOP2w ago
correct it will be in the next release, which will likely happen this release

Did you find this page helpful?