Commit Graph

32 Commits

Author SHA1 Message Date
dal d346bca850
Enhance API documentation and implement password protection for public assets
- Updated CLAUDE.md with architecture overview, row limit implementation notes, and troubleshooting guide.
- Added additional documentation resources and common test commands.
- Enhanced database test infrastructure guide with quick reference and common patterns.
- Implemented password protection for public dashboards and metrics, including checks for access expiration and required passwords.
- Updated relevant handlers and routes to support password parameters.
- Refactored bulk update metrics handler to remove batch size from request structure.
- Added tests for password protection and access control for metrics and dashboards.
2025-04-07 17:44:41 -06:00
dal 32b142b0ce
Implement public sharing parameter fix with UpdateField enum
- Add UpdateField enum for unambiguous sharing parameter updates
- Replace Option<Option<T>> pattern with the more explicit enum
- Update metrics, dashboards, and collections sharing handlers
- Add validation for expiry dates and empty passwords
- Add comprehensive tests for public sharing updates

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-04-07 16:18:13 -06:00
dal 141736f5a6
remove unused deps 2025-04-04 16:50:44 -06:00
dal 50d5e02e02
lots of changes for permissioning and sharing assets 2025-04-04 14:01:40 -06:00
dal 0e051bfb13
access control changes so far 2025-03-24 23:09:36 -06:00
dal 89dffd1c6a
data source and supabase create client 2025-03-24 13:46:03 -06:00
dal badfac6e55
user permission checks and cache on user with other prds 2025-03-21 23:17:28 -06:00
dal 04780d8f72
asset permission admin check 2025-03-21 15:20:16 -06:00
dal 2a61306c17
prds and starting to filter out the credentials 2025-03-21 14:37:13 -06:00
dal 326dfaaea1
add more claude context and docs 2025-03-21 13:48:37 -06:00
dal dba826d874
clean up 2025-03-21 12:54:54 -06:00
dal 1513a39268
clean up 2025-03-21 10:44:53 -06:00
dal 9f0d376fb0
cleaning up warnings 2025-03-20 16:50:31 -06:00
dal 7c9bbbff68
merging sharing_user_lookup 2025-03-19 11:46:48 -06:00
dal bfd9599f19
Implement user lookup by email functionality
- Enhanced user_lookup.rs with better error handling and documentation
- Added comprehensive tests for different scenarios
- Updated the PRD with implementation progress

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-03-19 10:51:41 -06:00
dal f503c730d1
Add permission check to remove_share_by_email function
- Implemented permission validation to ensure caller has Owner or FullAccess role
- Added documentation for the permission requirements
- Improved test structure with comments for potential integration tests
- Completed requirements in sharing_remove_permissions PRD

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-03-19 10:51:27 -06:00
dal 75f7a8af49
Fix test assertions and disabled database-dependent tests 2025-03-19 10:17:05 -06:00
dal 5377a367dd
Add type annotation to fix compilation error 2025-03-19 10:16:01 -06:00
dal d871818435
Fix tests module naming conflicts and unused variable warnings 2025-03-19 10:15:46 -06:00
dal e264889c72
Fix extra closing brace in types.rs 2025-03-19 10:11:54 -06:00
dal 5ebfe64136
Fix extra closing brace in errors.rs 2025-03-19 10:11:37 -06:00
dal e84e30286f
Merge branch 'sharing_list_permissions' into evals
Resolved merge conflicts in sharing library:
- Combined error types from both branches
- Integrated the improved list permissions implementation
- Updated the AssetPermissionWithUser structure
- Added serializable permission types
- Maintained backward compatibility with existing code
2025-03-19 10:11:13 -06:00
dal 95926e5fd1
Merge branch 'sharing_check_permissions' into evals
Resolved merge conflicts in sharing module:
- Combined the enhanced permission checking logic
- Kept the comprehensive role checks from sharing_check_permissions
- Included both the entry-based bulk permission checking
- Maintained the full API exports from both branches
- Integrated tests directory structure
2025-03-19 10:06:58 -06:00
dal 53de3fe677
sharing_list_permissions 2025-03-19 10:04:36 -06:00
dal f5afea4501
sharing_check_permissions 2025-03-19 10:03:41 -06:00
dal cc5cbc7afa
merging sharing_access_controls 2025-03-19 09:48:56 -06:00
dal cc21f8b2ad
create sharing_access_controls 2025-03-19 09:41:29 -06:00
dal 7a63b97e35
Created sharing create permissions 2025-03-19 09:35:56 -06:00
dal 70121cc629
asset permissions progress 2025-03-11 15:09:19 -06:00
dal d805c314b9
stub out and reset the sharing lib 2025-03-11 12:51:31 -06:00
dal dc07acf9b7
quick commit 2025-03-07 07:24:27 -07:00
dal 2e61c39d0a
add in sharing lib 2025-03-05 17:52:08 -07:00