issue #20374: Add support for restricted locations in orms.