extends |
Model |
|---|
Class Role
Represents a named role that grants access to specific abilities within the context of a UI5 application.
Roles define the permission bundles that are assigned to actors (e.g., Partners or users) to grant access to certain features or operations within an application.
Roles can be declared via the {@see \LaravelUi5\Sdk\Security\Attributes\Role} PHP attribute.
They are synchronized into the SDK database by the ui5:sync command
and are considered immutable from a business perspective.
Roles group one or more {@see Ability} entries. They are referenced at runtime to resolve an actor’s effective permission set.
| Methods | ||
|---|---|---|
public
|
abilities(): BelongsToMany
|
# |
public
|
__toString(): string
|
# |
| Properties | |||
|---|---|---|---|
public
|
int
|
$id
|
# |
public
|
string
|
$role
|
# |
public
|
Carbon|null
|
$created_at
|
# |
public
|
Carbon|null
|
$updated_at
|
# |