How can i change the home url depending on the role of the user that is logged in?
I mean, if user has Role Admin make one homeUrl, if it has another role, set a different home url.
I don't just want to redirect the user to the url after loggin, but make the home url different for each user permission.
If user is logged and clicked in nav bar brand, it should go to homeurl of that user.
I think my question is not a duplicate because in my case i don't want to just check if user is guest or not. I want to check the user permission and based on that set the home url.