You are viewing a plain text version of this content. The canonical link for it is here.
Posted to docs@cocoon.apache.org by do...@cocoon.apache.org on 2005/01/28 11:39:15 UTC
[Cocoon Wiki] New: PortalToolsCheckAccessTransformer
Date: 2005-01-28T02:39:15
Editor: JensMaukisch
Wiki: Cocoon Wiki
Page: PortalToolsCheckAccessTransformer
URL: http://wiki.apache.org/cocoon/PortalToolsCheckAccessTransformer
no comment
New Page:
= CheckAccessTransformer =
The CheckAccessTransformer transforms a document and checks if the user has the requiered rights
to see specific sections of the document. E.g. only the admin can see the "Add Coplet"-Button.
/!\ The transformer itself is implemented, but it is not possible to configure it yet.
== Sample ==
=== Document ===
{{{
<html>
<head>...</head>
<body>
<access id="addCoplet">
<a href="addCoplet">Add Coplet</a>
</access>
</body>
</html>
}}}
=== Sitemap ===
{{{
<map:match pattern=addCoplet">
<map:generate src=addCoplet.xml" />
<map:transform type=checkAccess"/>
<map:serialize type="xml"/>
</map:match>
}}}