mirror of
https://github.com/logto-io/logto.git
synced 2025-04-07 23:01:25 -05:00
refactor(console): update rbac phrases (#2921)
This commit is contained in:
parent
4a6a394bf0
commit
5211fa1e0c
33 changed files with 96 additions and 66 deletions
|
@ -1,6 +1,7 @@
|
|||
import type { Role, ScopeResponse } from '@logto/schemas';
|
||||
import { conditional } from '@silverhand/essentials';
|
||||
import { Controller, useForm } from 'react-hook-form';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
|
||||
import Button from '@/components/Button';
|
||||
import FormField from '@/components/FormField';
|
||||
|
@ -22,6 +23,7 @@ type CreateRolePayload = Pick<Role, 'name' | 'description'> & {
|
|||
};
|
||||
|
||||
const CreateRoleForm = ({ onClose }: Props) => {
|
||||
const { t } = useTranslation(undefined, { keyPrefix: 'admin_console' });
|
||||
const {
|
||||
control,
|
||||
handleSubmit,
|
||||
|
@ -69,10 +71,14 @@ const CreateRoleForm = ({ onClose }: Props) => {
|
|||
// eslint-disable-next-line jsx-a11y/no-autofocus
|
||||
autoFocus
|
||||
{...register('name', { required: true })}
|
||||
placeholder={t('roles.role_name_placeholder')}
|
||||
/>
|
||||
</FormField>
|
||||
<FormField title="roles.role_description">
|
||||
<TextInput {...register('description')} />
|
||||
<FormField isRequired title="roles.role_description">
|
||||
<TextInput
|
||||
{...register('description', { required: true })}
|
||||
placeholder={t('roles.role_description_placeholder')}
|
||||
/>
|
||||
</FormField>
|
||||
<FormField title="roles.assign_permissions">
|
||||
<Controller
|
||||
|
|
|
@ -17,13 +17,13 @@ const api_resource_details = {
|
|||
create_subtitle: 'Define the permissions (scopes) needed by this API.', // UNTRANSLATED
|
||||
confirm_create: 'Create permission', // UNTRANSLATED
|
||||
name: 'Permission name', // UNTRANSLATED
|
||||
name_placeholder: 'Read: Resources', // UNTRANSLATED
|
||||
name_placeholder: 'Read:Resources', // UNTRANSLATED
|
||||
description: 'Description', // UNTRANSLATED
|
||||
description_placeholder: 'Able to read the resources', // UNTRANSLATED
|
||||
permission_created: 'The permission {{name}} has been successfully created', // UNTRANSLATED
|
||||
delete_description:
|
||||
'If this permission is deleted, the user who had this permission will lose the access granted by it.', // UNTRANSLATED
|
||||
deleted: 'The permission {{name}} has been successfully deleted', // UNTRANSLATED
|
||||
deleted: 'The permission "{{name}}" was successfully deleted!', // UNTRANSLATED
|
||||
},
|
||||
};
|
||||
|
||||
|
|
|
@ -3,13 +3,13 @@ const role_details = {
|
|||
identifier: 'Identifier', // UNTRANSLATED
|
||||
delete_description:
|
||||
'Doing so will remove the permissions associated with this role from the affected users and delete the mapping between roles, users, and permissions.', // UNTRANSLATED
|
||||
role_deleted: 'The role {{name}} has been successfully deleted', // UNTRANSLATED
|
||||
role_deleted: '{{name}} was successfully deleted!', // UNTRANSLATED
|
||||
settings_tab: 'Settings', // UNTRANSLATED
|
||||
users_tab: 'Users', // UNTRANSLATED
|
||||
permissions_tab: 'Permissions', // UNTRANSLATED
|
||||
settings: 'Settings', // UNTRANSLATED
|
||||
settings_description:
|
||||
'It real sent your at. Amounted all shy set why followed declared. Repeated of endeavor mr position kindness offering ignorant so up. Simplicity are melancholy preference considered saw companions.', // UNTRANSLATED
|
||||
'Roles are a grouping of permissions that can be assigned to users. They also provide a way to aggregate permissions defined for different APIs, making it more efficient to add, remove, or adjust permissions compared to assigning them individually to users.', // UNTRANSLATED
|
||||
field_name: 'Name', // UNTRANSLATED
|
||||
field_description: 'Description', // UNTRANSLATED
|
||||
permission: {
|
||||
|
@ -25,7 +25,7 @@ const role_details = {
|
|||
permission_assigned: 'The selected permissions were successfully assigned to this role!', // UNTRANSLATED
|
||||
deletion_description:
|
||||
'If this permission is deleted, the affected user with this role will lose the access granted by this permission.', // UNTRANSLATED
|
||||
permission_deleted: 'The permission {{name}} has been successfully deleted from this role.', // UNTRANSLATED
|
||||
permission_deleted: 'The permission "{{name}}" was successfully removed from this role!', // UNTRANSLATED
|
||||
},
|
||||
users: {
|
||||
assign_button: 'Assign Users', // UNTRANSLATED
|
||||
|
@ -34,7 +34,7 @@ const role_details = {
|
|||
latest_sign_in_column: 'Latest sign in', // UNTRANSLATED
|
||||
delete_description:
|
||||
'It will remain in your user pool but lose the authorization for this role.', // UNTRANSLATED
|
||||
deleted: 'The user {{name}} has been successfully deleted from this role.', // UNTRANSLATED
|
||||
deleted: '{{name}} was successfully removed from this role!', // UNTRANSLATED
|
||||
assign_title: 'Assign users', // UNTRANSLATED
|
||||
assign_subtitle: 'Assign users to the role', // UNTRANSLATED
|
||||
assign_users_field: 'Assign users', // UNTRANSLATED
|
||||
|
|
|
@ -5,6 +5,8 @@ const roles = {
|
|||
create: 'Add Roles', // UNTRANSLATED
|
||||
role_name: 'Role', // UNTRANSLATED
|
||||
role_description: 'Description', // UNTRANSLATED
|
||||
role_name_placeholder: 'Enter your role name', // UNTRANSLATED
|
||||
role_description_placeholder: 'Enter your role description', // UNTRANSLATED
|
||||
assigned_users: 'Assigned users', // UNTRANSLATED
|
||||
assign_permissions: 'Assign permissions', // UNTRANSLATED
|
||||
create_role_title: 'Create a role', // UNTRANSLATED
|
||||
|
|
|
@ -46,8 +46,9 @@ const user_details = {
|
|||
name_column: 'Role', // UNTRANSLATED
|
||||
description_column: 'Description', // UNTRANSLATED
|
||||
assign_button: 'Assign Roles', // UNTRANSLATED
|
||||
delete_description: 'TBD', // UNTRANSLATED
|
||||
deleted: 'The role {{name}} has been successfully deleted from the user.', // UNTRANSLATED
|
||||
delete_description:
|
||||
'This action will remove this role from this user. The role itself will still exist, but it will no longer be associated with this user.', // UNTRANSLATED
|
||||
deleted: '{{name}} was successfully removed from this user!', // UNTRANSLATED
|
||||
assign_title: 'Assign roles to {{name}}', // UNTRANSLATED
|
||||
assign_subtitle: 'Authorize {{name}} one or more roles', // UNTRANSLATED
|
||||
assign_role_field: 'Assign roles', // UNTRANSLATED
|
||||
|
|
|
@ -17,13 +17,13 @@ const api_resource_details = {
|
|||
create_subtitle: 'Define the permissions (scopes) needed by this API.',
|
||||
confirm_create: 'Create permission',
|
||||
name: 'Permission name',
|
||||
name_placeholder: 'Read: Resources',
|
||||
name_placeholder: 'Read:Resources',
|
||||
description: 'Description',
|
||||
description_placeholder: 'Able to read the resources',
|
||||
permission_created: 'The permission {{name}} has been successfully created',
|
||||
delete_description:
|
||||
'If this permission is deleted, the user who had this permission will lose the access granted by it.',
|
||||
deleted: 'The permission {{name}} has been successfully deleted',
|
||||
deleted: 'The permission "{{name}}" was successfully deleted!',
|
||||
},
|
||||
};
|
||||
|
||||
|
|
|
@ -3,13 +3,13 @@ const role_details = {
|
|||
identifier: 'Identifier', // UNTRANSLATED
|
||||
delete_description:
|
||||
'Doing so will remove the permissions associated with this role from the affected users and delete the mapping between roles, users, and permissions.',
|
||||
role_deleted: 'The role {{name}} has been successfully deleted', // UNTRANSLATED
|
||||
role_deleted: '{{name}} was successfully deleted!',
|
||||
settings_tab: 'Settings', // UNTRANSLATED
|
||||
users_tab: 'Users', // UNTRANSLATED
|
||||
permissions_tab: 'Permissions', // UNTRANSLATED
|
||||
settings: 'Settings', // UNTRANSLATED
|
||||
settings_description:
|
||||
'It real sent your at. Amounted all shy set why followed declared. Repeated of endeavor mr position kindness offering ignorant so up. Simplicity are melancholy preference considered saw companions.', // UNTRANSLATED
|
||||
'Roles are a grouping of permissions that can be assigned to users. They also provide a way to aggregate permissions defined for different APIs, making it more efficient to add, remove, or adjust permissions compared to assigning them individually to users.',
|
||||
field_name: 'Name', // UNTRANSLATED
|
||||
field_description: 'Description', // UNTRANSLATED
|
||||
permission: {
|
||||
|
@ -25,7 +25,7 @@ const role_details = {
|
|||
permission_assigned: 'The selected permissions were successfully assigned to this role!',
|
||||
deletion_description:
|
||||
'If this permission is deleted, the affected user with this role will lose the access granted by this permission.',
|
||||
permission_deleted: 'The permission {{name}} has been successfully deleted from this role.', // UNTRANSLATED
|
||||
permission_deleted: 'The permission "{{name}}" was successfully removed from this role!',
|
||||
},
|
||||
users: {
|
||||
assign_button: 'Assign Users',
|
||||
|
@ -34,7 +34,7 @@ const role_details = {
|
|||
latest_sign_in_column: 'Latest sign in',
|
||||
delete_description:
|
||||
'It will remain in your user pool but lose the authorization for this role.',
|
||||
deleted: 'The user {{name}} has been successfully deleted from this role.', // UNTRANSLATED
|
||||
deleted: '{{name}} was successfully removed from this role!', // UNTRANSLATED
|
||||
assign_title: 'Assign users',
|
||||
assign_subtitle: 'Assign users to the role',
|
||||
assign_users_field: 'Assign users',
|
||||
|
|
|
@ -5,6 +5,8 @@ const roles = {
|
|||
create: 'Add Roles',
|
||||
role_name: 'Role',
|
||||
role_description: 'Description',
|
||||
role_name_placeholder: 'Enter your role name',
|
||||
role_description_placeholder: 'Enter your role description',
|
||||
assigned_users: 'Assigned users',
|
||||
assign_permissions: 'Assign permissions',
|
||||
create_role_title: 'Create a role',
|
||||
|
|
|
@ -44,8 +44,9 @@ const user_details = {
|
|||
name_column: 'Role',
|
||||
description_column: 'Description',
|
||||
assign_button: 'Assign Roles',
|
||||
delete_description: 'TBD', // UNTRANSLATED
|
||||
deleted: 'The role {{name}} has been successfully deleted from the user.', // UNTRANSLATED
|
||||
delete_description:
|
||||
'This action will remove this role from this user. The role itself will still exist, but it will no longer be associated with this user.',
|
||||
deleted: '{{name}} was successfully removed from this user!',
|
||||
assign_title: 'Assign roles to {{name}}',
|
||||
assign_subtitle: 'Authorize {{name}} one or more roles',
|
||||
assign_role_field: 'Assign roles',
|
||||
|
|
|
@ -17,13 +17,13 @@ const api_resource_details = {
|
|||
create_subtitle: 'Define the permissions (scopes) needed by this API.', // UNTRANSLATED
|
||||
confirm_create: 'Create permission', // UNTRANSLATED
|
||||
name: 'Permission name', // UNTRANSLATED
|
||||
name_placeholder: 'Read: Resources', // UNTRANSLATED
|
||||
name_placeholder: 'Read:Resources', // UNTRANSLATED
|
||||
description: 'Description', // UNTRANSLATED
|
||||
description_placeholder: 'Able to read the resources', // UNTRANSLATED
|
||||
permission_created: 'The permission {{name}} has been successfully created', // UNTRANSLATED
|
||||
delete_description:
|
||||
'If this permission is deleted, the user who had this permission will lose the access granted by it.', // UNTRANSLATED
|
||||
deleted: 'The permission {{name}} has been successfully deleted', // UNTRANSLATED
|
||||
deleted: 'The permission "{{name}}" was successfully deleted!', // UNTRANSLATED
|
||||
},
|
||||
};
|
||||
|
||||
|
|
|
@ -3,13 +3,13 @@ const role_details = {
|
|||
identifier: 'Identifier', // UNTRANSLATED
|
||||
delete_description:
|
||||
'Doing so will remove the permissions associated with this role from the affected users and delete the mapping between roles, users, and permissions.', // UNTRANSLATED
|
||||
role_deleted: 'The role {{name}} has been successfully deleted', // UNTRANSLATED
|
||||
role_deleted: '{{name}} was successfully deleted!', // UNTRANSLATED
|
||||
settings_tab: 'Settings', // UNTRANSLATED
|
||||
users_tab: 'Users', // UNTRANSLATED
|
||||
permissions_tab: 'Permissions', // UNTRANSLATED
|
||||
settings: 'Settings', // UNTRANSLATED
|
||||
settings_description:
|
||||
'It real sent your at. Amounted all shy set why followed declared. Repeated of endeavor mr position kindness offering ignorant so up. Simplicity are melancholy preference considered saw companions.', // UNTRANSLATED
|
||||
'Roles are a grouping of permissions that can be assigned to users. They also provide a way to aggregate permissions defined for different APIs, making it more efficient to add, remove, or adjust permissions compared to assigning them individually to users.', // UNTRANSLATED
|
||||
field_name: 'Name', // UNTRANSLATED
|
||||
field_description: 'Description', // UNTRANSLATED
|
||||
permission: {
|
||||
|
@ -25,7 +25,7 @@ const role_details = {
|
|||
permission_assigned: 'The selected permissions were successfully assigned to this role!', // UNTRANSLATED
|
||||
deletion_description:
|
||||
'If this permission is deleted, the affected user with this role will lose the access granted by this permission.', // UNTRANSLATED
|
||||
permission_deleted: 'The permission {{name}} has been successfully deleted from this role.', // UNTRANSLATED
|
||||
permission_deleted: 'The permission "{{name}}" was successfully removed from this role!', // UNTRANSLATED
|
||||
},
|
||||
users: {
|
||||
assign_button: 'Assign Users', // UNTRANSLATED
|
||||
|
@ -34,7 +34,7 @@ const role_details = {
|
|||
latest_sign_in_column: 'Latest sign in', // UNTRANSLATED
|
||||
delete_description:
|
||||
'It will remain in your user pool but lose the authorization for this role.', // UNTRANSLATED
|
||||
deleted: 'The user {{name}} has been successfully deleted from this role.', // UNTRANSLATED
|
||||
deleted: '{{name}} was successfully removed from this role!', // UNTRANSLATED
|
||||
assign_title: 'Assign users', // UNTRANSLATED
|
||||
assign_subtitle: 'Assign users to the role', // UNTRANSLATED
|
||||
assign_users_field: 'Assign users', // UNTRANSLATED
|
||||
|
|
|
@ -5,6 +5,8 @@ const roles = {
|
|||
create: 'Add Roles', // UNTRANSLATED
|
||||
role_name: 'Role', // UNTRANSLATED
|
||||
role_description: 'Description', // UNTRANSLATED
|
||||
role_name_placeholder: 'Enter your role name', // UNTRANSLATED
|
||||
role_description_placeholder: 'Enter your role description', // UNTRANSLATED
|
||||
assigned_users: 'Assigned users', // UNTRANSLATED
|
||||
assign_permissions: 'Assign permissions', // UNTRANSLATED
|
||||
create_role_title: 'Create a role', // UNTRANSLATED
|
||||
|
|
|
@ -46,8 +46,9 @@ const user_details = {
|
|||
name_column: 'Role', // UNTRANSLATED
|
||||
description_column: 'Description', // UNTRANSLATED
|
||||
assign_button: 'Assign Roles', // UNTRANSLATED
|
||||
delete_description: 'TBD', // UNTRANSLATED
|
||||
deleted: 'The role {{name}} has been successfully deleted from the user.', // UNTRANSLATED
|
||||
delete_description:
|
||||
'This action will remove this role from this user. The role itself will still exist, but it will no longer be associated with this user.', // UNTRANSLATED
|
||||
deleted: '{{name}} was successfully removed from this user!', // UNTRANSLATED
|
||||
assign_title: 'Assign roles to {{name}}', // UNTRANSLATED
|
||||
assign_subtitle: 'Authorize {{name}} one or more roles', // UNTRANSLATED
|
||||
assign_role_field: 'Assign roles', // UNTRANSLATED
|
||||
|
|
|
@ -17,13 +17,13 @@ const api_resource_details = {
|
|||
create_subtitle: 'Define the permissions (scopes) needed by this API.', // UNTRANSLATED
|
||||
confirm_create: 'Create permission', // UNTRANSLATED
|
||||
name: 'Permission name', // UNTRANSLATED
|
||||
name_placeholder: 'Read: Resources', // UNTRANSLATED
|
||||
name_placeholder: 'Read:Resources', // UNTRANSLATED
|
||||
description: 'Description', // UNTRANSLATED
|
||||
description_placeholder: 'Able to read the resources', // UNTRANSLATED
|
||||
permission_created: 'The permission {{name}} has been successfully created', // UNTRANSLATED
|
||||
delete_description:
|
||||
'If this permission is deleted, the user who had this permission will lose the access granted by it.', // UNTRANSLATED
|
||||
deleted: 'The permission {{name}} has been successfully deleted', // UNTRANSLATED
|
||||
deleted: 'The permission "{{name}}" was successfully deleted!', // UNTRANSLATED
|
||||
},
|
||||
};
|
||||
|
||||
|
|
|
@ -3,13 +3,13 @@ const role_details = {
|
|||
identifier: 'Identifier', // UNTRANSLATED
|
||||
delete_description:
|
||||
'Doing so will remove the permissions associated with this role from the affected users and delete the mapping between roles, users, and permissions.', // UNTRANSLATED
|
||||
role_deleted: 'The role {{name}} has been successfully deleted', // UNTRANSLATED
|
||||
role_deleted: '{{name}} was successfully deleted!', // UNTRANSLATED
|
||||
settings_tab: 'Settings', // UNTRANSLATED
|
||||
users_tab: 'Users', // UNTRANSLATED
|
||||
permissions_tab: 'Permissions', // UNTRANSLATED
|
||||
settings: 'Settings', // UNTRANSLATED
|
||||
settings_description:
|
||||
'It real sent your at. Amounted all shy set why followed declared. Repeated of endeavor mr position kindness offering ignorant so up. Simplicity are melancholy preference considered saw companions.', // UNTRANSLATED
|
||||
'Roles are a grouping of permissions that can be assigned to users. They also provide a way to aggregate permissions defined for different APIs, making it more efficient to add, remove, or adjust permissions compared to assigning them individually to users.', // UNTRANSLATED
|
||||
field_name: 'Name', // UNTRANSLATED
|
||||
field_description: 'Description', // UNTRANSLATED
|
||||
permission: {
|
||||
|
@ -25,7 +25,7 @@ const role_details = {
|
|||
permission_assigned: 'The selected permissions were successfully assigned to this role!', // UNTRANSLATED
|
||||
deletion_description:
|
||||
'If this permission is deleted, the affected user with this role will lose the access granted by this permission.', // UNTRANSLATED
|
||||
permission_deleted: 'The permission {{name}} has been successfully deleted from this role.', // UNTRANSLATED
|
||||
permission_deleted: 'The permission "{{name}}" was successfully removed from this role!', // UNTRANSLATED
|
||||
},
|
||||
users: {
|
||||
assign_button: 'Assign Users', // UNTRANSLATED
|
||||
|
@ -34,7 +34,7 @@ const role_details = {
|
|||
latest_sign_in_column: 'Latest sign in', // UNTRANSLATED
|
||||
delete_description:
|
||||
'It will remain in your user pool but lose the authorization for this role.', // UNTRANSLATED
|
||||
deleted: 'The user {{name}} has been successfully deleted from this role.', // UNTRANSLATED
|
||||
deleted: '{{name}} was successfully removed from this role!', // UNTRANSLATED
|
||||
assign_title: 'Assign users', // UNTRANSLATED
|
||||
assign_subtitle: 'Assign users to the role', // UNTRANSLATED
|
||||
assign_users_field: 'Assign users', // UNTRANSLATED
|
||||
|
|
|
@ -5,6 +5,8 @@ const roles = {
|
|||
create: 'Add Roles', // UNTRANSLATED
|
||||
role_name: 'Role', // UNTRANSLATED
|
||||
role_description: 'Description', // UNTRANSLATED
|
||||
role_name_placeholder: 'Enter your role name', // UNTRANSLATED
|
||||
role_description_placeholder: 'Enter your role description', // UNTRANSLATED
|
||||
assigned_users: 'Assigned users', // UNTRANSLATED
|
||||
assign_permissions: 'Assign permissions', // UNTRANSLATED
|
||||
create_role_title: 'Create a role', // UNTRANSLATED
|
||||
|
|
|
@ -43,8 +43,9 @@ const user_details = {
|
|||
name_column: 'Role', // UNTRANSLATED
|
||||
description_column: 'Description', // UNTRANSLATED
|
||||
assign_button: 'Assign Roles', // UNTRANSLATED
|
||||
delete_description: 'TBD', // UNTRANSLATED
|
||||
deleted: 'The role {{name}} has been successfully deleted from the user.', // UNTRANSLATED
|
||||
delete_description:
|
||||
'This action will remove this role from this user. The role itself will still exist, but it will no longer be associated with this user.', // UNTRANSLATED
|
||||
deleted: '{{name}} was successfully removed from this user!', // UNTRANSLATED
|
||||
assign_title: 'Assign roles to {{name}}', // UNTRANSLATED
|
||||
assign_subtitle: 'Authorize {{name}} one or more roles', // UNTRANSLATED
|
||||
assign_role_field: 'Assign roles', // UNTRANSLATED
|
||||
|
|
|
@ -17,13 +17,13 @@ const api_resource_details = {
|
|||
create_subtitle: 'Define the permissions (scopes) needed by this API.', // UNTRANSLATED
|
||||
confirm_create: 'Create permission', // UNTRANSLATED
|
||||
name: 'Permission name', // UNTRANSLATED
|
||||
name_placeholder: 'Read: Resources', // UNTRANSLATED
|
||||
name_placeholder: 'Read:Resources', // UNTRANSLATED
|
||||
description: 'Description', // UNTRANSLATED
|
||||
description_placeholder: 'Able to read the resources', // UNTRANSLATED
|
||||
permission_created: 'The permission {{name}} has been successfully created', // UNTRANSLATED
|
||||
delete_description:
|
||||
'If this permission is deleted, the user who had this permission will lose the access granted by it.', // UNTRANSLATED
|
||||
deleted: 'The permission {{name}} has been successfully deleted', // UNTRANSLATED
|
||||
deleted: 'The permission "{{name}}" was successfully deleted!', // UNTRANSLATED
|
||||
},
|
||||
};
|
||||
|
||||
|
|
|
@ -3,13 +3,13 @@ const role_details = {
|
|||
identifier: 'Identifier', // UNTRANSLATED
|
||||
delete_description:
|
||||
'Doing so will remove the permissions associated with this role from the affected users and delete the mapping between roles, users, and permissions.', // UNTRANSLATED
|
||||
role_deleted: 'The role {{name}} has been successfully deleted', // UNTRANSLATED
|
||||
role_deleted: '{{name}} was successfully deleted!', // UNTRANSLATED
|
||||
settings_tab: 'Settings', // UNTRANSLATED
|
||||
users_tab: 'Users', // UNTRANSLATED
|
||||
permissions_tab: 'Permissions', // UNTRANSLATED
|
||||
settings: 'Settings', // UNTRANSLATED
|
||||
settings_description:
|
||||
'It real sent your at. Amounted all shy set why followed declared. Repeated of endeavor mr position kindness offering ignorant so up. Simplicity are melancholy preference considered saw companions.', // UNTRANSLATED
|
||||
'Roles are a grouping of permissions that can be assigned to users. They also provide a way to aggregate permissions defined for different APIs, making it more efficient to add, remove, or adjust permissions compared to assigning them individually to users.', // UNTRANSLATED
|
||||
field_name: 'Name', // UNTRANSLATED
|
||||
field_description: 'Description', // UNTRANSLATED
|
||||
permission: {
|
||||
|
@ -25,7 +25,7 @@ const role_details = {
|
|||
permission_assigned: 'The selected permissions were successfully assigned to this role!', // UNTRANSLATED
|
||||
deletion_description:
|
||||
'If this permission is deleted, the affected user with this role will lose the access granted by this permission.', // UNTRANSLATED
|
||||
permission_deleted: 'The permission {{name}} has been successfully deleted from this role.', // UNTRANSLATED
|
||||
permission_deleted: 'The permission "{{name}}" was successfully removed from this role!', // UNTRANSLATED
|
||||
},
|
||||
users: {
|
||||
assign_button: 'Assign Users', // UNTRANSLATED
|
||||
|
@ -34,7 +34,7 @@ const role_details = {
|
|||
latest_sign_in_column: 'Latest sign in', // UNTRANSLATED
|
||||
delete_description:
|
||||
'It will remain in your user pool but lose the authorization for this role.', // UNTRANSLATED
|
||||
deleted: 'The user {{name}} has been successfully deleted from this role.', // UNTRANSLATED
|
||||
deleted: '{{name}} was successfully removed from this role!', // UNTRANSLATED
|
||||
assign_title: 'Assign users', // UNTRANSLATED
|
||||
assign_subtitle: 'Assign users to the role', // UNTRANSLATED
|
||||
assign_users_field: 'Assign users', // UNTRANSLATED
|
||||
|
|
|
@ -5,6 +5,8 @@ const roles = {
|
|||
create: 'Add Roles', // UNTRANSLATED
|
||||
role_name: 'Role', // UNTRANSLATED
|
||||
role_description: 'Description', // UNTRANSLATED
|
||||
role_name_placeholder: 'Enter your role name', // UNTRANSLATED
|
||||
role_description_placeholder: 'Enter your role description', // UNTRANSLATED
|
||||
assigned_users: 'Assigned users', // UNTRANSLATED
|
||||
assign_permissions: 'Assign permissions', // UNTRANSLATED
|
||||
create_role_title: 'Create a role', // UNTRANSLATED
|
||||
|
|
|
@ -44,8 +44,9 @@ const user_details = {
|
|||
name_column: 'Role', // UNTRANSLATED
|
||||
description_column: 'Description', // UNTRANSLATED
|
||||
assign_button: 'Assign Roles', // UNTRANSLATED
|
||||
delete_description: 'TBD', // UNTRANSLATED
|
||||
deleted: 'The role {{name}} has been successfully deleted from the user.', // UNTRANSLATED
|
||||
delete_description:
|
||||
'This action will remove this role from this user. The role itself will still exist, but it will no longer be associated with this user.', // UNTRANSLATED
|
||||
deleted: '{{name}} was successfully removed from this user!', // UNTRANSLATED
|
||||
assign_title: 'Assign roles to {{name}}', // UNTRANSLATED
|
||||
assign_subtitle: 'Authorize {{name}} one or more roles', // UNTRANSLATED
|
||||
assign_role_field: 'Assign roles', // UNTRANSLATED
|
||||
|
|
|
@ -17,13 +17,13 @@ const api_resource_details = {
|
|||
create_subtitle: 'Define the permissions (scopes) needed by this API.', // UNTRANSLATED
|
||||
confirm_create: 'Create permission', // UNTRANSLATED
|
||||
name: 'Permission name', // UNTRANSLATED
|
||||
name_placeholder: 'Read: Resources', // UNTRANSLATED
|
||||
name_placeholder: 'Read:Resources', // UNTRANSLATED
|
||||
description: 'Description', // UNTRANSLATED
|
||||
description_placeholder: 'Able to read the resources', // UNTRANSLATED
|
||||
permission_created: 'The permission {{name}} has been successfully created', // UNTRANSLATED
|
||||
delete_description:
|
||||
'If this permission is deleted, the user who had this permission will lose the access granted by it.', // UNTRANSLATED
|
||||
deleted: 'The permission {{name}} has been successfully deleted', // UNTRANSLATED
|
||||
deleted: 'The permission "{{name}}" was successfully deleted!', // UNTRANSLATED
|
||||
},
|
||||
};
|
||||
|
||||
|
|
|
@ -3,13 +3,13 @@ const role_details = {
|
|||
identifier: 'Identifier', // UNTRANSLATED
|
||||
delete_description:
|
||||
'Doing so will remove the permissions associated with this role from the affected users and delete the mapping between roles, users, and permissions.', // UNTRANSLATED
|
||||
role_deleted: 'The role {{name}} has been successfully deleted', // UNTRANSLATED
|
||||
role_deleted: '{{name}} was successfully deleted!', // UNTRANSLATED
|
||||
settings_tab: 'Settings', // UNTRANSLATED
|
||||
users_tab: 'Users', // UNTRANSLATED
|
||||
permissions_tab: 'Permissions', // UNTRANSLATED
|
||||
settings: 'Settings', // UNTRANSLATED
|
||||
settings_description:
|
||||
'It real sent your at. Amounted all shy set why followed declared. Repeated of endeavor mr position kindness offering ignorant so up. Simplicity are melancholy preference considered saw companions.', // UNTRANSLATED
|
||||
'Roles are a grouping of permissions that can be assigned to users. They also provide a way to aggregate permissions defined for different APIs, making it more efficient to add, remove, or adjust permissions compared to assigning them individually to users.', // UNTRANSLATED
|
||||
field_name: 'Name', // UNTRANSLATED
|
||||
field_description: 'Description', // UNTRANSLATED
|
||||
permission: {
|
||||
|
@ -25,7 +25,7 @@ const role_details = {
|
|||
permission_assigned: 'The selected permissions were successfully assigned to this role!', // UNTRANSLATED
|
||||
deletion_description:
|
||||
'If this permission is deleted, the affected user with this role will lose the access granted by this permission.', // UNTRANSLATED
|
||||
permission_deleted: 'The permission {{name}} has been successfully deleted from this role.', // UNTRANSLATED
|
||||
permission_deleted: 'The permission "{{name}}" was successfully removed from this role!', // UNTRANSLATED
|
||||
},
|
||||
users: {
|
||||
assign_button: 'Assign Users', // UNTRANSLATED
|
||||
|
@ -34,7 +34,7 @@ const role_details = {
|
|||
latest_sign_in_column: 'Latest sign in', // UNTRANSLATED
|
||||
delete_description:
|
||||
'It will remain in your user pool but lose the authorization for this role.', // UNTRANSLATED
|
||||
deleted: 'The user {{name}} has been successfully deleted from this role.', // UNTRANSLATED
|
||||
deleted: '{{name}} was successfully removed from this role!', // UNTRANSLATED
|
||||
assign_title: 'Assign users', // UNTRANSLATED
|
||||
assign_subtitle: 'Assign users to the role', // UNTRANSLATED
|
||||
assign_users_field: 'Assign users', // UNTRANSLATED
|
||||
|
|
|
@ -5,6 +5,8 @@ const roles = {
|
|||
create: 'Add Roles', // UNTRANSLATED
|
||||
role_name: 'Role', // UNTRANSLATED
|
||||
role_description: 'Description', // UNTRANSLATED
|
||||
role_name_placeholder: 'Enter your role name', // UNTRANSLATED
|
||||
role_description_placeholder: 'Enter your role description', // UNTRANSLATED
|
||||
assigned_users: 'Assigned users', // UNTRANSLATED
|
||||
assign_permissions: 'Assign permissions', // UNTRANSLATED
|
||||
create_role_title: 'Create a role', // UNTRANSLATED
|
||||
|
|
|
@ -46,8 +46,9 @@ const user_details = {
|
|||
name_column: 'Role', // UNTRANSLATED
|
||||
description_column: 'Description', // UNTRANSLATED
|
||||
assign_button: 'Assign Roles', // UNTRANSLATED
|
||||
delete_description: 'TBD', // UNTRANSLATED
|
||||
deleted: 'The role {{name}} has been successfully deleted from the user.', // UNTRANSLATED
|
||||
delete_description:
|
||||
'This action will remove this role from this user. The role itself will still exist, but it will no longer be associated with this user.', // UNTRANSLATED
|
||||
deleted: '{{name}} was successfully removed from this user!', // UNTRANSLATED
|
||||
assign_title: 'Assign roles to {{name}}', // UNTRANSLATED
|
||||
assign_subtitle: 'Authorize {{name}} one or more roles', // UNTRANSLATED
|
||||
assign_role_field: 'Assign roles', // UNTRANSLATED
|
||||
|
|
|
@ -17,13 +17,13 @@ const api_resource_details = {
|
|||
create_subtitle: 'Define the permissions (scopes) needed by this API.', // UNTRANSLATED
|
||||
confirm_create: 'Create permission', // UNTRANSLATED
|
||||
name: 'Permission name', // UNTRANSLATED
|
||||
name_placeholder: 'Read: Resources', // UNTRANSLATED
|
||||
name_placeholder: 'Read:Resources', // UNTRANSLATED
|
||||
description: 'Description', // UNTRANSLATED
|
||||
description_placeholder: 'Able to read the resources', // UNTRANSLATED
|
||||
permission_created: 'The permission {{name}} has been successfully created', // UNTRANSLATED
|
||||
delete_description:
|
||||
'If this permission is deleted, the user who had this permission will lose the access granted by it.', // UNTRANSLATED
|
||||
deleted: 'The permission {{name}} has been successfully deleted', // UNTRANSLATED
|
||||
deleted: 'The permission "{{name}}" was successfully deleted!', // UNTRANSLATED
|
||||
},
|
||||
};
|
||||
|
||||
|
|
|
@ -3,13 +3,13 @@ const role_details = {
|
|||
identifier: 'Identifier', // UNTRANSLATED
|
||||
delete_description:
|
||||
'Doing so will remove the permissions associated with this role from the affected users and delete the mapping between roles, users, and permissions.', // UNTRANSLATED
|
||||
role_deleted: 'The role {{name}} has been successfully deleted', // UNTRANSLATED
|
||||
role_deleted: '{{name}} was successfully deleted!', // UNTRANSLATED
|
||||
settings_tab: 'Settings', // UNTRANSLATED
|
||||
users_tab: 'Users', // UNTRANSLATED
|
||||
permissions_tab: 'Permissions', // UNTRANSLATED
|
||||
settings: 'Settings', // UNTRANSLATED
|
||||
settings_description:
|
||||
'It real sent your at. Amounted all shy set why followed declared. Repeated of endeavor mr position kindness offering ignorant so up. Simplicity are melancholy preference considered saw companions.', // UNTRANSLATED
|
||||
'Roles are a grouping of permissions that can be assigned to users. They also provide a way to aggregate permissions defined for different APIs, making it more efficient to add, remove, or adjust permissions compared to assigning them individually to users.', // UNTRANSLATED
|
||||
field_name: 'Name', // UNTRANSLATED
|
||||
field_description: 'Description', // UNTRANSLATED
|
||||
permission: {
|
||||
|
@ -25,7 +25,7 @@ const role_details = {
|
|||
permission_assigned: 'The selected permissions were successfully assigned to this role!', // UNTRANSLATED
|
||||
deletion_description:
|
||||
'If this permission is deleted, the affected user with this role will lose the access granted by this permission.', // UNTRANSLATED
|
||||
permission_deleted: 'The permission {{name}} has been successfully deleted from this role.', // UNTRANSLATED
|
||||
permission_deleted: 'The permission "{{name}}" was successfully removed from this role!', // UNTRANSLATED
|
||||
},
|
||||
users: {
|
||||
assign_button: 'Assign Users', // UNTRANSLATED
|
||||
|
@ -34,7 +34,7 @@ const role_details = {
|
|||
latest_sign_in_column: 'Latest sign in', // UNTRANSLATED
|
||||
delete_description:
|
||||
'It will remain in your user pool but lose the authorization for this role.', // UNTRANSLATED
|
||||
deleted: 'The user {{name}} has been successfully deleted from this role.', // UNTRANSLATED
|
||||
deleted: '{{name}} was successfully removed from this role!', // UNTRANSLATED
|
||||
assign_title: 'Assign users', // UNTRANSLATED
|
||||
assign_subtitle: 'Assign users to the role', // UNTRANSLATED
|
||||
assign_users_field: 'Assign users', // UNTRANSLATED
|
||||
|
|
|
@ -5,6 +5,8 @@ const roles = {
|
|||
create: 'Add Roles', // UNTRANSLATED
|
||||
role_name: 'Role', // UNTRANSLATED
|
||||
role_description: 'Description', // UNTRANSLATED
|
||||
role_name_placeholder: 'Enter your role name', // UNTRANSLATED
|
||||
role_description_placeholder: 'Enter your role description', // UNTRANSLATED
|
||||
assigned_users: 'Assigned users', // UNTRANSLATED
|
||||
assign_permissions: 'Assign permissions', // UNTRANSLATED
|
||||
create_role_title: 'Create a role', // UNTRANSLATED
|
||||
|
|
|
@ -44,8 +44,9 @@ const user_details = {
|
|||
name_column: 'Role', // UNTRANSLATED
|
||||
description_column: 'Description', // UNTRANSLATED
|
||||
assign_button: 'Assign Roles', // UNTRANSLATED
|
||||
delete_description: 'TBD', // UNTRANSLATED
|
||||
deleted: 'The role {{name}} has been successfully deleted from the user.', // UNTRANSLATED
|
||||
delete_description:
|
||||
'This action will remove this role from this user. The role itself will still exist, but it will no longer be associated with this user.', // UNTRANSLATED
|
||||
deleted: '{{name}} was successfully removed from this user!', // UNTRANSLATED
|
||||
assign_title: 'Assign roles to {{name}}', // UNTRANSLATED
|
||||
assign_subtitle: 'Authorize {{name}} one or more roles', // UNTRANSLATED
|
||||
assign_role_field: 'Assign roles', // UNTRANSLATED
|
||||
|
|
|
@ -17,13 +17,13 @@ const api_resource_details = {
|
|||
create_subtitle: 'Define the permissions (scopes) needed by this API.', // UNTRANSLATED
|
||||
confirm_create: 'Create permission', // UNTRANSLATED
|
||||
name: 'Permission name', // UNTRANSLATED
|
||||
name_placeholder: 'Read: Resources', // UNTRANSLATED
|
||||
name_placeholder: 'Read:Resources', // UNTRANSLATED
|
||||
description: 'Description', // UNTRANSLATED
|
||||
description_placeholder: 'Able to read the resources', // UNTRANSLATED
|
||||
permission_created: 'The permission {{name}} has been successfully created', // UNTRANSLATED
|
||||
delete_description:
|
||||
'If this permission is deleted, the user who had this permission will lose the access granted by it.', // UNTRANSLATED
|
||||
deleted: 'The permission {{name}} has been successfully deleted', // UNTRANSLATED
|
||||
deleted: 'The permission "{{name}}" was successfully deleted!', // UNTRANSLATED
|
||||
},
|
||||
};
|
||||
|
||||
|
|
|
@ -3,13 +3,13 @@ const role_details = {
|
|||
identifier: 'Identifier',
|
||||
delete_description:
|
||||
'Doing so will remove the permissions associated with this role from the affected users and delete the mapping between roles, users, and permissions.', // UNTRANSLATED
|
||||
role_deleted: 'The role {{name}} has been successfully deleted', // UNTRANSLATED
|
||||
role_deleted: '{{name}} was successfully deleted!', // UNTRANSLATED
|
||||
settings_tab: 'Settings',
|
||||
users_tab: 'Users',
|
||||
permissions_tab: 'Permissions',
|
||||
settings: 'Settings',
|
||||
settings_description:
|
||||
'It real sent your at. Amounted all shy set why followed declared. Repeated of endeavor mr position kindness offering ignorant so up. Simplicity are melancholy preference considered saw companions.', // UNTRANSLATED
|
||||
'Roles are a grouping of permissions that can be assigned to users. They also provide a way to aggregate permissions defined for different APIs, making it more efficient to add, remove, or adjust permissions compared to assigning them individually to users.', // UNTRANSLATED
|
||||
field_name: 'Name',
|
||||
field_description: 'Description',
|
||||
permission: {
|
||||
|
@ -25,7 +25,7 @@ const role_details = {
|
|||
permission_assigned: 'The selected permissions were successfully assigned to this role!', // UNTRANSLATED
|
||||
deletion_description:
|
||||
'If this permission is deleted, the affected user with this role will lose the access granted by this permission.', // UNTRANSLATED
|
||||
permission_deleted: 'The permission {{name}} has been successfully deleted from this role.', // UNTRANSLATED
|
||||
permission_deleted: 'The permission "{{name}}" was successfully removed from this role!', // UNTRANSLATED
|
||||
},
|
||||
users: {
|
||||
assign_button: 'Assign Users', // UNTRANSLATED
|
||||
|
@ -34,7 +34,7 @@ const role_details = {
|
|||
latest_sign_in_column: 'Latest sign in', // UNTRANSLATED
|
||||
delete_description:
|
||||
'It will remain in your user pool but lose the authorization for this role.', // UNTRANSLATED
|
||||
deleted: 'The user {{name}} has been successfully deleted from this role.', // UNTRANSLATED
|
||||
deleted: '{{name}} was successfully removed from this role!', // UNTRANSLATED
|
||||
assign_title: 'Assign users', // UNTRANSLATED
|
||||
assign_subtitle: 'Assign users to the role', // UNTRANSLATED
|
||||
assign_users_field: 'Assign users', // UNTRANSLATED
|
||||
|
|
|
@ -5,6 +5,8 @@ const roles = {
|
|||
create: 'Add Roles', // UNTRANSLATED
|
||||
role_name: 'Role', // UNTRANSLATED
|
||||
role_description: 'Description', // UNTRANSLATED
|
||||
role_name_placeholder: 'Enter your role name', // UNTRANSLATED
|
||||
role_description_placeholder: 'Enter your role description', // UNTRANSLATED
|
||||
assigned_users: 'Assigned users', // UNTRANSLATED
|
||||
assign_permissions: 'Assign permissions', // UNTRANSLATED
|
||||
create_role_title: 'Create a role', // UNTRANSLATED
|
||||
|
|
|
@ -42,8 +42,9 @@ const user_details = {
|
|||
name_column: 'Role', // UNTRANSLATED
|
||||
description_column: 'Description', // UNTRANSLATED
|
||||
assign_button: 'Assign Roles', // UNTRANSLATED
|
||||
delete_description: 'TBD', // UNTRANSLATED
|
||||
deleted: 'The role {{name}} has been successfully deleted from the user.', // UNTRANSLATED
|
||||
delete_description:
|
||||
'This action will remove this role from this user. The role itself will still exist, but it will no longer be associated with this user.', // UNTRANSLATED
|
||||
deleted: '{{name}} was successfully removed from this user!', // UNTRANSLATED
|
||||
assign_title: 'Assign roles to {{name}}', // UNTRANSLATED
|
||||
assign_subtitle: 'Authorize {{name}} one or more roles', // UNTRANSLATED
|
||||
assign_role_field: 'Assign roles', // UNTRANSLATED
|
||||
|
|
Loading…
Add table
Reference in a new issue