Match LDAP-provided membership DNs to (internal) LdapGroups
authorMarius Mathiesen <marius@gitorious.org>
Thu, 31 May 2012 13:13:42 +0000 (15:13 +0200)
committerMarius Mathiesen <marius@gitorious.org>
Mon, 8 Oct 2012 07:41:30 +0000 (09:41 +0200)
commitf8dbda61883bc40d557d180a121cd6a75cdf2fcf
tree46420bc10279cf847329df9e8bf738f6919f0434
parentb41f7afd6988c815ecc045da1d7ddaef09b6704c
Match LDAP-provided membership DNs to (internal) LdapGroups

LDAP returns a list of groups a user is member of while Gitorious matches these DNs
to those LdapGroup objects registered with these DNs set up
app/models/ldap_group.rb
lib/gitorious/authorization/ldap/connection.rb [new file with mode: 0644]
test/fixtures/ldap_groups.yml
test/unit/ldap_group_test.rb