From a0b87b0eb1591f7ec24e76baab0d1d6d3232cf03 Mon Sep 17 00:00:00 2001 From: Ivan Bochkarev Date: Tue, 18 Aug 2026 07:23:24 +0600 Subject: [PATCH] docs(resources): document Access checkbox on Resource Groups tab The Resources page never explained that Access means group membership, not an ACL grant. Align related pages with the 3.x tab label. --- .../client-proofing/security/resource-groups.md | 4 +++- .../security-tutorials/making-member-only-pages.md | 4 ++-- en/building-sites/resources/index.md | 12 ++++++++++++ .../client-proofing/security/resource-groups.md | 4 +++- .../security-tutorials/making-member-only-pages.md | 4 ++-- ru/building-sites/resources/index.md | 12 ++++++++++++ 6 files changed, 34 insertions(+), 6 deletions(-) diff --git a/en/building-sites/client-proofing/security/resource-groups.md b/en/building-sites/client-proofing/security/resource-groups.md index e2fa95617..ff7428b02 100644 --- a/en/building-sites/client-proofing/security/resource-groups.md +++ b/en/building-sites/client-proofing/security/resource-groups.md @@ -22,7 +22,9 @@ Drag the Resources from the right tree directly into Resource Groups in the left ### Option 2 -When you are editing a Resource directly, click on its "Access Permissions" tab, and check which Resource Groups it is a member of. +Edit the Resource, open the **Resource Groups** tab, and use the **Access** checkbox on each row. Checked means this Resource belongs to that group. Unchecked means it does not. Save the Resource. + +Membership alone does not hide the page. You still need a User Group and an ACL on the Resource Group. The same checkbox is documented on [Resources](building-sites/resources). ![](resource_groups_edit.jpg) diff --git a/en/building-sites/client-proofing/security/security-tutorials/making-member-only-pages.md b/en/building-sites/client-proofing/security/security-tutorials/making-member-only-pages.md index a13131c83..2843a74e0 100644 --- a/en/building-sites/client-proofing/security/security-tutorials/making-member-only-pages.md +++ b/en/building-sites/client-proofing/security/security-tutorials/making-member-only-pages.md @@ -42,7 +42,7 @@ Great! We have a resource group and a user group created. We now need to add res ### 2. Add Resources to the Resource Group -We need to tell MODX with resource we want to protect. Let's stay on the same page from Step 1 (Security > Resource Groups). On the right, open up the web context to see all the pages on your site. Drag them from the column on the right into your resource group. Easy, right? An alternative is to go into each resource, go to the Resource Groups tab, and check the checkbox under the "Acces" column and the "Protected" row. +Tell MODX which Resources to protect. Stay on the page from Step 1 (Security > Resource Groups). On the right, open the web context to see the pages on your site. Drag them from the right column into your Resource Group. Or edit each Resource, open the Resource Groups tab, and check **Access** on the "Protected" row. ### 3. Add Users to the User Group @@ -86,7 +86,7 @@ To create a resource group, navigate to Security -> Resource Groups and click on Now that you have a resource group, you should add resources to it. There are two ways to achieve this. -First of all, you can go to Security -> Resource Groups and drag resources from the right resource tree to the left resource groups ("Protected"). The second option is editing your resource, and ticking the right box on the "Access Permissions" tab. +First, go to Security -> Resource Groups and drag Resources from the right tree into the left groups ("Protected"). Or edit the Resource and check **Access** on the Resource Groups tab. ### 3. Create a User Group diff --git a/en/building-sites/resources/index.md b/en/building-sites/resources/index.md index afbed9446..8f1700e9f 100644 --- a/en/building-sites/resources/index.md +++ b/en/building-sites/resources/index.md @@ -21,6 +21,17 @@ Resources are shown in the Resources tree in the left-hand navigation of the man The content of the Resource can then be edited in the large content field in the bottom area. Other fields related to each Resource can also be edited via the tabs on the top of the page. +### Resource Groups tab and the Access checkbox + +The **Resource Groups** tab lists every Resource Group on the site. The column labeled **Access** is membership, not an ACL grant. + +- Check **Access** and save: this Resource joins that group (`modResourceGroupResource`). +- Uncheck **Access** and save: this Resource leaves that group. + +The page is still public until you pair the group with a User Group and an ACL. See [Resource Groups](building-sites/client-proofing/security/resource-groups). + +When you create a Resource under a parent that already belongs to groups, those **Access** boxes start checked. You need the `resourcegroup_resource_edit` permission to see and change them. + ## Resource Fields Resources come packaged with a list of predetermined fields by default. They are: @@ -154,3 +165,4 @@ The available schemes are: 4. [Symlink](building-sites/resources/symlink) 1. [Using Resource Symlinks](building-sites/resources/symlink/using-resource-symlinks) 5. [Weblink](building-sites/resources/weblink) +6. [Resource Groups](building-sites/client-proofing/security/resource-groups) diff --git a/ru/building-sites/client-proofing/security/resource-groups.md b/ru/building-sites/client-proofing/security/resource-groups.md index df692f4f3..cb18f6485 100644 --- a/ru/building-sites/client-proofing/security/resource-groups.md +++ b/ru/building-sites/client-proofing/security/resource-groups.md @@ -21,7 +21,9 @@ translation: "building-sites/client-proofing/security/resource-groups" ### Вариант 2 -При редактировании ресурса откройте вкладку "Access Permissions" и отметьте, в каких группах ресурсов он состоит. +Откройте ресурс, вкладку **Resource Groups** (**Группы ресурсов**) и чекбокс **Access** (**Доступ**) в нужной строке. Отмечен: ресурс в группе. Снят: не в группе. Сохраните ресурс. + +Само членство страницу не прячет. Нужны ещё группа пользователей и ACL на группу ресурсов. Тот же чекбокс описан на странице [Ресурсы](building-sites/resources). ![](resource_groups_edit.jpg) diff --git a/ru/building-sites/client-proofing/security/security-tutorials/making-member-only-pages.md b/ru/building-sites/client-proofing/security/security-tutorials/making-member-only-pages.md index 3758bbb42..ecd118e62 100644 --- a/ru/building-sites/client-proofing/security/security-tutorials/making-member-only-pages.md +++ b/ru/building-sites/client-proofing/security/security-tutorials/making-member-only-pages.md @@ -41,7 +41,7 @@ translation: "building-sites/client-proofing/security/security-tutorials/making- ### 2. Добавьте ресурсы в Resource Group -Нужно указать MODX, какие ресурсы защищать. Оставайтесь на той же странице из шага 1 (Security > Resource Groups). Справа откройте контекст web, чтобы видеть страницы сайта. Перетащите их из правой колонки в группу ресурсов. Проще простого. Альтернатива: открыть каждый ресурс, вкладку Resource Groups и отметить чекбокс в колонке "Acces" в строке "Protected". +Укажите MODX, какие ресурсы защищать. Оставайтесь на странице из шага 1 (Security > Resource Groups). Справа откройте контекст web, чтобы видеть страницы сайта. Перетащите их из правой колонки в группу ресурсов. Либо откройте каждый ресурс, вкладку Resource Groups и отметьте **Access** в строке "Protected". ### 3. Добавьте пользователей в User Group @@ -85,7 +85,7 @@ translation: "building-sites/client-proofing/security/security-tutorials/making- Группа есть. Добавьте в неё ресурсы. Способов два. -Первый: Security -> Resource Groups и перетащите ресурсы из правого дерева в левые группы ("Protected"). Второй: отредактируйте ресурс и отметьте нужный пункт на вкладке "Access Permissions". +Первый: Security -> Resource Groups и перетащите ресурсы из правого дерева в левые группы ("Protected"). Второй: откройте ресурс и отметьте **Access** на вкладке Resource Groups. ### 3. Создайте User Group diff --git a/ru/building-sites/resources/index.md b/ru/building-sites/resources/index.md index 472527fe6..de136c2b9 100644 --- a/ru/building-sites/resources/index.md +++ b/ru/building-sites/resources/index.md @@ -19,6 +19,17 @@ translation: "building-sites/resources" Содержимое ресурса можно редактировать в большом поле (Содержимое) в нижней области. Другие поля, связанные с ресурсом, также можно редактировать с помощью вкладок в верхней части страницы. +### Вкладка Resource Groups и чекбокс Access + +Вкладка **Resource Groups** (в русской локали менеджера — **Группы ресурсов**) показывает все группы ресурсов сайта. Колонка **Access** (**Доступ**) это членство в группе, а не выдача ACL. + +- Отметьте **Access** и сохраните: ресурс входит в группу (`modResourceGroupResource`). +- Снимите **Access** и сохраните: ресурс выходит из группы. + +Страница остаётся публичной, пока вы не свяжете группу с группой пользователей и ACL. См. [Группы ресурсов](building-sites/client-proofing/security/resource-groups). + +Если создаёте ресурс под родителем, который уже в группах, эти чекбоксы **Access** сразу отмечены. Чтобы их видеть и менять, нужно право `resourcegroup_resource_edit`. + ## Поля ресурсов По умолчанию у ресурсов есть список предопределенных полей. Вот они: @@ -151,3 +162,4 @@ store/items.html?tag=Snacks&sort=Taste 4. [Символическая ссылка](building-sites/resources/symlink) 1. [Использование ресурсных ссылок](building-sites/resources/symlink/using-resource-symlinks) 5. [Ссылка на сайт](building-sites/resources/weblink) +6. [Группы ресурсов](building-sites/client-proofing/security/resource-groups)