structure:hasPageAccess

This tag gets if the user (logged in or default anonymous) has access to the site node sent in.

Parameters

Name

Required

Default

Type

Description

id

true

 

String

The result is stored in this variable.

siteNodeId

false

 

Object/String

The id of the site node we to check.

interceptionPointName

false

 

Object/String

Sets which interception point name to check for. Default SiteNodeVersion.Read.

 

ID-result variable contains: True or false.

Examples

This example gets if the user has access to read the child page.

<structure:hasPageAccess id="hasPageAccess" siteNodeId="${childPage.siteNodeId}"/>
Had page access: <c:out value="${hasPageAccess}"/>.                                            



comments powered by Disqus