Role
in package
Role allows granular access to database entities for users.
Table of Contents
Properties
- $allowlist : mixed
- $name : mixed
- $privileges : mixed
- $read_quota : mixed
- $write_quota : mixed
Methods
- getAllowlist() : array<string|int, mixed>
- While is the list of allowable IP addresses
- getName() : string
- Name is role name
- getPrivileges() : array<string|int, mixed>
- Privilege is the list of assigned privileges
- getReadQuota() : int
- ReadQuota is the maximum reads per second limit for the role
- writeQuota() : int
- WriteQuota is the maximum writes per second limit for the role
Properties
$allowlist
public
mixed
$allowlist
$name
public
mixed
$name
$privileges
public
mixed
$privileges
$read_quota
public
mixed
$read_quota
$write_quota
public
mixed
$write_quota
Methods
getAllowlist()
While is the list of allowable IP addresses
public
getAllowlist() : array<string|int, mixed>
Return values
array<string|int, mixed>getName()
Name is role name
public
getName() : string
Return values
stringgetPrivileges()
Privilege is the list of assigned privileges
public
getPrivileges() : array<string|int, mixed>
Return values
array<string|int, mixed>getReadQuota()
ReadQuota is the maximum reads per second limit for the role
public
getReadQuota() : int
Return values
intwriteQuota()
WriteQuota is the maximum writes per second limit for the role
public
writeQuota() : int