🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Conta Get it free
LeanRoles – User Tags & Role Performance Audit icon
Manutenção ativamente Testado com WP 7.1 #41 in capabilities

LeanRoles – User Tags & Role Performance Audit

Audits what your user roles cost on every request, and adds user tags: label users without creating roles that grant nothing and weigh nothing.

Instalações ativas<10Novo
Downloads · 30d332▲ +165.6% vs prev. 30d
Classificação—0 comentários
Pontuação da saúde64/100Bom
Downloads de todos os tempos707Desde agosto de 2026
Suporte resolvido—Sem tópicos recentes
RequerWP 5.9Php 7.4+
Downloads · 7d67▼ -23% week over week
Nosso veredicto

Escolha sólida

LeanRoles is a solid plugin choice in 2026, with a few things worth checking first. Was last updated 2 days ago, and scores 64/100 on our health check.

  • Desenvolvido ativamente — última atualização 2 dias atrás
  • Testado com as últimas WordPress (7.1)
  • Base de usuários pequenas (<10 instalações ativas)
  • Muito poucos comentários até agora

Como ele se acumula?

Lado a lado em instalações, atualizações, avaliações e suporte

Downloads diários

142842Sep 4Oct 18Dec 2
Ontem6
Média diária (1y)7
Dia de pico56Aug 25, 2026
Últimos 12 meses708

Os picos de download geralmente seguem uma nova versão — cada site que atualiza automaticamente é um download.

Rankings

Where LeanRoles stands today

WordPress.org Classificações de pesquisa

Posição ao vivo na pesquisa de plugins, top 100
Palavra chavePosiçãoPlugins concorrentesCategoria
capabilities >100 9,446 Best capabilities plugins →
Multisite >100 7,148 Os melhores plugins de vários sites →
user management >100 8,612 Best user management plugins →
user roles >100 6,993 Best user roles plugins →
user tags >100 10,000 Best user tags plugins →

About LeanRoles

From the official readme · v0.7.1

Descrição

WordPress keeps every role in one autoloaded option, with each role’s capabilities copied out in full, because core has no inheritance. On a membership or commerce site with forty roles that option is read, unserialized and held in memory by every PHP worker on every request — and those are exactly the sites whose traffic is mostly logged in, so page caching never gets a look in.

LeanRoles does two things about it.

It measures. The auditor is strictly read-only. It takes the size of your role option with LENGTH() in the database rather than re-serializing it in PHP, times a real unserialize() of it on your machine after a warm-up pass, measures the resident footprint with the result kept alive, and works out what that costs in concurrent workers. It identifies roles that grant no effective permission, roles nobody holds, roles with identical capability sets, and capabilities it cannot account for — while being explicit that “unrecognised” is not “orphaned”, because custom code checks capabilities no scanner can see.

It offers the missing primitive. There is no way in WordPress to say “this user is a wholesale customer” without granting them permissions. There are only roles. That is why membership plugins keep inventing them: they have no alternative. A LeanRoles tag is that alternative. It appears in $user->roles, answers current_user_can(), and can be filtered on in WP_User_Query — and it is never written to the autoloaded option. Third-party code cannot tell the difference.

O que ele faz

  • The auditor, with real measurements and wp leanroles audit --format=json
  • User tags: create, assign individually or in bulk, filter, a users-list column, CSV import and export
  • The tag engine as a standalone library, libraries/user-tags/, that any plugin can bundle so tags cost them nothing to adopt
  • WP-CLI: create a tag, assign it in bulk by role, edit or delete a role with reassignment, move a role configuration between sites, take and restore role-option backups

Licensing

LeanRoles uses Freemius for licensing, payment and automatic updates on its paid plan. Freemius is a third-party service. It is one of the two external services the plugin uses, both listed under External services below.

Nothing is sent anywhere unless you say so: by opting in, by activating a licence, or by submitting the deactivation survey described below. The plugin asks to opt in once, on activation, and skipping is a real option: skip it and the plugin works exactly as it does otherwise. Nothing about the auditor or user tags depends on it.

