diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-05-29 12:08:45 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-05-29 12:08:45 +0300 |
commit | c3fe9f52152cd57f6790d30efc2d5e4b9dbf54dd (patch) | |
tree | af0e47e4d4ff68e36ed2c79c993096668ecb4966 /doc | |
parent | bceef0b492c1f4bc15c21c70cbe7aef34385a3da (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc')
-rw-r--r-- | doc/administration/auth/ldap/ldap_synchronization.md | 6 | ||||
-rw-r--r-- | doc/api/graphql/reference/index.md | 1 | ||||
-rw-r--r-- | doc/development/testing_guide/end_to_end/running_tests_that_require_special_setup.md | 8 | ||||
-rw-r--r-- | doc/integration/google.md | 7 | ||||
-rw-r--r-- | doc/user/profile/index.md | 2 |
5 files changed, 12 insertions, 12 deletions
diff --git a/doc/administration/auth/ldap/ldap_synchronization.md b/doc/administration/auth/ldap/ldap_synchronization.md index f32a4af9e27..cc788d6d4c8 100644 --- a/doc/administration/auth/ldap/ldap_synchronization.md +++ b/doc/administration/auth/ldap/ldap_synchronization.md @@ -15,7 +15,7 @@ You can change when synchronization occurs. ## User sync -> Preventing LDAP username synchronization [introduced](<https://gitlab.com/gitlab-org/gitlab/-/issues/11336>) in GitLab 15.11. +> Preventing LDAP user's profile name synchronization [introduced](<https://gitlab.com/gitlab-org/gitlab/-/issues/11336>) in GitLab 15.11. Once per day, GitLab runs a worker to check and update GitLab users against LDAP. @@ -45,9 +45,9 @@ The process also updates the following user information: - SSH public keys if `sync_ssh_keys` is set. - Kerberos identity if Kerberos is enabled. -### Synchronize LDAP username +### Synchronize LDAP user's profile name -By default, GitLab synchronizes the LDAP username field. +By default, GitLab synchronizes the LDAP user's profile name field. To prevent this synchronization, you can set `sync_name` to `false`. diff --git a/doc/api/graphql/reference/index.md b/doc/api/graphql/reference/index.md index 974da5560e4..a50de40069e 100644 --- a/doc/api/graphql/reference/index.md +++ b/doc/api/graphql/reference/index.md @@ -25545,6 +25545,7 @@ Values for sorting package. | <a id="packagetypeenumgolang"></a>`GOLANG` | Packages from the Golang package manager. | | <a id="packagetypeenumhelm"></a>`HELM` | Packages from the Helm package manager. | | <a id="packagetypeenummaven"></a>`MAVEN` | Packages from the Maven package manager. | +| <a id="packagetypeenumml_model"></a>`ML_MODEL` | Packages from the Ml_model package manager. | | <a id="packagetypeenumnpm"></a>`NPM` | Packages from the npm package manager. | | <a id="packagetypeenumnuget"></a>`NUGET` | Packages from the Nuget package manager. | | <a id="packagetypeenumpypi"></a>`PYPI` | Packages from the PyPI package manager. | diff --git a/doc/development/testing_guide/end_to_end/running_tests_that_require_special_setup.md b/doc/development/testing_guide/end_to_end/running_tests_that_require_special_setup.md index 146ad95b255..0544b331b1a 100644 --- a/doc/development/testing_guide/end_to_end/running_tests_that_require_special_setup.md +++ b/doc/development/testing_guide/end_to_end/running_tests_that_require_special_setup.md @@ -585,18 +585,18 @@ You can verify whether GitLab is appropriately redirecting your session to the ` The above spec is verbose, written specifically this way to ensure the idea behind the implementation is clear. We recommend following the practices detailed within our [Beginner's guide to writing end-to-end tests](beginners_guide.md). -## OpenID Connect (OIDC) tests +## Tests for GitLab as OpenID Connect (OIDC) and OAuth provider -To run the [`login_via_oidc_with_gitlab_as_idp_spec`](https://gitlab.com/gitlab-org/gitlab/-/blob/188e2c876a17a097448d7f3ed35bdf264fed0d3b/qa/qa/specs/features/browser_ui/1_manage/login/login_via_oidc_with_gitlab_as_idp_spec.rb) on your local machine: +To run the [`login_via_oauth_and_oidc_with_gitlab_as_idp_spec`](https://gitlab.com/gitlab-org/gitlab/-/blob/2e2c8bcfa4f68cd39041806af531038ce4d2ab04/qa/qa/specs/features/browser_ui/1_manage/login/login_via_oauth_and_oidc_with_gitlab_as_idp_spec.rb) on your local machine: 1. Make sure your GDK is set to run on a non-localhost address such as `gdk.test:3000`. 1. Configure a [loopback interface to 172.16.123.1](https://gitlab.com/gitlab-org/gitlab-development-kit/-/blob/6fe7b46403229f12ab6d903f99b024e0b82cb94a/doc/howto/local_network.md#create-loopback-interface). 1. Make sure Docker Desktop or Rancher Desktop is running. -1. Add an entry to your `/etc/hosts` file for `gitlab-oidc-consumer.bridge` pointing to `127.0.0.1`. +1. Add an entry to your `/etc/hosts` file for `gitlab-oidc-consumer.bridge` and `gitlab-oauth-consumer.bridge` pointing to `127.0.0.1`. 1. From the `qa` directory, run the following command. To set the GitLab image you want to use, update the `RELEASE` variable. For example, to use the latest EE image, set `RELEASE` to `gitlab/gitlab-ee:latest`: ```shell bundle install - RELEASE_REGISTRY_URL='registry.gitlab.com' RELEASE_REGISTRY_USERNAME='<your_gitlab_username>' RELEASE_REGISTRY_PASSWORD='<your_gitlab_personal_access_token>' RELEASE='registry.gitlab.com/gitlab-org/build/omnibus-gitlab-mirror/gitlab-ee:1d5a644145dfe901ea7648d825f8f9f3006d0acf' GITLAB_QA_ADMIN_ACCESS_TOKEN="<your_gdk_admin_personal_access_token>" QA_DEBUG=true CHROME_HEADLESS=false bundle exec bin/qa Test::Instance::All http://gdk.test:3000 qa/specs/features/browser_ui/1_manage/login/login_via_oidc_with_gitlab_as_idp_spec.rb + RELEASE_REGISTRY_URL='registry.gitlab.com' RELEASE_REGISTRY_USERNAME='<your_gitlab_username>' RELEASE_REGISTRY_PASSWORD='<your_gitlab_personal_access_token>' RELEASE='registry.gitlab.com/gitlab-org/build/omnibus-gitlab-mirror/gitlab-ee:c0ae46db6b31ea231b2de88961cd687acf634179' GITLAB_QA_ADMIN_ACCESS_TOKEN="<your_gdk_admin_personal_access_token>" QA_DEBUG=true CHROME_HEADLESS=false bundle exec bin/qa Test::Instance::All http://gdk.test:3000 qa/specs/features/browser_ui/1_manage/login/login_via_oauth_and_oidc_with_gitlab_as_idp_spec.rb ``` diff --git a/doc/integration/google.md b/doc/integration/google.md index d60c1b43ed6..e9c52bc3e95 100644 --- a/doc/integration/google.md +++ b/doc/integration/google.md @@ -23,10 +23,9 @@ In Google's side: 1. Refresh the page and you should see your new project in the list 1. Go to the [Google API Console](https://console.developers.google.com/apis/dashboard) 1. In the upper-left corner, select the previously created project -1. Select **Credentials** from the sidebar -1. Select **OAuth consent screen** and fill the form with the required information -1. In the **Credentials** tab, select **Create credentials > OAuth client ID** -1. Fill in the required information +1. Select **OAuth consent screen** from the sidebar and fill the form with the required information +1. Select **Credentials** from the sidebar, then select **Create credentials > OAuth client ID** +1. Fill in the required information: - **Application type** - Choose "Web Application" - **Name** - Use the default one or provide your own - **Authorized JavaScript origins** -This isn't really used by GitLab but go diff --git a/doc/user/profile/index.md b/doc/user/profile/index.md index b7d8f6aba58..35f6f07f0be 100644 --- a/doc/user/profile/index.md +++ b/doc/user/profile/index.md @@ -363,7 +363,7 @@ When you sign in, three cookies are set: - A session cookie called `_gitlab_session`. This cookie has no set expiration date. However, it expires based on its `session_expire_delay`. -- A session cookied called `about_gitlab_active_user`. +- A session cookie called `about_gitlab_active_user`. This cookie is used by the [marketing site](https://about.gitlab.com/) to determine if a user has an active GitLab session. No user information is passed to the cookie and it expires with the session. - A persistent cookie called `remember_user_token`, which is set only if you selected **Remember me** on the sign-in page. |