Fix permit attr for redirect