if.user_cannot
/ Conditionals / if.user_cannot
Whether a user dont have capability or role
Syntax –
[if.user_cannot]
…
…….code //it uses current user object implicitly
…
[/if.user_cannot]
Eg:
[if.user_cannot][aw2.get current_user dump=t /] [/if.user_cannot]