trait EntityPermissions

Entity permissions trait

Methods

string
getAddPermissionMessage()

Get add permission message name

string
getDeletePermissionMessage()

Get delete permission message name

ResponseInterface
addUserPermissionController(ServerRequestInterface $request, ResponseInterface $response, Validator $data)

Add user permission

ResponseInterface
deletePermissionController(ServerRequestInterface $request, ResponseInterface $response, Validator $data)

Delete permission

Details

at line 24
protected string getAddPermissionMessage()

Get add permission message name

Return Value

string

at line 34
protected string getDeletePermissionMessage()

Get delete permission message name

Return Value

string

at line 47
ResponseInterface addUserPermissionController(ServerRequestInterface $request, ResponseInterface $response, Validator $data)

Add user permission

Parameters

ServerRequestInterface $request
ResponseInterface $response
Validator $data

Return Value

ResponseInterface

at line 117
ResponseInterface deletePermissionController(ServerRequestInterface $request, ResponseInterface $response, Validator $data)

Delete permission

Parameters

ServerRequestInterface $request
ResponseInterface $response
Validator $data

Return Value

ResponseInterface