Skip to content

Add tests and simplify permission handling logic#337

Merged
saimonation merged 8 commits intomasterfrom
SDK-348-regression-in-permission-errors
Feb 18, 2026
Merged

Add tests and simplify permission handling logic#337
saimonation merged 8 commits intomasterfrom
SDK-348-regression-in-permission-errors

Conversation

@udirctera
Copy link
Collaborator

Description

This pull request focuses on adding unit tests for strict permission errors in file and directory operations. It also simplifies the permission error handling logic in the following ways:

  • Adds tests for handling completed_with_warnings in file operations.
  • Removes the strict permission argument from directory creation commands in _parents_generator.
  • Adds a test for strict permission directory creation at root paths.

- Add unit test for handling `completed_with_warnings` in file move operations
- Simplify `_parents_generator` logic, removing strict permission argument from directory creation commands
- Add unit test for strict permission directory creation at root paths
Add tests for handling strict permission errors during file operations and simplify permission error handling logic
saimonation and others added 6 commits February 18, 2026 18:00
Add path utilities to compute sliced paths, resolve relative paths, and verify path relationships
Add pre-execution access validation that raises an error before remote file system command
Add user permission validation for: handle, handle_many, download, download_many, mkdir, makedirs, listdir, walk, properties, exists, versions, permalink, copy, move, delete, upload, upload_file
@saimonation saimonation merged commit daa9bd8 into master Feb 18, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments