Hi ,
I have customized pentaho UI completely by re-using existing code. Now am looking to achieve role based integration on my few menu items with the help of below code
Code:
<script type="text/x-handlebars-template">{{#if canCreateContent}}item2, item3,item4{{/if}}</script>
to make it more understandable let me explain. Example: i have item1, item2, item3, item4, item5 in left navigation menu out of which item3, item4, item 5 will not be available for few Logged in Users. Now the problem here is if i use above logic in home/index.jsp in pentaho folder then it works. But if am trying to use same logic through "/mantle/Mantle.jsp" then item3, item4, item5 not available for any user including Admin.
Need priority assistance on this.