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.

(warning) 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>
  • No labels