$action.getActionName($action.getClass().getName())

#parse ( "/template/includes/actionerrors.vm" )
$action.getText('perms.groups')
$action.getText("global.group.perms")

#set ($groupRows = $action.groupPermissionRows) #if (!$groupRows.empty) #showGlobalPermissionsHeader() #foreach ($groupRow in $groupRows)
$generalUtil.htmlEncode($groupRow.groupName) #if (!$groupRow.entityExists()) $action.getText("error.group.not.found") #elseif ($groupRow.caseInvalid) $action.getText('error.permission.incorrect.case', [$generalUtil.htmlEncode($groupRow.group.name)]) #end #foreach ($permission in $action.permissions) | #if ($groupRow.isTypeAllowed($permission)) #if ($permission == 'useconfluence') $action.getText('perms.can.use') #end #else #if ($permission == 'useconfluence') $action.getText('perms.cant.use') #end #end #end
#end #else
$action.getText('globalperms.no.group.access')
#end

$action.getText('perms.individuals')
$action.getText("global.user.perms")

#set ($userRows = $action.userPermissionRows) #if (!$userRows.empty) #showGlobalPermissionsHeader() #foreach ($userRow in $userRows)
#if ($userRow.entityExists()) $generalUtil.htmlEncode($userRow.user.fullName) #end ($generalUtil.htmlEncode($userRow.username)) #if (!$userRow.entityExists()) $action.getText("error.user.not.found") #elseif ($userRow.caseInvalid) $action.getText('error.permission.incorrect.case', [$generalUtil.htmlEncode($userRow.user.name)]) #end #foreach ($permission in $action.permissions) | #if ($userRow.isTypeAllowed($permission)) #if ($permission == 'useconfluence') $action.getText('perms.can.use') #end #else #if ($permission == 'useconfluence') $action.getText('perms.cant.use') #end #end #end
#end #else
$action.getText('globalperms.no.user.perms')
#end

$action.getText('perms.anonymous')
$action.getText("global.anonymous.perms")

| $action.getText("permissions.USECONFLUENCE") | $action.getText("permissions.VIEWUSERPROFILES")
--- | --- | ---
$action.getText('perms.anonymous.user') #set ($anonymousRow = $action.anonymousPermissionRow) | #if ($anonymousRow.isTypeAllowed('useconfluence')) $action.getText('perms.can.use') #else $action.getText('perms.cant.use') #end | #if ($anonymousRow.isTypeAllowed('VIEWUSERPROFILES')) #else #end

#parse ( "/breadcrumbs.vm" )