Role based redirects does not work as intended in dev mode

Hey @nekdolan

This is similiar issue to another recent post Role Based Redirects causing an infinite loop

I suggested in that thread that this open CLI issue is possibly related. Possibly it is related here too? Your thoughts @hrishikesh?