trait HandlePermissions (View source)

Methods

array
getFormFieldsHandlePermissions(TwillModelContract $object, array $fields)

Retrieve user-item permissions fields

afterSaveHandlePermissions(Model $object, array $fields)

Function executed after save on module form

Details

array getFormFieldsHandlePermissions(TwillModelContract $object, array $fields)

Retrieve user-item permissions fields

Parameters

TwillModelContract $object
array $fields

Return Value

array

afterSaveHandlePermissions(Model $object, array $fields)

Function executed after save on module form

Parameters

Model $object
array $fields