| Package | Description |
|---|---|
| com.obs.services.model |
| Modifier and Type | Field and Description |
|---|---|
static Permission |
Permission.PERMISSION_FULL_CONTROL
完全访问权限
|
static Permission |
Permission.PERMISSION_FULL_CONTROL_OBJECT
Deprecated.
|
static Permission |
Permission.PERMISSION_READ
读权限
|
static Permission |
Permission.PERMISSION_READ_ACP
读ACL权限
|
static Permission |
Permission.PERMISSION_READ_OBJECT
Deprecated.
|
static Permission |
Permission.PERMISSION_WRITE
写权限
|
static Permission |
Permission.PERMISSION_WRITE_ACP
写ACL权限
|
| Modifier and Type | Method and Description |
|---|---|
Permission |
GrantAndPermission.getPermission()
获取权限信息
|
static Permission |
Permission.parsePermission(String str)
根据字符串获取一个对应的权限对象
|
| Modifier and Type | Method and Description |
|---|---|
List<Permission> |
AccessControlList.getPermissionsForGrantee(GranteeInterface grantee)
获取ACL中指定
GranteeInterface的权限 |
| Modifier and Type | Method and Description |
|---|---|
GrantAndPermission |
AccessControlList.grantPermission(GranteeInterface grantee,
Permission permission)
为ACL中指定
GranteeInterface授权特定权限
Permission。 |
GrantAndPermission |
AccessControlList.grantPermission(GranteeInterface grantee,
Permission permission,
boolean delivered)
为ACL中指定
GranteeInterface授权特定权限
Permission。 |
| Constructor and Description |
|---|
GrantAndPermission(GranteeInterface grantee,
Permission permission)
构造函数
|
Copyright © 2021. All rights reserved.