Og rules has action 'subscribe user to group'. and checkbox 'Subscription is approved'. When that checkbox is checked user is subscribed to group and given ADMINISTRATOR rights. Thats massive fail. Member rights is needed for such users. If that checkbox is unchecked, there is no problem, user is added and when approved, given Member rights.

Comments

mansspams’s picture

for now added , 'is_admin' => FALSE at the config array, will make a patch that ads proper checkbox in config form.

function og_rules_action_subscribe_user($user, $node, $settings) {
  og_save_subscription($node->nid, $user->uid, array('is_active' => (int)$settings['is_active'], 'is_admin' => FALSE));
}