CheckAccessAction
The CheckAccessAction is designed to check if a user has the neccessary rights to access a specific url. It is used where the PortalTools sitemap is mounted, so there is no need for it to be used in a plugin.
Sample
<map:match pattern="plugins/*/**">
<map:act type="auth-protect">
<map:parameter name="handler" value="portal-handler"/>
<map:parameter name="application" value="portal"/>
<map:act type="check-access-action">
<map:parameter name="name" value="{ID}"/>
<map:parameter name="role" value="{role}"/>
<map:parameter name="url" value="{../1}/{../2}"/>
<map:mount uri-prefix="plugins/{../../1}" check-reload="yes" src="plugins/{../../1}/sitemap.xmap"/>
</map:act>
</map:act>
</map:match>