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
Tatuya Kamada
gitlab-ce
Commits
58418515
Commit
58418515
authored
Jun 23, 2016
by
Patricio Cano
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added documentation on the access restrictions.
parent
41c87b9a
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
39 additions
and
0 deletions
+39
-0
doc/README.md
doc/README.md
+1
-0
doc/administration/access_restrictions.md
doc/administration/access_restrictions.md
+38
-0
doc/administration/img/access_restrictions.png
doc/administration/img/access_restrictions.png
+0
-0
doc/administration/img/restricted_url.png
doc/administration/img/restricted_url.png
+0
-0
No files found.
doc/README.md
View file @
58418515
...
@@ -21,6 +21,7 @@
...
@@ -21,6 +21,7 @@
## Administrator documentation
## Administrator documentation
-
[
Access restrictions
](
administration/access_restrictions.md
)
Define which Git access protocols can be used to talk to GitLab
-
[
Authentication/Authorization
](
administration/auth/README.md
)
Configure
-
[
Authentication/Authorization
](
administration/auth/README.md
)
Configure
external authentication with LDAP, SAML, CAS and additional Omniauth providers.
external authentication with LDAP, SAML, CAS and additional Omniauth providers.
-
[
Custom Git hooks
](
administration/custom_hooks.md
)
Custom Git hooks (on the filesystem) for when webhooks aren't enough.
-
[
Custom Git hooks
](
administration/custom_hooks.md
)
Custom Git hooks (on the filesystem) for when webhooks aren't enough.
...
...
doc/administration/access_restrictions.md
0 → 100644
View file @
58418515
# Access Restrictions
> **Note:** This feature is only available on versions 8.10 and above.
With GitLab's Access restrictions you can choose which Git access protocols you
want your users to use to communicate with GitLab. This feature can be enabled
via the
`Application Settings`
in the Admin interface.
The setting is called
`Enabled Git access protocols`
, and it gives you the option
to choose between:
-
Both SSH and HTTP(S)
-
Only SSH
-
Only HTTP(s)
![](
img/access_restrictions.png
)
## Enabled Protocol
When both SSH and HTTP(S) are enabled, GitLab will behave as usual, it will give
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:
-
The project page will only show the allowed protocol's URL, with no option to
change it.
-
A tooltip will be shown when you hover over the URL's protocol, if an action
on the user's part is required, e.g. adding an SSH key, or setting a password.
![](
img/restricted_url.png
)
On top of these UI restrictions, GitLab will deny all Git actions on the protocol
not selected.
> **Note:** Please keep in mind that disabling an access protocol does not actually
block access to the server itself. The ports used for the protocol, be it SSH or
HTTP, will still be accessible. What GitLab does is restrict access on the
application level.
\ No newline at end of file
doc/administration/img/access_restrictions.png
0 → 100644
View file @
58418515
310 KB
doc/administration/img/restricted_url.png
0 → 100644
View file @
58418515
184 KB
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