diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2014-07-29 20:07:44 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2014-07-29 20:07:44 +0300 |
commit | b73431421025660d28198955c15356c086f5223f (patch) | |
tree | 8115c2a20986b61fac58dd0d3fc302c896262fee /MANIFEST | |
parent | d745c522f462e01aa576c6f93b94cbad6c631f73 (diff) | |
download | gitaclhook-b73431421025660d28198955c15356c086f5223f.tar.gz gitaclhook-b73431421025660d28198955c15356c086f5223f.tar.bz2 |
Separate rules for the same user name coming from different IP addresses.
* Makefile.PL: Add Net::CIDR to the list of prerequisites.
* gitaclhook: Document user@CIDRLIST syntax and the hooks.acl.ip-env-var
variable.
* lib/GitACL.pm: Use Net::CIDR
(match_host): New sub.
(match_user): Check IP against cidr part (if defined).
(new): Get remote IP address from environment.
Diffstat (limited to 'MANIFEST')
0 files changed, 0 insertions, 0 deletions