xyzvisual,
did you assign your manager to the right docuement group witht he page that you’re using it? The code will only return true, if the manager is login, manager is under the same document group with the current document group.
It works in mine, and I did couple mistake, because I forgot to attach the same group on the manager. If you want the super user that has id 1 to be able to see the message as well, without having to be on the same group, you need to modify code to return true, when they have id 1
if($_SESSION['mgrInternalKey'] == 1) return true;
Sincerely,