If you do opt in, what is shared is:

  • your WordPress user’s name and email address;
  • the site’s homepage URL and title, its language, and the WordPress and PHP versions;
  • which version of LeanRoles is running, its SDK version, and whether it is active, deactivated or uninstalled;
  • the list of other plugins and themes installed on the site (names, slugs, versions, and whether each is active). This one is a separate, optional permission on the opt-in screen. In the free version it comes ticked, so untick it if you do not want it sent. When you activate a licence it starts unticked.

No newsletter subscription is requested.

Activating a licence key sends the key and the site URL, so the licence can be checked and updates delivered to you.

The deactivation survey. Deactivating the plugin shows a short “why are you leaving?” survey. Your answer is stored on the site and sent only when the plugin is deleted:

  • If you skip the survey, nothing is sent.
  • If you never opted in and tick “Anonymous feedback”, only the reason you chose, up to 128 characters of any text you typed, and an anonymous site identifier are sent.
  • If you never opted in and submit it without ticking that box, the plugin opts you in at that moment and sends everything listed above for opting in, along with your answer.
  • If you had opted in, your answer goes along with the uninstall notice.

Freemius’ terms and privacy policy cover what they do with it.

What the paid plans cost, and what they add

O que não faz

It does not convert roles into tags for you. What it gives you are three independent primitives — create a tag, assign it in bulk, delete a role with reassignment — which compose into a conversion done by hand, by someone who has read the audit and accepts the risk.

Before deleting a role it tells you how many capabilities that role grants and how many users hold it. It does not tell you which of those users will actually notice the difference: answering that means computing effective capabilities per user, before and after, and the plugin does not do it. Take a backup and check for yourself.

Serviços externos

LeanRoles works without any external service. Two are used, and only when somebody asks for them:

  • Freemius, for licensing and the paid plans. It is contacted only if you opt in on activation, activate a licence, or answer the deactivation survey and later delete the plugin. What it receives in each case is set out under Licensing above. Terms, privacy policy.
  • The “More plugins” tab of the audit screen lists the author’s other plugins. When an administrator opens that tab, the plugin downloads the list from https://davefx.com/plugins.json, at most once a week (every twelve hours while it cannot be reached, showing a copy bundled with the plugin meanwhile). Nothing about the site’s users or its roles is sent, and the request does not name the site: it identifies itself only as the library that makes it. As with any web request, davefx.com’s server receives the IP address of the server making it. Nothing is downloaded until the tab is opened. Privacy policy.

Development

The distributed plugin has no dependencies and no build step: what is in src/ and assets/ is what runs. Composer is used only for the test suite, and .distignore keeps all of it out of the release.

composer install
./tests/bin/start-db.sh      # throwaway MariaDB on 127.0.0.1:3307
./tests/bin/install.sh       # WordPress + the test library
composer test                # single site
composer test:multisite      # network
composer test:matrix         # WordPress 5.9, 6.5 and latest
composer lint                # standards + PHP 7.4 compatibility

Every test runs against a real WordPress install and a real database, because the risky parts of this plugin are all seams it does not own — the short-circuit contract of the metadata filters, what WP_User::set_role() does on its way past, how WP_User_Query builds a role clause. See tests/README.md.

Instalação

  1. Upload the plugin to wp-content/plugins/leanroles and activate it.
  2. Open LeanRoles → Audit. Nothing on that screen writes anything.

Log de Changes

The "More plugins" tab loads its styles the standard WordPress way.

0.7.1

The “More plugins” tab’s styles are now queued through WordPress (wp_add_inline_style) instead of being printed as a <style> tag in the page, as the wordpress.org review asks. Nothing changes on screen.

0.7.0

The audit screen has a second tab, “More plugins”, listing the author’s other plugins. It adds no menu entry, notice or banner. The list is downloaded from davefx.com only when an administrator opens the tab, at most once a week. The request does not name the site, and opening the tab does not run the audit. The External services section of this readme says exactly what is fetched and when.

