2019-06-07 09:55:22 -04:00
|
|
|
---
|
|
|
|
type: concepts
|
|
|
|
---
|
2019-07-16 03:02:20 -04:00
|
|
|
|
2014-09-18 03:41:38 -04:00
|
|
|
# Information exclusivity
|
|
|
|
|
2019-06-07 10:33:31 -04:00
|
|
|
Git is a distributed version control system (DVCS). This means that everyone
|
|
|
|
who works with the source code has a local copy of the complete repository.
|
|
|
|
|
|
|
|
In GitLab every project member that is not a guest (reporters, developers, and
|
|
|
|
maintainers) can clone the repository to create a local copy. After obtaining
|
|
|
|
a local copy, the user can upload the full repository anywhere, including to
|
|
|
|
another project that is under their control, or onto another server.
|
|
|
|
|
|
|
|
Therefore, it is impossible to build access controls that prevent the
|
|
|
|
intentional sharing of source code by users that have access to the source code.
|
|
|
|
|
2019-08-29 04:50:59 -04:00
|
|
|
This is an inherent feature of a DVCS. All Git management systems have this
|
2019-06-07 10:33:31 -04:00
|
|
|
limitation.
|
|
|
|
|
|
|
|
You can take steps to prevent unintentional sharing and information
|
2019-06-07 16:17:01 -04:00
|
|
|
destruction. This limitation is the reason why only certain people are allowed
|
2019-06-09 15:55:42 -04:00
|
|
|
to [add users to a project](../user/project/members/index.md)
|
2019-06-07 16:24:27 -04:00
|
|
|
and why only a GitLab admin can [force push a protected
|
2019-06-09 15:55:42 -04:00
|
|
|
branch](../user/project/protected_branches.md).
|
2019-06-07 10:33:31 -04:00
|
|
|
|
|
|
|
<!-- ## 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. -->
|