Issue #1541792 by tim.plunkett, chx, Amitaibu: Enable dynamic allowed list values function with additional context