Declares an {@see AbilityType::Act} ability on {@see Ui5ActionInterface} artifacts.
Security is opt-in, not opt-out. If you don't put a gate on your code everybody will be able to access the door.
The resulting i18n keys for UI labels must be provided as:
Nota Bene: Changing an ability name is a breaking security change.
| Methods | ||
|---|---|---|
public
|
__construct(string $ability, string|BackedEnum $role, string $note)
|
# |
| Properties | |||
|---|---|---|---|
public
|
string
|
$ability
|
# |
public
|
string|BackedEnum
|
$role
|
# |
public
|
string
|
$note
|
# |