When user doesn’t have permission to view a publish page they will be presented with default message
Sorry, you're logged on as xxxx (xxx) and you can't view this page. To log on as another user, click here.
This can be customised by creating a file
/intranet/publish/access_denied_custom.php
Default access_denied.php contains this:
<? global $login_script, $page; ?>Sorry, you're logged on as <? echo $_SESSION['SESSION_FIRSTNAME'].' '.$_SESSION['SESSION_SURNAME']." ({$_SESSION['SESSION_username']})"; ?> and you can't view this page.<br><br> To log on as another user, <a href="<?=$login_script?>?ignore_ntlm=1&page=<?=urlencode($page)?>">click here</a>.
Discussion