You are here

README.txt in Lightweight Directory Access Protocol (LDAP) 7

LDAP Authorization Organic Groups:

----------------------
LDAP Authorization OG Storage:
----------------------
OG authorizations are stored in form gid-rid from the tables og (og.gid) and og_roles (og_roles.rid).  E.G. 1-2, 2-3, 3-4.  OG in Drupal 7 does not use machine names so numeric ids are the only way to store such identifiers.

such as:

$user->data = array(
  'ldap_authorizations' => array(
    'og_group' => array (
      '3-2' => array (
        'date_granted' => 1329105152,
      ),
      '2-3' => array (
        'date_granted' => 1329105152,
      ),
    ),
    'drupal_role' => array (
      '7' => array (
        'date_granted' => 1329105152,
      ),
      '5' => array (
        'date_granted' => 1329105152,
      ),
    ),
  );



----------------------
To Dos (Too small for issue queue)
----------------------
- add support for gid-rid normalized format such as 3-2 in ldap mapping interface

File

ldap_authorization/ldap_authorization_og/README.txt
View source
  1. LDAP Authorization Organic Groups:
  2. ----------------------
  3. LDAP Authorization OG Storage:
  4. ----------------------
  5. OG authorizations are stored in form gid-rid from the tables og (og.gid) and og_roles (og_roles.rid). E.G. 1-2, 2-3, 3-4. OG in Drupal 7 does not use machine names so numeric ids are the only way to store such identifiers.
  6. such as:
  7. $user->data = array(
  8. 'ldap_authorizations' => array(
  9. 'og_group' => array (
  10. '3-2' => array (
  11. 'date_granted' => 1329105152,
  12. ),
  13. '2-3' => array (
  14. 'date_granted' => 1329105152,
  15. ),
  16. ),
  17. 'drupal_role' => array (
  18. '7' => array (
  19. 'date_granted' => 1329105152,
  20. ),
  21. '5' => array (
  22. 'date_granted' => 1329105152,
  23. ),
  24. ),
  25. );
  26. ----------------------
  27. To Dos (Too small for issue queue)
  28. ----------------------
  29. - add support for gid-rid normalized format such as 3-2 in ldap mapping interface