-
Notifications
You must be signed in to change notification settings - Fork 538
Open
Description
We allow access to certain fields on the user (email, etc.) only if context[:current_user] == record but this can't currently be used with caching in any reasonable manner.
For now I'm just caching a copy for each user who sees it, but that's absurd and definitely not what we need. Is there a better solution, or would it be possible to get the record inside Resource.attribute_caching_context(context)?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels