| User | Post |
|
2:03 pm October 15, 2009
| jeniferm
Member
| | | |
|
| posts 6 |
|
|
I upgraded to Role Scoper version 1.0.8 (from version 1.0.4.1) and my Editors lost the ability to approve comments to their posts. I could get to the listing and click the "Approve" link. It looked like it attempted to do something, but then put the post back to pending approval status.
When I reverted back to the earlier version of Role Scoper then the Editors could approve comments again. I didn't do anything other than attempt to upgrade, so I'm not sure where the issue might be. I don't have anything other than the default permissions for the Editors group and, when I looked, it said Editors could moderate comments.
I don't have very many plugins activated that might be conflicting, although it's a possiblity. I wonder what would conflict with approving comments? Other than Role Scoper, these are the other plugins I have activated:
Akismet Avatars HTML in Category Descriptions ShareThis Top Level Categories WordPress.com Stats
Version 1.0.4.1 is working fine for me, though, so I'm content to wait for a solution.
|
|
|
10:16 am October 16, 2009
| Kevin
Admin
| | | |
|
| posts 2503 |
|
|
jeniferm said:
I upgraded to Role Scoper version 1.0.8 (from version 1.0.4.1) and my Editors lost the ability to approve comments to their posts. I could get to the listing and click the "Approve" link. It looked like it attempted to do something, but then put the post back to pending approval status. When I reverted back to the earlier version of Role Scoper then the Editors could approve comments again. I didn't do anything other than attempt to upgrade, so I'm not sure where the issue might be. I don't have anything other than the default permissions for the Editors group and, when I looked, it said Editors could moderate comments.
I'm having trouble reproducing this. Do your Editors have a WordPress role of "Editor", and does that role have a default capability set? If you look at Roles > Options > WP Role Definitions > WP / RS Role Equivalence, does your Editor role contain Post Editor?
|
|
|
11:42 am October 16, 2009
| jeniferm
Member
| | | |
|
| posts 6 |
|
|
Hi Kevin,
Yup, it contains Post Editor. The following might be relevant, though… this particular blogger is an Editor for one category and a Contributor for another category. She entered her blog post and assigned both of those categories to it. Since Contributors aren't allowed to moderate comments, maybe this is causing a conflict?
Jenifer
|
|
|
2:16 pm October 16, 2009
| Kevin
Admin
| | | |
|
| posts 2503 |
|
|
jeniferm said:
Hi Kevin, this particular blogger is an Editor for one category and a Contributor for another category. She entered her blog post and assigned both of those categories to it. Since Contributors aren't allowed to moderate comments, maybe this is causing a conflict?
That shouldn't be a problem. In that situation, the design is for her to receive the highest access granted for any post category. It's helpful info, though. What is her base WordPress role? Are you using Category Restrictions? Post Restrictions (as defined in the Edit Post form)?
|
|
|
3:56 pm October 16, 2009
| jeniferm
Member
| | | |
|
| posts 6 |
|
|
I'm just using Category roles defined on the "Category Roles" page with one change to the main Contributor role where I gave them "Upload Files" permissions on the "RS Role Definitions" page. People are either Post Contributors or Post Editors for a particular category.
|
|
|
3:58 pm October 16, 2009
| jeniferm
Member
| | | |
|
| posts 6 |
|
|
Oops, just realized you had asked what her "base wordpress role" is and I didn't answer. This user is a "Subscriber".
|
|
|
6:44 am October 17, 2009
| Kevin
Admin
| | | |
|
| posts 2503 |
|
|
jeniferm said:
Oops, just realized you had asked what her "base wordpress role" is and I didn't answer. This user is a "Subscriber".
That was the detail I needed.
You can fix this in RS 1.0.8 by editing cap-interceptor_rs.php as follows:
change:
if ( ('moderate_comments' == $required_cap) ) {
global $scoper_last_post_id;
if ( ! empty($scoper_last_post_id) )
return $scoper_last_post_id;
}
to:
if ( ('moderate_comments' == $required_cap) && ! empty($_POST['id']) ) {
if ( $comment = get_comment( $_POST['id'] ) )
return $comment->comment_post_ID;
}
|
|
|
7:48 am June 29, 2011
| Kevin
Admin
| | | |
|
| posts 2503 |
|
|
This was fixed in Role Scoper 1.1
|
|