Forum Discussion
TariqHussain
7 years agoBoss
You can check the permission coreNode.permissions.hasPermission.
https://freemarker-docs-portal.lithium.com/refer/contextObjects
coreNode.permissions.hasPermission("property")
You just need to pass the permission name which you want to view.
e.g
<#if coreNode.permissions.hasPermission("create_thread")> <!-- usre has permission to create thread--> </#if>
Here is the list of permission names which you can pass in the content
Related Content
- 10 months ago
- 5 months ago
- 2 years ago
- 9 months ago
- 2 years ago