Ben McClelland
ae4e382e61
feat: refactor internal iam service
...
This moves the internal iam service from the posix backend so
that we can start implementing new iam services right in the auth
module.
The internal iam service has same behavior as before, but now
must be enabled with the --iam-dir cli option.
New single user service is the default when no other iam service
is selected. This just runs the gateway in single user mode with
just the root account.
2023-10-02 11:12:18 -07:00
Ben McClelland
4661af11dd
feat: replace access/role context locals with full account info
2023-10-02 10:59:59 -07:00
Jon Austin
9cb357ecc5
CopyObject metadata ( #265 )
...
* fix: Object tag actions cleanup
* fix: Fixes #249 , Changed ListObjects default max-keys from -1 to 1000
* fix: Fixes #250 , Added support to provide a marker not from the objects list and list the objects after the provided marker in ListObjects(V2) actions
* feat: Closes #256 , Addded a check step, to compare object metadatas and allow the copying to itself, if the metadata has been changed
* fix: Simplified range assignment in CopyObject posix function
2023-09-26 18:09:09 -07:00
jonaustin09
099ac39f22
fix: Fixes #259 , Changed delete actions response statuses from 200 to 204
2023-09-23 21:21:47 -07:00
jonaustin09
4be5d64c8b
fix: Object tag actions cleanup
2023-09-23 21:00:45 -07:00
jonaustin09
e0c09ad4d9
fix: Fixes #247 , Changed DeleteObjectTagging action successful response status from 200 to 204
2023-09-20 12:07:52 -04:00
jonaustin09
e392ac940a
fix: VerifyACL function clenup: removed unused bucket argument from the function declaration
2023-09-19 16:36:42 -07:00
jonaustin09
a77954a307
fix: Fixes #246 , Added max length check for tag keys and values in PutObjectTagging and PutObject actions
2023-09-19 14:42:30 -04:00
Jon Austin
1874d3c329
fix: Fixes #244 , Added destincation bucket ACL check for CopyObject action ( #253 )
2023-09-18 11:49:37 -07:00
jonaustin09
6ac69b3198
feat: Closes #217 , Created an admin API and CLI action to list all the buckets and its owners as a table
2023-09-12 08:29:34 -04:00
jonaustin09
23c26d802c
fix: Fixes #216 , Fixed vet warnings, removed the code snippet which copied fiber.Ctx
2023-09-08 11:57:17 -04:00
jonaustin09
8d2e2a4106
fix: Fixes #204 , Change ListBuckets action logic to return all the buckets for admin users and the buckets owned by a user for regular users. Added integration test cases for ListBuckets action
2023-09-07 14:49:47 -04:00
jonaustin09
7620651a49
fix: Merge conflicts resolved with main
2023-09-06 17:45:23 -04:00
jonaustin09
4c7584c99f
feat: Closes #206 , Added an admin api endpoint and a CLI action to change buckets owner
2023-09-06 17:41:47 -04:00
Ben McClelland
df81ead6bc
fix: move auth internal UserAcc to auth.Account
2023-09-05 16:21:21 -07:00
jonaustin09
2bcfa0e01b
Merge branch 'main' of https://github.com/versity/versitygw into feat/issue-205-list-accs
2023-09-05 18:12:23 -04:00
jonaustin09
d80580380d
feat: Closes #205 , Add admin api endpoint and CLI action to list users. Added unit tests for the api endpoint
2023-09-05 18:12:11 -04:00
jonaustin09
cb2f6a87aa
fix: Fixes #207 , Fixes #198 : added lexicographical order by object key and uploadId for ListMultipartUploads response, Added FE support to pass the necessary arguments to BE for ListMultipartUploads
2023-09-01 15:33:58 -04:00
jonaustin09
3573a31ae6
fix: Closes #192 , Fixed authentication errors returned, created integration test cases for it
2023-08-25 21:50:21 +04:00
jonaustin09
e8b06a72f9
fix: Fixes #197 , Fixed PutBucketAcl action input validation
2023-08-25 00:40:17 +04:00
jonaustin09
dde13ddc9a
fix: Fixes #183 . Added a validation for max-keys for ListObjects/ListObjectsV2
2023-08-03 20:47:34 +04:00
jonaustin09
009ceee748
feat: Added FE support for SelectObjectContent action
2023-08-02 00:08:28 +04:00
jonaustin09
97847735c8
fix: s3response action responses naming cleanup
2023-07-31 21:41:10 -07:00
Jon Austin
091375fa00
Issue 151 ( #174 )
...
* fix: Fixes #151 . Fixed DeleteObjects action bugs: Corrected request body serialization type, added return type
2023-07-31 21:36:33 -07:00
jonaustin09
838a7f9ef9
fix: Fixes #152 . Changed CompleteMultiPartUpload invalid payload error to MalformedXML
2023-07-28 18:19:15 +04:00
Jon Austin
77080328c1
Issue 156 ( #167 )
...
* fix: Fixes #156 , Added bucket name validation on bucket creation
2023-07-27 11:04:50 -07:00
Ben McClelland
884fd029c3
feat: add context to backend calls
...
This adds a context to the backend interface calls so that the backend
can enable request cancellation. This change isn't acutally implementing
any backend handling, but just putting the pieces into place to pass the
context to the backend.
2023-07-26 21:54:12 -07:00
jonaustin09
7fb2a7f9ba
feat: ACL refactoring, moved ace parsing from controllers to middleware
2023-07-26 20:54:50 +04:00
Ben McClelland
ee703479d0
Merge pull request #161 from versity/fix/issue-150
...
Issue 150
2023-07-25 10:02:57 -07:00
Ben McClelland
bedd353d72
Merge pull request #160 from versity/fix/issue-155
...
Issue 155
2023-07-25 10:02:16 -07:00
jonaustin09
4c451a4822
feat: Added support to add object tags on object creation
2023-07-25 20:42:58 +04:00
jonaustin09
287db7a7b6
fix: Fixed ListObjects marker bug, now it takes the correct query param as marker
2023-07-25 20:31:40 +04:00
jonaustin09
c598ee5416
fix: Added accept-range, Content-range and x-amz-tagging-count headers in GetObject action response, added test cases for these
2023-07-25 20:28:40 +04:00
Ben McClelland
2291c22eaa
fix: standardize Backend interface args for s3 types
2023-07-22 22:45:24 -07:00
jonaustin09
fe547a19e9
feat: bucket event notifications
...
Set up Bucket event notifications interface to send aws compatible format event messages to a configured event service.
First integrated service is kafka message broker as an option for bucket event notifications.
2023-07-20 11:37:14 -07:00
jonaustin09
87d61a1eb3
feat: Setup audit loggin with webhook url and root level access.log file. CLI enables either webhook or server access logs by providing the flags
2023-07-14 23:40:05 +04:00
jonaustin09
cb193c42b4
fix: Up to date with main
2023-07-06 21:21:59 +04:00
jonaustin09
fbafc6b34c
feat: Changed admin api http methods, some cleanup in admin cli commands, bug fix in delete user IAM service
2023-07-06 21:21:20 +04:00
Ben McClelland
47dea2db7c
feat: implement posix UploadCopyPart
2023-07-05 19:06:19 -07:00
jonaustin09
39803cb158
feat: Some cleanup in controller unit tests, removed backend unsupported unit tests, added test cases for admin controller functions
2023-07-03 20:35:40 +04:00
jonaustin09
f63545c9b7
feat: Added UploadPartCopy action in FE
2023-07-03 17:14:46 +04:00
jonaustin09
9db01362a0
feat: increased unit testing coverage in controllers, utility functions and server functions. Fixed bucket owner bug in putbucketacl. 2 more minor changes in controllers
2023-06-30 22:04:46 +04:00
Jon Austin
4bfb3d84d3
Acl integration test ( #115 )
...
* feat: Added test an integration test case for acl actions(get, put), fixed PutBucketAcl actions bugs, fixed iam bugs on getting and creating user accounts
* fix: Fixed acl unit tests
* fix: Fixed cli path in exec command in acl integration test
* fix: fixed account creation bug
2023-06-28 19:38:35 -07:00
Jon Austin
45e3c0922d
Tag actions FE ( #113 )
...
* feat: Added get-object-tagging, put-object-tagging, delete-object-tagging actions in fe
2023-06-26 12:29:56 -07:00
Ben McClelland
c4e0aa69a8
scoutfs: add support for glacier emulation mode
2023-06-21 10:27:14 -07:00
jonaustin09
c01d3ed542
feat: control over logging in debug mode and control logging for specific actions
2023-06-20 19:39:58 +04:00
jonaustin09
0209ca4bc0
fix: fixed merge conflicts
2023-06-19 23:20:33 +04:00
jonaustin09
127b79e148
feat: Logging system set up
2023-06-19 23:18:16 +04:00
Ben McClelland
0f733ae0c8
refactor move auth to top level
2023-06-19 11:15:19 -07:00
Ben McClelland
94808bb4a9
refactor iam service for blind backend store
2023-06-19 09:53:19 -07:00