set the ldapGroupMemberAssocAttr for group tests
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
This commit is contained in:
parent
3372bcc7fc
commit
54299f4e66
|
@ -43,6 +43,7 @@ Feature: LDAP
|
||||||
Scenario: Test group filter with one specific group
|
Scenario: Test group filter with one specific group
|
||||||
Given modify LDAP configuration
|
Given modify LDAP configuration
|
||||||
| ldapGroupFilter | cn=RedGroup |
|
| ldapGroupFilter | cn=RedGroup |
|
||||||
|
| ldapGroupMemberAssocAttr | member |
|
||||||
| ldapBaseGroups | ou=Groups,ou=Ordinary,dc=nextcloud,dc=ci |
|
| ldapBaseGroups | ou=Groups,ou=Ordinary,dc=nextcloud,dc=ci |
|
||||||
And As an "admin"
|
And As an "admin"
|
||||||
And sending "GET" to "/cloud/groups"
|
And sending "GET" to "/cloud/groups"
|
||||||
|
@ -56,6 +57,7 @@ Feature: LDAP
|
||||||
Scenario: Test group filter with two specific groups
|
Scenario: Test group filter with two specific groups
|
||||||
Given modify LDAP configuration
|
Given modify LDAP configuration
|
||||||
| ldapGroupFilter | (\|(cn=RedGroup)(cn=GreenGroup)) |
|
| ldapGroupFilter | (\|(cn=RedGroup)(cn=GreenGroup)) |
|
||||||
|
| ldapGroupMemberAssocAttr | member |
|
||||||
| ldapBaseGroups | ou=Groups,ou=Ordinary,dc=nextcloud,dc=ci |
|
| ldapBaseGroups | ou=Groups,ou=Ordinary,dc=nextcloud,dc=ci |
|
||||||
And As an "admin"
|
And As an "admin"
|
||||||
And sending "GET" to "/cloud/groups"
|
And sending "GET" to "/cloud/groups"
|
||||||
|
@ -69,6 +71,7 @@ Feature: LDAP
|
||||||
Scenario: Test group filter ruling out a group from a different base
|
Scenario: Test group filter ruling out a group from a different base
|
||||||
Given modify LDAP configuration
|
Given modify LDAP configuration
|
||||||
| ldapGroupFilter | (objectClass=groupOfNames) |
|
| ldapGroupFilter | (objectClass=groupOfNames) |
|
||||||
|
| ldapGroupMemberAssocAttr | member |
|
||||||
| ldapBaseGroups | ou=Groups,ou=Ordinary,dc=nextcloud,dc=ci |
|
| ldapBaseGroups | ou=Groups,ou=Ordinary,dc=nextcloud,dc=ci |
|
||||||
And As an "admin"
|
And As an "admin"
|
||||||
And sending "GET" to "/cloud/groups"
|
And sending "GET" to "/cloud/groups"
|
||||||
|
|
|
@ -35,6 +35,7 @@ Scenario: Test LDAP group retrieval with numeric group ids and nesting
|
||||||
Given modify LDAP configuration
|
Given modify LDAP configuration
|
||||||
| ldapBaseGroups | ou=NumericGroups,dc=nextcloud,dc=ci |
|
| ldapBaseGroups | ou=NumericGroups,dc=nextcloud,dc=ci |
|
||||||
| ldapGroupFilter | (objectclass=groupOfNames) |
|
| ldapGroupFilter | (objectclass=groupOfNames) |
|
||||||
|
| ldapGroupMemberAssocAttr | member |
|
||||||
| ldapNestedGroups | 1 |
|
| ldapNestedGroups | 1 |
|
||||||
| useMemberOfToDetectMembership | 1 |
|
| useMemberOfToDetectMembership | 1 |
|
||||||
And As an "admin"
|
And As an "admin"
|
||||||
|
|
Loading…
Reference in New Issue