The role instance is in charge of checking the permission type