Closed (fixed)
Project:
Drupal Commons
Component:
Groups
Priority:
Major
Category:
Feature request
Assigned:
Reporter:
Created:
17 Sep 2012 at 23:18 UTC
Updated:
18 Feb 2013 at 22:10 UTC
Jump to comment: Most recent file
New groups are unpublished by default until approved. Let's provide a simple view where administrative users can publish these or mark them as rejected (probably a simple cck field).
We could add a "group moderator" role, or make this view accessible to administrative users with a different role.
| Comment | File | Size | Author |
|---|---|---|---|
| #9 | 1787306_groups_moderation_view.patch | 17.37 KB | japerry |
Comments
Comment #1
geoffreyr commentedRegarding the "group moderator" role, is this role defined on OG or Drupal itself? Based on the description I'm guessing it's the latter. This role is something I can roll into our implementation.
I'm asking because I'm wondering whether there needs to be an OG group moderator role that is distinct from the OG group administrator role. In our workflow, the group moderator has the rights to approve/add/remove members and administer the group, but only the group administrator can customise the group's permissions and update the group.
Comment #2
ezra-g commentedAfter further thought it seems likely that we'd want a single "Content moderator" role that can be re-used for having full spam moderation permissions.
Sine this will likely be re-used elsewhere the role should be defined in a re-usable module. I propose either a Commons content moderation module or a new Commons_misc module to contain this and other components that are likely to be re-used across various Commons features.
Comment #3
geoffreyr commentedContaining these permissions in a Content Moderation module is sort of along the lines of what I was thinking, but I'm not sure if that should extend to the OG Permissions settings as well. Nevertheless it'd be good to make this reusable, especially for the functionality you're discussing above.
Perhaps I could whip up a sandbox with an example?
Comment #4
geoffreyr commentedHere's a link to my sandbox for a first pass at this feature:
http://drupal.org/sandbox/geoffreyr/1809332
Comment #5
ezra-g commentedMoving this to the main Drupal Commons issue queue per #1812492: Consider using central issue queue for Commons projects.
Comment #6
ezra-g commentedThanks, @geoffreyr!
Marking as "needs review".
Comment #7
ezra-g commentedTagging for beta1.
Comment #8
kscheirerI'm going to create a default view thats available as a tab on /admin/content, and shows a list of unpublished groups. Do you need a block as well (useful for D7 dashboard)?
Comment #9
japerryHere is the groups view, ezra wanna review the patch before I commit?
Comment #10
ezra-g commentedjaperry is working on a few tweaks to this patch following some conversation in IRC. Marking as "needs work" and assigning over to him.
Comment #11
japerryFixed the issues from review and committed! Left the buttons both green, and we can revisit later if the UI demands different colors or sizes.
You can see the admin view at admin/content/groups
5a7ba4b09450d3818443753a6b27c1528a7f0acc