The best testing is the one which is closest to the real use case. If your application implies that some of the users will be switching between access roles then the first approach is better, otherwise the second one with separate operator per role will work better.
Posted: 9 months ago
Updated: 9 months ago
Posted: 5 Aug 2020 12:45 EDT Updated: 5 Aug 2020 13:35 EDT