http://onionworks.net/2006/data/personalization
canModifyChildren (target : xlink) : boolean
The method “canModifyChildren” checks whether the logged-in user has the authorization to work on the child elements of the specified element.
The method returns “true” if the user is allowed to work on the child elements.
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:user="http://onionworks.net/2006/data/personalization" xmlns:onion="http://onionworks.net/2004/data" version="1.0">
<xsl:template match="/">
</xsl:stylesheet><xsl:if test="user:login('testuser', 'test')">
</xsl:template><xsl:value-of select="user:canModifyChildren(c.id())" />
<xsl:value-of select="user:logout()" />
</xsl:if>Rights check: Editing child elements