[Plugin: Role Scoper] Can't see custom posts in admin dashboard as " Editor"
-
Hi,
I am trying to allow editing and authoring of my custom post type for WP Editors. With the help of Role Scoper, I have given WP Editors extra RS “(Custom Type) Editor” role from Roles > General admin page. When checking out the available roles from the user profile page, I can see that this “(Custom Type) Editor” role is properly enabled.
When being as an editor user, dashboard shows a link to my Custom Type, but the listing is empty. When checking out the listing as an administrator user, I can see all posts properly. If I remove the RS’s “(Custom Type) Editor” from WP Editor, the admin link disappears.
As some kind of clue, when I enable WP_DEBUG mode, I will get a notice on top of the listing page:
Notice: Undefined index: in /var/www/wp-content/plugins/role-scoper/query-interceptor_rs.php on line 986
I tracked down the file and it seems that $cap_name variable is empty at that line 986. I confirmed it with var_dump().
Another “oddity” (that may or may not relate to this issue) is at Network’s Role Options -> RS Role Definitions tab. I have also a custom category (taxonomy) related to this Custom Type. When checking out the RS Role Definitions tab, I can see under category roles that there are Custom Category Manager and Custom Category Assigner. Strangely, the related checkboxes are labeled as “Manage Categories” and “Assign Custom Category”, so they differ from each other. I checked also the HTML and the checkbox has value “manage_categories”, where the other has “assign_custom_category”.
Well, this was long explanation – hope that someone would have some ideas what’s going on between Role Scoper and my Custom types ??
Installed versions: WP 3.4.1 in Network mode, RS 1.3.57-dev (downloaded 1/Sep/2012) – same with 1.3.56.
Thanks,
Ville
- The topic ‘[Plugin: Role Scoper] Can't see custom posts in admin dashboard as " Editor"’ is closed to new replies.