Package | Description |
---|---|
alluxio.master.file | |
alluxio.security.authorization |
Modifier and Type | Method and Description |
---|---|
Mode.Bits |
DefaultPermissionChecker.getPermission(LockedInodePath inodePath) |
Mode.Bits |
PermissionChecker.getPermission(LockedInodePath inodePath)
Gets the permission to access inodePath for the current client user.
|
Modifier and Type | Method and Description |
---|---|
protected void |
DefaultPermissionChecker.checkInodeList(String user,
List<String> groups,
Mode.Bits bits,
String path,
List<InodeView> inodeList,
boolean checkIsOwner)
This method provides basic permission checking logic on a list of inodes.
|
void |
DefaultPermissionChecker.checkParentPermission(Mode.Bits bits,
LockedInodePath inodePath) |
void |
PermissionChecker.checkParentPermission(Mode.Bits bits,
LockedInodePath inodePath)
Checks whether a user has permission to perform a specific action on the parent of the given
path; if parent directory does not exist, treats the closest ancestor directory of the path as
its parent and checks permission on it.
|
void |
DefaultPermissionChecker.checkPermission(Mode.Bits bits,
LockedInodePath inodePath) |
void |
PermissionChecker.checkPermission(Mode.Bits bits,
LockedInodePath inodePath)
Checks whether a user has permission to perform a specific action on a path.
|
Modifier and Type | Method and Description |
---|---|
Mode.Bits |
Mode.Bits.and(Mode.Bits that) |
static Mode.Bits |
Mode.extractGroupBits(short mode) |
static Mode.Bits |
Mode.extractOtherBits(short mode) |
static Mode.Bits |
Mode.extractOwnerBits(short mode) |
static Mode.Bits |
Mode.Bits.fromProto(Bits protoBits) |
static Mode.Bits |
Mode.Bits.fromShort(short bits)
Creates a
Bits from a short. |
static Mode.Bits |
Mode.Bits.fromString(String string) |
Mode.Bits |
Mode.getGroupBits() |
Mode.Bits |
Mode.getOtherBits() |
Mode.Bits |
Mode.getOwnerBits() |
Mode.Bits |
Mode.Bits.not() |
Mode.Bits |
Mode.Bits.or(Mode.Bits that) |
Mode.Bits |
AclActions.toModeBits() |
static Mode.Bits |
Mode.Bits.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Mode.Bits[] |
Mode.Bits.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
Mode.Bits |
Mode.Bits.and(Mode.Bits that) |
boolean |
Mode.Bits.imply(Mode.Bits that)
Checks whether these bits imply the given bits.
|
Mode.Bits |
Mode.Bits.or(Mode.Bits that) |
void |
Mode.setGroupBits(Mode.Bits bits)
Sets group bits.
|
void |
Mode.setOtherBits(Mode.Bits bits)
Sets other bits.
|
void |
Mode.setOwnerBits(Mode.Bits bits)
Sets owner bits.
|
void |
AclActions.updateByModeBits(Mode.Bits bits)
Updates permitted actions based on the mode bits.
|
Constructor and Description |
---|
Mode(Mode.Bits ownerBits,
Mode.Bits groupBits,
Mode.Bits otherBits)
|
Copyright © 2023. All Rights Reserved.