I'm trying to create a very simple custom macro that does the following:
#if ( User Has Space Admin Permission In Current Space )
// display a link
#end
What exactly should I add to the if statement above to get this to work? I've tried a bunch of different things, and I think I'm just not understanding the syntax... Any help is greatly appreciated!
Tried the following, but it didn't work.
#if ($action.hasPermissionForSpace(ADMINISTER,SPACEKEY))
<a href='#'>Link</a>
#end
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.