question on service commands in http-backend.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Short version: can I assume that, of all the service commands [I
assume that's what they're called] in the services[] array in
http-backend.c (approx line 530), only 'git-receive-pack' represents a
*write* attempt?

Long version: I just managed to fixup gitolite so it can be used with
smart http also, and after all that was done I got to wondering about
this.  It matters to gitolite because it needs to recognise whether
the user is trying to perform a write or a read so it can make the
correct access control decision.

With ssh it was very simple: you only had 3 command
(git-upload-archive, git-upload-pack, git-receive-pack) and the first
2 are "read"s.

And yes, I do notice that these new ones are all "GET" so it is hardly
likely they'd be writes -- just wanted to make sure...

Thanks,

-- 
Sitaram
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]