apply patch https://drupal.org/comment/8644731#comment-8644731
add dependency of OG
Merge branch '7.x-2.x' of git.drupal.org:project/og_moderation into 7.x-2.x
remove og_context dependence
Issue #1616852 by pgillis,lynn: The implementation of hook_node_grants returning the wrong data structure. The hook must return an array of gids, not an array of arrays of gids.
Issue #2075151 by pgillis: Calls clone_is_permitted($node->type) before we check permission so that we don't show link where it doesn't belong.
Issue #2061439 by pgillis: Node Clone has some permissions I would like to manage through OG. Added node clone permissions to OG realm and implemented hook_TYPE_alter to check them.
Issue #2061627 by pgillis: Node access too slow when current user is member of large number of groups. Now we only populate grants if we are in a group context and add grant for the current context.
Issue #1991066 by pgillis: Add the ability to manage publishing permissions in og. Implements hook from revisioning module to check OG permissions and grant access as appropriate.
Apply patch http://drupal.org/node/1783992#comment-6475610
apply patch http://drupal.org/node/1616852#comment-6078804
fix revision control
Drupal is a registered trademark of Dries Buytaert.