How can we provide a visual "logged in" indicator for publishers

Hi,


We have a number of sites managed through a single installation of Matrix. Some of the sites are public and require no authentication to view, some sites (such as intranets) require authentication via LDAP credentials, while other sites (such as extranets) require authentication via a user group username and password.



Our publishers gain access to Matrix via their LDAP credentials. They also gain access to intranets and some extranets using their LDAP credentials.



We are looking for a way to provide a visual indicator to our publishers that they are logged in when previewing pages. The indicator should be visible only when they are logged in as a publisher, but not when they are logged in as a site visitor.



We had thought of putting a different background in our style sheets, using a "logged in" conditional statement in our designs, but that would be visible to our site visitors who log in as well.



Is there some way to change the page somehow so that our publishers realise they are logged in, but not to have site visitors who log in see the changes as well?

Can you use a permissions check like the "Write access" or "Admin access" conditions instead of "Logged In"?

Or perhaps by IP address, if that's possible? You can do a conditional group membership based on source IP (if you don't use a reverse proxy).

We do use a reverse proxy, so we probably can't do it this way…


[quote]Can you use a permissions check like the "Write access" or "Admin access" conditions instead of "Logged In"?[/quote]



Possibly, but I think we'll run into the same issues, in that some people access restricted sites using their LDAP credentials as site visitors, and also preview the site as publishers, logged into Matrix, using their LDAP credentials. If they log in to view the site, and the system recognises their LDAP user as having "Write access" or "Admin access", won't the result be the same as if they had logged in via Matrix?



Ideally, the site would look different if they are viewing the site, as opposed to previewing the site…


There is no difference to Matrix, though. If you click "Preview" in the backend, you're just viewing the site while logged in, the same as if you'd logged in via a frontend mechanism. And that's by design, so I don't see that changing at all.