1 Reply
What is not working? Is
auth()->user()
available? What's the value of auth()->user()->isHrAdmin()
?
Did you do any debugging here?