Hi,

 

Still trying to understand the possibilities of XWiki, can someone pls point me in the direction of (or suggest) code I can embed in XWiki standard editable pages, which allows me to check the current user’s group membership, and if OK, display the few next lines of text?

 

Pseudocode:

 

IF (IsMemberOf Group1 OR IsMemberOf Group2)

   Display this text

   Display that text

END

 

Also, I’d like to find out if it’s possible to log somewhere, which pages are accessed (viewed) by whom, when, and from which IP addresses.

 

The purpose of this is to have external systems check for possible security beaches and alert sysadmin.

 

Best regards,

Robert Hercz