WP Manifestindependent plugin directory
manifest / users / b2b-roles

B2B Roles WP Registry grade A. No security issues foundWP RegistryNo security issues foundOpen the reportA

Registers B2B user roles and capabilities.

★ 0stars
4release downloads
v0.1.1latest · 4mo ago

Install

Download b2b-roles.zip From the v0.1.1 release on GitHub, Jun 24, 2026

Upload it under Plugins → Add New Plugin → Upload Plugin, then activate.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/generoi/b2b-roles/releases/download/v0.1.1/b2b-roles.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

Registers B2B user roles and capabilities.

Roles

Role slug Label Capabilities
b2b_customer B2B Customer read, b2b_access

New self-registrations start unverified. Admins verify them under Users → B2B customers.

Each verified customer can have a personal discount percentage (0–100). It is stored in user meta and applied to WooCommerce product prices (catalog, single product, cart, and checkout).

Administrators receive all plugin capabilities automatically.

Installation

Requires the Genero Satis repo in your consuming project's composer.json:

{
  "repositories": [
    { "type": "composer", "url": "https://generoi.github.io/packagist" }
  ]
}

Then:

composer require generoi/b2b-roles

Development

composer install
composer lint       # check code style
composer lint:fix   # apply fixes

Releasing

gh release create vX.Y.Z --title "vX.Y.Z" --notes "..."

Publishing the release triggers .github/workflows/release.yml, which builds the distribution zip and rebuilds the Satis index so the new tag becomes installable via Composer.

Releases

2 releases. Each count is every asset in that release; expand a row for the breakdown.

Tag
Published
Assets
Downloads
v0.1.1 latest
Jun 24, 2026 4mo ago
b2b-roles.zip
4
Jun 23, 2026 4mo ago
b2b-roles.zip
0
A grade

Security

B2B Roles 0.1.0 · audited by WP Registry

No security issues found.

Audited release
0.1.0
Findings
none
Worst severity
—
Content hash
3343b7aa310f9c4e2e40ae18…

WP Registry hashes the installable build and reports on that exact bytes-for-bytes copy. Embargoed findings are withheld until they are disclosed, so a clean verdict means nothing public is outstanding. WP Manifest does not audit code itself.