cocoon-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@cocoon.apache.org
Subject [Cocoon Wiki] New: PortalToolsCheckAccessTransformer
Date Fri, 28 Jan 2005 10:39:15 GMT
   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>
}}}


Mime
View raw message