Skip to content

Conversation

@roncodes
Copy link
Member

No description provided.

roncodes and others added 4 commits December 26, 2025 13:12
- Added ensureFolderPermissions() method to AclService
- Automatically create ACL files with full owner permissions after folder creation
- Check existing permissions before creating ACL to avoid overwriting
- Updated PodService.createFolder() to set ACL after folder creation
- Updated ResourceSyncService.createContainer() to set ACL after container creation
- Fixes 401 Unauthorized errors when writing to newly created folders
… import

- Check and ensure pod root has write permissions before creating folders
- Check and ensure pod root has write permissions before importing resources
- Fixes 401 Unauthorized errors when trying to create folders in pod root
- Calls ensureWritePermissions() which will update pod root ACL if needed
- Add isWritable() method to check WAC-Allow permissions before operations
- Add findWritableLocations() to discover writable storage locations
- Check permissions before folder creation and resource import
- Return helpful error messages with writable location suggestions
- Improve parseContainerContents() to extract more resource metadata
- Add extractResourceMetadata() to parse RDF types, titles, sizes, and timestamps

Fixes:
- Prevents 401 errors by checking permissions first
- Works with read-only pod roots (e.g., solidcommunity.net)
- Suggests alternative writable locations to users
- Shows more complete resource listings in UI
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