| User | Post |
|
3:27 pm March 12, 2011
| wonko
Member
| | | |
|
| posts 11 |
|
|
Hi,
after the last updates of role-scoper I'm no longer able to choose another author for a post even when I'm logged in with the admin-account.
I tried switching the "filter Users Dropdown" preference but neither true or false make a diffrence. The Admin Account is the only one listed in the dropdown box every time.
Using the development version does not change this, either…
|
|
|
10:11 pm March 12, 2011
| Kevin
Admin
| | | |
|
| posts 2503 |
|
|
What WP version are you running? Same results if you disable other plugins? Same symptoms for all post types (post/page/custom)?
|
|
|
1:42 am March 13, 2011
| wonko
Member
| | | |
|
| posts 11 |
|
|
Yes on both accounts - I just disabled all plugins except role-scoper and tested posts and pages - always the admin as the lonely possible author - even if other users are able to post articles in certain categories and pages to certain sub-pages (which still works from their accounts)
Role Scoper Version: 1.3.28-dev Database Schema Version: 1.1.3 WordPress Version: 3.1 PHP Version: 5.3.3-7
|
|
|
7:14 am March 14, 2011
| Kevin
Admin
| | | |
|
| posts 2503 |
|
|
Does the post have private visibility? What are the WordPress roles of the other users? Have you modified role definitions or set Restrictions?
|
|
|
7:51 am March 14, 2011
| wonko
Member
| | | |
|
| posts 11 |
|
|
The Categories Look Like this:
- Category Group1
– SubCategory User1
– SubCategory User2
- Category Group2
– SubCategory User3
– SubCategory User4
No Restrictions are enforced
The wordpress role of all non-administrative users is subscriber
Users are granted access by Role Definitions: Post-Author on Category Level via Group Membership and on SubCategory-Level via individual Rights
For pages users a author on a link page and editors of a user specific sub-page thereof.
A General Role Assignment of "page author" is also granted
Example:
Scoped Roles Assigned WordPress Role: Subscriber (contains Post Reader, Page Reader)
Additional General Role: Page Author (contains Page Reader, Page Contributor)
Category Roles:
Post Author Group1, ASubCategoryOfGroup1
Page Roles:
42 ACertainPage Page Editor
|
|
|
11:58 am March 14, 2011
| Kevin
Admin
| | | |
|
| posts 2503 |
|
|
I'm having trouble reproducing the lonely users dropdown based on those config details. Is this a multisite installation?
|
|
|
11:59 am March 14, 2011
| Kevin
Admin
| | | |
|
| posts 2503 |
|
|
You will definitely need the "Filter Users Dropdown" option enabled.
|
|
|
12:02 pm March 14, 2011
| Kevin
Admin
| | | |
|
| posts 2503 |
|
|
Make sure Roles > Options > RS Role Defs > Post Author doesn't show any warning message about mismatch with WP role caps.
|
|
|
12:12 pm March 14, 2011
| wonko
Member
| | | |
|
| posts 11 |
|
|
It's a single site with various authors, but those are only allowed to post within certain categories.
As mentioned, it makes no difference at the moment if the Filter Users Dropdown option is on or off, I switched it to off when the problem came to my attention to test if it is relevant, but it was on before and is now on again.
I see no warnings on the RS Role Defs page (how would they be displayed?) I used the "resync on next update" checkbox at the bottom, but it did not change the behaviour, too…
|
|
|
12:24 pm March 14, 2011
| wonko
Member
| | | |
|
| posts 11 |
|
|
The role-scoper information at the bottom of a affected post (which belongs to admin at the moment) shows "Readers" and "Contributors" rights for the desired groups and users - in contrast the "Editors" section only lists admin as allowed… but this looks identical to the situation of an post which was initiated by a user himself…
|
|
|
2:14 pm March 14, 2011
| Kevin
Admin
| | | |
|
| posts 2503 |
|
|
wonko said:
As mentioned, it makes no difference at the moment if the Filter Users Dropdown option is on or off, I switched it to off when the problem came to my attention to test if it is relevant, but it was on before and is now on again.
I understand that, but please turn it back on so that if the necessary configuration or code change is made, you see the effect.
|
|
|
2:45 pm March 14, 2011
| wonko
Member
| | | |
|
| posts 11 |
|
|
Another strange fact:
User A and B are in a group
The group has rights for a category
User A has additionally Rights for subcategory thereof
I log in as User A and create a new post - only the appropriate category and subcategory are shown (as it should be) I choose both and publish the post.
Now I log in as admin and edit the post, the box for author now contains all members of the group but not other users which do not belong to it (again - exactly what we want)
Next step… I change the author to User B and still the world is ok…
But now finally… as soon as I change the author again and this time to admin and thus usurping the post all other possible choices in the author dropdown box are gone… even though the categories of the post never changed at all throughout the whole process.
It seems as if a post which belongs to admin always has to stay as such but one which belongs to a user may still be distributed to other users within the same group.
Last but not least I granted editor rights for the posting to a user but admin is still the only choosable author.
|
|
|
5:05 pm March 14, 2011
| Kevin
Admin
| | | |
|
| posts 2503 |
|
|
Are you running a PHP Execution plugin?
|
|
|
9:33 am March 18, 2011
| Kevin
Admin
| | | |
|
| posts 2503 |
|
|
It sounds like some other plugin is applying additional filtering to the Post Author dropdown when an Administrator is the current author.
|
|
|
10:33 am March 18, 2011
| wonko
Member
| | | |
|
| posts 11 |
|
|
The problem vanished at some point within the last 48 hours - sadly I can not say what exactly was changed to accomplish this… I guess caching on server or client side caused a delay of effect on whatever has been the solution - but thats just fishing in the dark.
Nevertheless, thanks to Kevin for the help provided.
|
|
|
11:03 am April 22, 2011
| wonko
Member
| | | |
|
| posts 11 |
|
|
I think I just found out when the problem disappeared and I can make it reappear… last time Kevin offered to take a look at the blog and in preparation I added a second account with administrative rights - today I cleaned it up and removed the account and right away the problem with the author selection box was back and after adding a new administrator account it disappeared again.
I will leave a second dummy-administrator account active as a workaround but perhaps this information helps to detect the underlying problem in the future.
|
|
|
11:47 am April 28, 2011
| Kevin
Admin
| | | |
|
| posts 2503 |
|
|
I'm guessing the Post Author dropdown only contains your 2 Administrators, and is otherwise hidden because the only eligible user is already stored as post_author.
Are you sure that filtering is being imposed by Role Scoper? Plugins that provide dynamic PHP editing / execution typically limit eligible Post Authors to those who have the same PHP capabilities as the stored author.
|
|
|
2:02 pm April 28, 2011
| wonko
Member
| | | |
|
| posts 11 |
|
|
If only one administrator exists, the dropdown only contains him and noone else.
If at least two administrator accounts exists, the dropdown shows not only all administrators but additionally all the other users. If a category is chosen for the post the displayed users in the dropdown are filtered according to the rolescoper-configurations only listing the users with access to the category.
Taking the last fact into account I assume it is proven, that rolescoper does indeed its job and filters the dropdown… the question remains why a second admin account has to exist to push it into doing so?
Is it possible that somewhere a shortcut has been implemented by wordpress or rolescoper which only triggers the actual processing of the rolescoper-rules if "more than one" user is eligible for post author according to plain basic wordpress role definitions?
|
|
|
2:47 pm November 2, 2011
| Kevin
Admin
| | | |
|
| posts 2503 |
|
|
I still don't know if you are running a PHP execution plugin which may be affecting the user filtering.
|
|