You should add the SSH keys to the user in GitLab, not to the server itself.

Best regards,
Sytse Sijbrandij
CEO GitLab B.V.

On Wed, Oct 8, 2014 at 3:46 PM, Niraj Salot <salotni...@gmail.com> wrote:

> But I have not created the user in Gitlab. I have just added the SSH keys
> of that user directly. After adding SSH keys , User can do anything even if
> the branch if protected...am I doing anything wrong here? It is required to
> create User first in Gitlab and then only then add his/her SSH keys?
>
> On Wednesday, 8 October 2014 19:08:10 UTC+5:30, sytse wrote:
>>
>> The 'Reporter' user can read but not write (clone but not push)
>> http://doc.gitlab.com/ce/permissions/permissions.html
>>
>> Best regards,
>> Sytse Sijbrandij
>> CEO GitLab B.V.
>>
>> On Wed, Oct 8, 2014 at 8:42 AM, Niraj Salot <salot...@gmail.com> wrote:
>>
>>> Hi,
>>>
>>> I create a new Branch in Gitlab and I want that branch to be protected.
>>>
>>> From the Project settings screen , I made the branch as Protected.
>>>
>>> But How this works? I have one user ( who is not created in Gitlab but
>>> his SSH keys have been added). That user can clone / commit / push to this
>>> repository.
>>>
>>> I would like to setup Projects/Branches where certain users would have
>>> only read only access ( only clone .. no push).
>>>
>>> How can I do the same within gitlab?
>>>
>>> Please help / guide.
>>>
>>> Thanks in Advance.
>>>
>>> Regards, Niraj.
>>>
>>>
>>>
>>>  --
>>> You received this message because you are subscribed to the Google
>>> Groups "GitLab" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to gitlabhq+u...@googlegroups.com.
>>> To view this discussion on the web visit https://groups.google.com/d/
>>> msgid/gitlabhq/bc20c860-ff63-4807-b20c-7c10397a4765%40googlegroups.com
>>> <https://groups.google.com/d/msgid/gitlabhq/bc20c860-ff63-4807-b20c-7c10397a4765%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>  --
> You received this message because you are subscribed to the Google Groups
> "GitLab" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to gitlabhq+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/gitlabhq/a229bd21-01f3-44f8-addc-80ff1dfa980c%40googlegroups.com
> <https://groups.google.com/d/msgid/gitlabhq/a229bd21-01f3-44f8-addc-80ff1dfa980c%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"GitLab" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to gitlabhq+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/gitlabhq/CAJTzhG9WB5TLO%3DVBZt-5QYLOpq59PLotvVoB5Frr76Qe5z2-BQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to