debian-mirror-gitlab/doc/user/profile/index.md

248 lines
9.3 KiB
Markdown
Raw Normal View History

2019-10-12 21:52:04 +05:30
---
type: index, howto
---
2017-09-10 17:25:29 +05:30
# User account
2019-10-12 21:52:04 +05:30
Each GitLab account has a user profile, and settings. Your [profile](#user-profile)
contains information about you, and your GitLab activity. Your [settings](#profile-settings)
allow you to customize some aspects of GitLab to suit yourself.
2017-09-10 17:25:29 +05:30
2019-12-04 20:38:33 +05:30
## Creating users
There are several ways to create users on GitLab. See the [creating users documentation](account/create_accounts.md) for more details.
2018-03-17 18:26:18 +05:30
## Signing in
2017-09-10 17:25:29 +05:30
2018-03-17 18:26:18 +05:30
There are several ways to sign into your GitLab account.
See the [authentication topic](../../topics/authentication/index.md) for more details.
2017-09-10 17:25:29 +05:30
## User profile
2019-10-12 21:52:04 +05:30
To access your profile:
1. Click on your avatar.
1. Select **Profile**.
2017-09-10 17:25:29 +05:30
On your profile page, you will see the following information:
- Personal information
- Activity stream: see your activity streamline and the history of your contributions
- Groups: [groups](../group/index.md) you're a member of
- Contributed projects: [projects](../project/index.md) you contributed to
- Personal projects: your personal projects (respecting the project's visibility level)
2019-10-12 21:52:04 +05:30
- Starred projects: projects you starred
2017-09-10 17:25:29 +05:30
- Snippets: your personal code [snippets](../snippets.md#personal-snippets)
## Profile settings
2019-10-12 21:52:04 +05:30
To access your profile settings:
1. Click on your avatar.
1. Select **Settings**.
2017-09-10 17:25:29 +05:30
From there, you can:
- Update your personal information
2018-11-18 11:00:15 +05:30
- Set a [custom status](#current-status) for your profile
2018-12-13 13:39:08 +05:30
- Manage your [commit email](#commit-email) for your profile
2018-03-17 18:26:18 +05:30
- Manage [2FA](account/two_factor_authentication.md)
2019-07-31 22:56:46 +05:30
- Add details of [external accounts](#add-details-of-external-accounts).
2017-09-10 17:25:29 +05:30
- Change your username and [delete your account](account/delete_account.md)
- Manage applications that can
2019-07-07 11:18:12 +05:30
[use GitLab as an OAuth provider](../../integration/oauth_provider.md#introduction-to-oauth)
2017-09-10 17:25:29 +05:30
- Manage [personal access tokens](personal_access_tokens.md) to access your account via API and authorized applications
- Add and delete emails linked to your account
2019-12-26 22:10:19 +05:30
- Choose which email to use for [notifications](notifications.md), web-based commits, and display on your public profile
2019-07-07 11:18:12 +05:30
- Manage [SSH keys](../../ssh/README.md) to access your account via SSH
2017-09-10 17:25:29 +05:30
- Manage your [preferences](preferences.md#syntax-highlighting-theme)
2019-07-07 11:18:12 +05:30
to customize your own GitLab experience
2018-10-15 14:42:47 +05:30
- [View your active sessions](active_sessions.md) and revoke any of them if necessary
2018-03-17 18:26:18 +05:30
- Access your audit log, a security log of important events involving your account
## Changing your username
Your `username` is a unique [`namespace`](../group/index.md#namespaces)
related to your user ID. Changing it can have unintended side effects, read
[how redirects will behave](../project/index.md#redirects-when-changing-repository-paths)
before proceeding.
To change your `username`:
1. Navigate to your [profile's](#profile-settings) **Settings > Account**.
2019-10-12 21:52:04 +05:30
1. Enter a new username under **Change username**.
1. Click **Update username**.
2018-03-17 18:26:18 +05:30
CAUTION: **Caution:**
It is currently not possible to change your username if it contains a
2019-12-04 20:38:33 +05:30
project with [Container Registry](../packages/container_registry/index.md) tags,
2018-03-17 18:26:18 +05:30
because the project cannot be moved.
TIP: **Tip:**
If you want to retain ownership over the original namespace and
protect the URL redirects, then instead of changing a group's path or renaming a
username, you can create a new group and transfer projects to it.
Alternatively, you can follow [this detailed procedure from the GitLab Team Handbook](https://about.gitlab.com/handbook/tools-and-tips/#how-to-change-your-username-at-gitlabcom)
which also covers the case where you have projects hosted with
[GitLab Pages](../project/pages/index.md).
2018-11-18 11:00:15 +05:30
## Private profile
2019-03-02 22:35:43 +05:30
The following information will be hidden from the user profile page (`https://gitlab.example.com/username`) if this feature is enabled:
2018-11-18 11:00:15 +05:30
- Atom feed
- Date when account is created
- Activity tab
- Groups tab
- Contributed projects tab
- Personal projects tab
2019-10-12 21:52:04 +05:30
- Starred projects tab
2018-11-18 11:00:15 +05:30
- Snippets tab
To enable private profile:
2019-10-12 21:52:04 +05:30
1. Click your avatar.
1. Select **Profile**.
1. Click **Edit profile** (pencil icon).
1. Check the **Private profile** option in the **Main settings** section.
1. Click **Update profile settings**.
2018-11-18 11:00:15 +05:30
NOTE: **Note:**
2019-10-12 21:52:04 +05:30
All your profile information can be seen by yourself, and GitLab admins, even if
the **Private profile** option is enabled.
2018-11-18 11:00:15 +05:30
2019-07-31 22:56:46 +05:30
## Add details of external accounts
GitLab allows you to add links to certain other external accounts you might have, like Skype and Twitter. They can help other users connect with you on other platforms.
To add links to other accounts:
2019-10-12 21:52:04 +05:30
1. Click your avatar.
1. Select **Profile**.
1. Click **Edit profile** (pencil icon).
1. Complete the desired fields for external accounts, in the **Main settings**
section:
- Skype
- Twitter
- LinkedIn
1. Click **Update profile settings**.
2019-07-31 22:56:46 +05:30
2018-11-20 20:47:30 +05:30
## Private contributions
2019-12-04 20:38:33 +05:30
> [Introduced](https://gitlab.com/gitlab-org/gitlab-foss/issues/14078) in GitLab 11.3.
2018-11-20 20:47:30 +05:30
2019-02-15 15:39:39 +05:30
Enabling private contributions will include contributions to private projects, in the user contribution calendar graph and user recent activity.
2018-11-20 20:47:30 +05:30
To enable private contributions:
2019-10-12 21:52:04 +05:30
1. Click on your avatar.
1. Select **Profile**.
1. Click **Edit profile** (pencil icon).
1. Check the **Private contributions** option.
1. Click **Update profile settings**.
2018-11-20 20:47:30 +05:30
2018-11-18 11:00:15 +05:30
## Current status
> Introduced in GitLab 11.2.
You can provide a custom status message for your user profile along with an emoji that describes it.
This may be helpful when you are out of office or otherwise not available.
Other users can then take your status into consideration when responding to your issues or assigning work to you.
Please be aware that your status is publicly visible even if your [profile is private](#private-profile).
2019-10-12 21:52:04 +05:30
Status messages are restricted to 100 characters of plain text.
They may however contain emoji codes such as `I'm on vacation :palm_tree:`.
2018-11-18 11:00:15 +05:30
To set your current status:
2019-10-12 21:52:04 +05:30
1. Click your avatar.
1. Click **Set status**, or **Edit status** if you have already set a status.
1. Set the desired emoji and/or status message.
1. Click **Set status**. Alternatively, you can click **Remove status** to remove your user status entirely.
2018-12-05 23:21:45 +05:30
or
2019-10-12 21:52:04 +05:30
1. Click your avatar.
1. Select **Profile**.
1. Click **Edit profile** (pencil icon).
1. Enter your status message in the **Your status** text field.
1. Click **Add status emoji** (smiley face), and select the desired emoji.
1. Click **Update profile settings**.
2018-11-18 11:00:15 +05:30
You can also set your current status [using the API](../../api/users.md#user-status).
2018-12-13 13:39:08 +05:30
## Commit email
2020-03-13 15:44:24 +05:30
> [Introduced](https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/21598) in GitLab 11.4.
2018-12-13 13:39:08 +05:30
2019-10-12 21:52:04 +05:30
A commit email is an email address displayed in every Git-related action carried out through the GitLab interface.
2018-12-13 13:39:08 +05:30
2019-10-12 21:52:04 +05:30
Any of your own verified email addresses can be used as the commit email.
2018-12-13 13:39:08 +05:30
2019-10-12 21:52:04 +05:30
To change your commit email:
2018-12-13 13:39:08 +05:30
2019-10-12 21:52:04 +05:30
1. Click your avatar.
1. Select **Profile**.
1. Click **Edit profile** (pencil icon).
1. Click **Commit email** dropdown.
2018-12-13 13:39:08 +05:30
1. Select any of the verified emails.
2019-10-12 21:52:04 +05:30
1. Click **Update profile settings**.
2018-12-13 13:39:08 +05:30
### Private commit email
2020-03-13 15:44:24 +05:30
> [Introduced](https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/22560) in GitLab 11.5.
2018-12-13 13:39:08 +05:30
GitLab provides the user with an automatically generated private commit email option,
2019-10-12 21:52:04 +05:30
which allows the user to keep their email information private.
2018-12-13 13:39:08 +05:30
To enable this option:
2019-10-12 21:52:04 +05:30
1. Click your avatar.
1. Select **Profile**.
1. Click **Edit profile** (pencil icon).
1. Click **Commit email** dropdown.
2018-12-13 13:39:08 +05:30
1. Select **Use a private email** option.
2019-10-12 21:52:04 +05:30
1. Click **Update profile settings**.
2018-12-13 13:39:08 +05:30
Once this option is enabled, every Git-related action will be performed using the private commit email.
2019-10-12 21:52:04 +05:30
To stay fully anonymous, you can also copy this private commit email
2018-12-13 13:39:08 +05:30
and configure it on your local machine using the following command:
2020-03-13 15:44:24 +05:30
```shell
2019-10-12 21:52:04 +05:30
git config --global user.email <your email address>
2018-12-13 13:39:08 +05:30
```
2018-03-17 18:26:18 +05:30
## Troubleshooting
### Why do I keep getting signed out?
When signing in to the main GitLab application, a `_gitlab_session` cookie is
set. `_gitlab_session` is cleared client-side when you close your browser
and expires after "Application settings -> Session duration (minutes)"/`session_expire_delay`
(defaults to `10080` minutes = 7 days).
When signing in to the main GitLab application, you can also check the
"Remember me" option which sets the `remember_user_token`
cookie (via [`devise`](https://github.com/plataformatec/devise)).
`remember_user_token` expires after
`config/initializers/devise.rb` -> `config.remember_for` (defaults to 2 weeks).
When the `_gitlab_session` expires or isn't available, GitLab uses the `remember_user_token`
to get you a new `_gitlab_session` and keep you signed in through browser restarts.
After your `remember_user_token` expires and your `_gitlab_session` is cleared/expired,
you will be asked to sign in again to verify your identity (which is for security reasons).
2019-10-12 21:52:04 +05:30
<!-- ## Troubleshooting
Include any troubleshooting steps that you can foresee. If you know beforehand what issues
one might have when setting this up, or when something is changed, or on upgrading, it's
important to describe those, too. Think of things that may go wrong and include them here.
This is important to minimize requests for support, and to avoid doc comments with
questions that you know someone might ask.
Each scenario can be a third-level heading, e.g. `### Getting error message X`.
If you have none to add when creating a doc, leave this section in place
but commented out to help encourage others to add to it in the future. -->