That section is new. Writing it showed that the part about Freemius was wrong in two places and missing a third:

  • The list of installed plugins and themes is on by default in the free version’s opt-in. It is optional and can be unticked, but it was described as off.
  • No newsletter is offered at all. It was described as optional.
  • The deactivation survey was not mentioned. It is sent when the plugin is deleted, and if it is submitted without ticking “Anonymous feedback” on a site that never opted in, that counts as opting in. All four cases are now spelled out.

0.6.5

On the paid plans, converting a role with more than ten thousand holders refused with “too many holders to check”, so the large membership tiers that most needed it were the ones it could never touch. The safety check now asks one holder per situation, meaning each distinct combination of roles and personal capabilities, since that is all that decides what anybody would lose. A site has a few dozen of those, not seventy thousand. The conversion screen also names the holder who would lose something, and what they would lose. Before, it said only “a holder would lose: capabilities”.

Nothing in the free plugin changes.

0.6.4

wp leanroles audit --no-user-counts and `--no-benchmark` failed with "unknown parameter" on every site. WP-CLI reads `--no-something` as `something` switched off, so an option declared under its negative name can never be given; both are declared the way WP-CLI expects now, and the tests run the arguments through WP-CLI's own parser instead of handing the command an array, which is how this went unnoticed. The paid report's `--no-drift` had the same fault and the same fix.

On the paid plans, the conversion scan is quieter and more right. Taking a role from one user ($user->remove_role()) is no longer reported as deleting the role: after a conversion that call removes the tag, which is what the code meant. And the two review rules for direct database access now need the role’s name nearby, rather than anywhere in the file, so a role called lifetime is no longer reported against every query in a file that mentions lifetime earnings.

0.6.3

The 0.6.2 package delivered to paid sites carried a stray directory, a copy of this plugin’s own public files left over from publishing it, which did nothing but take up space. 0.6.3 is 0.6.2 without it, and the build now refuses to package any file the source does not track. The plugin directory never received 0.6.2, so here this is simply the Freemius SDK security update below.

0.6.2

The bundled Freemius SDK goes from 2.13.4 to 2.13.5, a security release: error messages, emails and URLs in its admin notices are escaped, a notice that built HTML out of the address bar is gone, only an administrator can opt a site in, and the pricing page no longer lets the query string override the plugin’s own data. Nothing in LeanRoles itself changes.

Registro de change completo em WordPress.org →

Capturas de tela

The audit. Everything on this page is read — the size of the role option taken with LENGTH() in the database, and what it is costing you.
The audit. Everything on this page is read — the size of the role option taken with…
Measured cost. A real unserialize() of your own option, timed on your own machine, and what that works out to in workers and object-cache bandwidth. 3. Every role, heaviest first, with what it grants, what it denies, how many deprecated level_N entries it carries, and how many users hold it. 4. Users → Tags. Create and edit tags, with CSV import and export. 5. The users list, with a Tags column, filter links, and bulk assign and remove. 6. Tags on the user profile.
Measured cost. A real unserialize() of your own option, timed on your own machine, and…
LeanRoles – User Tags & Role Performance Audit screenshot
LeanRoles – User Tags & Role Performance Audit screenshot
LeanRoles – User Tags & Role Performance Audit screenshot
LeanRoles – User Tags & Role Performance Audit screenshot

Para desenvolvedores

Este é o seu plugin? Mostre os números.

Adicione um crachá ao vivo ao seu site, Documentos ou Readme do GitHub. Ele é atualizado por conta própria - nenhuma conta necessária.

Selo de Instalações Ativas Selo de classificação Distintivo de pontuação de saúde

Best LeanRoles alternatives

