Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I'm working on new set of permission to allow users manage comments on some content types.
I've also added a new access comment overview page to let user view the comments that's related to them more easily
It gives them access to admin/content/comment page
Let me know if you're interested and if something similar is already under development
Comments
Comment #1
rschwab CreditAttribution: rschwab commentedHi sinasalek! This sounds great, please share the code if you'd like to see this added to the module. Nothing like this is currently being developed, but it sounds like a great addition.
Comment #2
sinasalek CreditAttribution: sinasalek commentedHere is the patch :)
it introduces two set of new permissions
administer comments by any content
access the comment overview page
Comment #3
sinasalek CreditAttribution: sinasalek commentedIt's also possible to support views as well , however i haven't come up with a generic way for this yet
Comment #4
rschwab CreditAttribution: rschwab commentedComment #5
kristianb21 CreditAttribution: kristianb21 commentedHi, I like the feature proposed by sinasalek! Way to go.
I was looking for a way to add permissions to a "moderator" role where the user would have permissions to edit or unpublish comments and this looks like it will work
Comment #6
aruuska CreditAttribution: aruuska commentedSorry! My mistake! Patch is exactly what I described earlier... :)
I'll test it now.
Comment #7
aruuska CreditAttribution: aruuska commentedSeems to work for me.
Only problem is that if admin/content/comments is views list (overridden with views), then comment access module weight in system table need to change higher than views module weight.
Comment #8
aruuska CreditAttribution: aruuska commentedThis is a patch version that works in drush make.
Comment #9
aruuska CreditAttribution: aruuska commentedSorry, here is the right patch.
Comment #10
formatC'vt CreditAttribution: formatC'vt commentedpatch needs a re-roll to current dev.
Comment #11
waako CreditAttribution: waako at Open Code Limited for Code Enigma commentedRerolled patch in #9 against 7.x-1.x.
No conflicts, no file size change.
New permissions are visible and seem to work.