Using Velocity, how does one get page permissions? I'm ultimately looking to develop an permission indicator system (using a series of icons) that will display if the user/group has permission to a space, set of pages (heirarchy), and/or a single page itself.
I've read how to get user permissions but this wouldn't solve the problem I'm facing such as the following:
#set ($pagePermission = $permissionHelper.canView($remoteUser, $action.page))
Thanks!