When try Group module at first time the main think maybe you miss is Comments, in Drupal 7 comment is tied to Node bundle for that reason is not possible to use to be use by other entities.

Don't worry there is a good option replace, using the project https://www.drupal.org/project/reply follow the simple steps explained in README file

There are essentially two steps to setting up replies:
1. Create & configure the Bundle
Visit admin/structure/reply and create a 'Bundle'. The bundle represents a collection of fields for the reply. For example, your replies could include a title and larger text field which make up a comment - so create a bundle called 'Comments' with two text fields.
Visit admin/people/permissions and assign permissions for the bundle.

2. Add a Reply field to Entities you wish to add replies to.
Once you have created a Reply bundle, visit the 'Manage Fields' page for the Entity you wish to attach it to. (e.g. Go to admin/structure/taxonomy, edit the vocabulary that you wish to have replies on and go to the 'Manage fields' tab for that vocabulary.) Add a new field of type 'Reply', and then in the Field settings select the bundle you created earlier. Here you can inherit the bundle settings for display, threading etc., or override them for this specific entity/type. Also visit the Manage display tab to ensure your Reply bundle will be displayed.

Comments

-enzo- created an issue. See original summary.

kristiaanvandeneynde’s picture

Thanks for the info, I guess :) Nice for people that want to use comments on Group entities. A feature I'm not planning to have in the module natively.

-enzo-’s picture

Hi @kristiaanvandeneynde correct is just info, because I expend couple hours trying to figure out and I don't see anything related in Issue queue.

That is something you don't need to be worry about, I am thinking a contrib module group_reply to enable a permission level for group roles to edit, reply and reply to reply permissions under the group.

Your API allow this kind of integration for a third party implementation what hooks I could use?

Thanks in advance.

kristiaanvandeneynde’s picture

For permissions, you would use hook_group_permission(). But perhaps it's easier if you check out all the hooks yourself in the api documentation: http://cgit.drupalcode.org/group/tree/group.api.php

ShaneOnABike’s picture

Status: Closed (works as designed) » Active

In my case the comments do appear but they are available to everyone who has permissions to use comments. Would there not be a way to include the comments permissions into the actual permissions of groups? Therefore limiting the access to only group members?

ShaneOnABike’s picture

@-enzo- does reply do that for you? And can I attach that directly to any entity include nodes? I managed to attach it but the problem is that the reply entity itself is being controlled not by the group permissions but the main permissions :/ Did you get this to work otherwise?

Soul88’s picture

Status: Active » Closed (outdated)

We thank everyone for their collaboration on this issue, but as the D7 version is no longer supported, we will now close all D7 issues to keep the issue queue a bit tidier. This information won't go anywhere, it just won't show up on the list of open issues anymore.

Please see: https://www.drupal.org/project/group/issues/3203863#comment-14100281 for more details.