Protects specified routes from being accessed unless the current user has a certain role.