public function LdapAuthorizationConsumerOG::authorizationDiff in Lightweight Directory Access Protocol (LDAP) 7.2
Same name and namespace in other branches
- 8.2 ldap_authorization/ldap_authorization_og/LdapAuthorizationConsumerOG.class.php \LdapAuthorizationConsumerOG::authorizationDiff()
Parameters
string $op: 'grant' or 'revoke' signifying what to do with the $consumer_ids.
drupal user object $object:
array $user_auth_data: is array specific to this consumer_type. Stored at $user->data['ldap_authorizations'][<consumer_type>].
$consumers: as associative array in form of LdapAuthorizationConsumerAbstract::populateConsumersFromConsumerIds
array $ldap_entry,: when available user's ldap entry.
bool $user_save: indicates is user data array should be saved or not. this is always overridden for og.
Overrides LdapAuthorizationConsumerAbstract::authorizationDiff
File
- ldap_authorization/
ldap_authorization_og/ LdapAuthorizationConsumerOG.class.php, line 268
Class
Code
public function authorizationDiff($existing, $desired) {
return parent::authorizationDiff($existing, $desired);
}