Verify permissions with acl in cakephp 4.2

How can I verify the permissions with acl and disappear the links that aren’t authorized?