Gets the ACL for the given bucket. Current user's namespace is used.
bucketName | Name of the bucket for which ACL is to be updated. |
namespace | Namespace with which bucket is associated. If it is null, the current user's namespace is used. |
Requires one of the following roles:
SYSTEM_ADMIN
SYSTEM_MONITOR
The following conditions must be met in order to call this operation.
Bucket must exist.
Response contains the ACL details for the specified bucket.
Field | Description | Type | Notes |
bucket_acl | |||
bucket | Bucket name | String | |
namespace | Namespace name | String | |
acl | |||
owner | Owner name | String | |
default_group | Default group | String | |
user_acl |
0-* Elements |
||
user | User name | String | |
permission | Permission list | String |
0-* Elements |
group_acl |
0-* Elements |
||
group | Group name | String | |
permission | List of group permissions | String |
0-* Elements |
customgroup_acl |
0-* Elements |
||
customgroup | Custom group name | String | |
permission | List of custom group permissions | String |
0-* Elements |
default_group_file_perms | The default group's file permissions | String |
0-* Elements |
default_group_dir_perms | The default group's directory permissions | String |
0-* Elements |
permission | Get short permission list for non namespace owner | String |
0-* Elements |
GET https://192.168.0.0:4443/object/bucket/standalone-bucket/acl HTTP/1.1 Concept-Type: application/xml X-SDS-AUTH-TOKEN: <AUTH_TOKEN>
HTTP/1.1 200 OK Content-Type: application/xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <bucket_acl> <bucket>standalone-bucket</bucket> <namespace>s3</namespace> <acl> <user_acl> <user>wuser1@sanity.local</user> <permission>full_control</permission> </user_acl> </acl> </bucket_acl>