Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Improve texts on groups-related UIs

Jan Sandbrinka64fc8abf390
diff --git a/config/locales/en.yml b/config/locales/en.yml
index 6280aad2544..4d36bf0fb7c 100644
--- a/config/locales/en.yml
+++ b/config/locales/en.yml
@@ -405,7 +405,7 @@ en:
description: By grouping users together, you can add them as members to the same projects or assign the same global roles to them.
table_component:
blank_slate:
- description: You can define groups of users with specific names
+ description: You can define groups of users with specific names.
title: No groups set up yet
user_count: User count
users:
diff --git a/modules/openid_connect/app/components/openid_connect/providers/group_mapping_form.rb b/modules/openid_connect/app/components/openid_connect/providers/group_mapping_form.rb
index a5d651e895e..7ea03ebeac0 100644
--- a/modules/openid_connect/app/components/openid_connect/providers/group_mapping_form.rb
+++ b/modules/openid_connect/app/components/openid_connect/providers/group_mapping_form.rb
@@ -58,6 +58,7 @@ module OpenIDConnect
name: :groups_claim,
label: OpenIDConnect::Provider.human_attribute_name(:groups_claim),
caption: I18n.t("openid_connect.instructions.groups_claim"),
+ required: true,
input_width: :large,
disabled: provider.seeded_from_env?
)
diff --git a/modules/openid_connect/config/locales/en.yml b/modules/openid_connect/config/locales/en.yml
index 8ffa69e537c..951e6fa4699 100644
--- a/modules/openid_connect/config/locales/en.yml
+++ b/modules/openid_connect/config/locales/en.yml
@@ -66,7 +66,7 @@ en:
redirect_url: This is the redirect URL that the OpenID Connect provider should use to redirect back to OpenProject after a successful login.
endpoint_url: The endpoint URL given to you by the OpenID Connect provider
group_regexes: One regular expression pattern per line. Please read [the documentation](docs_url) for more information on how to do this.
- group_regexes_detail: Define patterns using regular expressions to match group names from the groups claim. For example, entering a pattern like <code>^Level1/Level2/([\w/]+)$</code> will extract the group “Groupname/SubGroup” from a response including “Level1/Level2/GroupName/SubGroup”.
+ group_regexes_detail: Optionally define patterns using regular expressions to match group names from the groups claim. For example, entering a pattern like <code>^Level1/Level2/([\w/]+)$</code> will extract the group “Groupname/SubGroup” from a response including “Level1/Level2/GroupName/SubGroup”. If no pattern matches, the group is ignored. Leave empty to synchronize all groups using their full group name.
group_sync: Automatically extract and synchronise group membership information from the identity provider.
groups_claim: Specify the name of the claim that's expected to indicate the group names that the user is a member of.
metadata_none: I don't have this information