Hello,
I would like to ask how can I check the current user is logged as Admin or not?
I am editing a .html.ftl file and I would like to know is it there exist something like:
<#if getCurrentUser.isAdmin>
…….
…..
</#if>
I cannot find any resource stated how to check the user whether isAdmin or not…
Any advise on it is appreciated.
Thanks for help.
Regards
Mandy