Repository navigation
fix: regenerate-iam audit_log column names and admin bucket access - #31
Merged
Merged
Conversation
- Fix audit_log INSERT using wrong column names (entity_type/entity_id instead of resource_type/resource_id) - Add generateAdminS3PolicyDocument for admin users with full bucket access - Admin users now get full S3 bucket access instead of dataset-specific - Update CLI to display admin status and handle new response format Fixes #30
- Add warning when old key revocation fails (security improvement) - Wrap audit log in separate try-catch to avoid masking success - Add cleanup for orphaned AWS credentials on DB failure - Log error details in CLI for non-ApiError exceptions - Update JSDoc for generateAdminS3PolicyDocument with complete docs - Extract S3_DATASET_ACTIONS constant to reduce duplication - Add input validation for bucket parameter - Remove redundant full_bucket_access field from audit log - Standardize response format and messages Addresses review feedback from PR #31
9 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Test plan
nemar admin regenerate-iam yahyafor admin usernemar admin regenerate-iam cool-vibersfor regular userFixes #30