I'm using the patched version of comment_og for OG 7.x-2.x. Everything seems to work except when I enable the commentsblock module (in this case the permissions seem to be ignored).
Any idea what needs to be patched in order to make these modules compatible?
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | comment_og_OG-7.x-2.x_group_permissions.patch | 665 bytes | meanderix |
Comments
Comment #2
meanderix commentedComment #3
meanderix commentedComment #4
gunwald commentedI had the same problem. I wrote a patch for the commentsblock module:
https://www.drupal.org/node/2601530#comment-10493220
Please test it.
Comment #5
meanderix commentedI will take a look at the patch. I've realized that there was a completely different issue involved though. If there are only unapproved comments in a node, then they will not be visible unless you have the "administer comments" permission. When one comment is approved, the remaining unapproved ones will be visible regardless of the "administer comments" permission.
I've kind of worked around this problem by modifying the
comment_og_accessfunction. All authenticated users are given the "administer comments" permission in order to expose the comments to comment_og. However, with the attached patch the users will have the permissions given by comment_og rather than all permissions.