policy do
authorize_if relate_actor(:user) && changing_attributes([:first_name]) && expr(status == :active)
end
I just want to ask if something like below is possible? I don’t find any docs that tells me whether this’ll work so I’m quite unsure about having such checks in my project.