Deprecate BP_Docs_Groups_Integration::user_can_associate_doc_with_group() and replace with current_user_can( 'bp_docs_associate_with_group' )