niksis02
dc16c0448f
feat: implements integration tests for the new advanced router
2025-07-22 21:00:24 +04:00
niksis02
ab571a6571
feat: implements unit tests for admin controllers
2025-07-22 20:55:22 +04:00
niksis02
5be9e3bd1e
feat: a total refactoring of the gateway middlewares by lowering them from server to router level.
2025-07-22 20:55:22 +04:00
niksis02
abdf342ef7
feat: implements advanced routing for the admin apis. Adds the debug logging and quite mode for the separate admin server.
...
Adjusts the admin apis to the new advanced routing changes.
Enables debug logging for the separate admin server(when a separate server is run for the admin apis).
Adds the quiet mode for the separate admin server.
2025-07-22 20:55:22 +04:00
Ben McClelland
f295df2217
fix: add new auth method to update ownership within acl
...
Add helper util auth.UpdateBucketACLOwner() that sets new
default ACL based on new owner and removes old bucket policy.
The ChangeBucketOwner() remains in the backend.Backend
interface in case there is ever a backend that needs to manage
ownership in some other way than with bucket ACLs. The arguments
are changing to clarify the updated owner. This will break any
plugins implementing the old interface. They should use the new
auth.UpdateBucketACLOwner() or implement the corresponding
change specific for the backend.
2025-07-09 16:16:34 -07:00
niksis02
4334f869f2
feat: makes the user role editable in /update-user iam endpoint
...
Closes #1295
Makes the user `role` mutable in /update-user admin endpoint.
Integrates the changes in the `admin update-user` cli command, by adding the `role` flag for a user role modification.
2025-05-14 23:10:15 +04:00
niksis02
c37a22ffe1
fix: Fixes the AccessControlPolicy Grantee Type unmarshalling, Adds request body validation for the PutBucketAcl action
2025-01-13 23:44:46 +04:00
jonaustin09
c6359a7050
feat: Refactoring admin APIs: changes i/o data transfer encoding to xml, implements traditional aws-like error handling, adds admin role checker middleware. Refactoring admin CLI actions to handle aws-like error responses
2024-10-25 11:40:23 -04:00
Ben McClelland
ed9a10a337
Merge pull request #679 from versity/fix/s3cmd-acl-grt-type
...
Type property support in bucket ACL
2024-07-16 16:03:12 -07:00
jonaustin09
828eb93bee
fix: Added 'Type' property support in bucket ACL Grantee schema
2024-07-16 18:17:16 -04:00
jonaustin09
ddd048495a
feat: Implemented server access logs with file for Admin APIs
2024-07-15 15:49:03 -04:00
jonaustin09
2843cdbd45
fix: Fixed ChangeBucketOwnership action implementation to update the bucket acl
2024-07-11 13:45:01 -04:00
jonaustin09
1808335381
feat: Added admin api and CLI command for updating gateway users attributes
2024-06-20 08:13:10 -07:00
jonaustin09
985330237f
fix: Fixed admin api error response statuses
2024-06-17 16:50:05 -04:00
Ben McClelland
17b1dbe025
fix: return non 0 exit status for cli admin error
...
Fixes #505 . This returns the body as an error when the http status
for the admin request is non-success.
2024-04-08 17:29:02 -07:00
jonaustin09
fa54dfeb9f
feat: Added userplus role in IAM, who has the same opportunities as the user, but may also create a bucket
2024-02-20 14:24:26 -05:00
jonaustin09
920b4945cd
feat: Closes #236 , Added 3 optional fields in iam user account, UserID, GroupID, ProjectID
2023-10-12 13:24:34 -04:00
Ben McClelland
4661af11dd
feat: replace access/role context locals with full account info
2023-10-02 10:59:59 -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
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
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
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
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
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
Jon Austin
1bcdf948ba
feat: Move IAM configuration file creation on backend running, set up… ( #89 )
...
* feat: Move IAM configuration file creation on backend running
2023-06-13 11:13:18 -07:00
jonaustin09
b98f48ce2c
feat: Added admin api and admin CLI aciton to delete a user
2023-06-12 19:58:28 +04:00
Jon Austin
160a99cbbd
feat: Added admin CLI, created api endpoint for creating new user, cr… ( #68 )
...
* feat: Added admin CLI, created api endpoint for creating new user, created action for admin CLI to create a new user, changed the authentication middleware to verify the users from db
* feat: Added both single and multi user support, added caching layer for getting IAM users
* fix: Added all the files
2023-06-09 10:30:20 -07:00