{"id":25247,"date":"2021-03-01T07:00:00","date_gmt":"2021-03-01T14:00:00","guid":{"rendered":"https:\/\/memberpress.com\/?p=25247"},"modified":"2022-11-16T15:15:58","modified_gmt":"2022-11-16T22:15:58","slug":"roles-based-content-protection-memberpress","status":"publish","type":"post","link":"https:\/\/memberpress.com\/de\/blog\/roles-based-content-protection-memberpress\/","title":{"rendered":"Wie man mit MemberPress Inhalte auf der Grundlage von Rollen und F\u00e4higkeiten sch\u00fctzt"},"content":{"rendered":"<p>Eine Website mit Mitgliedschaft bietet Ihnen die M\u00f6glichkeit, den Zugang zu Inhalten auf der Grundlage der Mitgliedsstufe zu erm\u00f6glichen. Eine Bronze-Mitgliedschaft kann zum Beispiel Zugang zu einem ausf\u00fchrlichen Artikel bieten, w\u00e4hrend eine Gold-Mitgliedschaft auch eine Video-Serie zum Thema beinhaltet. <\/p><div id=\"ez-toc-container\" class=\"ez-toc-v2_0_82_2 ez-toc-wrap-center counter-hierarchy ez-toc-counter ez-toc-custom ez-toc-container-direction\">\n<label for=\"ez-toc-cssicon-toggle-item-69d58ab455804\" class=\"ez-toc-cssicon-toggle-label\"><p class=\"ez-toc-title\" style=\"cursor:inherit\">WAS IST INNEN<\/p>\n<span class=\"ez-toc-cssicon\"><span class=\"eztoc-hide\" style=\"display:none;\">Umschalten auf<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #000000;color:#000000\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewbox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #000000;color:#000000\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewbox=\"0 0 24 24\" version=\"1.2\" baseprofile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/label><input type=\"checkbox\"  id=\"ez-toc-cssicon-toggle-item-69d58ab455804\"  \/><nav><ul class='ez-toc-list ez-toc-list-level-1' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/memberpress.com\/de\/blog\/roles-based-content-protection-memberpress\/#An_Introduction_to_WordPress_Roles_and_Capabilities\" >Eine Einf\u00fchrung in WordPress-Rollen und -Funktionen<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/memberpress.com\/de\/blog\/roles-based-content-protection-memberpress\/#How_to_Protect_Content_Based_on_Roles_and_Capabilities_with_MemberPress_2_Methods\" >Schutz von Inhalten auf der Grundlage von Rollen und F\u00e4higkeiten mit MemberPress (2 Methoden)<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/memberpress.com\/de\/blog\/roles-based-content-protection-memberpress\/#Method_1_Protect_Content_Based_on_a_Role\" >Methode 1 Schutz von Inhalten auf der Grundlage einer Rolle<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/memberpress.com\/de\/blog\/roles-based-content-protection-memberpress\/#Method_2_Restrict_Content_Based_on_a_Capability\" >Methode 2 Inhalt auf Basis einer F\u00e4higkeit einschr\u00e4nken<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/memberpress.com\/de\/blog\/roles-based-content-protection-memberpress\/#Conclusion\" >Schlussfolgerung<\/a><\/li><\/ul><\/nav><\/div>\n\n\n\n\n<p>Was aber, wenn Sie Inhalte nach anderen Kriterien sch\u00fctzen wollen?<\/p>\n\n\n\n<p>Dies kann besonders hilfreich sein, wenn Sie Integrationen von Drittanbietern auf Ihrer Website verwenden. Dank der <a href=\"https:\/\/memberpress.com\/de\/\" target=\"_blank\" rel=\"noreferrer noopener\">MemberPress<\/a> Rollen und F\u00e4higkeitsregeln haben Sie mehr Kontrolle \u00fcber Ihre Inhalte. Mit nur wenigen Klicks k\u00f6nnen Sie den Zugriff auf jedes beliebige Element anhand der von Ihnen gew\u00e4hlten Parameter einschr\u00e4nken.<\/p>\n\n\n\n<p>In diesem Artikel zeigen wir Ihnen, wie Sie mit MemberPress Inhalte auf der Grundlage von Rollen und F\u00e4higkeiten sch\u00fctzen k\u00f6nnen. Wir erkl\u00e4ren auch, was Rollen und F\u00e4higkeiten sind, und gehen auf einige Gr\u00fcnde ein, warum Sie diese Funktion nutzen sollten. Legen wir los!<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"An_Introduction_to_WordPress_Roles_and_Capabilities\"><\/span>Eine Einf\u00fchrung in WordPress-Rollen und -Funktionen<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/memberpress.com\/wp-content\/uploads\/2021\/02\/wordpress-roles-capabilities.jpg\"><img decoding=\"async\" width=\"1024\" height=\"447\" src=\"https:\/\/memberpress.com\/wp-content\/uploads\/2021\/02\/wordpress-roles-capabilities-1024x447.jpg\" alt=\"WordPress-Rollen und -Funktionen\" class=\"wp-image-25944\" srcset=\"https:\/\/memberpress.com\/wp-content\/uploads\/2021\/02\/wordpress-roles-capabilities-1024x447.jpg 1024w, https:\/\/memberpress.com\/wp-content\/uploads\/2021\/02\/wordpress-roles-capabilities-300x131.jpg 300w, https:\/\/memberpress.com\/wp-content\/uploads\/2021\/02\/wordpress-roles-capabilities-768x335.jpg 768w, https:\/\/memberpress.com\/wp-content\/uploads\/2021\/02\/wordpress-roles-capabilities-1536x670.jpg 1536w, https:\/\/memberpress.com\/wp-content\/uploads\/2021\/02\/wordpress-roles-capabilities.jpg 1583w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><figcaption>WordPress-Rollen und -F\u00e4higkeiten, wie sie mit der kostenlosen <a href=\"https:\/\/wordpress.org\/plugins\/user-roles-and-capabilities\/\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">Plugin f\u00fcr Benutzerrollen und -f\u00e4higkeiten<\/a><\/figcaption><\/figure>\n\n\n\n<p><a href=\"https:\/\/developer.wordpress.org\/plugins\/users\/roles-and-capabilities\/\" target=\"_blank\" rel=\"noreferrer noopener\">Rollen und F\u00e4higkeiten<\/a> sind in WordPress integriert und erm\u00f6glichen es Ihnen, die Berechtigungen der Benutzer zu steuern. Wenn Sie WordPress schon l\u00e4nger verwenden, sind Sie wahrscheinlich mit den Standardrollen vertraut. Dazu geh\u00f6ren: <\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>Verwalter:<\/strong> Verf\u00fcgt \u00fcber unbegrenzte Berechtigungen, einschlie\u00dflich der Installation und Aktivierung von Plugins und Themes.<\/li><li><strong>Herausgeber:<\/strong> Sie k\u00f6nnen \u00c4nderungen an ihren eigenen Beitr\u00e4gen und denen anderer Benutzer vornehmen.<\/li><li><strong>Autor:<\/strong> Ist in der Lage, eigene Beitr\u00e4ge zu schreiben und zu ver\u00f6ffentlichen.<\/li><li><strong>Mitwirkende:<\/strong> Sie k\u00f6nnen ihre eigenen Beitr\u00e4ge schreiben (aber nicht ver\u00f6ffentlichen).<\/li><li><strong>Abonnent:<\/strong> Hat nur die Erlaubnis, Beitr\u00e4ge zu lesen.<\/li><\/ul>\n\n\n\n<p>Die Rollen sind hierarchisch aufgebaut. Ein Abonnent hat die wenigsten Rechte und den am st\u00e4rksten eingeschr\u00e4nkten Zugriff. Jede nachfolgende Stufe verf\u00fcgt \u00fcber die F\u00e4higkeiten der darunter liegenden Rolle sowie \u00fcber zus\u00e4tzliche Berechtigungen und Zugriff. Ein WordPress-Administrator verf\u00fcgt \u00fcber alle Berechtigungen und Zugriffsm\u00f6glichkeiten. <\/p>\n\n\n\n<p>Sie k\u00f6nnen diese WordPress-Rollen verwenden, um den Zugriff auf die Inhalte Ihrer MemberPress-Mitgliedswebsite zu steuern:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/wp-user-roles.png\"><img decoding=\"async\" width=\"1024\" height=\"228\" src=\"https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/wp-user-roles-1024x228.png\" alt=\"einstellung von rollen und f\u00e4higkeiten in wordpress\" class=\"wp-image-25255\" srcset=\"https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/wp-user-roles-1024x228.png 1024w, https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/wp-user-roles-300x67.png 300w, https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/wp-user-roles-768x171.png 768w, https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/wp-user-roles-1536x342.png 1536w, https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/wp-user-roles-2048x455.png 2048w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p>Eine WordPress-F\u00e4higkeit ist eine Aufgabe, die ein Benutzer ausf\u00fchren kann. F\u00e4higkeiten sind in WordPress versteckt und funktionieren auf der Grundlage der Rollen, denen sie zugeordnet sind. Sie umfassen Vorg\u00e4nge wie das Bearbeiten eines Beitrags, das Hinzuf\u00fcgen einer Seite oder das L\u00f6schen eines Benutzers.<\/p>\n\n\n\n<p>Obwohl viele Betreiber von Mitgliederseiten <a href=\"https:\/\/memberpress.com\/de\/docs\/rules-overview\/\" target=\"_blank\" rel=\"noreferrer noopener\">Schutz von Inhalten auf der Grundlage der Mitgliedschaft<\/a>Es kann vorkommen, dass Sie sie stattdessen auf der Grundlage von WordPress-Rollen oder -F\u00e4higkeiten sch\u00fctzen m\u00f6chten. Zum Beispiel:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Ein Plugin eines Drittanbieters kann automatisch zus\u00e4tzliche WordPress-Rollen erstellen, f\u00fcr die Sie spezifischen Zugriff gew\u00e4hren m\u00f6chten. <\/li><li>Alle Benutzer mit der F\u00e4higkeit, Beitr\u00e4ge zu bearbeiten, ben\u00f6tigen m\u00f6glicherweise Zugriff auf eine Seite mit vertraulichen oder gesch\u00fctzten Informationen.<\/li><\/ul>\n\n\n\n<p>Mit der MemberPress-Regelfunktion k\u00f6nnen Sie jeden Inhalt Ihrer Website ganz einfach mit den Parametern sch\u00fctzen, die f\u00fcr die jeweilige Situation am sinnvollsten sind.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"How_to_Protect_Content_Based_on_Roles_and_Capabilities_with_MemberPress_2_Methods\"><\/span>Schutz von Inhalten auf der Grundlage von Rollen und F\u00e4higkeiten mit MemberPress (2 Methoden)<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>In den meisten F\u00e4llen werden Sie den Inhalt Ihrer Website auf der Grundlage der Mitgliederbezeichnung sch\u00fctzen. Wenn Sie es jedoch f\u00fcr notwendig erachten, Inhalte auf der Grundlage von Rollen oder F\u00e4higkeiten zu sch\u00fctzen, bietet Ihnen MemberPress die n\u00f6tige Flexibilit\u00e4t. Und so geht's.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Method_1_Protect_Content_Based_on_a_Role\"><\/span>Methode 1: Schutz von Inhalten auf der Grundlage einer Rolle<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Wenn Sie dies noch nicht getan haben, erstellen Sie die zu sch\u00fctzenden Inhalte.<\/p>\n\n\n\n<p>Als n\u00e4chstes gehen Sie in Ihrem WordPress-Dashboard zu <em>MemberPress<\/em> > <em>Regeln &gt; Neu hinzuf\u00fcgen<\/em>:<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><a href=\"https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/memberpress-rules.png\"><img decoding=\"async\" width=\"1024\" height=\"569\" src=\"https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/memberpress-rules-1024x569.png\" alt=\"Screenshot des MemberPress-Verwaltungs-Dashboards\" class=\"wp-image-25248\" srcset=\"https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/memberpress-rules-1024x569.png 1024w, https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/memberpress-rules-300x167.png 300w, https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/memberpress-rules-768x427.png 768w, https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/memberpress-rules.png 1440w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure><\/div>\n\n\n\n<p>Unter <em>Gesch\u00fctzter Inhalt<\/em>w\u00e4hlen Sie den Beitrag oder die Seite aus, die Sie sch\u00fctzen m\u00f6chten. Im Fenster <em>Zugangsbedingungen<\/em> Men\u00fc, w\u00e4hlen Sie <em>Rolle<\/em>: <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/memberpress-rules-roles-select.png\"><img decoding=\"async\" width=\"1024\" height=\"389\" src=\"https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/memberpress-rules-roles-select-1024x389.png\" alt=\"Screenshot von MemberPress admin - Regeloptionen.\" class=\"wp-image-25249\" srcset=\"https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/memberpress-rules-roles-select-1024x389.png 1024w, https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/memberpress-rules-roles-select-300x114.png 300w, https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/memberpress-rules-roles-select-768x292.png 768w, https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/memberpress-rules-roles-select.png 1440w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p>Daraufhin wird rechts ein Dropdown-Men\u00fc angezeigt. W\u00e4hlen Sie daraus die spezifische Rolle aus, der Sie den Zugriff erlauben m\u00f6chten:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/memberpress-rules-roles.png\"><img decoding=\"async\" width=\"1024\" height=\"388\" src=\"https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/memberpress-rules-roles-1024x388.png\" alt=\"Screenshot der MemberPress-Verwaltung - Option Regeln ausgew\u00e4hlt: Editor.\" class=\"wp-image-25250\" srcset=\"https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/memberpress-rules-roles-1024x388.png 1024w, https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/memberpress-rules-roles-300x114.png 300w, https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/memberpress-rules-roles-768x291.png 768w, https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/memberpress-rules-roles.png 1440w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p>Wenn Sie Plugins von Drittanbietern verwenden, die automatisch WordPress-Rollen erstellen, werden Sie feststellen, dass diese hier zus\u00e4tzlich zu den Standard-WordPress-Rollen Administrator, Redakteur, Autor, Mitwirkender und Abonnent aufgef\u00fchrt sind.<\/p>\n\n\n\n<p>Zum Beispiel, <a href=\"https:\/\/wordpress.org\/plugins\/woocommerce\/\" target=\"_blank\" rel=\"noreferrer noopener\">WooCommerce<\/a> f\u00fcgt WordPress die Rollen des Kunden und des Shop-Managers hinzu. Wenn Sie Inhalte erstellen m\u00f6chten, die nur f\u00fcr diejenigen sichtbar sind, die Produkte bei Ihnen gekauft haben, k\u00f6nnen Sie daf\u00fcr eine rollenbasierte Regel verwenden.<\/p>\n\n\n\n<p>Sie k\u00f6nnen auch zus\u00e4tzliche Regeln zu einem beliebigen Inhalt hinzuf\u00fcgen, indem Sie die Option <em>Plus<\/em> (+) Symbol unter <em>Zugangsbedingungen<\/em>. Damit haben Sie die M\u00f6glichkeit, Ihre Berechtigungen v\u00f6llig individuell zu gestalten.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Method_2_Restrict_Content_Based_on_a_Capability\"><\/span>Methode 2: Inhalte auf der Grundlage einer F\u00e4higkeit einschr\u00e4nken<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Erstellen Sie den Inhalt, den Sie sch\u00fctzen m\u00f6chten, und gehen Sie dann zu <em>MemberPress<\/em> > <em>Regeln &gt;<\/em> <em>Neu hinzuf\u00fcgen<\/em> wie wir oben beschrieben haben. <\/p>\n\n\n\n<p>Unter <em>Gesch\u00fctzter Inhalt<\/em>W\u00e4hlen Sie den Inhalt aus, den Sie sch\u00fctzen m\u00f6chten. Gehe zu <em>Zugangsbedingungen<\/em> und w\u00e4hlen Sie <em>F\u00e4higkeiten<\/em>:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/memberpress-rules-capabilities-select.png\"><img decoding=\"async\" width=\"1024\" height=\"387\" src=\"https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/memberpress-rules-capabilities-select-1024x387.png\" alt=\"Screenshot der MemberPress-Verwaltung - Optionen f\u00fcr F\u00e4higkeiten.\" class=\"wp-image-25251\" srcset=\"https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/memberpress-rules-capabilities-select-1024x387.png 1024w, https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/memberpress-rules-capabilities-select-300x113.png 300w, https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/memberpress-rules-capabilities-select-768x290.png 768w, https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/memberpress-rules-capabilities-select.png 1440w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p>Geben Sie in das Feld auf der rechten Seite die Funktion f\u00fcr die F\u00e4higkeit ein, auf die Sie Zugriff gew\u00e4hren m\u00f6chten. Jeder Benutzer, der \u00fcber diese F\u00e4higkeit verf\u00fcgt, kann auf den Inhalt zugreifen:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/memberpress-rules-capabilities.png\"><img decoding=\"async\" width=\"1024\" height=\"552\" src=\"https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/memberpress-rules-capabilities-1024x552.png\" alt=\"Screenshot des MemberPress-Administrators - Option &quot;F\u00e4higkeiten&quot; eingegeben: edit_posts.\" class=\"wp-image-25252\" srcset=\"https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/memberpress-rules-capabilities-1024x552.png 1024w, https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/memberpress-rules-capabilities-300x162.png 300w, https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/memberpress-rules-capabilities-768x414.png 768w, https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/memberpress-rules-capabilities.png 1440w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p>Eine Liste der Standard-F\u00e4higkeitsfunktionen finden Sie in der <a href=\"https:\/\/wordpress.org\/support\/article\/roles-and-capabilities\/#capabilities\" target=\"_blank\" rel=\"noreferrer noopener\">WordPress-Codex<\/a>. Um eine Regel auf der Grundlage von F\u00e4higkeiten zu erstellen, m\u00fcssen Sie den Namen der F\u00e4higkeit in demselben Format eingeben, wie er im WordPress-Codex aufgef\u00fchrt ist:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/wordpress-codex-author-capabilities.png\"><img decoding=\"async\" width=\"1024\" height=\"495\" src=\"https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/wordpress-codex-author-capabilities-1024x495.png\" alt=\"wordpress codex bildschirmfoto\" class=\"wp-image-25253\" srcset=\"https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/wordpress-codex-author-capabilities-1024x495.png 1024w, https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/wordpress-codex-author-capabilities-300x145.png 300w, https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/wordpress-codex-author-capabilities-768x371.png 768w, https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/wordpress-codex-author-capabilities-1536x742.png 1536w, https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/wordpress-codex-author-capabilities.png 1580w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p>Sie k\u00f6nnen zus\u00e4tzliche Regeln zu jedem Inhalt hinzuf\u00fcgen, indem Sie die Option <em>Plus<\/em> (+) Symbol unter <em>Zugangsbedingungen<\/em>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Conclusion\"><\/span>Schlussfolgerung<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Im Allgemeinen sch\u00fctzen Sie Inhalte auf Ihrer Mitglieder-Website auf der Grundlage der Mitgliedsstufen. Es kann jedoch F\u00e4lle geben, in denen es hilfreich ist, Inhalte auf der Grundlage einer WordPress-Rolle oder -Funktion zu sch\u00fctzen. <\/p>\n\n\n\n<p><a href=\"https:\/\/memberpress.com\/de\/\" target=\"_blank\" rel=\"noreferrer noopener\">MemberPress<\/a> gibt Ihnen die Flexibilit\u00e4t und Freiheit, diese Regeln zu erstellen und Ihre Inhalte so zu steuern, wie es f\u00fcr Ihre Website am sinnvollsten ist.<\/p>\n\n\n\n<p>In diesem Artikel haben wir die Funktion der Rollen- und F\u00e4higkeitsregeln von MemberPress besprochen. Wir haben Ihnen einige Gr\u00fcnde genannt, warum Sie diese Optionen nutzen sollten, und Ihnen gezeigt, wie Sie diese Regeln in wenigen einfachen Schritten hinzuf\u00fcgen k\u00f6nnen.<\/p>\n\n\n\n<p>Haben Sie Fragen zum Schutz Ihrer Inhalte auf der Grundlage von Rollen oder F\u00e4higkeiten? Lassen Sie es uns in den Kommentaren unten wissen!<\/p>\n\n\n\n<p><strong>Wenn Ihnen dieser Artikel gefallen hat, folgen Sie uns bitte auf <a href=\"https:\/\/www.facebook.com\/memberpress\/\" rel=\"noreferrer noopener\" target=\"_blank\">Facebook<\/a>, <a href=\"https:\/\/twitter.com\/memberpress\" rel=\"noreferrer noopener\" target=\"_blank\">Twitter<\/a>, <a href=\"https:\/\/www.instagram.com\/memberpress\/\" rel=\"noreferrer noopener\" target=\"_blank\">Instagram<\/a>und <a href=\"https:\/\/www.linkedin.com\/showcase\/memberpress\/\" rel=\"noreferrer noopener\" target=\"_blank\">LinkedIn<\/a>!<\/strong><\/p>","protected":false},"excerpt":{"rendered":"<p>A membership site offers you the ability to allow access to content based on membership level. For instance, a bronze level membership may provide access to an in-depth article, while a gold membership includes a video series on the topic as well. But, what if you want to protect content based on other criteria? This [\u2026]<\/p>\n","protected":false},"author":76756,"featured_media":25454,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"om_disable_all_campaigns":false,"_strive_editorial_status":"not-started","_strive_copy_of":0,"inline_featured_image":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_genesis_hide_title":false,"_genesis_hide_breadcrumbs":false,"_genesis_hide_singular_image":false,"_genesis_hide_footer_widgets":false,"_genesis_custom_body_class":"","_genesis_custom_post_class":"","_genesis_layout":"","_FSMCFIC_featured_image_caption":"","_FSMCFIC_featured_image_nocaption":"","_FSMCFIC_featured_image_hide":"","_strive_checklists":"\"\"","_strive_active_checklist":"62291e2bb2422","_strive_post_notes":"","footnotes":""},"categories":[120,134],"tags":[812,609],"class_list":{"0":"post-25247","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-content","8":"category-how-to-2","9":"tag-content-protection","10":"tag-roles-and-capabilities","11":"entry"},"acf":{"plans":["scale"],"is_featured":false,"download_source":"none","mothership_slug":"","download_url":""},"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO Pro 4.9.5.2 - aioseo.com -->\n\t<meta name=\"description\" content=\"Knowing how to protect content based on roles and capabilities in WordPress gives you flexibility. In this article, we&#039;ll show you how to set it up!\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Zeph Bluestone\"\/>\n\t<meta name=\"keywords\" content=\"content protection,roles and capabilities\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/memberpress.com\/de\/blog\/roles-based-content-protection-memberpress\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO Pro (AIOSEO) 4.9.5.2\" \/>\n\t\t<meta property=\"og:locale\" content=\"de_DE\" \/>\n\t\t<meta property=\"og:site_name\" content=\"MemberPress\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"How to Protect Content Based on Roles and Capabilities with MemberPress\" \/>\n\t\t<meta property=\"og:description\" content=\"Knowing how to protect content based on roles and capabilities in WordPress gives you flexibility. In this article, we&#039;ll show you how to set it up!\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/memberpress.com\/de\/blog\/roles-based-content-protection-memberpress\/\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/roles-and-capabilities-1.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/roles-and-capabilities-1.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"1024\" \/>\n\t\t<meta property=\"og:image:height\" content=\"873\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2021-03-01T14:00:00+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2022-11-16T22:15:58+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/memberpress\/\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:site\" content=\"@memberpress\" \/>\n\t\t<meta name=\"twitter:title\" content=\"How to Protect Content Based on Roles and Capabilities with MemberPress\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Knowing how to protect content based on roles and capabilities in WordPress gives you flexibility. In this article, we&#039;ll show you how to set it up!\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/roles-and-capabilities-1.jpg\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BlogPosting\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/de\\\/blog\\\/roles-based-content-protection-memberpress\\\/#blogposting\",\"name\":\"How to Protect Content Based on Roles and Capabilities with MemberPress\",\"headline\":\"How to Protect Content Based on Roles and Capabilities with MemberPress\",\"author\":{\"@id\":\"https:\\\/\\\/memberpress.com\\\/de\\\/blog\\\/author\\\/staff-writer\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/memberpress.com\\\/de\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/memberpress.com\\\/wp-content\\\/uploads\\\/2021\\\/01\\\/roles-and-capabilities-1.jpg\",\"width\":1024,\"height\":873,\"caption\":\"roles and capabilities\"},\"datePublished\":\"2021-03-01T07:00:00-05:00\",\"dateModified\":\"2022-11-16T15:15:58-05:00\",\"inLanguage\":\"de-DE\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/memberpress.com\\\/de\\\/blog\\\/roles-based-content-protection-memberpress\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/memberpress.com\\\/de\\\/blog\\\/roles-based-content-protection-memberpress\\\/#webpage\"},\"articleSection\":\"Content, How To, content protection, roles and capabilities\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/de\\\/blog\\\/roles-based-content-protection-memberpress\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/de#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/memberpress.com\\\/de\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/de\\\/blog\\\/category\\\/membership-site\\\/#listItem\",\"name\":\"Membership Site\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/de\\\/blog\\\/category\\\/membership-site\\\/#listItem\",\"position\":2,\"name\":\"Membership Site\",\"item\":\"https:\\\/\\\/memberpress.com\\\/de\\\/blog\\\/category\\\/membership-site\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/de\\\/blog\\\/category\\\/membership-site\\\/content\\\/#listItem\",\"name\":\"Content\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/de#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/de\\\/blog\\\/category\\\/membership-site\\\/content\\\/#listItem\",\"position\":3,\"name\":\"Content\",\"item\":\"https:\\\/\\\/memberpress.com\\\/de\\\/blog\\\/category\\\/membership-site\\\/content\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/de\\\/blog\\\/roles-based-content-protection-memberpress\\\/#listItem\",\"name\":\"How to Protect Content Based on Roles and Capabilities with MemberPress\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/de\\\/blog\\\/category\\\/membership-site\\\/#listItem\",\"name\":\"Membership Site\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/de\\\/blog\\\/roles-based-content-protection-memberpress\\\/#listItem\",\"position\":4,\"name\":\"How to Protect Content Based on Roles and Capabilities with MemberPress\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/de\\\/blog\\\/category\\\/membership-site\\\/content\\\/#listItem\",\"name\":\"Content\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/de\\\/#organization\",\"name\":\"MemberPress\",\"description\":\"The All-In-One WordPress Membership Plugin\",\"url\":\"https:\\\/\\\/memberpress.com\\\/de\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/memberpress.com\\\/wp-content\\\/uploads\\\/2022\\\/10\\\/mp-icon-RGB_Icon-01.jpg\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/de\\\/blog\\\/roles-based-content-protection-memberpress\\\/#organizationLogo\",\"width\":1650,\"height\":1275,\"caption\":\"memberpress logo icon\"},\"image\":{\"@id\":\"https:\\\/\\\/memberpress.com\\\/de\\\/blog\\\/roles-based-content-protection-memberpress\\\/#organizationLogo\"},\"sameAs\":[\"https:\\\/\\\/www.instagram.com\\\/memberpress\\\/\",\"https:\\\/\\\/www.pinterest.com\\\/memberpressplugin\\\/\",\"https:\\\/\\\/www.youtube.com\\\/c\\\/MemberPressPlugin\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/memberpress\\\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/de\\\/blog\\\/author\\\/staff-writer\\\/#author\",\"url\":\"https:\\\/\\\/memberpress.com\\\/de\\\/blog\\\/author\\\/staff-writer\\\/\",\"name\":\"Zeph Bluestone\",\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/memberpress.com\\\/wp-content\\\/litespeed\\\/avatar\\\/e1c9e7d7b492bb1e583580325b42f8d0.jpg?ver=1775142613\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/de\\\/blog\\\/roles-based-content-protection-memberpress\\\/#webpage\",\"url\":\"https:\\\/\\\/memberpress.com\\\/de\\\/blog\\\/roles-based-content-protection-memberpress\\\/\",\"name\":\"How to Protect Content Based on Roles and Capabilities with MemberPress\",\"description\":\"Knowing how to protect content based on roles and capabilities in WordPress gives you flexibility. In this article, we'll show you how to set it up!\",\"inLanguage\":\"de-DE\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/memberpress.com\\\/de\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/memberpress.com\\\/de\\\/blog\\\/roles-based-content-protection-memberpress\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/memberpress.com\\\/de\\\/blog\\\/author\\\/staff-writer\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/memberpress.com\\\/de\\\/blog\\\/author\\\/staff-writer\\\/#author\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/memberpress.com\\\/wp-content\\\/uploads\\\/2021\\\/01\\\/roles-and-capabilities-1.jpg\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/de\\\/blog\\\/roles-based-content-protection-memberpress\\\/#mainImage\",\"width\":1024,\"height\":873,\"caption\":\"roles and capabilities\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/memberpress.com\\\/de\\\/blog\\\/roles-based-content-protection-memberpress\\\/#mainImage\"},\"datePublished\":\"2021-03-01T07:00:00-05:00\",\"dateModified\":\"2022-11-16T15:15:58-05:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/de\\\/#website\",\"url\":\"https:\\\/\\\/memberpress.com\\\/de\\\/\",\"name\":\"MemberPress\",\"description\":\"The All-In-One WordPress Membership Plugin\",\"inLanguage\":\"de-DE\",\"publisher\":{\"@id\":\"https:\\\/\\\/memberpress.com\\\/de\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO Pro -->\r\n\t\t<title>How to Protect Content Based on Roles and Capabilities with MemberPress<\/title>\n\n","aioseo_head_json":{"title":"Wie man mit MemberPress Inhalte auf der Grundlage von Rollen und F\u00e4higkeiten sch\u00fctzt","description":"Wenn Sie wissen, wie Sie Inhalte auf der Grundlage von Rollen und F\u00e4higkeiten in WordPress sch\u00fctzen k\u00f6nnen, sind Sie flexibel. In diesem Artikel zeigen wir Ihnen, wie Sie es einrichten k\u00f6nnen!","canonical_url":"https:\/\/memberpress.com\/de\/blog\/roles-based-content-protection-memberpress\/","robots":"max-image-preview:large","keywords":"content protection,roles and capabilities","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BlogPosting","@id":"https:\/\/memberpress.com\/de\/blog\/roles-based-content-protection-memberpress\/#blogposting","name":"How to Protect Content Based on Roles and Capabilities with MemberPress","headline":"How to Protect Content Based on Roles and Capabilities with MemberPress","author":{"@id":"https:\/\/memberpress.com\/de\/blog\/author\/staff-writer\/#author"},"publisher":{"@id":"https:\/\/memberpress.com\/de\/#organization"},"image":{"@type":"ImageObject","url":"https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/roles-and-capabilities-1.jpg","width":1024,"height":873,"caption":"roles and capabilities"},"datePublished":"2021-03-01T07:00:00-05:00","dateModified":"2022-11-16T15:15:58-05:00","inLanguage":"de-DE","mainEntityOfPage":{"@id":"https:\/\/memberpress.com\/de\/blog\/roles-based-content-protection-memberpress\/#webpage"},"isPartOf":{"@id":"https:\/\/memberpress.com\/de\/blog\/roles-based-content-protection-memberpress\/#webpage"},"articleSection":"Content, How To, content protection, roles and capabilities"},{"@type":"BreadcrumbList","@id":"https:\/\/memberpress.com\/de\/blog\/roles-based-content-protection-memberpress\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/memberpress.com\/de#listItem","position":1,"name":"Home","item":"https:\/\/memberpress.com\/de","nextItem":{"@type":"ListItem","@id":"https:\/\/memberpress.com\/de\/blog\/category\/membership-site\/#listItem","name":"Membership Site"}},{"@type":"ListItem","@id":"https:\/\/memberpress.com\/de\/blog\/category\/membership-site\/#listItem","position":2,"name":"Membership Site","item":"https:\/\/memberpress.com\/de\/blog\/category\/membership-site\/","nextItem":{"@type":"ListItem","@id":"https:\/\/memberpress.com\/de\/blog\/category\/membership-site\/content\/#listItem","name":"Content"},"previousItem":{"@type":"ListItem","@id":"https:\/\/memberpress.com\/de#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/memberpress.com\/de\/blog\/category\/membership-site\/content\/#listItem","position":3,"name":"Content","item":"https:\/\/memberpress.com\/de\/blog\/category\/membership-site\/content\/","nextItem":{"@type":"ListItem","@id":"https:\/\/memberpress.com\/de\/blog\/roles-based-content-protection-memberpress\/#listItem","name":"How to Protect Content Based on Roles and Capabilities with MemberPress"},"previousItem":{"@type":"ListItem","@id":"https:\/\/memberpress.com\/de\/blog\/category\/membership-site\/#listItem","name":"Membership Site"}},{"@type":"ListItem","@id":"https:\/\/memberpress.com\/de\/blog\/roles-based-content-protection-memberpress\/#listItem","position":4,"name":"How to Protect Content Based on Roles and Capabilities with MemberPress","previousItem":{"@type":"ListItem","@id":"https:\/\/memberpress.com\/de\/blog\/category\/membership-site\/content\/#listItem","name":"Content"}}]},{"@type":"Organization","@id":"https:\/\/memberpress.com\/de\/#organization","name":"MemberPress","description":"The All-In-One WordPress Membership Plugin","url":"https:\/\/memberpress.com\/de\/","logo":{"@type":"ImageObject","url":"https:\/\/memberpress.com\/wp-content\/uploads\/2022\/10\/mp-icon-RGB_Icon-01.jpg","@id":"https:\/\/memberpress.com\/de\/blog\/roles-based-content-protection-memberpress\/#organizationLogo","width":1650,"height":1275,"caption":"memberpress logo icon"},"image":{"@id":"https:\/\/memberpress.com\/de\/blog\/roles-based-content-protection-memberpress\/#organizationLogo"},"sameAs":["https:\/\/www.instagram.com\/memberpress\/","https:\/\/www.pinterest.com\/memberpressplugin\/","https:\/\/www.youtube.com\/c\/MemberPressPlugin","https:\/\/www.linkedin.com\/company\/memberpress\/"]},{"@type":"Person","@id":"https:\/\/memberpress.com\/de\/blog\/author\/staff-writer\/#author","url":"https:\/\/memberpress.com\/de\/blog\/author\/staff-writer\/","name":"Zeph Bluestone","image":{"@type":"ImageObject","url":"https:\/\/memberpress.com\/wp-content\/litespeed\/avatar\/e1c9e7d7b492bb1e583580325b42f8d0.jpg?ver=1775142613"}},{"@type":"WebPage","@id":"https:\/\/memberpress.com\/de\/blog\/roles-based-content-protection-memberpress\/#webpage","url":"https:\/\/memberpress.com\/de\/blog\/roles-based-content-protection-memberpress\/","name":"How to Protect Content Based on Roles and Capabilities with MemberPress","description":"Knowing how to protect content based on roles and capabilities in WordPress gives you flexibility. In this article, we'll show you how to set it up!","inLanguage":"de-DE","isPartOf":{"@id":"https:\/\/memberpress.com\/de\/#website"},"breadcrumb":{"@id":"https:\/\/memberpress.com\/de\/blog\/roles-based-content-protection-memberpress\/#breadcrumblist"},"author":{"@id":"https:\/\/memberpress.com\/de\/blog\/author\/staff-writer\/#author"},"creator":{"@id":"https:\/\/memberpress.com\/de\/blog\/author\/staff-writer\/#author"},"image":{"@type":"ImageObject","url":"https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/roles-and-capabilities-1.jpg","@id":"https:\/\/memberpress.com\/de\/blog\/roles-based-content-protection-memberpress\/#mainImage","width":1024,"height":873,"caption":"roles and capabilities"},"primaryImageOfPage":{"@id":"https:\/\/memberpress.com\/de\/blog\/roles-based-content-protection-memberpress\/#mainImage"},"datePublished":"2021-03-01T07:00:00-05:00","dateModified":"2022-11-16T15:15:58-05:00"},{"@type":"WebSite","@id":"https:\/\/memberpress.com\/de\/#website","url":"https:\/\/memberpress.com\/de\/","name":"MemberPress","description":"The All-In-One WordPress Membership Plugin","inLanguage":"de-DE","publisher":{"@id":"https:\/\/memberpress.com\/de\/#organization"}}]},"og:locale":"de_DE","og:site_name":"MemberPress","og:type":"article","og:title":"How to Protect Content Based on Roles and Capabilities with MemberPress","og:description":"Knowing how to protect content based on roles and capabilities in WordPress gives you flexibility. In this article, we'll show you how to set it up!","og:url":"https:\/\/memberpress.com\/de\/blog\/roles-based-content-protection-memberpress\/","og:image":"https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/roles-and-capabilities-1.jpg","og:image:secure_url":"https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/roles-and-capabilities-1.jpg","og:image:width":1024,"og:image:height":873,"article:published_time":"2021-03-01T14:00:00+00:00","article:modified_time":"2022-11-16T22:15:58+00:00","article:publisher":"https:\/\/www.facebook.com\/memberpress\/","twitter:card":"summary_large_image","twitter:site":"@memberpress","twitter:title":"How to Protect Content Based on Roles and Capabilities with MemberPress","twitter:description":"Knowing how to protect content based on roles and capabilities in WordPress gives you flexibility. In this article, we'll show you how to set it up!","twitter:image":"https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/roles-and-capabilities-1.jpg"},"aioseo_meta_data":{"post_id":"25247","title":"Wie man mit MemberPress Inhalte auf der Grundlage von Rollen und F\u00e4higkeiten sch\u00fctzt","description":"Wenn Sie wissen, wie Sie Inhalte auf der Grundlage von Rollen und F\u00e4higkeiten in WordPress sch\u00fctzen k\u00f6nnen, sind Sie flexibel. In diesem Artikel zeigen wir Ihnen, wie Sie es einrichten k\u00f6nnen!","keywords":[],"keyphrases":{"focus":[],"additional":[]},"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":null,"og_article_tags":[],"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":"none","schema_type_options":"{\"article\":{\"articleType\":\"BlogPosting\"},\"course\":{\"name\":\"\",\"description\":\"\",\"provider\":\"\"},\"faq\":{\"pages\":[]},\"product\":{\"reviews\":[]},\"recipe\":{\"ingredients\":[],\"instructions\":[],\"keywords\":[]},\"software\":{\"reviews\":[],\"operatingSystems\":[]},\"webPage\":{\"webPageType\":\"WebPage\"},\"book\":[],\"event\":[],\"jobPosting\":[],\"music\":[],\"person\":[],\"restaurant\":[],\"service\":[],\"video\":[]}","pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":"-1","robots_max_videopreview":"-1","robots_max_imagepreview":"large","priority":null,"frequency":"default","local_seo":null,"seo_analyzer_scan_date":"2025-10-09 18:46:02","breadcrumb_settings":null,"limit_modified_date":false,"reviewed_by":null,"open_ai":null,"ai":null,"created":"2021-01-07 01:52:10","updated":"2026-03-03 15:04:54"},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t<a href=\"https:\/\/memberpress.com\/de\" title=\"Home\">Home<\/a>\n<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t<a href=\"https:\/\/memberpress.com\/de\/blog\/category\/membership-site\/\" title=\"Membership Site\">Membership Site<\/a>\n<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t<a href=\"https:\/\/memberpress.com\/de\/blog\/category\/membership-site\/content\/\" title=\"Content\">Content<\/a>\n<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\tHow to Protect Content Based on Roles and Capabilities with MemberPress\n<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/memberpress.com\/de"},{"label":"Membership Site","link":"https:\/\/memberpress.com\/de\/blog\/category\/membership-site\/"},{"label":"Content","link":"https:\/\/memberpress.com\/de\/blog\/category\/membership-site\/content\/"},{"label":"How to Protect Content Based on Roles and Capabilities with MemberPress","link":"https:\/\/memberpress.com\/de\/blog\/roles-based-content-protection-memberpress\/"}],"app_bookmark":{"bookmark_id":0,"is_bookmarked":false,"bookmark_date":0},"comments_count":"0","content_native":[{"type":"core\/paragraph","render":"<p>A membership site offers you the ability to allow access to content based on membership level. For instance, a bronze level membership may provide access to an in-depth article, while a gold membership includes a video series on the topic as well. <\/p>","content":[{"type":"text","data":"A membership site offers you the ability to allow access to content based on membership level. For instance, a bronze level membership may provide access to an in-depth article, while a gold membership includes a video series on the topic as well. "}],"data":[],"style":{"textAlign":"left","color":"","dropCap":false,"parent_style":{}}},{"type":"core\/paragraph","render":"<p>But, what if you want to protect content based on other criteria?<\/p>","content":[{"type":"text","data":"But, what if you want to protect content based on other criteria?"}],"data":[],"style":{"textAlign":"left","color":"","dropCap":false,"parent_style":{}}},{"type":"core\/paragraph","render":"<p>This may be especially helpful if you\u2019re using third-party integrations with your website. Thanks to <a href=\"https:\/\/memberpress.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">MemberPress<\/a> roles and capabilities rules, you have more control over your content. You can restrict access to any piece based on your chosen parameters with just a few clicks.<\/p>","content":[{"type":"text","data":"This may be especially helpful if you\u2019re using third-party integrations with your website. Thanks to <a href=\"https:\/\/memberpress.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">MemberPress<\/a> roles and capabilities rules, you have more control over your content. You can restrict access to any piece based on your chosen parameters with just a few clicks."}],"data":[],"style":{"textAlign":"left","color":"","dropCap":false,"parent_style":{}}},{"type":"core\/paragraph","render":"<p>In this article, we\u2019ll walk you through how to protect content based on roles and capabilities with MemberPress. We\u2019ll also explain what roles and capabilities are, and cover a few reasons why you may want to use this feature. Let\u2019s get to it!<\/p>","content":[{"type":"text","data":"In this article, we\u2019ll walk you through how to protect content based on roles and capabilities with MemberPress. We\u2019ll also explain what roles and capabilities are, and cover a few reasons why you may want to use this feature. Let\u2019s get to it!"}],"data":[],"style":{"textAlign":"left","color":"","dropCap":false,"parent_style":{}}},{"type":"core\/heading","render":"<h2 class=\"wp-block-heading\">An Introduction to WordPress Roles and Capabilities<\/h2>","content":"Eine Einf\u00fchrung in WordPress-Rollen und -Funktionen","data":[],"style":{"align":"left","parent_style":{},"header":"h2","fontSize":"27px"}},{"type":"core\/image","render":"<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/memberpress.com\/wp-content\/uploads\/2021\/02\/wordpress-roles-capabilities.jpg\"><img src=\"https:\/\/memberpress.com\/wp-content\/uploads\/2021\/02\/wordpress-roles-capabilities-1024x447.jpg\" alt=\"WordPress roles and capabilities\" class=\"wp-image-25944\"\/><\/a><figcaption>WordPress roles and capabilities as viewed using the free <a href=\"https:\/\/wordpress.org\/plugins\/user-roles-and-capabilities\/\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">User Roles &amp; Capabilities plugin<\/a><\/figcaption><\/figure>","content":"https:\/\/memberpress.com\/wp-content\/uploads\/2021\/02\/wordpress-roles-capabilities-1024x447.jpg","data":{"linkSrc":"https:\/\/memberpress.com\/wp-content\/uploads\/2021\/02\/wordpress-roles-capabilities.jpg","alt":"WordPress roles and capabilities","src":"https:\/\/memberpress.com\/wp-content\/uploads\/2021\/02\/wordpress-roles-capabilities-1024x447.jpg","caption":"WordPress roles and capabilities as viewed using the free <a href=\"https:\/\/wordpress.org\/plugins\/user-roles-and-capabilities\/\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">User Roles &amp; Capabilities plugin<\/a>","targetBlank":true,"linkDestination":"media"},"style":{"width":1024,"height":447,"align":"left","parent_style":{},"sizeSlug":"large"}},{"type":"core\/paragraph","render":"<p><a href=\"https:\/\/developer.wordpress.org\/plugins\/users\/roles-and-capabilities\/\" target=\"_blank\" rel=\"noreferrer noopener\">Roles and capabilities<\/a> are built into WordPress and enable you to control users' privileges. If you\u2019ve used WordPress for any amount of time, you\u2019re probably familiar with its default roles. These include: <\/p>","content":[{"type":"text","data":"<a href=\"https:\/\/developer.wordpress.org\/plugins\/users\/roles-and-capabilities\/\" target=\"_blank\" rel=\"noreferrer noopener\">Roles and capabilities<\/a> are built into WordPress and enable you to control users' privileges. If you\u2019ve used WordPress for any amount of time, you\u2019re probably familiar with its default roles. These include: "}],"data":[],"style":{"textAlign":"left","color":"","dropCap":false,"parent_style":{}}},{"type":"core\/list","render":"<ul class=\"wp-block-list\"><li><strong>Administrator:<\/strong> Has unlimited permissions, including installing and activating plugins and themes.<\/li><li><strong>Editor:<\/strong> Can make changes to their own posts, and those of other users.<\/li><li><strong>Author:<\/strong> Is able to write and publish their own posts.<\/li><li><strong>Contributor:<\/strong> Can write (but not publish) their own posts.<\/li><li><strong>Subscriber:<\/strong> Only has permission to read posts.<\/li><\/ul>","content":"<ul class=\"wp-block-list\"><li><strong>Verwalter:<\/strong> Verf\u00fcgt \u00fcber unbegrenzte Berechtigungen, einschlie\u00dflich der Installation und Aktivierung von Plugins und Themes.<\/li><li><strong>Herausgeber:<\/strong> Sie k\u00f6nnen \u00c4nderungen an ihren eigenen Beitr\u00e4gen und denen anderer Benutzer vornehmen.<\/li><li><strong>Autor:<\/strong> Ist in der Lage, eigene Beitr\u00e4ge zu schreiben und zu ver\u00f6ffentlichen.<\/li><li><strong>Mitwirkende:<\/strong> Sie k\u00f6nnen ihre eigenen Beitr\u00e4ge schreiben (aber nicht ver\u00f6ffentlichen).<\/li><li><strong>Abonnent:<\/strong> Hat nur die Erlaubnis, Beitr\u00e4ge zu lesen.<\/li><\/ul>","data":{"listType":"unordered"},"style":{"parent_style":{}}},{"type":"core\/paragraph","render":"<p>Roles operate as a hierarchy. A Subscriber has the least amount of privileges and the most limited access. Each successive level has the capabilities of the role beneath it, plus additional privileges and access. A WordPress Administrator has full privileges and access. <\/p>","content":[{"type":"text","data":"Roles operate as a hierarchy. A Subscriber has the least amount of privileges and the most limited access. Each successive level has the capabilities of the role beneath it, plus additional privileges and access. A WordPress Administrator has full privileges and access. "}],"data":[],"style":{"textAlign":"left","color":"","dropCap":false,"parent_style":{}}},{"type":"core\/paragraph","render":"<p>You can use these WordPress roles to control access to content on your MemberPress membership site:<\/p>","content":[{"type":"text","data":"You can use these WordPress roles to control access to content on your MemberPress membership site:"}],"data":[],"style":{"textAlign":"left","color":"","dropCap":false,"parent_style":{}}},{"type":"core\/image","render":"<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/wp-user-roles.png\"><img src=\"https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/wp-user-roles-1024x228.png\" alt=\"setting roles and capabilities in wordpress\" class=\"wp-image-25255\"\/><\/a><\/figure>","content":"https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/wp-user-roles-1024x228.png","data":{"linkSrc":"https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/wp-user-roles.png","alt":"setting roles and capabilities in wordpress","src":"https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/wp-user-roles-1024x228.png","linkDestination":"media"},"style":{"width":1024,"height":228,"align":"left","parent_style":{},"sizeSlug":"large"}},{"type":"core\/paragraph","render":"<p>A WordPress capability is a task that a user can perform. Capabilities are hidden in WordPress and operate based on the roles they\u2019re attached to. They include operations such as edit a post, add a page, or delete a user.<\/p>","content":[{"type":"text","data":"A WordPress capability is a task that a user can perform. Capabilities are hidden in WordPress and operate based on the roles they\u2019re attached to. They include operations such as edit a post, add a page, or delete a user."}],"data":[],"style":{"textAlign":"left","color":"","dropCap":false,"parent_style":{}}},{"type":"core\/paragraph","render":"<p>Although many membership site owners <a href=\"https:\/\/memberpress.com\/docs\/rules-overview\/\" target=\"_blank\" rel=\"noreferrer noopener\">protect content based on membership<\/a>, there may be instances where you want to protect it based on WordPress roles or capabilities instead. For example:<\/p>","content":[{"type":"text","data":"Although many membership site owners <a href=\"https:\/\/memberpress.com\/docs\/rules-overview\/\" target=\"_blank\" rel=\"noreferrer noopener\">protect content based on membership<\/a>, there may be instances where you want to protect it based on WordPress roles or capabilities instead. For example:"}],"data":[],"style":{"textAlign":"left","color":"","dropCap":false,"parent_style":{}}},{"type":"core\/list","render":"<ul class=\"wp-block-list\"><li>A third-party plugin may automatically create additional WordPress roles for which you\u2019d like to grant specific access. <\/li><li>All users with the capability to edit posts might need access to a page with confidential or proprietary information.<\/li><\/ul>","content":"<ul class=\"wp-block-list\"><li>Ein Plugin eines Drittanbieters kann automatisch zus\u00e4tzliche WordPress-Rollen erstellen, f\u00fcr die Sie spezifischen Zugriff gew\u00e4hren m\u00f6chten. <\/li><li>Alle Benutzer mit der F\u00e4higkeit, Beitr\u00e4ge zu bearbeiten, ben\u00f6tigen m\u00f6glicherweise Zugriff auf eine Seite mit vertraulichen oder gesch\u00fctzten Informationen.<\/li><\/ul>","data":{"listType":"unordered"},"style":{"parent_style":{}}},{"type":"core\/paragraph","render":"<p>With the MemberPress Rules function, you can easily protect any content on your site using the parameters that make the most sense for the situation.<\/p>","content":[{"type":"text","data":"With the MemberPress Rules function, you can easily protect any content on your site using the parameters that make the most sense for the situation."}],"data":[],"style":{"textAlign":"left","color":"","dropCap":false,"parent_style":{}}},{"type":"core\/heading","render":"<h2 class=\"wp-block-heading\">How to Protect Content Based on Roles and Capabilities with MemberPress (2 Methods)<\/h2>","content":"Schutz von Inhalten auf der Grundlage von Rollen und F\u00e4higkeiten mit MemberPress (2 Methoden)","data":[],"style":{"align":"left","parent_style":{},"header":"h2","fontSize":"27px"}},{"type":"core\/paragraph","render":"<p>In most circumstances, you\u2019ll protect your site content based on membership designation. However, if you do find it necessary to protect content based on roles or capabilities, MemberPress gives you the flexibility to do so. Here\u2019s how.<\/p>","content":[{"type":"text","data":"In most circumstances, you\u2019ll protect your site content based on membership designation. However, if you do find it necessary to protect content based on roles or capabilities, MemberPress gives you the flexibility to do so. Here\u2019s how."}],"data":[],"style":{"textAlign":"left","color":"","dropCap":false,"parent_style":{}}},{"type":"core\/heading","render":"<h3 class=\"wp-block-heading\">Method 1: Protect Content Based on a Role<\/h3>","content":"Methode 1: Schutz von Inhalten auf der Grundlage einer Rolle","data":[],"style":{"align":"left","parent_style":{},"header":"h3","fontSize":"21px"}},{"type":"core\/paragraph","render":"<p>If you haven\u2019t already done so, create the content you want to protect.<\/p>","content":[{"type":"text","data":"If you haven\u2019t already done so, create the content you want to protect."}],"data":[],"style":{"textAlign":"left","color":"","dropCap":false,"parent_style":{}}},{"type":"core\/paragraph","render":"<p>Next, from your WordPress dashboard, go to <em>MemberPress<\/em> &gt; <em>Rules &gt; Add New<\/em>:<\/p>","content":[{"type":"text","data":"Next, from your WordPress dashboard, go to <em>MemberPress<\/em> &gt; <em>Rules &gt; Add New<\/em>:"}],"data":[],"style":{"textAlign":"left","color":"","dropCap":false,"parent_style":{}}},{"type":"core\/image","render":"<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><a href=\"https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/memberpress-rules.png\"><img src=\"https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/memberpress-rules-1024x569.png\" alt=\"Screenshot of MemberPress admin dashboard\" class=\"wp-image-25248\"\/><\/a><\/figure><\/div>","content":"https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/memberpress-rules-1024x569.png","data":{"linkSrc":"https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/memberpress-rules.png","alt":"Screenshot of MemberPress admin dashboard","src":"https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/memberpress-rules-1024x569.png","linkDestination":"media","align":"center"},"style":{"width":1024,"height":569,"align":"center","parent_style":{},"sizeSlug":"large","alignSelf":"center"}},{"type":"core\/paragraph","render":"<p>Under <em>Protected Content<\/em>, select the post or page you want to protect. In the <em>Access Conditions<\/em> menu, select <em>Role<\/em>: <\/p>","content":[{"type":"text","data":"Under <em>Protected Content<\/em>, select the post or page you want to protect. In the <em>Access Conditions<\/em> menu, select <em>Role<\/em>: "}],"data":[],"style":{"textAlign":"left","color":"","dropCap":false,"parent_style":{}}},{"type":"core\/image","render":"<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/memberpress-rules-roles-select.png\"><img src=\"https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/memberpress-rules-roles-select-1024x389.png\" alt=\"Screenshot of MemberPress admin - Rules options.\" class=\"wp-image-25249\"\/><\/a><\/figure>","content":"https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/memberpress-rules-roles-select-1024x389.png","data":{"linkSrc":"https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/memberpress-rules-roles-select.png","alt":"Screenshot of MemberPress admin - Rules options.","src":"https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/memberpress-rules-roles-select-1024x389.png","linkDestination":"media"},"style":{"width":1024,"height":389,"align":"left","parent_style":{},"sizeSlug":"large"}},{"type":"core\/paragraph","render":"<p>Once you do, a dropdown menu will appear to the right. From it, select the specific role you want to allow access to:<\/p>","content":[{"type":"text","data":"Once you do, a dropdown menu will appear to the right. From it, select the specific role you want to allow access to:"}],"data":[],"style":{"textAlign":"left","color":"","dropCap":false,"parent_style":{}}},{"type":"core\/image","render":"<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/memberpress-rules-roles.png\"><img src=\"https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/memberpress-rules-roles-1024x388.png\" alt=\"Screenshot of MemberPress admin - Rules option selected: Editor.\" class=\"wp-image-25250\"\/><\/a><\/figure>","content":"https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/memberpress-rules-roles-1024x388.png","data":{"linkSrc":"https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/memberpress-rules-roles.png","alt":"Screenshot of MemberPress admin - Rules option selected: Editor.","src":"https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/memberpress-rules-roles-1024x388.png","linkDestination":"media"},"style":{"width":1024,"height":388,"align":"left","parent_style":{},"sizeSlug":"large"}},{"type":"core\/paragraph","render":"<p>If you have third-party plugins that automatically create WordPress roles, you'll notice these are listed here in addition to the default WordPress roles of Administrator, Editor, Author, Contributor, and Subscriber.<\/p>","content":[{"type":"text","data":"If you have third-party plugins that automatically create WordPress roles, you'll notice these are listed here in addition to the default WordPress roles of Administrator, Editor, Author, Contributor, and Subscriber."}],"data":[],"style":{"textAlign":"left","color":"","dropCap":false,"parent_style":{}}},{"type":"core\/paragraph","render":"<p>For example, <a href=\"https:\/\/wordpress.org\/plugins\/woocommerce\/\" target=\"_blank\" rel=\"noreferrer noopener\">WooCommerce<\/a> adds the roles of Customer and Shop Manager to WordPress. If you wanted to create content and make it visible only to those who have purchased products from you, you could use a role-based rule to do so.<\/p>","content":[{"type":"text","data":"For example, <a href=\"https:\/\/wordpress.org\/plugins\/woocommerce\/\" target=\"_blank\" rel=\"noreferrer noopener\">WooCommerce<\/a> adds the roles of Customer and Shop Manager to WordPress. If you wanted to create content and make it visible only to those who have purchased products from you, you could use a role-based rule to do so."}],"data":[],"style":{"textAlign":"left","color":"","dropCap":false,"parent_style":{}}},{"type":"core\/paragraph","render":"<p>You can also add additional rules to any piece of content by selecting the <em>Plus<\/em> (+) icon under <em>Access Conditions<\/em>. This gives you the ability to completely customize your permissions.<\/p>","content":[{"type":"text","data":"You can also add additional rules to any piece of content by selecting the <em>Plus<\/em> (+) icon under <em>Access Conditions<\/em>. This gives you the ability to completely customize your permissions."}],"data":[],"style":{"textAlign":"left","color":"","dropCap":false,"parent_style":{}}},{"type":"core\/heading","render":"<h3 class=\"wp-block-heading\">Method 2: Restrict Content Based on a Capability<\/h3>","content":"Methode 2: Inhalte auf der Grundlage einer F\u00e4higkeit einschr\u00e4nken","data":[],"style":{"align":"left","parent_style":{},"header":"h3","fontSize":"21px"}},{"type":"core\/paragraph","render":"<p>Create the content you want to protect, then go to <em>MemberPress<\/em> &gt; <em>Rules &gt;<\/em> <em>Add New<\/em> as we described above. <\/p>","content":[{"type":"text","data":"Create the content you want to protect, then go to <em>MemberPress<\/em> &gt; <em>Rules &gt;<\/em> <em>Add New<\/em> as we described above. "}],"data":[],"style":{"textAlign":"left","color":"","dropCap":false,"parent_style":{}}},{"type":"core\/paragraph","render":"<p>Under <em>Protected Content<\/em>, select the content you want to protect. Go to <em>Access Conditions<\/em> and select <em>Capabilities<\/em>:<\/p>","content":[{"type":"text","data":"Under <em>Protected Content<\/em>, select the content you want to protect. Go to <em>Access Conditions<\/em> and select <em>Capabilities<\/em>:"}],"data":[],"style":{"textAlign":"left","color":"","dropCap":false,"parent_style":{}}},{"type":"core\/image","render":"<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/memberpress-rules-capabilities-select.png\"><img src=\"https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/memberpress-rules-capabilities-select-1024x387.png\" alt=\"Screenshot of MemberPress admin - Capabilities options.\" class=\"wp-image-25251\"\/><\/a><\/figure>","content":"https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/memberpress-rules-capabilities-select-1024x387.png","data":{"linkSrc":"https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/memberpress-rules-capabilities-select.png","alt":"Screenshot of MemberPress admin - Capabilities options.","src":"https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/memberpress-rules-capabilities-select-1024x387.png","linkDestination":"media"},"style":{"width":1024,"height":387,"align":"left","parent_style":{},"sizeSlug":"large"}},{"type":"core\/paragraph","render":"<p>In the field that appears to the right, type the function for the capability you want to grant access to. Any user with that capability will be allowed to access the content:<\/p>","content":[{"type":"text","data":"In the field that appears to the right, type the function for the capability you want to grant access to. Any user with that capability will be allowed to access the content:"}],"data":[],"style":{"textAlign":"left","color":"","dropCap":false,"parent_style":{}}},{"type":"core\/image","render":"<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/memberpress-rules-capabilities.png\"><img src=\"https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/memberpress-rules-capabilities-1024x552.png\" alt=\"Screenshot of MemberPress admin - Capabilities option entered: edit_posts.\" class=\"wp-image-25252\"\/><\/a><\/figure>","content":"https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/memberpress-rules-capabilities-1024x552.png","data":{"linkSrc":"https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/memberpress-rules-capabilities.png","alt":"Screenshot of MemberPress admin - Capabilities option entered: edit_posts.","src":"https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/memberpress-rules-capabilities-1024x552.png","linkDestination":"media"},"style":{"width":1024,"height":552,"align":"left","parent_style":{},"sizeSlug":"large"}},{"type":"core\/paragraph","render":"<p>You can find a list of default capability functions in the <a href=\"https:\/\/wordpress.org\/support\/article\/roles-and-capabilities\/#capabilities\" target=\"_blank\" rel=\"noreferrer noopener\">WordPress Codex<\/a>. To create a rule based on capabilities, you must type the capability name in the same format as it is listed in the WordPress Codex:<\/p>","content":[{"type":"text","data":"You can find a list of default capability functions in the <a href=\"https:\/\/wordpress.org\/support\/article\/roles-and-capabilities\/#capabilities\" target=\"_blank\" rel=\"noreferrer noopener\">WordPress Codex<\/a>. To create a rule based on capabilities, you must type the capability name in the same format as it is listed in the WordPress Codex:"}],"data":[],"style":{"textAlign":"left","color":"","dropCap":false,"parent_style":{}}},{"type":"core\/image","render":"<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/wordpress-codex-author-capabilities.png\"><img src=\"https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/wordpress-codex-author-capabilities-1024x495.png\" alt=\"wordpress codex screenshot\" class=\"wp-image-25253\"\/><\/a><\/figure>","content":"https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/wordpress-codex-author-capabilities-1024x495.png","data":{"linkSrc":"https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/wordpress-codex-author-capabilities.png","alt":"wordpress codex screenshot","src":"https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/wordpress-codex-author-capabilities-1024x495.png","linkDestination":"media"},"style":{"width":1024,"height":495,"align":"left","parent_style":{},"sizeSlug":"large"}},{"type":"core\/paragraph","render":"<p>You can add additional rules to any piece of content by selecting the <em>Plus<\/em> (+) icon under <em>Access Conditions<\/em>.<\/p>","content":[{"type":"text","data":"You can add additional rules to any piece of content by selecting the <em>Plus<\/em> (+) icon under <em>Access Conditions<\/em>."}],"data":[],"style":{"textAlign":"left","color":"","dropCap":false,"parent_style":{}}},{"type":"core\/heading","render":"<h2 class=\"wp-block-heading\">Conclusion<\/h2>","content":"Schlussfolgerung","data":[],"style":{"align":"left","parent_style":{},"header":"h2","fontSize":"27px"}},{"type":"core\/paragraph","render":"<p>Generally, you'll protect content on your membership website based on membership tiers. However, there may be instances where it\u2019s helpful to protect content based on a WordPress role or capability. <\/p>","content":[{"type":"text","data":"Generally, you'll protect content on your membership website based on membership tiers. However, there may be instances where it\u2019s helpful to protect content based on a WordPress role or capability. "}],"data":[],"style":{"textAlign":"left","color":"","dropCap":false,"parent_style":{}}},{"type":"core\/paragraph","render":"<p><a href=\"https:\/\/memberpress.com\" target=\"_blank\" rel=\"noreferrer noopener\">MemberPress<\/a> gives you the flexibility and freedom to create these rules and control your content in the way that makes the most sense for your site.<\/p>","content":[{"type":"text","data":"<a href=\"https:\/\/memberpress.com\" target=\"_blank\" rel=\"noreferrer noopener\">MemberPress<\/a> gives you the flexibility and freedom to create these rules and control your content in the way that makes the most sense for your site."}],"data":[],"style":{"textAlign":"left","color":"","dropCap":false,"parent_style":{}}},{"type":"core\/paragraph","render":"<p>In this article, we discussed the Roles and Capabilities rules feature of MemberPress. We shared a few reasons you may want to use these options, and showed you how to add these rules in a few simple steps.<\/p>","content":[{"type":"text","data":"In this article, we discussed the Roles and Capabilities rules feature of MemberPress. We shared a few reasons you may want to use these options, and showed you how to add these rules in a few simple steps."}],"data":[],"style":{"textAlign":"left","color":"","dropCap":false,"parent_style":{}}},{"type":"core\/paragraph","render":"<p>Do you have any questions about protecting your content based on roles or capabilities? Let us know in the comments section below!<\/p>","content":[{"type":"text","data":"Do you have any questions about protecting your content based on roles or capabilities? Let us know in the comments section below!"}],"data":[],"style":{"textAlign":"left","color":"","dropCap":false,"parent_style":{}}},{"type":"core\/paragraph","render":"<p><strong>If you liked this article, be sure to follow us on <a href=\"https:\/\/www.facebook.com\/memberpress\/\" rel=\"noreferrer noopener\" target=\"_blank\">Facebook<\/a>, <a href=\"https:\/\/twitter.com\/memberpress\" rel=\"noreferrer noopener\" target=\"_blank\">Twitter<\/a>, <a href=\"https:\/\/www.instagram.com\/memberpress\/\" rel=\"noreferrer noopener\" target=\"_blank\">Instagram<\/a>, and <a href=\"https:\/\/www.linkedin.com\/showcase\/memberpress\/\" rel=\"noreferrer noopener\" target=\"_blank\">LinkedIn<\/a>!<\/strong><\/p>","content":[{"type":"text","data":"<strong>If you liked this article, be sure to follow us on <a href=\"https:\/\/www.facebook.com\/memberpress\/\" rel=\"noreferrer noopener\" target=\"_blank\">Facebook<\/a>, <a href=\"https:\/\/twitter.com\/memberpress\" rel=\"noreferrer noopener\" target=\"_blank\">Twitter<\/a>, <a href=\"https:\/\/www.instagram.com\/memberpress\/\" rel=\"noreferrer noopener\" target=\"_blank\">Instagram<\/a>, and <a href=\"https:\/\/www.linkedin.com\/showcase\/memberpress\/\" rel=\"noreferrer noopener\" target=\"_blank\">LinkedIn<\/a>!<\/strong>"}],"data":[],"style":{"textAlign":"left","color":"","dropCap":false,"parent_style":{}}}],"app_access":{"can_access":true,"restrict_message":null},"_links":{"self":[{"href":"https:\/\/memberpress.com\/de\/wp-json\/wp\/v2\/posts\/25247","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/memberpress.com\/de\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/memberpress.com\/de\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/memberpress.com\/de\/wp-json\/wp\/v2\/users\/76756"}],"replies":[{"embeddable":true,"href":"https:\/\/memberpress.com\/de\/wp-json\/wp\/v2\/comments?post=25247"}],"version-history":[{"count":0,"href":"https:\/\/memberpress.com\/de\/wp-json\/wp\/v2\/posts\/25247\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/memberpress.com\/de\/wp-json\/wp\/v2\/media\/25454"}],"wp:attachment":[{"href":"https:\/\/memberpress.com\/de\/wp-json\/wp\/v2\/media?parent=25247"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/memberpress.com\/de\/wp-json\/wp\/v2\/categories?post=25247"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/memberpress.com\/de\/wp-json\/wp\/v2\/tags?post=25247"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}