fix(api): detect role inheritance cycles through any parent edge
traverse every role->parent edge with a bfs cycle check instead of only the first one, so updates that would create an inheritance cycle through any parent are rejected with 422.
Q
QorbaniSepehr committed
82c2b05c8eee7b7da090d7fb2e63d50b567bdc94
Parent: 02ace54