ash-project / ash-project/ash

Support lazy actor evaluation

Open
#355 0 comments 1 reaction 0 assignees View on GitHub
enhancement
Dominant language
Elixir
Stars
2.5k
Forks
422
Avg merge
23h 26m
Merged PRs (30d)
46

Description

If we make it part of the check behavior to express which parts of the actor it needs to access, and when we support arbitrary calculated fields in ash core, we could support lazy actor evaluation if the actor is a resource. This could allow them to start a request pipeline with just a user id, and the authorizer will request data as it becomes necessary.

Contributor guide

Open the contributing guide

Research direction

The issue names no files, tests, or entry points. Start by tracing check behavior and the support for arbitrary calculated fields in Ash core, then determine how an authorizer could request actor data only as needed. Done means a request pipeline can begin with only a resource actor's user ID and load further actor data lazily when authorization requires it.

Written by the indexing model from the issue text.

Assessment

Tech stack
elixir
Domain
authorization, backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.