Documentation

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

Methods

getAllowlist()

While is the list of allowable IP addresses

public getAllowlist() : array<string|int, mixed>
Return values
array<string|int, mixed>

getPrivileges()

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
int

writeQuota()

WriteQuota is the maximum writes per second limit for the role

public writeQuota() : int
Return values
int

        
On this page

Search results