Privacy question and masking editors

Hi,

a customer has raised some questions about privacy. Because you can see who edited a page, you are already showing their names.

Is there a way to not show names of editors of pages when a viewer is not logged on?

It would remove a lot of possible privacy regulation issues.

With kind regards
Jurjen Roels

Hi!

Sure, that’s possible.

You should edit https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwiki-platform-flamingo/xwiki-platform-flamingo-skin/xwiki-platform-flamingo-skin-resources/src/main/resources/flamingo/contentheader.vm#L30.

To check if the user is logged you can use getUserReference from $xcontext.