FIX EZP-23121: refactor existing role assignment check.