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: 2 years ago
Updated: 2 years ago
Posted: 5 Aug 2020 12:45 EDT Updated: 5 Aug 2020 13:35 EDT