\n
$action.getText(\"title.remove.space\")<\/title>\n <\/head>\n\n #applyDecorator(\"root\")\n #decoratorParam(\"helper\" $action.helper)\n #decoratorParam(\"context\" \"space-administration\")\n #decoratorParam(\"mode\" \"view-space-administration\")\n\n \n #applyDecorator (\"root\")\n #decoratorParam (\"context\" \"spaceadminpanel\")\n #decoratorParam (\"selection\" \"removespace\")\n #decoratorParam (\"title\" \"$action.getText('title.remove.space')\")\n #decoratorParam (\"selectedTab\" \"admin\")\n #decoratorParam (\"selectedSpaceToolsWebItem\", \"removespace\")\n #decoratorParam(\"helper\" $action.helper)\n\n #applyDecorator (\"confirm\")\n\n $action.getText(\"remove.space.desc\")<\/p>\n #if( $action.showLargeQueueWarning)\n #applyDecorator(\"message\" \"$action.getText('info.word')\")\n #decoratorParam(\"type\" \"info\")\n $action.getText(\"com.atlassian.confluence.spaces.actions.RemoveSpaceAction.warn.large.indexqueue\", [$action.indexQueueSize])\n #end\n #end\n #applyDecorator (\"message\" \"$action.getText('warning.word')\")\n #decoratorParam(\"type\" \"warning\")\n $action.getText('removespace.operation.cannot.be.undone')\n #end\n\n #decoratorParam (\"formAction\" \"doremovespace.action?key=$htmlUtil.urlEncode($space.key)\")\n #decoratorParam (\"formName\" \"removespaceform\")\n\n $action.getText(\"alert.remove.space\", [$htmlUtil.htmlEncodeAndReplaceSpaces($space.key), $htmlUtil.htmlEncode($space.name)])\n #end\n #end\n\n <\/body>\n\n #end\n<\/html>","language":"Java"},{"type":"ComponentCodeBlock","__typename":"ComponentCodeBlock","sys":{"id":"MMSgtRcfSQGeTZ_aRQmQF"},"title":"Template with suggested modifications","code":"\n
\n $action.getText(\"title.remove.space\")<\/title>\n <\/head>\n\n #applyDecorator(\"root\")\n #decoratorParam(\"helper\" $action.helper)\n #decoratorParam(\"context\" \"space-administration\")\n #decoratorParam(\"mode\" \"view-space-administration\")\n\n \n #applyDecorator (\"root\")\n #decoratorParam (\"context\" \"spaceadminpanel\")\n #decoratorParam (\"selection\" \"removespace\")\n #decoratorParam (\"title\" \"$action.getText('title.remove.space')\")\n #decoratorParam (\"selectedTab\" \"admin\")\n #decoratorParam (\"selectedSpaceToolsWebItem\", \"removespace\")\n #decoratorParam(\"helper\" $action.helper)\n\n #if( $permissionHelper.isConfluenceAdministrator($authenticatedUser) )\n #applyDecorator (\"confirm\")\n\n $action.getText(\"remove.space.desc\")<\/p>\n #if( $action.showLargeQueueWarning)\n #applyDecorator(\"message\" \"$action.getText('info.word')\")\n #decoratorParam(\"type\" \"info\")\n $action.getText(\"com.atlassian.confluence.spaces.actions.RemoveSpaceAction.warn.large.indexqueue\", [$action.indexQueueSize])\n #end\n #end\n #applyDecorator (\"message\" \"$action.getText('warning.word')\")\n #decoratorParam(\"type\" \"warning\")\n $action.getText('removespace.operation.cannot.be.undone')\n #end\n\n #decoratorParam (\"formAction\" \"doremovespace.action?key=$htmlUtil.urlEncode($space.key)\")\n #decoratorParam (\"formName\" \"removespaceform\")\n\n $action.getText(\"alert.remove.space\", [$htmlUtil.htmlEncodeAndReplaceSpaces($space.key), $htmlUtil.htmlEncode($space.name)])\n #end\n #else\n #applyDecorator (\"message\" \"$action.getText('info.word')\")\n #decoratorParam(\"type\" \"info\")\n
You don't have permission to delete this Space.<\/br>Please contact your Confluence administrator.<\/p>\n #end\n #end\n #end\n\n <\/body>\n\n #end\n<\/html>\n\n\n","language":"Java"},{"type":"ComponentKbImage","__typename":"ComponentKbImage","sys":{"id":"RnY4agCIWBzLKg0XLjatp"},"altText":"(Auto-migrated image: description temporarily unavailable)","image":{"url":"https:\/\/images.ctfassets.net\/zsv3d0ugroxu\/XNhX53ljFHwZHMlwqatZB\/e08966446c681f5984713fa61b5261ed\/space-delete-2.png"}},{"type":"ComponentKbImage","__typename":"ComponentKbImage","sys":{"id":"ukdfP-C5YhW9-6HiLVkx1"},"altText":"(Auto-migrated image: description temporarily unavailable)","image":{"url":"https:\/\/images.ctfassets.net\/zsv3d0ugroxu\/EqQDuKNZIfYKuKJDZKrZU\/6fb1c07c66219c05d3e48c86fc0aa95c\/space-delete-3.png"}}]}}}}},"tableOfContents":[{"id":"summary","title":"Summary"},{"id":"solution","title":"Solution"}],"appVersions":[],"productVersions":[{"sys":{"id":"7HU6TZf5RESnf7d5OfrVX0"},"versionName":"Confluence Data Center","versionNumber":null,"versionModifier":"None","platform":"Data Center","product":{"productName":"Confluence","productNameId":"confluence"}}],"contentfulMetadata":{"concepts":[{"id":"FPNKLi9zdnqcyKWGL1Ue3"}]},"publishTo":["support.atlassian.com (SAC)"],"aiGenerated":null,"metadata":{"id":"dyFjaGJmZa6WQ84OA84SU","type":"sitewideMetadata","publisher":"Atlassian","language":"en-US","license":"Except where otherwise noted, content in this space is licensed under a Creative Commons Attribution 2.5 Australia License<\/a>.","logo":"https:\/\/images.ctfassets.net\/zsv3d0ugroxu\/4usk6GCfTOCSKCwCQykYIu\/34d7ed0904d9a0274fb906f86f51e1e1\/Atlassian-vertical-blue-onecolor-rgb.svg","brand":"Atlassian","legalName":"Atlassian Corporation Plc","owns":"Jira Software,Jira Service Management,Jira Work Management,Jira Align,Confluence,Hipchat,Bitbucket,Bamboo,Crucible,Crowd,Sourcetree,OpsGenie,Statuspage,Trello,Halp,Mindville","siteName":"Atlassian Support"},"header":{"id":"3wZXajO6t2W8mUgA486Wai","type":"globalHeader","cloudProducts":[{"sys":{"id":"3yydXRuQ88gGCKOyYsAGaU"},"version":"Not Applicable","deployment":"Cloud","productBlurb":"Project and issue tracking","url":"jira-software-cloud","icon":{"url":"https:\/\/images.ctfassets.net\/zsv3d0ugroxu\/3tdm6nuuJrPlizPLgkWqZ5\/d0a7942804abf2f8f6737197be1fc7f4\/logo-light_Jira_mark_brand_RGB.svg"},"productNameReference":{"sys":{"id":"jirasoftware"},"productName":"Jira Software"},"deploymentUrls":{"cloud":"\/jira-software-cloud\/"},"id":"3yydXRuQ88gGCKOyYsAGaU"},{"sys":{"id":"1gXBh54v1sayA6w8yowM8u"},"version":"Not Applicable","deployment":"Cloud","productBlurb":"Service management and customer support","url":"jira-service-management-cloud","icon":{"url":"https:\/\/images.ctfassets.net\/zsv3d0ugroxu\/5DppKv8q5q206zQzIRDKQq\/f31b8874021ee7d6dd54389f902b1421\/logo-light_Jira-Service-Management_mark_brand_RGB.svg"},"productNameReference":{"sys":{"id":"jiraservicedesk"},"productName":"Jira Service Management"},"deploymentUrls":{"cloud":"\/jira-service-management-cloud\/"},"id":"1gXBh54v1sayA6w8yowM8u"},{"sys":{"id":"4z1mIelYHYwE6ugCuqEg0y"},"version":"Not Applicable","deployment":"Cloud","productBlurb":"Document collaboration","url":"confluence-cloud","icon":{"url":"https:\/\/images.ctfassets.net\/zsv3d0ugroxu\/5VucmXIhBRYyBXA9ygFJ3Y\/5082d769a81934af185dcf109b29f628\/logo-light_Confluence_mark_brand_RGB.svg"},"productNameReference":{"sys":{"id":"confluence"},"productName":"Confluence"},"deploymentUrls":{"cloud":"\/confluence-cloud\/"},"id":"4z1mIelYHYwE6ugCuqEg0y"},{"sys":{"id":"UhZk1Nq8UMkcuUsy6sI4C"},"version":"Not Applicable","deployment":"Cloud","productBlurb":"Git code management","url":"bitbucket-cloud","icon":{"url":"https:\/\/images.ctfassets.net\/zsv3d0ugroxu\/1g4197x84jic8a1P3b3IGT\/1a752272b12824d3a3df4bc1e7dd2c53\/logo-light_Bitbucket_mark_brand_RGB.svg"},"productNameReference":{"sys":{"id":"bitbucket"},"productName":"Bitbucket"},"deploymentUrls":{"cloud":"\/bitbucket-cloud\/"},"id":"UhZk1Nq8UMkcuUsy6sI4C"},{"sys":{"id":"7aO3e0I67vVoQJXGXm2pjr"},"version":"Not Applicable","deployment":"Cloud","productBlurb":"Work more collaboratively and get more done","url":"trello","icon":{"url":"https:\/\/images.ctfassets.net\/zsv3d0ugroxu\/1j6nvsJ8txgcxgy3Vmk4aO\/e3b6d56c299ae744c2f4b8109cf1a482\/logo-light_Trello_mark_brand_RGB.svg"},"productNameReference":{"sys":{"id":"3Pgvsvt3uylBV25qaoU8ui"},"productName":"Trello"},"deploymentUrls":{"cloud":"\/trello\/"},"id":"7aO3e0I67vVoQJXGXm2pjr"},{"sys":{"id":"OBPfqfSG24X1AQ74Oc9ob"},"version":"Not Applicable","deployment":"Cloud","productBlurb":"Rovo is helps your team find knowledge, learn from it and create action—through the power of AI.","url":"rovo","icon":{"url":"https:\/\/images.ctfassets.net\/zsv3d0ugroxu\/7GLXCkFtxe0MUSfmTNdrPL\/1a042c58b850d16c6eb3339dc4532c0d\/logo-light_Rovo_mark_brand_RGB.svg"},"productNameReference":{"sys":{"id":"1wFXee3vB0OUMBK6dJ5ncZ"},"productName":"Rovo"},"deploymentUrls":{"cloud":"\/rovo\/"},"id":"OBPfqfSG24X1AQ74Oc9ob"},{"sys":{"id":"74UlBDi4bbCZFw5rNyxpjj"},"version":"Not Applicable","deployment":"Cloud","productBlurb":"Loom is the video communication platform for async work.","url":"loom","icon":{"url":"https:\/\/images.ctfassets.net\/zsv3d0ugroxu\/1WJwDTYFClxfJJUOrhlevh\/ea49afae7832f279d4769d04b004217e\/Loom_blue.svg"},"productNameReference":{"sys":{"id":"6TYrk1y0pRJilwiT69uMgM"},"productName":"Loom"},"deploymentUrls":{"cloud":"\/loom\/"},"id":"74UlBDi4bbCZFw5rNyxpjj"},{"sys":{"id":"6EQBgvFMpDZUu7VfvYTYvw"},"version":"Not Applicable","deployment":"Cloud","productBlurb":null,"url":"customer-service-management","icon":{"url":"https:\/\/images.ctfassets.net\/zsv3d0ugroxu\/38omHE0EXouOotODaccUiy\/12128db47ea6c4d45b59a656d823319c\/CSM.svg"},"productNameReference":{"sys":{"id":"6SCucezKWvFEkBEA1joTkh"},"productName":"Customer Service Management"},"deploymentUrls":{"cloud":"\/customer-service-management\/"},"id":"6EQBgvFMpDZUu7VfvYTYvw"},{"sys":{"id":"1IrNp77C6KQk9FZ7y8V1f2"},"version":"Not Applicable","deployment":"Cloud","productBlurb":"Mission control for your distributed architecture","url":"compass","icon":{"url":"https:\/\/images.ctfassets.net\/zsv3d0ugroxu\/3UAMHJdzO6e6NhYGD07Ugg\/bf460d12761faed44a807bf7eb8a8c45\/logo-light_Compass_mark_brand_RGB.svg"},"productNameReference":{"sys":{"id":"1ndBBFKwZNMEzDmJzMd6Wo"},"productName":"Compass"},"deploymentUrls":{"cloud":"\/compass\/"},"id":"1IrNp77C6KQk9FZ7y8V1f2"},{"sys":{"id":"10SbTAPoOxxVcyZMNH20Kf"},"version":"Not Applicable","deployment":"Cloud","productBlurb":"Your team’s home for product discovery","url":"jira-product-discovery","icon":{"url":"https:\/\/images.ctfassets.net\/zsv3d0ugroxu\/UoGuPi0Q5W6nxm8P76Zun\/7ff53cd380f66b6fe1dc27b8a9fd645a\/logo-light_Jira-Product-Discovery_mark_brand_RGB.svg"},"productNameReference":{"sys":{"id":"22bKMdHH2crmVtvOW4gfGg"},"productName":"Jira Product Discovery"},"deploymentUrls":{"cloud":"\/jira-product-discovery\/"},"id":"10SbTAPoOxxVcyZMNH20Kf"},{"sys":{"id":"53Ep5GwhITPflhp1tT1Ale"},"version":"Not Applicable","deployment":"Cloud","productBlurb":"Unlock the agility of your enterprise","url":"jira-align","icon":{"url":"https:\/\/images.ctfassets.net\/zsv3d0ugroxu\/6eS3KCOum0OuJfHEBmhIy6\/32785683c67d135aae596e6e66ec9646\/logo-light_Jira-Align_mark_brand_RGB.svg"},"productNameReference":{"sys":{"id":"jiraalign"},"productName":"Jira Align"},"deploymentUrls":{"cloud":"\/jira-align\/"},"id":"53Ep5GwhITPflhp1tT1Ale"},{"sys":{"id":"5t76PH9Mw7zagigkXzUa8H"},"version":"Not Applicable","deployment":"Cloud","productBlurb":"Modern incident management","url":"opsgenie","icon":{"url":"https:\/\/images.ctfassets.net\/zsv3d0ugroxu\/3Mgc7MIYvTJ3EQ3ghceiVk\/76c6a20b69802c434b973cb8098d490a\/logo-light_Opsgenie_mark_brand_RGB.svg"},"productNameReference":{"sys":{"id":"opsgenie"},"productName":"Opsgenie"},"deploymentUrls":{"cloud":"\/opsgenie\/"},"id":"5t76PH9Mw7zagigkXzUa8H"},{"sys":{"id":"70RA5tkL23bUJmCn3bDjGy"},"version":"Not Applicable","deployment":"Cloud","productBlurb":"Build trust with every incident","url":"statuspage","icon":{"url":"https:\/\/images.ctfassets.net\/zsv3d0ugroxu\/39aRd69G7mmkTG6yY8H0EV\/857285af871d13d1b6290d360a7cea67\/logo-light_Statuspage_mark_brand_RGB.svg"},"productNameReference":{"sys":{"id":"statuspage"},"productName":"Statuspage"},"deploymentUrls":{"cloud":"\/statuspage\/"},"id":"70RA5tkL23bUJmCn3bDjGy"},{"sys":{"id":"2U16wQipiL90JdLzRQMkon"},"version":"Not Applicable","deployment":"Cloud","productBlurb":"Focus drives enterprise-wide outcomes by connecting strategic priorities to goals and the supporting work and funds.","url":"focus","icon":{"url":"https:\/\/images.ctfassets.net\/zsv3d0ugroxu\/5FToPwIc7QDnUPrVjacYoP\/8ffbd2cd00e82736e3d45b1f26cc7016\/logo-light_Focus_mark_brand_RGB.svg"},"productNameReference":{"sys":{"id":"6rR5KiykJPeEyCIAMDCQ6p"},"productName":"Focus"},"deploymentUrls":{"cloud":"\/focus\/"},"id":"2U16wQipiL90JdLzRQMkon"},{"sys":{"id":"1HZag8ndI44DiqyNYay6bD"},"version":"Not Applicable","deployment":"Cloud","productBlurb":"Talent ensures you have the right talent in place to support your short and long-term strategy by connecting people to priorities.","url":"talent","icon":{"url":"https:\/\/images.ctfassets.net\/zsv3d0ugroxu\/2AAQ7zqU2ZgK6pm0gTtHnR\/d77ccd25e214b72193ebef5a39800bd3\/Talent_icon-_Legacy_style.svg"},"productNameReference":{"sys":{"id":"5Q6pT7VUYuWjkw0y8MC3gr"},"productName":"Talent"},"deploymentUrls":{"cloud":"\/talent\/"},"id":"1HZag8ndI44DiqyNYay6bD"},{"sys":{"id":"GRwdL69kctHpHtKJ7zcJ1"},"version":"Not Applicable","deployment":"Cloud","productBlurb":"A teamwork directory","url":"platform-experiences","icon":{"url":"https:\/\/images.ctfassets.net\/zsv3d0ugroxu\/1EJJvH8M9OzrklPFmjq3Cg\/e476c435a1743db02b9c811ae7a6a0e8\/logo-light_Atlassian_mark_brand_RGB.svg"},"productNameReference":{"sys":{"id":"6kdRPGfYiLXS40s5lykYaS"},"productName":"Platform experiences"},"deploymentUrls":{"cloud":"\/platform-experiences\/"},"id":"GRwdL69kctHpHtKJ7zcJ1"},{"sys":{"id":"fEP36MruYtLOyVTTfFsBy"},"version":"Not Applicable","deployment":"Cloud","productBlurb":"Assets is Jira Service Management’s native asset and configuration management tool.","url":"assets","icon":{"url":"https:\/\/images.ctfassets.net\/zsv3d0ugroxu\/7F3zOpMU5QkUiV7F9cwM7b\/110ed7096e27d83927897fbbe55057f6\/Assets_SAC_tile__1_.svg"},"productNameReference":{"sys":{"id":"1SpthyuLXrbbP2FgB0Sp1y"},"productName":"Assets"},"deploymentUrls":{"cloud":"\/assets\/"},"id":"fEP36MruYtLOyVTTfFsBy"},{"sys":{"id":"6wktSePjIQKs6KcqcCeyEO"},"version":"Not Applicable","deployment":"Cloud","productBlurb":null,"url":"team-calendars-cloud","icon":{"url":"https:\/\/images.ctfassets.net\/zsv3d0ugroxu\/5VucmXIhBRYyBXA9ygFJ3Y\/5082d769a81934af185dcf109b29f628\/logo-light_Confluence_mark_brand_RGB.svg"},"productNameReference":{"sys":{"id":"teamcalendars"},"productName":"Team Calendars"},"deploymentUrls":{"cloud":"\/team-calendars-cloud\/"},"id":"6wktSePjIQKs6KcqcCeyEO"},{"sys":{"id":"1wFo6tw3l6OQYIoCoW04MW"},"version":"Not Applicable","deployment":"Cloud","productBlurb":null,"url":"questions-for-confluence-cloud","icon":{"url":"https:\/\/images.ctfassets.net\/zsv3d0ugroxu\/5VucmXIhBRYyBXA9ygFJ3Y\/5082d769a81934af185dcf109b29f628\/logo-light_Confluence_mark_brand_RGB.svg"},"productNameReference":{"sys":{"id":"questionsforconfluence"},"productName":"Questions for Confluence"},"deploymentUrls":{"cloud":"\/questions-for-confluence-cloud\/"},"id":"1wFo6tw3l6OQYIoCoW04MW"},{"sys":{"id":"2z0gZxjenWQMWqIqUIqSWw"},"version":"Not Applicable","deployment":"Cloud","productBlurb":null,"url":"cloud","icon":{"url":"https:\/\/images.ctfassets.net\/zsv3d0ugroxu\/1EJJvH8M9OzrklPFmjq3Cg\/e476c435a1743db02b9c811ae7a6a0e8\/logo-light_Atlassian_mark_brand_RGB.svg"},"productNameReference":{"sys":{"id":"atlassiancloud"},"productName":"Atlassian Cloud"},"deploymentUrls":{"cloud":"\/cloud\/"},"id":"2z0gZxjenWQMWqIqUIqSWw"},{"sys":{"id":"5H0E33RpbSIBhC4Rf3X6sK"},"version":"Not Applicable","deployment":"Cloud","productBlurb":"Data visualization and analytics","url":"analytics","icon":{"url":"https:\/\/images.ctfassets.net\/zsv3d0ugroxu\/1LlGSRpoyIRimE0F2CabNM\/9c8a89a7196fe549fbb855c8597776fe\/logo-light_Atlassian-Analytics_mark_brand_RGB.svg"},"productNameReference":{"sys":{"id":"4114hkTUsuTHRSjjQUd8Dd"},"productName":"Analytics"},"deploymentUrls":{"cloud":"\/analytics\/"},"id":"5H0E33RpbSIBhC4Rf3X6sK"},{"sys":{"id":"N81hoNrK9PHZew7xzrNeG"},"version":"Not Applicable","deployment":"Cloud","productBlurb":"Rovo Studio lets teams turn natural language prompts into agents, workflows, and apps that solve real operational challenges.","url":"studio","icon":{"url":"https:\/\/images.ctfassets.net\/zsv3d0ugroxu\/1s7kUBRJEYQqwXTjhVD5T0\/20c46c830d9ea8992744cd33f610e3ed\/App_Tile_Studio__1_.svg"},"productNameReference":{"sys":{"id":"7bUF6v0xSEu8wWHFMnAJ3x"},"productName":"Rovo Studio"},"deploymentUrls":{"cloud":"\/studio\/"},"id":"N81hoNrK9PHZew7xzrNeG"}],"serverProducts":[{"sys":{"id":"kvr1LpMbeXQeqBF6BJG5S"},"version":"Latest","deployment":"Server","productBlurb":"Project and issue tracking","url":"jira-software-server","icon":{"url":"https:\/\/images.ctfassets.net\/zsv3d0ugroxu\/1Ba3KU2ckjAMmeYoL9DgjO\/e6710a37425ab1695046803d32c2db70\/Jira_Software.svg"},"productNameReference":{"sys":{"id":"jirasoftware"},"productName":"Jira Software"},"deploymentUrls":{"server":"\/jira-software-server\/"},"id":"kvr1LpMbeXQeqBF6BJG5S"},{"sys":{"id":"1XBrxhXDoqegKhDG1BLAvI"},"version":"Latest","deployment":"Server","productBlurb":"Service management and customer support","url":"jira-service-management-server","icon":{"url":"https:\/\/images.ctfassets.net\/zsv3d0ugroxu\/5DppKv8q5q206zQzIRDKQq\/f31b8874021ee7d6dd54389f902b1421\/logo-light_Jira-Service-Management_mark_brand_RGB.svg"},"productNameReference":{"sys":{"id":"jiraservicedesk"},"productName":"Jira Service Management"},"deploymentUrls":{"server":"\/jira-service-management-server\/"},"id":"1XBrxhXDoqegKhDG1BLAvI"},{"sys":{"id":"1F1m8sxD1tMlsaORRYGD1f"},"version":"Latest","deployment":"Server","productBlurb":"Manage any business project","url":"jira-core-server","icon":{"url":"https:\/\/images.ctfassets.net\/zsv3d0ugroxu\/33jpVupw41aFgHx33pk79p\/9fc5a1d056827ace938a74dd3a825f1e\/jira_core_flat.svg"},"productNameReference":{"sys":{"id":"jiracore"},"productName":"Jira Core"},"deploymentUrls":{"server":"\/jira-core-server\/"},"id":"1F1m8sxD1tMlsaORRYGD1f"},{"sys":{"id":"zifyQJ8ZmqvAmcXgWIWSR"},"version":"Latest","deployment":"Server","productBlurb":"Document collaboration","url":"confluence-server","icon":{"url":"https:\/\/images.ctfassets.net\/zsv3d0ugroxu\/5VucmXIhBRYyBXA9ygFJ3Y\/5082d769a81934af185dcf109b29f628\/logo-light_Confluence_mark_brand_RGB.svg"},"productNameReference":{"sys":{"id":"confluence"},"productName":"Confluence"},"deploymentUrls":{"server":"\/confluence-server\/"},"id":"zifyQJ8ZmqvAmcXgWIWSR"},{"sys":{"id":"5nDH84LjHRq8Opn1Tmt2an"},"version":"Latest","deployment":"Server","productBlurb":"Git code management","url":"bitbucket-server","icon":{"url":"https:\/\/images.ctfassets.net\/zsv3d0ugroxu\/1g4197x84jic8a1P3b3IGT\/1a752272b12824d3a3df4bc1e7dd2c53\/logo-light_Bitbucket_mark_brand_RGB.svg"},"productNameReference":{"sys":{"id":"bitbucket"},"productName":"Bitbucket"},"deploymentUrls":{"server":"\/bitbucket-server\/"},"id":"5nDH84LjHRq8Opn1Tmt2an"},{"sys":{"id":"6aFX6UNeJUogMmuSW04uEO"},"version":"Latest","deployment":"Server","productBlurb":null,"url":"bamboo","icon":{"url":"https:\/\/images.ctfassets.net\/zsv3d0ugroxu\/3DpPNPOUpDyuOyzNTU0WhT\/883c9475bbc82c16e9334e47d0c3cd81\/logo-light_Bamboo_mark_brand_RGB.svg"},"productNameReference":{"sys":{"id":"bamboo"},"productName":"Bamboo"},"deploymentUrls":{"server":"\/bamboo\/"},"id":"6aFX6UNeJUogMmuSW04uEO"},{"sys":{"id":"4pI1aZ1P4QW82KKcU2o2A2"},"version":"Latest","deployment":"Server","productBlurb":null,"url":"crowd","icon":{"url":"https:\/\/images.ctfassets.net\/zsv3d0ugroxu\/7C9qBlldQMCQQmZYW9cKST\/d9b5609c85b500bb065c99e38cf1a80a\/logo-light_Crowd_mark_brand_RGB.svg"},"productNameReference":{"sys":{"id":"crowd"},"productName":"Crowd"},"deploymentUrls":{"server":"\/crowd\/"},"id":"4pI1aZ1P4QW82KKcU2o2A2"},{"sys":{"id":"5F7bce6w8w0eMqeqeGSa42"},"version":"Latest","deployment":"Server","productBlurb":null,"url":"crucible","icon":{"url":"https:\/\/images.ctfassets.net\/zsv3d0ugroxu\/Bmzjg8Jf9IjaKxJJRsdyg\/18618a0ed9fb4c119be53772b6657197\/logo-light_Crucible_mark_brand_RGB.svg"},"productNameReference":{"sys":{"id":"crucible"},"productName":"Crucible"},"deploymentUrls":{"server":"\/crucible\/"},"id":"5F7bce6w8w0eMqeqeGSa42"},{"sys":{"id":"x5esi3PpaoAAaekGEGWqY"},"version":"Latest","deployment":"Server","productBlurb":null,"url":"fisheye","icon":{"url":"https:\/\/images.ctfassets.net\/zsv3d0ugroxu\/1JPhscmMbQTiP584fioarJ\/68c65896f78db9c082c74f029dfe14ba\/logo-light_Fisheye_mark_brand_RGB.svg"},"productNameReference":{"sys":{"id":"fisheye"},"productName":"Fisheye"},"deploymentUrls":{"server":"\/fisheye\/"},"id":"x5esi3PpaoAAaekGEGWqY"},{"sys":{"id":"6DftT4SP0A6eiAkISKuu6Y"},"version":"Latest","deployment":"Server","productBlurb":null,"url":"sourcetree","icon":{"url":"https:\/\/images.ctfassets.net\/zsv3d0ugroxu\/7r8051IqGKLJPwloKRYSVB\/1a9b1a101e4419823993cfe79ae8f023\/logo-light_Sourcetree_mark_brand_RGB.svg"},"productNameReference":{"sys":{"id":"sourcetree"},"productName":"Sourcetree"},"deploymentUrls":{"server":"\/sourcetree\/"},"id":"6DftT4SP0A6eiAkISKuu6Y"},{"sys":{"id":"6pcStE2pewRQyCtz7yHnm1"},"version":"Latest","deployment":"Server","productBlurb":null,"url":"advanced-roadmaps-for-jira-server","icon":{"url":"https:\/\/images.ctfassets.net\/zsv3d0ugroxu\/33jpVupw41aFgHx33pk79p\/9fc5a1d056827ace938a74dd3a825f1e\/jira_core_flat.svg"},"productNameReference":{"sys":{"id":"portfolioforjira"},"productName":"Advanced Roadmaps for Jira"},"deploymentUrls":{"server":"\/advanced-roadmaps-for-jira-server\/"},"id":"6pcStE2pewRQyCtz7yHnm1"},{"sys":{"id":"2oDTelIDk4LAM0Bxomfo7m"},"version":"Latest","deployment":"Server","productBlurb":null,"url":"team-calendars-server","icon":{"url":"https:\/\/images.ctfassets.net\/zsv3d0ugroxu\/5VucmXIhBRYyBXA9ygFJ3Y\/5082d769a81934af185dcf109b29f628\/logo-light_Confluence_mark_brand_RGB.svg"},"productNameReference":{"sys":{"id":"teamcalendars"},"productName":"Team Calendars"},"deploymentUrls":{"server":"\/team-calendars-server\/"},"id":"2oDTelIDk4LAM0Bxomfo7m"},{"sys":{"id":"4FWxkzknncoyN31Gnft19o"},"version":"Latest","deployment":"Server","productBlurb":null,"url":"questions-for-confluence-server","icon":{"url":"https:\/\/images.ctfassets.net\/zsv3d0ugroxu\/5VucmXIhBRYyBXA9ygFJ3Y\/5082d769a81934af185dcf109b29f628\/logo-light_Confluence_mark_brand_RGB.svg"},"productNameReference":{"sys":{"id":"questionsforconfluence"},"productName":"Questions for Confluence"},"deploymentUrls":{"server":"\/questions-for-confluence-server\/"},"id":"4FWxkzknncoyN31Gnft19o"}],"additionalLinks":[{"linkLabel":"Contact support","linkUrl":"https:\/\/support.atlassian.com\/contact\/","linkIcon":{"url":"https:\/\/images.ctfassets.net\/zsv3d0ugroxu\/34aQizNVKUaasai48ASqg2\/0ca6041940bcf6b5fd74e559b90eb9e9\/question-circle.svg"}},{"linkIcon":null,"linkLabel":"Training & Certification","linkUrl":"https:\/\/www.atlassian.com\/university"},{"linkIcon":null,"linkLabel":"Atlassian Migration Program","linkUrl":"https:\/\/www.atlassian.com\/cloud-migration"},{"linkIcon":null,"linkLabel":"GDPR guides","linkUrl":"https:\/\/confluence.atlassian.com\/gdpr"},{"linkIcon":null,"linkLabel":"Enterprise services","linkUrl":"https:\/\/www.atlassian.com\/enterprise\/services"},{"linkIcon":null,"linkLabel":"Atlassian Partners","linkUrl":"https:\/\/www.atlassian.com\/partners"},{"linkIcon":null,"linkLabel":"Developers","linkUrl":"https:\/\/developer.atlassian.com"},{"linkIcon":null,"linkLabel":"Success Central","linkUrl":"https:\/\/success.atlassian.com"},{"linkIcon":null,"linkLabel":"User groups","linkUrl":"http:\/\/aug.atlassian.com"},{"linkIcon":null,"linkLabel":"Automation for Jira","linkUrl":"https:\/\/support.atlassian.com\/cloud-automation\/docs\/jira-cloud-automation\/"},{"linkIcon":null,"linkLabel":"Atlassian.com","linkUrl":"http:\/\/www.atlassian.com"}],"atlassianSupportLogo":{"url":"https:\/\/images.ctfassets.net\/zsv3d0ugroxu\/2a2EqJ1z4IOCa4EKCSAi2s\/3f934328cbeb68b72892e7f50b65e380\/support-logo-atlassian.svg"},"atlassianLogo":{"url":"https:\/\/images.ctfassets.net\/zsv3d0ugroxu\/2sOh4sF3DSm8Qy8GigKK0S\/1c7619d9db378c5ee902d8eeb8fde65b\/atlassian-logo-footer.svg"}},"resources":{"cards":[{"sys":{"id":"b3fTs5PrPymsKyewq2uee"},"title":"Documentation","buttonLink":"https:\/\/confluence.atlassian.com","buttonText":"View documentation","shortTitle":null,"shortDescription":"Usage and admin help","hideInHeader":true,"analytics":"${App} Documentation","icon":{"url":"https:\/\/images.ctfassets.net\/zsv3d0ugroxu\/3zu24q81rSIszjUcYWS7rs\/e203ecd5b877949db50052f2e2cc018a\/rich_icon-Guidelines.svg"},"id":"b3fTs5PrPymsKyewq2uee"},{"sys":{"id":"1eb4CYi6GQecc4S0amoCGm"},"title":"Knowledge Base","buttonLink":"https:\/\/atlassian.com","buttonText":"View knowledge base","shortTitle":null,"shortDescription":null,"hideInHeader":true,"analytics":"KnowledgeBase","icon":{"url":"https:\/\/images.ctfassets.net\/zsv3d0ugroxu\/2bQqvQH3QFxNcjpOxCEQKD\/cc250e1247072a531cf591444211da4a\/rich_icon-Autofix.svg"},"id":"1eb4CYi6GQecc4S0amoCGm"},{"sys":{"id":"1jekufjl8YMw4eUKoI6kg6"},"title":"Community","buttonLink":"https:\/\/community.atlassian.com","buttonText":"Visit Atlassian Community","shortTitle":null,"shortDescription":"Answers, support and inspiration","hideInHeader":null,"analytics":"Community","icon":{"url":"https:\/\/images.ctfassets.net\/zsv3d0ugroxu\/199clY7qv6MQc2EasKkGim\/2be1028a3452c791c46ebb4a4343a91b\/rich_icon-Community.svg"},"id":"1jekufjl8YMw4eUKoI6kg6"},{"sys":{"id":"5buCUK1TCgS2q6KMGkIkSy"},"title":"System Status","buttonLink":"https:\/\/status.atlassian.com\/","buttonText":"View system status","shortTitle":null,"shortDescription":"Cloud services health","hideInHeader":null,"analytics":"System Status","icon":{"url":"https:\/\/images.ctfassets.net\/zsv3d0ugroxu\/72Hws13erkU4jPlqQmD2SS\/fd94e1b3f2b1b3e88315702c77b672cd\/rich_icon-Announcement.svg"},"id":"5buCUK1TCgS2q6KMGkIkSy"},{"sys":{"id":"2nRNjDkbCcUwSOq422y66"},"title":"Suggestions and bug reports","buttonLink":"https:\/\/jira.atlassian.com\/secure\/Dashboard.jspa?selectPageId=10440","buttonText":"View suggestions and bugs","shortTitle":"Suggestions and bugs","shortDescription":"Feature suggestions and bug reports","hideInHeader":null,"analytics":"Suggestion bug","icon":{"url":"https:\/\/images.ctfassets.net\/zsv3d0ugroxu\/4LAr0Xsaq4gUk60Uy6eYwk\/3914441924f9af9ae74908ad136c55b9\/rich_icon-Lightbulb.svg"},"id":"2nRNjDkbCcUwSOq422y66"},{"sys":{"id":"77KyWObmQowc8oycAK6mo2"},"title":"Marketplace apps","buttonLink":"https:\/\/marketplace.atlassian.com\/","buttonText":"View Marketplace","shortTitle":"Marketplace","shortDescription":"Extend Atlassian apps","hideInHeader":null,"analytics":"Marketplace","icon":{"url":"https:\/\/images.ctfassets.net\/zsv3d0ugroxu\/1ss3lke3aYcVp07USZwdMY\/f90bbe91db3ae373ea6dc008ce617373\/rich_icon-Integration.svg"},"id":"77KyWObmQowc8oycAK6mo2"},{"sys":{"id":"t7tq3EzI9qwcKMaES0i0y"},"title":"Billing and licensing","buttonLink":"https:\/\/www.atlassian.com\/licensing\/purchase-licensing","buttonText":"View FAQs","shortTitle":null,"shortDescription":"Frequently asked questions","hideInHeader":null,"analytics":"Billing","icon":{"url":"https:\/\/images.ctfassets.net\/zsv3d0ugroxu\/5Cb1EEBbNKkm8uK24mIeEs\/4ffba62bbd992b75dc3b7f227c9cb3f3\/rich_icon-Credit_cards.svg"},"id":"t7tq3EzI9qwcKMaES0i0y"}]},"preview":false,"contentType":"pageKbArticle"},
contentType: "pageKbArticle",
contentAri: "ari:third-party:contentful::entry\/zsv3d0ugroxu\/master\/cac-migrated-1044776928-p",
featureFlags: {"isVideoEnabled":true},
pageTree: [],
featuredEntries: [],
}/* */;
Customize Velocity Template to allow only a Confluence administrator to delete a Space 要約 Confluence でのスペースの削除 は永続的なアクションであり、アプリケーションには操作を元に戻す機能がないことを意味します。
スペース権限 を使用して、スペース管理者のみがスペースを削除できます。
環境によっては、Confluence 管理者 がスペースの削除を制御し、スペース管理者からこの権限を取り消す必要がある場合があります。
これはスペース権限の既定の粒度では不可能ですが、Confluence 管理者のみがスペースを削除できるように Confluence をカスタマイズできます。
このカスタマイズは、次の機能リクエストが実装されていない限り有効です: CONFSERVER-1909 - Space Administrators should not be able to Remove a space (スペース管理者はスペースを削除できないようにする必要がある)
このドキュメントは現状のまま提供されるものとします
Confluence はある程度のカスタマイズが可能な柔軟性を持ちますが、アトラシアンのサポート サービス ではこの分野の支援は提供されません。したがって、アトラシアンはそれらに対するサポートの提供を保証することはできません 。
カスタマイズについて支援が必要な場合は、次のチャンネルのいずれかを確認してください。
ソリューション Confluence は UI コンポーネントの多くを Velocity に依存しています。
< confluence-install >/confluence/spaces/removespace.vm Velocity テンプレート ファイルの内容は、UI でのスペースの削除機能の外観を制御します。
このファイルの既定の内容を使用する場合、この UI は次のようになります (Confluence 7.9.0 )。
このテンプレートを変更し、Confluence 管理者のみがスペースの削除を確認できるようにするには、以下の手順に従います。
Confluence サーバーにアクセスし、< confluence-install >/confluence/spaces フォルダーに移動します。
removespace.vm のバックアップ コピーを作成します。
Original file contents as of Confluence 7.9.0
<html>
<head>
<title>$action.getText("title.remove.space")</title>
</head>
#applyDecorator("root")
#decoratorParam("helper" $action.helper)
#decoratorParam("context" "space-administration")
#decoratorParam("mode" "view-space-administration")
<body>
#applyDecorator ("root")
#decoratorParam ("context" "spaceadminpanel")
#decoratorParam ("selection" "removespace")
#decoratorParam ("title" "$action.getText('title.remove.space')")
#decoratorParam ("selectedTab" "admin")
#decoratorParam ("selectedSpaceToolsWebItem", "removespace")
#decoratorParam("helper" $action.helper)
#applyDecorator ("confirm")
<p>$action.getText("remove.space.desc")</p>
#if( $action.showLargeQueueWarning)
#applyDecorator("message" "$action.getText('info.word')")
#decoratorParam("type" "info")
$action.getText("com.atlassian.confluence.spaces.actions.RemoveSpaceAction.warn.large.indexqueue", [$action.indexQueueSize])
#end
#end
#applyDecorator ("message" "$action.getText('warning.word')")
#decoratorParam("type" "warning")
$action.getText('removespace.operation.cannot.be.undone')
#end
#decoratorParam ("formAction" "doremovespace.action?key=$htmlUtil.urlEncode($space.key)")
#decoratorParam ("formName" "removespaceform")
$action.getText("alert.remove.space", [$htmlUtil.htmlEncodeAndReplaceSpaces($space.key), $htmlUtil.htmlEncode($space.name)])
#end
#end
</body>
#end
</html>
removespace.vm ファイルを編集し、下の画像のように #applyDecorator ("confirm") コード ブロックの上に権限検証を追加します。
Template with suggested modifications
<html>
<head>
<title>$action.getText("title.remove.space")</title>
</head>
#applyDecorator("root")
#decoratorParam("helper" $action.helper)
#decoratorParam("context" "space-administration")
#decoratorParam("mode" "view-space-administration")
<body>
#applyDecorator ("root")
#decoratorParam ("context" "spaceadminpanel")
#decoratorParam ("selection" "removespace")
#decoratorParam ("title" "$action.getText('title.remove.space')")
#decoratorParam ("selectedTab" "admin")
#decoratorParam ("selectedSpaceToolsWebItem", "removespace")
#decoratorParam("helper" $action.helper)
#if( $permissionHelper.isConfluenceAdministrator($authenticatedUser) )
#applyDecorator ("confirm")
<p>$action.getText("remove.space.desc")</p>
#if( $action.showLargeQueueWarning)
#applyDecorator("message" "$action.getText('info.word')")
#decoratorParam("type" "info")
$action.getText("com.atlassian.confluence.spaces.actions.RemoveSpaceAction.warn.large.indexqueue", [$action.indexQueueSize])
#end
#end
#applyDecorator ("message" "$action.getText('warning.word')")
#decoratorParam("type" "warning")
$action.getText('removespace.operation.cannot.be.undone')
#end
#decoratorParam ("formAction" "doremovespace.action?key=$htmlUtil.urlEncode($space.key)")
#decoratorParam ("formName" "removespaceform")
$action.getText("alert.remove.space", [$htmlUtil.htmlEncodeAndReplaceSpaces($space.key), $htmlUtil.htmlEncode($space.name)])
#end
#else
#applyDecorator ("message" "$action.getText('info.word')")
#decoratorParam("type" "info")
<p>You don't have permission to delete this Space.</br>Please contact your Confluence administrator.</p>
#end
#end
#end
</body>
#end
</html>
ファイルを保存する。
Confluence を Data Center クラスターで実行している場合は、すべてのノードに同じ変更を適用してください。
Then, if a Space Administrator tries to delete a Space, they will be presented with a message that only a Confluence Administrator can see the Delete Space confirmation form (and actually delete it from the UI): "You don't have permission to delete this Space. Please contact your Confluence administrator."
このカスタマイズに関する注意事項:
この変更を適用するために Confluence を再起動する必要はありません。
これは、UI から操作を実行する場合にのみ有効であり、スペース管理者は引き続き REST API を通じてスペースを削除できます。
The removespace.vm file will be overwritten with any upgrade, and you will need to reapply this modification after a successful upgrade, making sure it is still valid.
更新日時: September 25, 2025
この内容はお役に立ちましたか?
はい この記事についてのフィードバックを送信する さらにヘルプが必要ですか? アトラシアン コミュニティをご利用ください。