pushing: add new can_user_push_http utility
commit475fcc6fab89871e6b1366efb480c436bbe4c957
authorKyle J. McKay <mackyle@gmail.com>
Mon, 28 Apr 2014 21:52:13 +0000 (28 14:52 -0700)
committerKyle J. McKay <mackyle@gmail.com>
Mon, 28 Apr 2014 21:52:13 +0000 (28 14:52 -0700)
treeee6f928d15bf8d6513080669ed83c11923045fc5
parentea3a9e0038a71c20cc31a9bdedc16c976d5bb43a
pushing: add new can_user_push_http utility

In similar fashion to the can_user_push utility, push permissions
can be checked.  This version of the utility reads a group file
directly and so can be used to check http push permissions whereas
the can_user_push utility always uses the getgrnam interface and
so can only check the system's (or chroot's) group file.

While the Girocco::Project can_user_push function can be used to
do the same checking as this utility, this utility avoids the
need to load the Perl interpreter just to check push permissions.
install.sh
src/.gitignore
src/Makefile
src/can_user_push_http.c [new file with mode: 0644]