Create a RoleCheck composer that checks if the user has a specified role.
The role can be specified using a custom attribute. The check can be performed using the isUserInRole() method of the request.