MDL-22309 accesslib: Preventing incorrect get_role_users() uses