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.


git-svn-id: eda3d06fcef731589ace1b284159cead3416df9b@13067 af82e41b-90c4-0310-8c96-b1721e28e2e2

walty8/trac,walty8/trac,walty8/trac,walty8/trac