Users and permissions

Users belong to groups — the admin calls them roles — and groups get rights on pages.
Groups and rights
- The starter has «Администратор» (Administrator), «Гость» (Guest — every visitor who is not signed in) and «Пользователь» (User — the group of new registrations).
- The levels are «Права отсутствуют» (No rights), «Только чтение» (Read only), «Редактирование» (Edit) and «Полный доступ» (Full access); see Components. A user's level on a page is the highest of their groups.
- Rights are set for a page on the tab «Права на страницу» (Page rights) of the page form, or for a group on the role's tab «Права на разделы» (Rights on sections) — a tree of all pages of all sites. A new page takes its parent's rights when it is created; later changes of the parent do not pass down.
- Full access on a page gives the page toolbar and edit mode.
Users and roles in the admin
- «Пользователи» (Users,
/admin/users/, or on the page toolbar): a list with a filter on the e-mail and the name; the form has the e-mail — it is the login — the password, the names, phones and address, and the tab «Группы» (Groups). An empty password keeps the old one; passwords are stored as hashes. You can't delete your own account. - «Роли» (Roles,
/admin/users/roles/): «Имя группы» (Group name), «По умолчанию для гостей» (Default for guests), «По умолчанию для пользователей» (Default for users); the guests' group can't be deleted.
The installer's step 7 makes your administrator: the starter's only account has no password until then; see Installation.
Sign-in, registration, profile
/login/, and the sign-in form of the pages: the e-mail and the password; «Забыли пароль?» (Forgot password?) leads to/restore-password/.- An empty site has only
/login/. Registration (/register/), password restore (/restore-password/) and the profile (/profile/) come with the demo content; on an empty site make these pages with the templates «Регистрация» (Registration), «Восстановление пароля» (Password recovery) and «Профиль пользователя» (User profile). - Registration makes a user in the group «Пользователь» and mails a generated password; password restore mails a new one — see Known risks.
- The profile page shows the user's data, but saving it fails in 2.13 with «Вы ввели неверный пароль» (You entered a wrong password).
- A session lives
session.lifespanseconds — 30 hours — from the last request.
Sign-in through Facebook, VK, Google, OK and Instagram was removed in 2.13.