private function defineRelationships(Permission $authorizator)
{
$authorizator->allow('employee', 'listing', Permission::ALL, [$this, 'isOwner']);
$authorizator->allow('employee', 'message', ['send', 'remove', 'view', 'mark_as_read'], [$this, 'isOwner']);
$authorizator->allow('admin', null, Permission::ALL);
$authorizator->deny('admin', 'message', 'mark_as_read', [$this, 'isNotOwner']);
}