Role Scoper 1.3

Role Scoper version 1.3 is now available as a stable release – the first such update since early July.  It contains extensive performance enhancements over version 1.2.7, full support for custom post types and taxonomies and dozens of bug fixes.

WordPress 3.0 is the minimum version requirement for Role Scoper 1.3 and for all new development moving forward.  However, Role Scoper 1.2.9 is also available as a stable release for WP 2.7 to 3.0.1.  It contains most the the features and bug fixes introduced in version 1.3.

See the full change log below:

Changes since version 1.3.RC6:

  • BugFix : Pages could not be selected as parent based on Page Associate role assignment (since 1.3.RC)
  • BugFix : Infinite redirection if file keys in .htaccess (uploads folder) were manually modified
  • Change : User search results for group membership show user display name (rather than login)

Changes since version 1.2.8.RC9:

Performance Enhancement

  • Perf : Eliminate extensive delays on some sites using Page Roles on hundreds of pages (when filtering posts, pre-execute a problematic subquery)
  • Perf : Eliminate superfluous query clauses for better wp-admin/edit.php performance
  • BugFix : Dozens of PHP Notices / Warnings for undeclared variables or missing array indexes
  • Perf : Extensive code refactoring to reduce memory usage and ease maintenance

Custom Post Types / Taxonomies

  • BugFix : Previous, Next links on single post page for custom types included unpublished posts (since 1.0.0)
  • Compat : Late registration of custom types/taxonomies can be supported by forcing RS to initialize later: define( ‘SCOPER_LATE_INIT’, true );
  • Change : Dropped support for “WP” Role Type (means scoper-assigned roles and restrictions must be object type-specific)

Post Editing

  • Change : In Post Edit Form, currently assigned categories and other hierarchical terms now shown with disabled checkboxes as appropriate
  • BugFix : Default Post/Page Roles were assigned to existing posts at post edit (since 1.1.3, now assigned only to new posts)
  • BugFix : Page Parent dropdown filtering hid published pages from Contributors if none editable
  • BugFix : Page Structure option “Page Authors, Editors and Administrators” did not work (prevented all non-Administrators from editing top-level pages)
  • BugFix : Uploaded files could not be edited / deleted in some cases

Category / Term Management

  • Change : Hide the “Add New Category” UI if logged user does not have term management role site-wide
  • BugFix : Category-specific assignment of Category Manger role (and management roles for custom terms) was not applied correctly with WP 3.0
  • BugFix : Bulk Administration of Term Roles / Restrictions was too narrowly limited for non-Administrators (since 1.2.?)
  • BugFix : Category Manager restrictions were not enforced against users with site-wide manage_categories capability
  • BugFix : Category creation was not appropriately restricted with WP 3.0

Admin – Misc.

  • Feature : For File Filtering, ability to force regeneration of access keys and rewrite rules via utility URL
  • Feature : Nav Menu Manager role assignments per-menu
  • BugFix : Administrators could not modify User Group name or description (since 1.2)
  • BugFix : On Multisite installations, could not save changes to Default Sitewide Options
  • Change : Auto-flush the persistent cache more aggressively on role / restriction modification
  • Lang : updated .pot file
  • Change : Raise minimum WP version to 3.0

Plugin Compatibility

  • WP Super Cache – Store RS cache to a subdirectory to avoid clashing with other plugin use of wp-cache (Multisite usage was wiping WP Super Cache .htaccess file)
  • More Taxonomies, More Types – now supported by forcing RS to initalize later
  • Revisionary – Pending Revisions not included in Edit Posts listing for non-Administrators when editing access to published post is affected by category-specific roles or restrictions (since 1.0)

Changes since version 1.2.7:

Front End

  • Feature : Filter WP Nav menu display based on RS restrictions / roles
  • BugFix : Hidden Content Teaser was not applied to sticky posts
  • BugFix : File Attachment Filter was inactive for installations upgraded to WP 3.0 multisite and still using wp-content/uploads folder
  • BugFix : On failed direct file access attempt, any page / term listings on 404 page were not filtered for RS restrictions / roles

Custom Post Types / Taxonomies

  • Feature : New simple checklist enables/disables RS usage of each defined post type and taxonomy
  • Feature : Filter get_pages / list_pages output for hierarchical custom post types
  • Feature : Hidden Content Teaser for custom post types
  • BugFix : Custom post type menus were not displayed based on Object Role assignment
  • BugFix : Role assignment metaboxes did not display for custom types
  • Change : Force type-specific capabilities for each RS-enabled custom post type
  • BugFix : After a custom taxonomy was enabled for RS roles & restrictions, Administrators could not manage it by default
  • BugFix : Category Role usage (for display in Edit Posts column) was not available for custom post types

Post Editing

  • BugFix : Unnecessary DB query on post save added needless overhead, caused out of memory error on some configurations (since 1.2)
  • BugFix : Post submission categories not filtered when user had category-specific Post Editor role but a General Role of Page Author / Editor (since 1.2)
  • BugFix : Implicit role ownership (indicated by coloring in role metaboxes) was not indicacted correctly under some configurations

Admin Menus

  • BugFix : Invalid Roles > Roles submenu displayed if logged user has edit_users capability but not manage_settings capability
  • BugFix : In admin menus, “Add New” was not properly suppressed in some configurations

Bulk Administration of Roles / Restrictions

  • BugFix : Roles, Restrictions were not displayed on single term edit form
  • BugFix : Category Roles, Category Restrictions bulk admin forms had invalid category edit links with WP 3.0
  • Change : Suppress scroll links in Term Roles / Restrictions bulk admin form if terms total over 300

Admin Misc.

  • Feature : Media Library option, for non-Editors, to prevent the inclusion of files uploaded by other users (even if logged user can edit the related post)
  • BugFix : Some RS Options (including custom post type / taxonomy role usage) did not store correctly with WP Multisite
  • BugFix : Comment listing in wp-admin was not filtered to match post editing access
  • BugFix : XML-RPC submissions failed for users lacking blog-wide edit_posts capability

Plugin Compatibility

  • Verve Metaboxes – Internal server error when Administrator attempted to add a new custom post type
  • Revisionary – Images attached to published content were not listed in Media Library based on Contributor / Revisor role
  • Revisionary – Revisor role does not satisfy “Roles and Restrictions can be set” requirement of “site-wide Editor”
  • RS for NextGEN Gallery – Album Roles were not available until RS Options re-saved
  • WPML – category names with @lang suffix did not have suffix filtered off
  • Edit Flow – (Edit Posts / Pages listing filtered for custom status)

Misc.

  • BugFix : On version upgrade from RS < 1.2, groups_rs db table update failed under certain conditions
  • Lang : Removed ASCII HTML character codes from Spanish translation (David Gómez Becerril – www.desarrollowebdequeretaro.com)