ToolJet/cypress-tests/cypress/constants/texts/manageGroups.js
2025-08-03 12:39:18 +05:30

108 lines
5.8 KiB
JavaScript

export const groupsText = {
pageTitle: "User Groups",
createNewGroupButton: "Add new group",
tableHeader: "Name",
allUsers: "All users",
admin: "Admin",
cardTitle: "Add new group",
cancelButton: "Cancel",
createGroupButton: "Create Group",
groupNameExistToast: "Group name already exist",
testGroup: "Test",
groupCreatedToast: "Group has been created",
userGroup: "User group",
appsLink: " Apps",
usersLink: "Users",
permissionsLink: "Permissions",
addButton: "Add apps",
addUsersButton: "Add users",
userNameTableHeader: "User name",
permissionsTableHeader: "Permissions",
granularAccessPermissionHeader: 'Permission',
emailTableHeader: "Email id",
resourcesTableHeader: "Resource",
resourcesApps: "Apps",
resourcesFolders: "Folder",
createLabel: "Create",
folderCreateLabel: "Create/Update/Delete",
folderHelperText: "All operations on folders",
deleteLabel: "Delete",
deleteMessage: "This permission will be permanently deleted. Do you want to continue?",
permissionUpdatedToast: "Group permissions updated",
confirmText:
"This group will be permanently deleted. Do you want to continue?",
confirmCancelButton: "Cancel",
confirmYesButton: "Yes",
resourcesWorkspaceVar: "Workspace constants/variables",
workspaceCreateLabel: "Create/Update/Delete",
workspaceHelperText: "All operations on workspace constants",
textDefaultGroup: "Default group",
textAppName: "App name",
helperTextNoAppsAdded: "No apps are added to the group",
helperTextPermissions:
"Add app to the group to control permissions for users in this group",
helperTextAllUsersIncluded:
" All users within the workspace are included in this list. This list cannot be edited.",
helperTextAdminAppAccess:
"Admin has edit access to all apps. These are not editable",
helperTextAdminPermissions: "Admin has all permissions",
updateGroupNameModalTitle: "Update group",
saveButton: "Save",
groupNameUpdateSucessToast: "Group name updated successfully",
editGroupNameButton: "Rename",
deleteGroupButton: "Delete group",
editPermissionModalTitle: "Edit app permissions",
addPermissionModalTitle: "Add apps permissions",
appCreateHelperText: 'Create apps in this workspace',
appDeleteHelperText: 'Delete any app in this workspace',
appEditLabelText: 'Edit',
appEditHelperText: 'Access to app builder',
appViewLabel: 'View',
appViewHelperText: "Only access released version of apps",
appHideHelperText: "App will be accessible by URL only",
appHideLabel: "Hide from dashboard",
appHideLabelPermissionModal: "Hide from dashbaord",
groupChipText: 'All apps',
adminAccessHelperText: " Admin has all permissions. This is not editableread documentation to know more !",
enduserAccessHelperText: " End-user can only have permission to view appsread documentation to know more !",
nameTableHeader: 'Name',
permissionTableHeader: 'Permission',
permissionNameLabel: 'Permission name',
permissionNameHelperText: 'Permission name must be unique and max 50 characters',
permissionLabel: 'Permission',
editPermissionLabel: 'Edit',
editPermissionHelperText: 'Access to app builder',
viewPermissionLabel: 'View',
viewPermissionHelperText: 'Only access released version of apps',
resourcesheader: 'Resources',
allAppsLabel: 'All apps',
allAppsHelperText: 'This will select all apps in the workspace including any new apps created',
customLabel: 'Custom',
customHelperText: 'Select specific apps you want to add to the group',
updateButtonText: 'Update',
addButtonText: 'Add',
userRole: 'User role',
warningText: "Users must be always be part of one default group. This will define the user count in your plan.",
continueButtonText: "Continue",
roleUpdateToastMessage: "Role updated successfully",
endUserToBuilderMessage: "Changing the user role from end-user to builder will grant access the user access to all resources.Are you sure you want to continue?",
endUserToAdminMessage: "Changing the user role from end-user to admin will grant the user access to all resources and settings.Are you sure you want to continue?",
builderToEnduserMessage: "Changing the user role from builder to end-user will revoke their access to edit all resources.Are you sure you want to continue?",
builderToAdminMessage: "Changing user role from builder to admin will grant access to all resources and settings.Are you sure you want to continue?",
adminToBuilderMessage: "Changing your user default group from admin to builder will revoke your access to settings.Are you sure you want to continue?",
adminToEnduserMessage: "Changing the user role from admin to end-user will revoke their access to edit all resources and settings.Are you sure you want to continue?",
modalHeader: "Can not remove last active admin",
modalMessage: "Cannot change role of last present admin, please add another admin and change the role",
userAddedToast: "Users added to the group",
changeUserRoleHeader: " Change in user role",
changeUserRoleMessage: "Granting this permission to the user group will result in a role change for the following user(s) from end-users to builders. Are you sure you want to continue?",
cantCreatePermissionModalHeader: "Cannot create permissions",
cantCreatePermissionModalMessage: "End-users can only be granted permission to view apps. If you wish to add this permission, kindly change the following users role from end-user to builder",
deletePermissionToast: "Deleted permission successfully",
createPermissionToast: "Permission created successfully!",
userEmptyPageTitle: "No users added yet",
userEmptyPageHelperText: "Add users to this group to configure permissions for them!",
emptyPagePermissionTitle: "No permissions added yet",
emptyPagePermissionHelperText: "Add assets to configure granular, asset-level permissions for this user group",
};