Team and noncooperative solutions to access control with priorities