Project

General

Profile

Paste
Statistics
| Branch: | Revision:

root / drupal7 / sites / all / modules / ldap / ldap_authorization / ldap_authorization_og @ b42754b9

Name Size Revision Age Author Comment
LdapAuthorizationConsumerOG.class.php 37.1 KB 59ae487e about 7 years Assos Assos Weekly update of contrib modules
README.txt 755 Bytes f7a2490e over 10 years Assos Assos git mv htmltest drupal7
ldap_authorization_og.info 565 Bytes b42754b9 almost 7 years Assos Assos Weekly update of contrib modules
ldap_authorization_og.install 359 Bytes f7a2490e over 10 years Assos Assos git mv htmltest drupal7
ldap_authorization_og.module 9.03 KB be58a50c about 7 years Assos Assos Weekly update of contrib modules

Latest revisions

# Date Author Comment
b42754b9 08/31/2017 12:06 AM Assos Assos

Weekly update of contrib modules

05237dd8 06/01/2017 12:09 AM Assos Assos

Weekly update of contrib modules

59ae487e 05/25/2017 12:10 AM Assos Assos

Weekly update of contrib modules

be58a50c 03/23/2017 12:06 AM Assos Assos

Weekly update of contrib modules

7547bb19 02/23/2017 12:12 AM Assos Assos

Weekly update of contrib modules

5136ce55 08/10/2016 10:49 PM Assos Assos

Weekly update of contrib modules

f7a2490e 02/13/2014 03:56 PM Assos Assos

git mv htmltest drupal7

View revisions

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,
),
),
);

Also available in: Atom