debian-mirror-gitlab/doc/user/admin_area/settings/terms.md

74 lines
3 KiB
Markdown
Raw Normal View History

2019-09-04 21:01:54 +05:30
---
2021-01-29 00:20:46 +05:30
stage: none
group: unassigned
2021-02-22 17:27:13 +05:30
info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/engineering/ux/technical-writing/#assignments
2019-09-04 21:01:54 +05:30
type: reference
---
2019-12-04 20:38:33 +05:30
# Enforce accepting Terms of Service **(CORE ONLY)**
2018-10-15 14:42:47 +05:30
2020-03-13 15:44:24 +05:30
> [Introduced](https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/18570) in [GitLab Core](https://about.gitlab.com/pricing/) 10.8.
2018-10-15 14:42:47 +05:30
2019-09-04 21:01:54 +05:30
An admin can enforce acceptance of a terms of service and privacy policy. When this option is enabled, new and existing users must accept the terms.
2020-05-24 23:13:21 +05:30
If configured, the Terms of Service page can be viewed via `https://your-instance.com/-/users/terms` at anytime.
2018-10-15 14:42:47 +05:30
## Configuration
2019-09-04 21:01:54 +05:30
To enforce acceptance of a Terms of Service and Privacy Policy:
2018-10-15 14:42:47 +05:30
2019-09-04 21:01:54 +05:30
1. Log in to the GitLab instance as an admin user.
1. Go to **Admin Area > Settings > General**.
1. Expand the **Terms of Service and Privacy Policy** section.
1. Check the **Require all users to accept Terms of Service and Privacy Policy when they access
2019-09-30 21:07:59 +05:30
GitLab.** checkbox.
2019-09-04 21:01:54 +05:30
1. Input the text of the **Terms of Service and Privacy Policy**. Markdown formatting can be used in this input box.
1. Click **Save changes**.
1. When you are presented with the **Terms of Service** statement, click **Accept terms**.
2018-10-15 14:42:47 +05:30
2020-05-24 23:13:21 +05:30
![Enable enforcing Terms of Service](img/enforce_terms.png)
2018-10-15 14:42:47 +05:30
2019-09-04 21:01:54 +05:30
For each update to the terms, a new version is stored. When a user accepts or declines the terms,
2021-02-22 17:27:13 +05:30
GitLab records which version they accepted or declined.
2018-10-15 14:42:47 +05:30
2019-09-04 21:01:54 +05:30
## New users
2018-11-08 19:23:39 +05:30
2019-09-04 21:01:54 +05:30
When this feature is enabled, a checkbox is added to the sign-up form.
2018-11-08 19:23:39 +05:30
![Sign up form](img/sign_up_terms.png)
2021-02-22 17:27:13 +05:30
This checkbox is required during sign up.
2018-11-08 19:23:39 +05:30
Users can review the terms entered in the admin panel before
2021-02-22 17:27:13 +05:30
accepting. The page is opened in a new window so they can
2018-11-08 19:23:39 +05:30
continue their registration afterwards.
2018-10-15 14:42:47 +05:30
## Accepting terms
2018-12-13 13:39:08 +05:30
When this feature is enabled, the users that have not accepted the
2021-02-22 17:27:13 +05:30
terms of service are presented with a screen where they can either
2018-10-15 14:42:47 +05:30
accept or decline the terms.
![Respond to terms](img/respond_to_terms.png)
2021-02-22 17:27:13 +05:30
If the user accepts the terms, they are directed to where they
were going. After a sign-in or sign-up this is most likely the
2018-10-15 14:42:47 +05:30
dashboard.
2018-12-13 13:39:08 +05:30
If the user was already logged in when the feature was turned on,
2021-02-22 17:27:13 +05:30
they are asked to accept the terms on their next interaction.
2018-10-15 14:42:47 +05:30
2021-02-22 17:27:13 +05:30
If a user declines the terms, they are signed out.
2019-09-04 21:01:54 +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. -->