All capabilities plugins →
Alternativas
Classificação Plugin Instalações ativas Classificação Atualizada Saúde
1 Members – Membership & User Role Editor Plugin Members – Membership & User Role Editor Plugin The best WordPress membership and user role editor plugin. Edit roles, restrict content… by Blair Williams 300K+ ★★★★★★★★★★ 4.9 (1.3K) 16 hours ago 97
2 PublishPress Capabilities: User Role Access Control, Admin Area Permissions PublishPress Capabilities: User Role Access Control, Admin… User role editing for WordPress. Manage user roles, control capabilities and permissions… por PublishPress 90K+ ★★★★★★★★★★ 4.7 (144) 3 dias atrás 95
3 Restrict User Access – Ultimate Membership & Content Protection Restrict User Access Create Access Levels and restrict any post, page, category, etc. Supports bbPress… by Joachim Jensen 10K+ ★★★★★★★★★★ 4.3 (94) 4 semanas atrás 76
4 Roles & Capabilities Roles & Capabilities Take full control of user roles and capabilities in WordPress with an intuitive, powerful… by Ariel 1K+ ★★★★★★★★★★ 5 (7) 12 meses atrás 54
5 User Role for Flamingo User Role for Flamingo Configure special user role to access the flamingo contacts and messages wihtout admin… by Yannick Zipf 700+ ★★★★★★★★★★ 3 (2) 3 anos atrás 28
6 RoleMaster Suite – User Role Editor for E-Commerce, Membership & Admin Panel RoleMaster Suite Create, manage, and assign WordPress user roles and capabilities with precision — ideal for… by Pixar Labs 600+ ★★★★★★★★★★ 3.7 (3) 3 meses atrás 69
7 Enable Contributor Uploads Enable Contributor Uploads Easy plugin which adds the capability for contributors to upload images to their blog posts. by Equalize Digital 300+ ★★★★★★★★★★ 5 (4) 10 meses atrás 48
8 Comment Moderation Role by WPBeginner Comment Moderation Role by WPBeginner Add a new comment moderator user role to your site. by WPBeginner 200+ ★★★★★★★★★★ 3.7 (3) 9 meses atrás 44
9 Custom Access Roles Custom Access Roles Create custom roles with editing capability for only specific pages, categories and post… Por Sala 34 Creative Services, LLC 200+ ★★★★★★★★★★ 5 (1) 5 meses atrás 61
10 Map Cap Map Cap Control who can publish, edit and delete custom post types. Silly name, useful code. by thenbrent 200+ ★★★★★★★★★★ 5 (4) 13 anos atrás 33

FAQ

LeanRoles: quick answers

Respostas diretas, extraídas de dados ao vivo WordPress.org.

Fonte: WordPress.org

Is LeanRoles free?

Yes. LeanRoles is free to download and use from the official WordPress.org plugin directory.

Is LeanRoles safe to use in 2026?

LeanRoles is a solid plugin choice in 2026, with a few things worth checking first. Was last updated 2 days ago, and scores 64/100 on our health check.

How many websites use LeanRoles?

LeanRoles is active on <10 WordPress websites and has been downloaded 707 times since it launched in August 2026. It was downloaded 332 times in the last 30 days.

Does LeanRoles work with WordPress 7.1?

Yes. The developer has tested LeanRoles up to WordPress 7.1.5, the latest release. It requires WordPress 5.9 or newer.

What PHP version does LeanRoles need?

LeanRoles requires PHP 7.4 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.

When was LeanRoles last updated?

The latest version, 0.7.1, was released on December 1, 2026 (2 days ago).

Who makes LeanRoles?

LeanRoles is developed and maintained by David Marín Carreño (DaveFX).

What are the best alternatives to LeanRoles?

The most popular alternatives to LeanRoles are Members (300K+ installs), PublishPress Capabilities:… (90K+ installs) and Restrict User Access (10K+ installs).

Alimentado por PageForge

Um modelo e uma planilha. Uma página real para cada pesquisa.

PageForge Transforma cada linha de um CSV em uma página WordPress com seu próprio título, URL, SEO campos e esquema, construído no layout que você já desenhou. Gratuito em WordPress.org.

  • CSV e XLSX, mais Google Sheets em Profissional e Empresarial
  • Seu próprio título, URL, SEO campos e esquema para cada página
  • Funciona com o editor de blocos, Elementor, Divi e Avada
  • Gratuito em WordPress.org, sem cartão de crédito

↑↓ mover↵ abrir