Age | Commit message (Collapse) | Author | Files |
|
* 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.
|
|
|
|
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.
|
|
* 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.
|
|
* 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.
|
|
|
|
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.
|