Added the ability to manage a group of users.

This commit is contained in:
2023-07-16 19:21:09 +06:00
parent ba7e52f8ac
commit 4083e2ec5e
45 changed files with 1173 additions and 10 deletions

View File

@@ -47,5 +47,12 @@
"Profile saved successfully": "Profile saved successfully",
"The password has been changed": "The password has been changed",
"Default": "default",
"The settings have been saved": "The settings have been saved"
"The settings have been saved": "The settings have been saved",
"Access is denied": "Access is denied!",
"Delete": "Delete",
"Do you want to delete?": "Do you want to delete?",
"Create": "Create",
"The group was successfully created": "The group was successfully created",
"The group was successfully updated": "The group was successfully updated",
"The group has been deleted": "The group has been deleted"
}

9
lang/en/permissions.php Normal file
View File

@@ -0,0 +1,9 @@
<?php declare(strict_types=1);
return [
'Role' => 'User group',
'Allowed to watch' => 'Allowed to watch',
'Allowed to create' => 'Allowed to create',
'Allowed to edit' => 'Allowed to edit',
'Allowed to delete' => 'Allowed to delete',
];

6
lang/en/sections.php Normal file
View File

@@ -0,0 +1,6 @@
<?php declare(strict_types=1);
return [
'Dashboard' => 'Dashboard',
'User group' => 'User group',
];

View File

@@ -141,6 +141,7 @@ return [
'uppercase' => 'The :attribute must be uppercase.',
'url' => 'The :attribute format is invalid.',
'uuid' => 'The :attribute must be a valid UUID.',
'no_type' => 'The :attribute can only use: :type.',
'attributes' => [
'address' => 'address',
'age' => 'age',
@@ -215,5 +216,7 @@ return [
'year' => 'year',
'lang' => 'language',
'timezone' => 'timezone',
'code' => 'code',
'permissions' => 'permissions',
],
];

View File

@@ -47,5 +47,12 @@
"Profile saved successfully": "Профиль успешно сохранен",
"The password has been changed": "Пароль был изменен",
"Default": "По умолчанию",
"The settings have been saved": "Настройки были сохранены"
"The settings have been saved": "Настройки были сохранены",
"Access is denied": "Доступ запрещён!",
"Delete": "Удалить",
"Do you want to delete?": "Вы хотите удалить?",
"Create": "Создать",
"The group was successfully created": "Группа успешно создана",
"The group was successfully updated": "Группа успешно обновлена",
"The group has been deleted": "Группа была удалена"
}

9
lang/ru/permissions.php Normal file
View File

@@ -0,0 +1,9 @@
<?php declare(strict_types=1);
return [
'Role' => 'Группа пользователей',
'Allowed to watch' => 'Разрешено смотреть',
'Allowed to create' => 'Разрешено создать',
'Allowed to edit' => 'Разрешено редактировать',
'Allowed to delete' => 'Разрешено удалять',
];

7
lang/ru/sections.php Normal file
View File

@@ -0,0 +1,7 @@
<?php declare(strict_types=1);
return [
'Dashboard' => 'Dashboard',
'User group' => 'Группа пользователей',
];

View File

@@ -141,6 +141,7 @@ return [
'uppercase' => 'Значение поля :attribute должно быть в верхнем регистре.',
'url' => 'Значение поля :attribute имеет ошибочный формат URL.',
'uuid' => 'Значение поля :attribute должно быть корректным UUID.',
'no_type' => 'Значение поля :attribute может использовать только: :type.',
'attributes' => [
'address' => 'адрес',
'age' => 'возраст',
@@ -215,5 +216,7 @@ return [
'year' => 'год',
'lang' => 'язык',
'timezone' => 'часовой пояс',
'code' => 'код',
'permissions' => 'разрешения',
],
];