Права доступа в MODx Revolution | Participants
|
- Statistics
- Participants
- Translate into Russian
- Translation result
- Translated in draft, editing and proof-reading required.
If you do not want to register an account, you can sign in with OpenID.
Revolution Permissions | ||
Permissions can be a confusing issue in MODx Revolution. There are more entities and more complex interactions between them than in MODx Evolution. The following information is for MODx Revolution and later. | Настройка прав доступа в MODx Revolution может показаться на первый взгляд сложной. В MODx Revolution больше сущностей и сложных взаимоотношений между ними, чем в MODx Evolution. Приведенная ниже информация относится к MODx Revolution. | |
Before we get deeper into permissions, a word of warning. The material on this page is a work in progress. I've tested the basic principles, but none of the specific examples. Please let me know if something here doesn't work. | Прежде чем мы углубимся в изучение прав доступа - небольшое предупреждение. Все, что описано ниже находится в стадии разработки. Я проверил только основные принципы, но не конкретные примеры. Пожалуйста, дайте мне знать, если что-то из описанного ниже не работает на самом деле. | |
Where It's Done | ||
It helps to understand that there are really four different parts to the Revolution permissions system. | Для простоты понимания стоит отметить, что система прав доступа MODx Revolution состоит из четырех частей. | |
* Which resources users can see and what they can do with them is controlled by ACL entries. | * ACL записи отвечают за то какие ресурсы пользователи могут просматривать, а также за то, что они могут с ними делать. | Comment was deleted |
* Visibility of the Elements tab and Files tab is controlled by specific permissions (element_tree, file_tree). | * Видимость дерева элементов и файлов контролируется специальными разрешениями (element_tree, file_tree). | |
* Visibility and organization of the Top Menu is controlled in Manager | Actions. | * Видимостью и структурой главного меню админки можно управлять из System | Actions (Система | Действия) | |
* Which fields show up in specific forms (e.g. the Create/Edit Resource panel) for particular users is controlled in Security | Form Customization. | * Задать видимость полей в конкретных формах (например для страницы создания/редактирования ресурса) для определенных пользователей можно из Security | Form Customization (Безопасность | Настройка форм). | |
No More Web Users and Manager Users | ||
In MODx Revolution, there is no longer any distinction between Manager Users and Web Users — there are just Users. Controlling access in the front and back ends is done with Contexts. Users in the back end are in the "mgr" Context, users in the front end are in the "web" Context (or other Context you create). By back end, we're referring to where you are when you log in via yoursite.com/manager and work in the MODx Manager. Users in the front end, on the other hand, are visiting the site via yoursite.com and may or may not be logged in through a form in the front end of the site. | В MODx Revolution больше нет различий между менеджерами и веб пользователями, теперь они просто - пользователи. Контроль доступа между административной частью и сайтом осуществляется с помощью контекстов. Администраторам доступен контекст "mgr", а веб пользователям - "web" контекст (или любой другой, который вы создадите). Под административной частью сайта мы имеем в виду панель управления сайтом, в которую вы входите по адресу yoursite.com/manager. Веб пользователи стоят по другую сторону баррикад - это обычные посетители вашего сайта yoursite.com, они могут быть залогинены через форму входа на вашем сайте. | |
In Revolution, a User at any given time is logged in or not logged in. A User in the MODx manager is logged in and in the "mgr" Context. A User in the front end is in the "web" Context (or other Context you create) and may be logged in or not. If not logged in, the User is an anonymous user with only the Permission to "load" Documents (i.e see them). | Пользователь в MODx Revolution в любой момент времени может быть залогинен или нет. Пользователь в административной части залогинен в контекст "mgr". Пользователь на сайте может быть залогинен или нет в контексте "web" (или любом другом, который вы создадите). Если он не залогинен, то он является анонимным пользователем (анонимусом) и имеет права только для загрузки (просмотра) документов. | |
Basic Principles |

— is for MODx Revolution and later.- А что будет после кто знает? =) — gorbarov