Security 5 min read

WordPress user roles: giving people only the access they need

WordPress user roles explained: Administrator, Editor, Author, Contributor, Subscriber, WooCommerce roles, custom roles and least-privilege best practices.

Usman Muhammad UsmanUpdated October 13, 2026
WordPress user roles: giving people only the access they need

Every person who logs into your WordPress site has a role that decides what they can do. Giving everyone Administrator access is convenient but risky: one compromised account or one mistake can affect the whole site. The principle of least privilege, giving people only the access they need, is one of the simplest security measures. Here is how WordPress roles work and how I set them up.

Why roles matter

Roles limit the damage if an account is compromised or a user makes a mistake. An Editor whose password is stolen can change content but cannot install malicious plugins. A Contributor cannot publish anything without review.

Roles also keep the dashboard simpler for each person, showing only the tools they use, which reduces confusion and support requests.

Administrator

Administrators have full control: installing plugins and themes, changing settings, managing users and editing everything. On a single site, keep the number of administrators to the minimum, often one or two people responsible for the site.

Developers may need administrator access temporarily. Create a separate account for them and remove or downgrade it when the work is finished.

WordPress roles
RoleCan doGive to
AdministratorEverythingOne or two owners
EditorAll contentContent leads
AuthorOwn posts and mediaRegular writers
ContributorDraft postsGuest writers
Shop ManagerStore operationsStore staff
SubscriberOwn profileMembers

Editor

Editors can publish and manage all posts and pages, including those written by others, and moderate comments. They cannot change site settings, install plugins or manage users. This role suits marketing managers and content leads.

Editors can add unfiltered HTML on single sites by default. On sites with many editors, consider restricting this with a plugin.

Author, Contributor and Subscriber

Authors can write, upload media and publish their own posts. Contributors can write posts but cannot publish or upload files; an Editor reviews and publishes their work. Subscribers can only manage their own profile.

Contributor suits guest writers and junior staff. Subscriber is used for registered readers or members, and many sites do not need public registration at all.

WooCommerce roles

WooCommerce adds Shop Manager, who can manage products, orders, customers and WooCommerce settings without full administrator access, and Customer, assigned to people who create accounts when buying.

Give store staff the Shop Manager role. They can run the store day to day without being able to install plugins or change core site settings. See WooCommerce security basics.

Custom roles and capabilities

Each role is a set of capabilities, such as edit_posts or manage_options. Plugins such as Members or User Role Editor let you create custom roles or adjust capabilities, for example a role that can edit pages but not posts, or manage only one post type.

Change capabilities carefully and document changes. Avoid giving powerful capabilities such as install_plugins or edit_users to custom roles.

Turn off public registration

Under Settings > General, the ‘Anyone can register’ option allows visitors to create accounts. Unless you run a membership site or forum, turn it off. If it is on, make sure the default role is Subscriber, never anything higher.

Many vulnerabilities require a logged-in user. Fewer accounts means fewer opportunities for attackers. See plugin vulnerabilities.

Review users regularly

Every few months, review the user list. Remove accounts for former staff, contractors and agencies, and downgrade roles that are higher than necessary. Look for unknown administrator accounts, which can be a sign of compromise.

When someone leaves, remove their account immediately and reassign their content to another user.

Secure privileged accounts

Accounts with Administrator, Editor or Shop Manager roles should use strong unique passwords and two-factor authentication. These are the accounts attackers want most. See securing WordPress logins.

Avoid shared logins. Each person should have their own account, so actions can be traced in the activity log.

Track user activity

An activity log records who logged in, what they changed and when. It helps diagnose mistakes, such as a deleted page, and spot suspicious activity, such as a new administrator created at night. See WordPress activity logs.

Alerts for role changes and new administrators are especially useful.

Roles on Multisite

WordPress Multisite adds a Super Admin role with control over the entire network, including plugins and themes for all sites. Site Administrators have more limited powers on Multisite than on single sites. Keep Super Admins to a minimum.

See WordPress Multisite: when to use it.

Roles for agencies and freelancers

When working with agencies, freelancers or plugin support teams, create a dedicated account for each person with the lowest role that lets them do the task, and set a reminder to remove it. Avoid sending your own login details by email or chat, which leaves passwords in inboxes indefinitely.

Some plugins offer temporary login links that expire automatically after a set time, which is convenient for support requests. Record who has access in your handover document, as described in my website ownership checklist.

Getting help

I set up roles and access for every client site and review them as part of my website protection service. For a full security review, see my WordPress security audit.

For keeping ownership of key accounts, read my website ownership checklist.

Key takeaways

  • Give each person the lowest role that lets them do their job.
  • Keep administrators to a minimum and use Shop Manager for store staff.
  • Turn off public registration unless you need it.
  • Review users regularly and remove accounts when people leave.

Frequently asked questions

How many administrators should a site have?

As few as possible, usually one or two people responsible for the site.

What role should my developer have?

Administrator while working, then remove or downgrade the account.

Can I create custom roles?

Yes, with plugins such as Members or User Role Editor.

What is the safest default role for registrations?

Subscriber, or Customer for WooCommerce stores.

How do I spot a suspicious account?

Look for unknown administrators or accounts created at odd times. An activity log helps.

Should staff share one login?

No. Individual accounts allow accountability and easy removal.

Can I limit what an Editor can do?

Yes. Role editor plugins let you remove capabilities such as publishing pages or deleting others' posts.

Free website audit

Get a free audit of your website

Tell me your URL and I'll send a short, prioritized list of the speed, SEO and security fixes that will make the biggest difference.

  • No obligation, no sales call
  • 5.0 rating on Google and Upwork
  • Reply within one business day
Written by Muhammad UsmanWeb Development Team Lead with 5+ years building WordPress, WooCommerce, Shopify and Wix websites. Experience · Certificates About me

More on Security

All Security articles

Have a project in mind?

Tell me what you're building and I'll reply with next steps and an estimate.