You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Improve file operation permissions and path resolution logic (#332)
* PIM-6080
Add `strict_permission` flag to core file operations
This commit introduces an optional `strict_permission` parameter to multiple file operation methods, which enables enhanced permission validation before executing actions like copy, move, upload, delete, and rename.
* PIM-6080
Improve permission handling and path resolution logic in core commands
This update refines permission error detection, adjusts path resolution to accommodate additional root cases, and improves response handling for task completion with warnings.
* PIM-6080
Refactor strict permission error handling
This commit streamlines strict permission error detection by introducing helper functions for normalizing responses and mapping errors, improving maintainability and readability of the code.
* PIM-6080
Extend permission error mapping and refactor strict permission handling logic
This commit adds a comprehensive task error mapping for strict permission validation, introduces a helper function for extracting task error details, and updates logging for improved debugging.
* PIM-6080
Remove unused `_is_permission_denied_message` function from core commands
* PIM-6080
Simplify strict permission error handling by replacing error maps with sets.
* PIM-6080
Add unit tests for strict permission handling in `move` and `mkdir` operations
0 commit comments