Issue 20162: Fixed privilege issue in ORM relating to #20052