Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
c5ce90fd
Commit
c5ce90fd
authored
5 years ago
by
Russell Dickenson
Committed by
Evan Read
5 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Edit "Visibility and access controls" to meet SSOT guidelines
parent
21de0d4f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
36 additions
and
10 deletions
+36
-10
doc/user/admin_area/settings/visibility_and_access_controls.md
...ser/admin_area/settings/visibility_and_access_controls.md
+36
-10
No files found.
doc/user/admin_area/settings/visibility_and_access_controls.md
View file @
c5ce90fd
---
type
:
reference
---
# Visibility and access controls
# Visibility and access controls
GitLab allows admins to:
-
Control access and visibility to GitLab resources including branches and projects.
-
Select from which hosting sites code can be imported into GitLab.
-
Select the protocols permitted to access GitLab.
-
Enable or disable repository mirroring.
To access the visibility and access control options:
1.
Log in to GitLab as an admin.
1.
Go to
**Admin Area > Settings > General**
.
1.
Expand the
**Visibility and access controls**
section.
## Import sources
## Import sources
Choose from which hosting sites
the
users can
Choose from which hosting sites users can
[
import their projects
](
../../project/import/index.md
)
.
[
import their projects
](
../../project/import/index.md
)
.
![
import sources
](
img/import_sources.png
)
![
import sources
](
img/import_sources.png
)
...
@@ -11,12 +28,10 @@ Choose from which hosting sites the users can
...
@@ -11,12 +28,10 @@ Choose from which hosting sites the users can
> [Introduced][ce-4696] in GitLab 8.10.
> [Introduced][ce-4696] in GitLab 8.10.
With GitLab's Access restrictions you can choose which Git access protocols you
With GitLab's access restrictions, you can select with which protocols users can communicate with
want your users to use to communicate with GitLab. This feature can be enabled
GitLab.
via the
`Application Settings`
in the Admin interface.
The setting is called
`Enabled Git access protocols`
, and it gives you the option
From the
**Enabled Git access protocols**
dropdown, select one of the following:
to choose between:
-
Both SSH and HTTP(S)
-
Both SSH and HTTP(S)
-
Only SSH
-
Only SSH
...
@@ -24,10 +39,9 @@ to choose between:
...
@@ -24,10 +39,9 @@ to choose between:
![
Settings Overview
](
img/access_restrictions.png
)
![
Settings Overview
](
img/access_restrictions.png
)
When both SSH and HTTP(S) are enabled, GitLab will behave as usual, it will give
When both SSH and HTTP(S) are enabled, your users can choose either protocol.
your users the option to choose which protocol they would like to use.
When
you choose to allow only one of the protocols, a couple of things will happen
:
When
only one protocol is enabled
:
-
The project page will only show the allowed protocol's URL, with no option to
-
The project page will only show the allowed protocol's URL, with no option to
change it.
change it.
...
@@ -54,10 +68,22 @@ application level.
...
@@ -54,10 +68,22 @@ application level.
> [Introduced][ee-3586] in GitLab 10.3.
> [Introduced][ee-3586] in GitLab 10.3.
This option is enabled by default. By disabling it, both pull and push mirroring will no longer
This option is enabled by default. By disabling it, both pull and push mirroring will no longer
work in every repository and can only be re-enabled
on a per-project basis by an admin
.
work in every repository and can only be re-enabled
by an admin on a per-project basis
.
![
Mirror settings
](
img/mirror_settings.png
)
![
Mirror settings
](
img/mirror_settings.png
)
<!-- ## 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. -->
[
ce-4696
]:
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/4696
[
ce-4696
]:
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/4696
[
ce-18021
]:
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/18021
[
ce-18021
]:
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/18021
[
ee-3586
]:
https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/3586
[
ee-3586
]:
https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/3586
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment