root / drupal7 / sites / all / modules / ldap / ldap_authorization / ldap_authorization_og @ a84ddea4
Nom | Taille | Révision | Âge | Auteur | Commentaire |
---|---|---|---|---|---|
LdapAuthorizationConsumerOG.class.php | 37,5 ko | f7a2490e | plus de 10 ans | Assos Assos | git mv htmltest drupal7 |
README.txt | 755 octets | f7a2490e | plus de 10 ans | Assos Assos | git mv htmltest drupal7 |
ldap_authorization_og.info | 571 octets | f7a2490e | plus de 10 ans | Assos Assos | git mv htmltest drupal7 |
ldap_authorization_og.install | 359 octets | f7a2490e | plus de 10 ans | Assos Assos | git mv htmltest drupal7 |
ldap_authorization_og.module | 9,11 ko | f7a2490e | plus de 10 ans | Assos Assos | git mv htmltest drupal7 |
Dernières révisions
README
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,
),
),
);
Formats disponibles : Atom