1
|
|
2
|
|
3
|
A summary of tests to do manually. These should all be duplicated in simpletests.
|
4
|
Queries for group memberships and nested group memberships are in the LDAP Servers
|
5
|
module. LDAP Authorization testing is thus about the actual granting of drupal
|
6
|
roles, og group memberships, etc.
|
7
|
|
8
|
|
9
|
|
10
|
Event Handlers to Test
|
11
|
[x] When a user logs on.
|
12
|
|
13
|
|
14
|
Mappings Model:
|
15
|
Mapping of LDAP to drupal role (one per line)
|
16
|
[x] Only grant drupal roles that match a filter above
|
17
|
[x] Convert full dn to value of first attribute before mapping.
|
18
|
|
19
|
|
20
|
|
21
|
Flags to Test:
|
22
|
|
23
|
[x] Enable this Configuration
|
24
|
[x] Revoke drupal roles previously granted by LDAP Authorization but no longer valid.
|
25
|
[x] Re grant drupal roles previously granted by LDAP Authorization but removed manually.
|
26
|
[x] Create drupal roles if they do not exist.
|
27
|
|
28
|
|
29
|
Data Structures to Test:
|
30
|
|
31
|
|
32
|
$user->ldap_authorizations
|