I wan to create a CreatorUpdaterTrait, I want to know how can I acccess the auth context inside the trait.
I’m interested too, @kfa did you solve it?
You have to manually pass it as function param, since models don’t have access to request context (unless you send it as function param yourself)
I see. I’ll do it.
Just like @McSneaky answer, need to pass the auth as params.