1.1.2dev: Fixed regression in [13055]. Refs #11697.
1.1.2dev: Fixed regression in [13055]. Refs #11697.

Permission checks were being performed on a invalid realm.

pkdevbox/trac,pkdevbox/trac,pkdevbox/trac,pkdevbox/trac