autom8
2
You can have as many AND operators as you want and the example you provided should work if all the conditions are true. If it fails, it means one or more conditions are not true.
Have you checked under the testing User’s table (or wherever you are storing the user’s Role, user’s function and user’s parent data) if all conditions are true?