The rbac authorization guards service authorizes users for accessing certain parts of an application based on various criteria
$ composer require dotkernel/dot-rbac-guard