Documentation

ProjectPermission extends BaseModel
in package

Roles a user or team has in one project.

Table of Contents

Properties

$id  : int
$project  : Project
$roles  : array<string|int, mixed>
$teams  : array<string|int, mixed>

Methods

__construct()  : mixed
getId()  : int
getProject()  : Project
getRoles()  : array<string|int, mixed>
getTeams()  : array<string|int, mixed>

Properties

Methods

__construct()

public __construct([array<string|int, mixed> $data = [] ]) : mixed
Parameters
$data : array<string|int, mixed> = []

getRoles()

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

list of name, permissions

getTeams()

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

teams that grant the user access to the project; empty for team permissions

On this page

Search results