fix(admin): vo_hierarchy_prevent_cycles
Description
It was possible to create a cycle in the VO hierarchy using GUI as a VO could be added as a member of itself (becoming its own parent). This commit prevents that option by filtering the VO from candidate member VOs.
How to test
According to the descriptions in the task.
Author's checklist
-
I have followed the contribution guidelines -
This MR has been tested or does not change functionality -
I have added relevant merge request dependencies (if this MR has any) -
I have added the correct labels -
I have assigned reviewers (if any are relevant) -
I have edited the documentation (if the changes require it) or I have noted the need for the change if I do not have access to the documentation -
I have marked all introduced BREAKING CHANGES or necessary DEPLOYMENT NOTES in the commit message(s)
Reviewer's checklist
-
This MR has been tested or does not change functionality -
This MR has correct commit message format
Other information
...
Related issues
TODO: Add relevant issue numbers in the following format (will be added automatically if the MR branch follows our branch naming conventions):
- closes STR-1318
Closes STR-1318