| User | Post |
|
7:52 pm October 13, 2010
| helenyhou
Member
| | | |
|
| posts 8 |
|
|
I've noticed a couple of funky things. In both 1.3RC2 and RC3, users with the regular WP role of editor cannot create top-level pages. The problem goes away with Role Scoper deactivated.
In RC3, I can't save sitewide Role Defaults (though I could in RC2). I also notice that, although I have it set to user administrators only, other user types (editor) can still set role permissions and even options. Am I missing a setting somewhere?
|
|
|
12:57 am October 14, 2010
| Kevin
Admin
| | | |
|
| posts 2503 |
|
|
For the inability to save top-level pages, edit role-scoper/admin/filters-admin_rs.php as follows:
change:
$reqd_caps = ( 'author' == $top_pages_locked ) ? array( $publish_cap ) : array( $edit_cap );
to:
$reqd_caps = ( 'author' === $top_pages_locked ) ? array( $post_type_obj->cap->publish_posts ) : array( $post_type_obj->cap->edit_others_posts );
I will update the release candidate shortly.
I'm not seeing the role/option access error. Does your editor role have the manage_options capability?
|
|
|
1:28 am October 14, 2010
| Kevin
Admin
| | | |
|
| posts 2503 |
|
|
For the failure to modify default site options, edit role-scoper/submittee_rs.php as follows:
change:
if ( ! in_array( $_GET["page"], array( 'rs-options', 'rs-site_options') ) )
to:
if ( ! in_array( $_GET["page"], array( 'rs-options', 'rs-site_options', 'rs-default_options') ) )
This looks to me like an old bug; I don't see how RC2 would have saved the changes either.
|
|
|
9:38 am October 14, 2010
| helenyhou
Member
| | | |
|
| posts 8 |
|
|
RC4 does indeed fix the top-level pages issue. My editor role does indeed have manage_options turned on - I'll leave that turned off and hope that I didn't have a reason for turning it on in the first place! Thanks for that.
I guess it's possible that RC2 didn't save those options, either… that might be more a testament to my current mental state than your plugin RC4 is working for the most part, but I do notice that this option will not save: Non-editors see other users' attached uploads. I'm not testing all of the options, so that's the only one I've encountered.
|
|
|
11:57 am October 16, 2010
| Kevin
Admin
| | | |
|
| posts 2503 |
|
|
I wasn't able to confirm any problem with that option, but did identify and fix a problem with modifying type-specific Default Site Options, such as teaser settings. The fix is in Role Scoper 1.3.RC5.
|
|