diff --git a/mathesar_ui/src/components/DocsLink.svelte b/mathesar_ui/src/components/DocsLink.svelte index 8eb0a53c08..20054f507c 100644 --- a/mathesar_ui/src/components/DocsLink.svelte +++ b/mathesar_ui/src/components/DocsLink.svelte @@ -15,6 +15,7 @@ rolesInheritance: '/user-guide/roles/#inheritance', storedRolePasswords: '/user-guide/stored-role-passwords/', collaborators: '/user-guide/collaborators/', + internalSchemas: '/user-guide/schemas/#internal', }; type Page = keyof typeof pages; diff --git a/mathesar_ui/src/i18n/languages/en/dict.json b/mathesar_ui/src/i18n/languages/en/dict.json index 32bd78125b..4559fadd16 100644 --- a/mathesar_ui/src/i18n/languages/en/dict.json +++ b/mathesar_ui/src/i18n/languages/en/dict.json @@ -100,6 +100,7 @@ "connect": "Connect", "connect_and_create": "Connect + Create", "connect_database": "Connect Database", + "connect_db_password_help": "See our [docsLink](documentation) to learn about how passwords are stored.", "connect_existing_database": "Connect to an Existing Database", "connect_with_community_help": "Connect with Mathesar users and contributors in our community chat. Share ideas, get help, and contribute to discussions.", "constraint": "Constraint", @@ -131,7 +132,7 @@ "create_new_pg_user": "Create a new PostgreSQL user", "create_new_schema": "Create New Schema", "create_record_from_search": "Create Record From Search Criteria", - "create_reference_help_info_2": "For existing columns, add foreign key constraints in the \"Advanced\" section to turn them into references.", + "create_reference_help_info_2": "Note: To turn an [italic](existing) column into a reference column, add a foreign key constraint by opening the \"Constraints\" dialog from the \"Advanced\" section of the table inspector.", "create_relationship": "Create Relationship", "create_relationship_between": "Create Relationship Between [tablePill] and", "create_role": "Create Role", @@ -428,6 +429,7 @@ "pick_table_record": "Pick a Record from [tableName]", "port": "Port", "port_invalid": "The port is invalid", + "postgresql_role_name": "PostgreSQL Role Name", "prepare_downtime": "Prepare your users for up to five minutes of downtime.", "preview": "Preview", "preview_truncated_at_limit": "Preview is truncated at {limit} rows", @@ -485,14 +487,13 @@ "remove_collaborator_body_2": "The user [userName] will still be able to log in to Mathesar and might still have access to other connected databases.", "remove_collaborator_body_3": "The associated PostgreSQL role [roleName] will be unaffected.", "remove_collaborator_name_from_database_question": "Remove [userName] as a collaborator on the [databaseName] database?", - "remove_configuration": "Remove Configuration", "remove_filters": "{count, plural, one {Remove Filter} other {Remove {count} Filters}}", "remove_grouping": "Remove Grouping", "remove_old_link_create_new": "Remove old link and create a new link?", "remove_sorting_type": "Remove {sortingType} Sorting", "remove_stored_password": "Remove Stored Password", "remove_stored_password_for_identifier": "Remove Stored Password for [identifier]?", - "removing_role_configuration_warning": "Removing this configuration will prevent collaborators assigned to this role from accessing databases on server ''{server}''.", + "remove_stored_password_help": "Removing this stored password will prevent collaborators assigned to this role from accessing databases on server ''{server}''.", "reset": "Reset", "restrict_to_unique": "Restrict to Unique", "restrict_to_unique_help": "Ensures all values in this column are unique. Ideal for IDs, usernames, and other unique identifiers.", @@ -501,7 +502,6 @@ "retry": "Retry", "reuse_credentials_from_known_connection": "Reuse credentials from a known connection", "role": "Role", - "role_configuration_removed": "The role configuration has been removed successfully", "role_configured_all_databases_in_server": "The new password will be used for this role when connecting to any databases on server ''{server}''", "role_configured_successfully": "Role configured successfully", "role_configured_successfully_new_password": "Role configured successfully with new password", @@ -510,6 +510,9 @@ "role_has_no_child_roles": "The Role does not have any Child Roles", "role_inheritance_help": "In PostgreSQL, you can use \"role inheritance\" to grant all the privileges of one role (the parent) to another role (the child).", "role_name": "Role Name", + "role_needs_create_connect_privileges": "Must have CONNECT and CREATE privileges", + "role_needs_create_connect_privileges_detail_1": "In order for Mathesar to function, this role needs CONNECT privileges on the database.", + "role_needs_create_connect_privileges_detail_2": "Additionally, in order for Mathesar to be [italic](installed), this role needs CREATE privileges to install Mathesar's internal schemas. You may revoke CREATE privileges after installing Mathesar if you choose. See our [docsLink](documentation) for more information.", "role_privileges": "Role Privileges", "roles": "Roles", "roles_help": "PostgreSQL uses roles to manage access to data. All the roles within your PostgreSQL server are shown below.", @@ -547,7 +550,7 @@ "search_tables": "Search Tables", "search_users": "Search Users", "seconds": "Seconds", - "section_affects_postgresql_config": "This configuration in this section is stored within the connected PostgreSQL database.", + "section_affects_postgresql_config": "The configuration in this section is stored within the connected PostgreSQL database.", "see_docs_to_learn_more": "See our [link](documentation) to learn more.", "select_cell_view_properties": "Select a cell to view it's properties.", "select_cells_view_record_props": "Select one or more cells to view associated record properties.", @@ -590,6 +593,7 @@ "static_record_summary_template_error": "Record summary cannot be static. Add at least one column field in order to save.", "store_a_password": "Store a Password", "stored_password": "Stored Password", + "stored_password_removed": "The stored password has been removed.", "stored_role_passwords": "Stored Role Passwords", "stored_role_passwords_help": "Mathesar stores passwords for any roles that you would like to use when authenticating with PostgreSQL to work with data. Roles with stored passwords can then be assigned to users via collaborators.", "summarization": "Summarization", @@ -608,7 +612,7 @@ "table_can_have_many": "With these relationships, one [tableName] record can have [bold](many) related records.", "table_can_have_one": "With these relationships, one [tableName] record can have [bold](one) related record.", "table_delete_permanent_warning": "Warning: This action is permanent and once deleted, the table cannot be recovered.", - "table_does_not_link": "This table does not link to any other tables", + "table_does_not_link": "There are no relationships between this table and other tables.", "table_name": "Table Name", "table_name_already_exists": "A table with that name already exists.", "table_name_cannot_be_empty": "The table name cannot be empty.", @@ -682,7 +686,6 @@ "use_text_for_all_columns": "Use \"Text\" for all column data types", "user": "User", "user_name": "User name", - "user_needs_create_connect_privileges": "The user needs CONNECT and CREATE privileges on the database.", "user_not_found": "User not found", "user_profile": "User Profile", "user_type": "User type", diff --git a/mathesar_ui/src/pages/database/settings/role-configuration/ConfigureRoleModal.svelte b/mathesar_ui/src/pages/database/settings/role-configuration/ConfigureRoleModal.svelte index ddb214b67e..c6517346e8 100644 --- a/mathesar_ui/src/pages/database/settings/role-configuration/ConfigureRoleModal.svelte +++ b/mathesar_ui/src/pages/database/settings/role-configuration/ConfigureRoleModal.svelte @@ -9,7 +9,7 @@ } from '@mathesar/components/form'; import Field from '@mathesar/components/form/Field.svelte'; import Identifier from '@mathesar/components/Identifier.svelte'; - import WarningBox from '@mathesar/components/message-boxes/WarningBox.svelte'; + import InfoBox from '@mathesar/components/message-boxes/InfoBox.svelte'; import RichText from '@mathesar/components/rich-text/RichText.svelte'; import { type CombinedLoginRole, @@ -62,13 +62,13 @@ }} /> - + {$_('role_configured_all_databases_in_server', { values: { server: database.server.getConnectionString(), }, })} - +