I am trying to set the Browse button on one specific page only viewable for people with space admin permissions in my Main Layout. I've tried all of the following but these will only show the button for a Confluence administrator, not a space admin.
#if ($permissionHelper.canAdminister($action.remoteUser, $space))
#if ($permissionHelper.canEdit($action.remoteUser, $space))
#if ($permissionHelper.canCreatePage($action.remoteUser, $space))
I've tried other objects as the UserAccessor but they all return the same, it simply won't see the people with admin rights in my space.