Add user creation functionality: implement API endpoint for creating new users, including request handling and response management. Update frontend to support user creation with a new form in the UsersPanel, integrating role selection and input validation. Enhance i18n for new user-related strings.
This commit is contained in:
@@ -105,6 +105,11 @@ const resources = {
|
||||
block: 'Заблокировать',
|
||||
unblock: 'Разблокировать',
|
||||
filterAll: 'Все роли',
|
||||
createTitle: 'Создать пользователя',
|
||||
password: 'Пароль',
|
||||
passwordHint: 'Минимум 8 символов, хотя бы одна цифра и заглавная буква.',
|
||||
create: 'Создать',
|
||||
created: 'Пользователь создан',
|
||||
},
|
||||
media: {
|
||||
title: 'Медиа',
|
||||
@@ -344,6 +349,11 @@ const resources = {
|
||||
block: 'Block',
|
||||
unblock: 'Unblock',
|
||||
filterAll: 'All roles',
|
||||
createTitle: 'Create user',
|
||||
password: 'Password',
|
||||
passwordHint: 'At least 8 characters, including a digit and an uppercase letter.',
|
||||
create: 'Create',
|
||||
created: 'User created',
|
||||
},
|
||||
media: {
|
||||
title: 'Media',
|
||||
|
||||
Reference in New Issue
Block a user