Re: [git-users] git users and permissions

2013-07-16 Thread Konstantin Khomoutov
On Mon, 15 Jul 2013 21:01:10 -0700 (PDT)
HWSWMAN ed.pat...@gmail.com wrote:

 i created a repo on a server, and i followed instructions to make a
 new git group, and assign users to the group .. then i set it so the
 shell is git shell, and the users can only access the files through
 git .. this is great .. now, can i create a user that can only pull?
 that would be great

There's no way to do implement this using plain Git.

Either look at specialized server-side front-ends like gitolite [1] or
at turn-key Git hosting solutions like [2] or [3].

1. https://github.com/sitaramc/gitolite
2. http://gitblit.com/
3. http://gitlab.org/

-- 
You received this message because you are subscribed to the Google Groups Git 
for human beings group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [git-users] git users and permissions

2013-07-16 Thread Dale R. Worley
 From: Konstantin Khomoutov flatw...@users.sourceforge.net
 
  now, can i create a user that can only pull?
  that would be great
 
 There's no way to do implement this using plain Git.

If a user can only *read* the files in the Git repository, what can
the user do with the repostiory using Git?

Dale

-- 
You received this message because you are subscribed to the Google Groups Git 
for human beings group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [git-users] git users and permissions

2013-07-16 Thread Konstantin Khomoutov
On Tue, 16 Jul 2013 10:30:48 -0400
wor...@alum.mit.edu (Dale R. Worley) wrote:

   now, can i create a user that can only pull?
   that would be great
  
  There's no way to do implement this using plain Git.
 
 If a user can only *read* the files in the Git repository, what can
 the user do with the repostiory using Git?

May be you're right but may be not -- if Git sets up some king of lock
on the repository to have the consistent view of it while calculating
the set of objects to transfer to the remote side, then fetching won't
work.  I don't know if Git does that and I'm lazy to check.

I admit I had a knee-jerk reaction to the OP's question: if one asks
for fine-grained access control to Git repos my immediate reaction is
to tell that person to look for a specialized solution.  For instance,
gitolite work OK for what I have at my $dayjob.

But you made me look at this problem from a different angle: if this
fits the OP's task, he could just set up a git-daemon instance to
provide read-only access to his repositories.  The obvious downside is
that this method does not provide authorization control as all the
access is anonymous.

-- 
You received this message because you are subscribed to the Google Groups Git 
for human beings group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [git-users] git users and permissions

2013-07-16 Thread Ed Pataky
think manufacturing real things

production manufacturing needs only to read, and they should never push,
they read the data and program units for manufacturing

developers need the whole thing of course


On Tue, Jul 16, 2013 at 7:30 AM, Dale R. Worley wor...@alum.mit.edu wrote:

  From: Konstantin Khomoutov flatw...@users.sourceforge.net
 
   now, can i create a user that can only pull?
   that would be great
 
  There's no way to do implement this using plain Git.

 If a user can only *read* the files in the Git repository, what can
 the user do with the repostiory using Git?

 Dale

 --
 You received this message because you are subscribed to a topic in the
 Google Groups Git for human beings group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/git-users/WePDvHWZx_g/unsubscribe.
 To unsubscribe from this group and all its topics, send an email to
 git-users+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
You received this message because you are subscribed to the Google Groups Git 
for human beings group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[git-users] git users and permissions

2013-07-15 Thread HWSWMAN
i created a repo on a server, and i followed instructions to make a new git 
group, and assign users to the group .. then i set it so the shell is git 
shell, and the users can only access the files through git .. this is great 
.. now, can i create a user that can only pull? that would be great

-- 
You received this message because you are subscribed to the Google Groups Git 
for human beings group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.