The roles are a table of switches with the level and the date a grant runs out; a role above the visitor's own is locked, a grant that ran out is marked. The tab is offered to whoever manages the roles. The edit and the roles are tabs now, so the head of the account drops their buttons.
The form is two cards, the role and its permissions, saved from the head of the page as well as from its foot. A built-in role shows its name and level as facts. The permissions are switches in a grid; role-permissions.js ticks a whole group from its heading and keeps the counters of the groups and of the role in step.
The roles are a table with the level, the permissions and the holders, which lead to the list of users filtered by the role. A row has buttons to edit and to delete; a role above the visitor's own shows a lock. Deleting opens pages/confirm-dialog in the modal and the page of its own without the script; role-delete-confirm.twig is gone.
The authentication tables have no foreign keys, so UserClean::removeUser() deletes the rows of user_roles, user_identities, auth_sessions and password_reset_tokens by hand. The audit log in auth_events is kept.
FunctionalTestCase::withConfig() changes settings for one test and puts them back however it ends, and postForm() posts a form as a signed-in visitor. They replace the copies of both across the functional tests.
The search by address, the role, activity and registration filters, the sorting, a page beyond the end, the hidden e-mail and the origin in the rows, and the numbers above the list agreeing with the lists they open.
Мы используем файлы cookie и сервис веб-аналитики Яндекс.Метрика. Используя сайт, вы соглашаетесь с Политикой использования cookie-файлов и даёте согласие на обработку данных сервисом веб-аналитики Яндекс.Метрика в соответствии с Политикой обработки персональных данных. Cookies можно отключить в любой момент в настройках вашего браузера.