CLDIDE-1781: add links to responses; rework roles resolving