VSN-2307 : Implementing a new feature of moving folders to new directories & fetching folder details & migrating features of marking and unmarking folders as favorite adapted on uuid.
Merge Request Description
Validation: Source Folder Existence
This validation ensures that the source folder specified for the move operation actually exists. It prevents attempts to move non-existent folders, thereby avoiding unnecessary errors and maintaining data integrity.
Validation: Target Folder Existence
This validation checks that the target folder exists before performing the move. It guarantees that the destination is valid and available, ensuring the operation can be completed successfully.
Validation: Same Folder Move Prevention
This validation prevents a folder from being moved into itself. It eliminates logical inconsistencies and protects against recursive or invalid operations.
Validation: Descendant Move Restriction
This validation ensures that a folder cannot be moved into one of its own descendants. It avoids circular references and structural corruption within the folder hierarchy.
Validation: Duplicate Folder Name Prevention
This validation checks that the target directory does not already contain a folder with the same name. It enforces uniqueness and prevents conflicts in folder naming.
Validation: Permission Check
This validation verifies that the user has the necessary permissions to move the folder. It enforces access control and ensures that only authorized users can perform the operation.
Closes VSN-2307