extends |
Model |
|---|
Class Group
Represents a logical grouping of roles and abilities that can be assigned to an actor (typically a {@see \LaravelUi5\Sdk\Partners\Models\Partner}).
Groups serve as a tenant-maintainable abstraction layer over the static role and ability system. Unlike {@see Role} and {@see Ability}, which are declared in UI5 modules and synchronized via the SDK registry, groups are dynamic, configurable entities created and managed at runtime.
project_controller)Groups can be linked to both {@see Role} and {@see Ability} instances through
the sdk_group_role and sdk_ability_group pivot tables.
This model is part of the runtime configuration layer:
| Methods | ||
|---|---|---|
public
|
roles(): BelongsToMany
|
# |
public
|
abilities(): BelongsToMany
|
# |
public
|
__toString(): string
|
# |
| Properties | |||
|---|---|---|---|
public
|
int
|
$id
|
# |
public
|
string
|
$code
|
# |
public
|
string
|
$description
|
# |
public
readonly
|
Collection|Role[]
|
$roles
|
# |
public
readonly
|
Collection|Ability[]
|
$abilities
|
# |