LUN-897: added user-role validation.