NextDom\Model\Entity\Cmd::hasRight
Check if user have right to execute the action.
Signature
public function hasRight([User
$user = NULL] )
Parameters
$user
— object- User to test
Returns
- bool
- True if user can execute