Add validations to LdapGroup
authorMarius Mathiesen <marius@gitorious.org>
Fri, 8 Jun 2012 10:54:33 +0000 (12:54 +0200)
committerMarius Mathiesen <marius@gitorious.org>
Mon, 8 Oct 2012 07:41:31 +0000 (09:41 +0200)
commit53f62ae62e21d1b7f16cbbea2db943d1c99c1940
treebb616f708b8ba42ad5ab625e7d627e9e3881fac0
parent2dfc3e62971b531b1af97702b9e5380b91d6c222
Add validations to LdapGroup

- First of all, member DNs should not contain the base DN
- Next, we will verify that the listed groups actually exist on
  the server
app/models/ldap_group.rb
lib/gitorious/authorization/ldap/connection.rb
test/unit/ldap_group_test.rb
test/unit/team_test.rb