What Capabilities Does Nelio A/B Testing Use?

Nelio A/B Testing uses WordPress capabilities to control which users can create tests, manage running tests, view results, modify settings, and manage the site’s subscription.

By default:

  • Administrators have access to all Nelio A/B Testing features.
  • Editors can create and manage most tests, but don’t have access to administrative settings or subscription management.

If you need more control, you can use a role management plugin to grant specific capabilities to existing roles or create custom roles for your team.

Available Capabilities

Nelio A/B Testing defines the following capabilities.

Create, Edit, and Delete Tests

These capabilities allow users to create, edit, and delete tests.

CapabilityDescription
edit_nab_experimentsCreate and edit tests
edit_nab_php_experimentsCreate and edit PHP Tests.
delete_nab_experimentsDelete tests

⚠️ Note: PHP Tests allow arbitrary PHP code to be executed. Only grant edit_nab_php_experiments to trusted users with WordPress development experience.

Manage Running Tests

These capabilities control the lifecycle of tests.

CapabilityDescription
start_nab_experimentsStart tests
stop_nab_experimentsStop tests
pause_nab_experimentsPause running tests
resume_nab_experimentsResume paused tests

View Results

CapabilityDescription
read_nab_resultsView test reports and analytics.

Configure the Plugin

CapabilityDescription
manage_nab_optionsModify Nelio A/B Testing settings.

Manage the Subscription

CapabilityDescription
manage_nab_accountView and manage the site’s subscription and account information.

Creating Custom Roles

If you want different team members to have different responsibilities, you can create custom WordPress roles using a role management plugin such as User Role Editor.

For example, you might create an A/B Testing Manager role that can:

  • create and edit tests;
  • start, pause, resume, and stop tests; and
  • view test results.

At the same time, you could prevent those users from:

  • modifying plugin settings;
  • managing the subscription; or
  • creating PHP Tests.

This lets marketing teams run tests while keeping administrative and development tasks restricted to trusted users.

For example, in the following image we have created a new “author in Nelio A/B Testing” role to which we have added test creation and viewing capabilities:

Creating a custom role with Nelio A/B Testing capabilities

Assigning Capabilities to Individual Users

Instead of creating a new role, many role management plugins also let you grant capabilities directly to individual users.

Assigning capabilities to a user

This is useful when only a small number of users need additional permissions.

Best Practices

We recommend following the principle of least privilege:

  • Grant only the capabilities users need.
  • Restrict PHP Test creation to experienced developers.
  • Limit plugin settings and subscription management to Administrators.
  • Review custom roles periodically as your team evolves.