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

#parse ( "/template/includes/actionerrors.vm" )

You can edit the current space permissions here. Permissions can be granted to specific users or groups. You can also grant permissions to anonymous users. Anonymous users refers to all users that are not logged in. For information about the individual permissions that can be assigned, please see the #doc("display/DOC/Global+Permissions+overview" "permissions guide").

#form_xsrfToken()

#tag( "Submit" "name='cancel'" "value='cancel.name'" "theme='notable'" )

$action.getText('perms.groups')
$action.getText("global.group.perms")

#set ($groupRows = $action.groupPermissionRows) #if ($groupRows.size() > 0) #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) | #set ($canSetGlobalPermission = $action.canSetPermissionOnGroup($permission, $groupRow.groupName)) #if ($groupRow.isTypeAllowed($permission)) ## use a hidden field to submit the value of the checked (but disabled) checkbox above (since disabled checkboxes don't get submitted) #if(!$canSetGlobalPermission) #end #else #end #if ($permission == 'useconfluence') $action.getText('perms.can.use') #end #end
#end #else
$action.getText('globalperms.no.group.access')
#end

#bodytag ("Component" "theme='custom'" "label='Grant browse permission to'" "name='groupsToAdd'" "template='textfield-and-picker.vm'") #param ("formName" "editglobalperms") #param ("buttonOff" false) #param ("value" $editPermissionGroup) #param ("buttonName" "groupsToAddButton") #param ("imgTitle" "$action.getText('find.groups')") #param ("groupSearchActionName" "dosearchgroupsnopermissions.action") #param ("linkId" "grouppicker-popup-link") #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) | #set ($canSetGlobalPermission = $action.canSetPermissionOnUser($permission, $userRow.username)) #if ($userRow.isTypeAllowed($permission)) ## use a hidden field to submit the value of the checked (but disabled) checkbox above (since disabled checkboxes don't get submitted) #if(!$canSetGlobalPermission) #end #else #end #if ($permission == 'useconfluence') $action.getText('perms.can.use') #end #end
#end #else
$action.getText('globalperms.no.user.perms')
#end

#bodytag ("Component" "theme='custom'" "label='Grant browse permission to'" "name='usersToAdd'" "template='textfield-and-picker.vm'") #param ("formName" "editglobalperms") #param ("size" "40") #param ("windowProperties" "status=yes,resizable=yes,top=100,left=200,width=700,height=680,scrollbars=yes") #param ("buttonOff" false) #param ("value" $usersToAdd) #param ("buttonName" "usersToAddButton") #param ("imgTitle" "$action.getText('find.users')") #param ("searchAction" "openuserpicker.action") #param ("linkId" "userpicker-popup-link") #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')) #else #end $action.getText('perms.can.use') | #if ($anonymousRow.isTypeAllowed('VIEWUSERPROFILES')) #else #end

#tag( "Submit" "name='cancel'" "value='cancel.name'" "theme='notable'" )

#parse ( "/breadcrumbs.vm" )