summaryrefslogtreecommitdiffabout
path: root/lib
AgeCommit message (Collapse)AuthorFiles
2014-07-29Separate rules for the same user name coming from different IP addresses.Sergey Poznyakoff1
* 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.
2014-07-29Change namespace for the configuration variables: hooks.acl.*Sergey Poznyakoff3
2014-04-25Change default rule to "deny".Sergey Poznyakoff3
The old behavior can be restored by setting 'hooks.acldefault = allow' in Git configuration. * gitaclhook: Document hooks.acldefault. * lib/GitACL.pm (default_rule): New sub. * lib/GitACL/File.pm (check_acl): Use default_rule. Fix incorrect reference to project_name. * lib/GitACL/LDAP.pm (check_acl): Use default_rule.
2013-10-24Take into account the user primary group.Sergey Poznyakoff2
* MANIFEST: Add new files. * lib/GitACL.pm (match_primary_group): New function. (match_user): Use match_primary_group. * lib/GitACL/File.pm (check_acl): Minor fix.
2013-06-25Bugfixes.release-1.00Sergey Poznyakoff1
* gitacl.schema: An example LDAP schema. * MANIFEST: Add gitacl.schema * Makefile.PL: Update. * gitaclhook: Fix passing 'user' parameter in test mode. * lib/GitACL.pm: Fix malformed references.
2013-06-23Extract from gsc into a separate project.Sergey Poznyakoff3
2013-06-23Rewrite gitaclhook in a modular way.Sergey Poznyakoff3
The new version provides two storage engines: File and LDAP. * git/MANIFEST: New file. * git/Makefile.PL: New file. * git/gitaclhook: Rewrite. * git/lib/GitACL.pm: New file. * git/lib/GitACL/File.pm: New file. * git/lib/GitACL/LDAP.pm: New file.

Return to:

Send suggestions and report system problems to the System administrator.