{"id":5251,"date":"2024-07-01T17:42:56","date_gmt":"2024-07-01T15:42:56","guid":{"rendered":"https:\/\/help.r2docuo.com\/knowledge-base\/prevent-documents-from-being-deleted-based-on-status\/"},"modified":"2024-07-01T17:43:03","modified_gmt":"2024-07-01T15:43:03","slug":"prevent-documents-from-being-deleted-based-on-status","status":"publish","type":"ht_kb","link":"https:\/\/help.r2docuo.com\/en\/knowledge-base\/prevent-documents-from-being-deleted-based-on-status\/","title":{"rendered":"Prevent documents from being deleted based on status"},"content":{"rendered":"\n<p>The &#8220;Control&#8221; step of the R2 Docuo Category Wizard allows you to prevent specific actions by users, or to control that only certain users can perform them.<\/p>\n\n<p>From the &#8220;Control&#8221; step, we can create a new control as follows:<\/p>\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"993\" height=\"587\" src=\"https:\/\/help.r2docuo.com\/wp-content\/uploads\/2024\/07\/image-10.png\" alt=\"\" class=\"wp-image-5243\" srcset=\"https:\/\/help.r2docuo.com\/wp-content\/uploads\/2024\/07\/image-10.png 993w, https:\/\/help.r2docuo.com\/wp-content\/uploads\/2024\/07\/image-10-600x355.png 600w, https:\/\/help.r2docuo.com\/wp-content\/uploads\/2024\/07\/image-10-768x454.png 768w, https:\/\/help.r2docuo.com\/wp-content\/uploads\/2024\/07\/image-10-50x30.png 50w, https:\/\/help.r2docuo.com\/wp-content\/uploads\/2024\/07\/image-10-60x35.png 60w, https:\/\/help.r2docuo.com\/wp-content\/uploads\/2024\/07\/image-10-100x59.png 100w\" sizes=\"auto, (max-width: 993px) 100vw, 993px\" \/><\/figure>\n\n<p>In this example we will choose the action<em>&#8220;delete documents in the status<\/em>&#8230;&#8221; and choose the status<em>&#8220;In force<\/em>&#8220;:<\/p>\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"985\" height=\"267\" src=\"https:\/\/help.r2docuo.com\/wp-content\/uploads\/2024\/07\/image-11.png\" alt=\"\" class=\"wp-image-5245\" srcset=\"https:\/\/help.r2docuo.com\/wp-content\/uploads\/2024\/07\/image-11.png 985w, https:\/\/help.r2docuo.com\/wp-content\/uploads\/2024\/07\/image-11-600x163.png 600w, https:\/\/help.r2docuo.com\/wp-content\/uploads\/2024\/07\/image-11-768x208.png 768w, https:\/\/help.r2docuo.com\/wp-content\/uploads\/2024\/07\/image-11-50x14.png 50w, https:\/\/help.r2docuo.com\/wp-content\/uploads\/2024\/07\/image-11-60x16.png 60w, https:\/\/help.r2docuo.com\/wp-content\/uploads\/2024\/07\/image-11-100x27.png 100w\" sizes=\"auto, (max-width: 985px) 100vw, 985px\" \/><\/figure>\n\n<p>Now, using the &#8220;dummy&#8221; button, we choose to which users we want this restriction to apply:<\/p>\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"975\" height=\"258\" src=\"https:\/\/help.r2docuo.com\/wp-content\/uploads\/2024\/07\/image-13.png\" alt=\"\" class=\"wp-image-5249\" srcset=\"https:\/\/help.r2docuo.com\/wp-content\/uploads\/2024\/07\/image-13.png 975w, https:\/\/help.r2docuo.com\/wp-content\/uploads\/2024\/07\/image-13-600x159.png 600w, https:\/\/help.r2docuo.com\/wp-content\/uploads\/2024\/07\/image-13-768x203.png 768w, https:\/\/help.r2docuo.com\/wp-content\/uploads\/2024\/07\/image-13-50x13.png 50w, https:\/\/help.r2docuo.com\/wp-content\/uploads\/2024\/07\/image-13-60x16.png 60w, https:\/\/help.r2docuo.com\/wp-content\/uploads\/2024\/07\/image-13-100x26.png 100w\" sizes=\"auto, (max-width: 975px) 100vw, 975px\" \/><\/figure>\n\n<p>By choosing the &#8220;All users&#8221; group, we ensure that no user can delete documents in the &#8220;In force&#8221; status of this category.<\/p>\n\n<p class=\"wp-block-ht-blocks-messages wp-block-hb-message wp-block-hb-message--withicon is-style-info\">It is possible to perform more specific deletion restrictions based on the metadata of a document, by choosing the action<em>&#8220;delete documents that meet the condition<\/em>&#8230;&#8221;.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The &#8220;Control&#8221; step of the R2 Docuo Category Wizard allows you to prevent specific actions by users, or to control that only certain users can perform them. From the &#8220;Control&#8221; step, we can create a new control as follows: In this example we will choose the action&#8220;delete documents in the&#8230;<\/p>\n","protected":false},"author":1,"comment_status":"open","ping_status":"closed","template":"","format":"standard","meta":{"content-type":"","footnotes":""},"ht-kb-category":[64],"ht-kb-tag":[],"class_list":["post-5251","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_category-control"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Prevent documents from being deleted based on status - R2 Docuo | Help center<\/title>\n<meta name=\"robots\" content=\"noindex, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Prevent documents from being deleted based on status - R2 Docuo | Help center\" \/>\n<meta property=\"og:description\" content=\"The &#8220;Control&#8221; step of the R2 Docuo Category Wizard allows you to prevent specific actions by users, or to control that only certain users can perform them. From the &#8220;Control&#8221; step, we can create a new control as follows: In this example we will choose the action&#8220;delete documents in the...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/help.r2docuo.com\/en\/knowledge-base\/prevent-documents-from-being-deleted-based-on-status\/\" \/>\n<meta property=\"og:site_name\" content=\"R2 Docuo | Help center\" \/>\n<meta property=\"article:modified_time\" content=\"2024-07-01T15:43:03+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/help.r2docuo.com\/wp-content\/uploads\/2024\/07\/image-10.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:site\" content=\"@R2Docuo\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/help.r2docuo.com\\\/en\\\/knowledge-base\\\/prevent-documents-from-being-deleted-based-on-status\\\/\",\"url\":\"https:\\\/\\\/help.r2docuo.com\\\/en\\\/knowledge-base\\\/prevent-documents-from-being-deleted-based-on-status\\\/\",\"name\":\"Prevent documents from being deleted based on status - R2 Docuo | Help center\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/help.r2docuo.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/help.r2docuo.com\\\/en\\\/knowledge-base\\\/prevent-documents-from-being-deleted-based-on-status\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/help.r2docuo.com\\\/en\\\/knowledge-base\\\/prevent-documents-from-being-deleted-based-on-status\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/help.r2docuo.com\\\/wp-content\\\/uploads\\\/2024\\\/07\\\/image-10.png\",\"datePublished\":\"2024-07-01T15:42:56+00:00\",\"dateModified\":\"2024-07-01T15:43:03+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/help.r2docuo.com\\\/en\\\/knowledge-base\\\/prevent-documents-from-being-deleted-based-on-status\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/help.r2docuo.com\\\/en\\\/knowledge-base\\\/prevent-documents-from-being-deleted-based-on-status\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/help.r2docuo.com\\\/en\\\/knowledge-base\\\/prevent-documents-from-being-deleted-based-on-status\\\/#primaryimage\",\"url\":\"https:\\\/\\\/help.r2docuo.com\\\/wp-content\\\/uploads\\\/2024\\\/07\\\/image-10.png\",\"contentUrl\":\"https:\\\/\\\/help.r2docuo.com\\\/wp-content\\\/uploads\\\/2024\\\/07\\\/image-10.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/help.r2docuo.com\\\/en\\\/knowledge-base\\\/prevent-documents-from-being-deleted-based-on-status\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Portada\",\"item\":\"https:\\\/\\\/help.r2docuo.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Prevent documents from being deleted based on status\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/help.r2docuo.com\\\/#website\",\"url\":\"https:\\\/\\\/help.r2docuo.com\\\/\",\"name\":\"R2 Docuo | Help center\",\"description\":\"Todos los recursos para usuarios, administradores y desarrolladores de de R2 Docuo a tu alcance\",\"publisher\":{\"@id\":\"https:\\\/\\\/help.r2docuo.com\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/help.r2docuo.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/help.r2docuo.com\\\/#organization\",\"name\":\"R2 Docuo | Help center\",\"url\":\"https:\\\/\\\/help.r2docuo.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/help.r2docuo.com\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/help.r2docuo.com\\\/wp-content\\\/uploads\\\/2023\\\/06\\\/ILUDEST_CENTRODEAYUDA.png\",\"contentUrl\":\"https:\\\/\\\/help.r2docuo.com\\\/wp-content\\\/uploads\\\/2023\\\/06\\\/ILUDEST_CENTRODEAYUDA.png\",\"width\":1200,\"height\":630,\"caption\":\"R2 Docuo | Help center\"},\"image\":{\"@id\":\"https:\\\/\\\/help.r2docuo.com\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/x.com\\\/R2Docuo\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/r2docuo\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Prevent documents from being deleted based on status - R2 Docuo | Help center","robots":{"index":"noindex","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"og_locale":"en_US","og_type":"article","og_title":"Prevent documents from being deleted based on status - R2 Docuo | Help center","og_description":"The &#8220;Control&#8221; step of the R2 Docuo Category Wizard allows you to prevent specific actions by users, or to control that only certain users can perform them. From the &#8220;Control&#8221; step, we can create a new control as follows: In this example we will choose the action&#8220;delete documents in the...","og_url":"https:\/\/help.r2docuo.com\/en\/knowledge-base\/prevent-documents-from-being-deleted-based-on-status\/","og_site_name":"R2 Docuo | Help center","article_modified_time":"2024-07-01T15:43:03+00:00","og_image":[{"url":"https:\/\/help.r2docuo.com\/wp-content\/uploads\/2024\/07\/image-10.png","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_site":"@R2Docuo","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/help.r2docuo.com\/en\/knowledge-base\/prevent-documents-from-being-deleted-based-on-status\/","url":"https:\/\/help.r2docuo.com\/en\/knowledge-base\/prevent-documents-from-being-deleted-based-on-status\/","name":"Prevent documents from being deleted based on status - R2 Docuo | Help center","isPartOf":{"@id":"https:\/\/help.r2docuo.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/help.r2docuo.com\/en\/knowledge-base\/prevent-documents-from-being-deleted-based-on-status\/#primaryimage"},"image":{"@id":"https:\/\/help.r2docuo.com\/en\/knowledge-base\/prevent-documents-from-being-deleted-based-on-status\/#primaryimage"},"thumbnailUrl":"https:\/\/help.r2docuo.com\/wp-content\/uploads\/2024\/07\/image-10.png","datePublished":"2024-07-01T15:42:56+00:00","dateModified":"2024-07-01T15:43:03+00:00","breadcrumb":{"@id":"https:\/\/help.r2docuo.com\/en\/knowledge-base\/prevent-documents-from-being-deleted-based-on-status\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/help.r2docuo.com\/en\/knowledge-base\/prevent-documents-from-being-deleted-based-on-status\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/help.r2docuo.com\/en\/knowledge-base\/prevent-documents-from-being-deleted-based-on-status\/#primaryimage","url":"https:\/\/help.r2docuo.com\/wp-content\/uploads\/2024\/07\/image-10.png","contentUrl":"https:\/\/help.r2docuo.com\/wp-content\/uploads\/2024\/07\/image-10.png"},{"@type":"BreadcrumbList","@id":"https:\/\/help.r2docuo.com\/en\/knowledge-base\/prevent-documents-from-being-deleted-based-on-status\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Portada","item":"https:\/\/help.r2docuo.com\/"},{"@type":"ListItem","position":2,"name":"Prevent documents from being deleted based on status"}]},{"@type":"WebSite","@id":"https:\/\/help.r2docuo.com\/#website","url":"https:\/\/help.r2docuo.com\/","name":"R2 Docuo | Help center","description":"Todos los recursos para usuarios, administradores y desarrolladores de de R2 Docuo a tu alcance","publisher":{"@id":"https:\/\/help.r2docuo.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/help.r2docuo.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/help.r2docuo.com\/#organization","name":"R2 Docuo | Help center","url":"https:\/\/help.r2docuo.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/help.r2docuo.com\/#\/schema\/logo\/image\/","url":"https:\/\/help.r2docuo.com\/wp-content\/uploads\/2023\/06\/ILUDEST_CENTRODEAYUDA.png","contentUrl":"https:\/\/help.r2docuo.com\/wp-content\/uploads\/2023\/06\/ILUDEST_CENTRODEAYUDA.png","width":1200,"height":630,"caption":"R2 Docuo | Help center"},"image":{"@id":"https:\/\/help.r2docuo.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/x.com\/R2Docuo","https:\/\/www.linkedin.com\/company\/r2docuo"]}]}},"_links":{"self":[{"href":"https:\/\/help.r2docuo.com\/en\/wp-json\/wp\/v2\/ht-kb\/5251","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/help.r2docuo.com\/en\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/help.r2docuo.com\/en\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/help.r2docuo.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/help.r2docuo.com\/en\/wp-json\/wp\/v2\/comments?post=5251"}],"version-history":[{"count":0,"href":"https:\/\/help.r2docuo.com\/en\/wp-json\/wp\/v2\/ht-kb\/5251\/revisions"}],"wp:attachment":[{"href":"https:\/\/help.r2docuo.com\/en\/wp-json\/wp\/v2\/media?parent=5251"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/help.r2docuo.com\/en\/wp-json\/wp\/v2\/ht-kb-category?post=5251"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/help.r2docuo.com\/en\/wp-json\/wp\/v2\/ht-kb-tag?post=5251"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}