30 days free. No credit card. Full access from the moment you connect your site.

Start free trial

v0.0.21 — wpb-access-control ^2.0.0 → ^3.1.0 (authenticated sentinel + Public/Any-logged-in-user dropdown)

Highlights

Composer dependency bump — wpboilerplate/wpb-access-control ^2.0.0^3.1.0. Two library releases in one hop.

v3.0.0 (breaking for the library — not for this plugin)

  • Extracted BuddyBossProfileTypeProvider (bb_profile_type) and MemberPressMembershipProvider (mepr_membership) into a separate WordPress plugin — acrossai/user-access-pro — along with eight new integrations (LearnDash Group, LifterLMS Membership, Paid Memberships Pro, Restrict Content Pro, WooCommerce Memberships, s2Member Level, Wishlist Member Level, Memberium Membership).
  • The library now ships only the three WordPress-native providers (wp_role, wp_user, wp_capability) plus a new wpb_access_control_register_providers global filter for third-party provider add-ons.
  • Impact on this plugin: zero. This plugin uses only AccessControlManager + RuleTable (verified via grep). Existing rules unaffected, the per-consumer AccessControlManager( $providers_filter, $table_slug ) constructor signature is unchanged.

v3.1.0

  • New AccessControlManager::TYPE_AUTHENTICATED ('authenticated') sentinel — grants access to any logged-in user without requiring a specific role or capability match. Stored as a single sentinel row like everyone.
  • Dropdown label changes: Everyone (no restriction)Public (no login required), and a new Any logged-in user option renders below it.
  • Existing everyone rows continue to behave identically (public, no login required).

New Access Control affordance on every ability

Site administrators can now pick "Any logged-in user" from the Access Control dropdown on the ability edit panel — useful for abilities that should be reachable by every authenticated user (including subscribers) without curating a specific role list.

Ships together

  • Composer bump + version bump + changelog (PR #103).
  • Rebuilt build/js/abilities.js (PR #104) — the @wpb/access-control React import is a webpack alias that inlines the vendor source into this plugin's compiled bundle, so composer update alone left the browser loading the v2.x dropdown. The compiled bundle is now regenerated against v3.1.0.

No breaking changes

  • No ability slug rename.
  • No REST endpoint change.
  • No option-shape change.
  • No new required capability.
  • Existing 218 abilities behave identically.
  • Existing Access Control rules keep working — the removed BuddyBoss / MemberPress providers were never registered from this plugin (they defaulted to is_available() === false in the library's v1.6.0 – v2.0.x range on sites that had not explicitly opted in).
  • Safe upgrade from 0.0.20.

Composer

"wpboilerplate/wpb-access-control": "^3.1.0"

Full Changelog: 0.0.20…0.0.21


Keep reading