'discussion_process_adhoc_access_group_id' => '1786',
'discussion_process_adhoc_no_access_group_id' => '1787',
'discussion_process_donation_amount' => '120',
+
+ 'discussion_moderator_access_group_id' => '1788',
+
],
## License
private $discussion_process_adhoc_no_access_group_id;
private $discussion_process_donation_amount;
+ private $discussion_process_moderator_access_group_id;
+
/**
* Constructor for this authentication source.
*
$attributes['discussion_process'] = ['false'];
}
+ //
+ // discussion forum moderator early access
+ //
+
+ $adhoc_params = ['adhoc_access_group_id' => intval($this->discussion_moderator_access_group_id)];
+
+ if ($compare_res($donation_query('query_discussion_process_adhoc', $adhoc_params), 1)) {
+ Logger::debug('fsfdrupalauth:'.$this->authId.': In adhoc list of moderators for board discussion forum');
+ $attributes['discussion_moderator'] = ['true'];
+
+ } else {
+ Logger::debug('fsfdrupalauth:'.$this->authId.': Not in adhoc list of moderators for board discussion forum');
+ $attributes['discussion_moderator'] = ['false'];
+ }
+
//
// aggregate attribute
//