In short and in plain language
In WordPress, every account has a role. The role sets what the person may do on the site.
An Administrator may do everything. They can add plugins and create new accounts. Only a few people should have this role.
People who only write texts need fewer rights. For them there are the roles Editor, Author and Contributor.
At the end of the year, people often leave the company. Work with an agency may end too. Then you should delete their accounts.
When you delete an account, WordPress asks what happens to its posts. Pick another account to keep them. If you do not, the posts are gone.
December is when a lot of things end at once: employment contracts, internships, the contract with the agency that built the relaunch, the work with the freelance copywriter. In the user list of the WordPress site, none of it ends. Every account stays active until someone removes it, and on many small sites several of those accounts hold the Administrator role, because it was quicker during setup or because the marketing team once needed to change a menu. An Administrator has access to all the administration features within a single site (WordPress documentation): they install plugins, create users and change settings. This article shows which role each person actually needs, how to review the user list account by account, how to remove accounts without losing posts, and which invisible access points are easy to miss during a cleanup: application passwords and the administration email address.
Key takeaways
- WordPress has six pre-defined roles (WordPress documentation). For content work, Editor, Author or Contributor is usually enough; only people who manage plugins, users and settings need Administrator.
- 55 percent of companies hit by damage from cyberattacks name inadequate identity and access management as a cause (Bitkom). Accounts of people who left and of finished service providers should be deleted by year end.
- When you delete an account, WordPress asks what to do with its content: choosing “Attribute all content to” keeps the posts. Make a backup first and check the account's application passwords.
- Application passwords have existed since WordPress 5.6 (WordPress developer docs). They belong to one account, can be revoked one by one, and the “Last Used” column is accurate to within 24 hours (WordPress Core blog).
- The remaining Administrator accounts should have a strong password and two-step authentication (WordPress developer docs); the administration email address must point to a mailbox your own business can access.
- If an unknown Administrator account turns up: document it first, then change passwords and end sessions. A personal data breach must be reported without undue delay and where feasible within 72 hours, unless it is unlikely to pose a risk (Art. 33(1) GDPR).
At year end: who still has access after leaving
A WordPress account knows nothing about an employment relationship ending. It remains in place with its password, role and saved logins until someone with administrator rights removes it. The IT-Grundschutz Compendium of Germany's Federal Office for Information Security (BSI) puts the duty briefly: when staff changes occur, user IDs and permissions that are no longer needed must be removed (BSI IT-Grundschutz Compendium). For a website with a handful of accounts this sounds like a minor detail. In practice, the list often contains names nobody can place anymore: the account of the agency that built the relaunch years ago, an internship account, a shared “editorial” account whose password several people know.
The Bitkom study Wirtschaftsschutz 2026 (business protection) shows that these gaps are not theoretical. It surveyed 1,003 companies in Germany with at least 10 employees and annual revenue of at least one million euros (Bitkom). 58 percent of them suffered damage from cyberattacks in the past twelve months (Bitkom). Asked which factors contributed significantly to a successful attack, 55 percent of these companies named inadequate identity and access management (Bitkom), just behind misconfigurations at 57 percent (Bitkom). Multiple answers were possible.
The question of who the attackers were is also about access. Among the companies affected by data theft, industrial espionage or sabotage, 23 percent report unintentional and 19 percent intentional actions by current or former employees (Bitkom). The study does not separate the two groups. For a website, this means an account that keeps running after someone leaves is an open door, whether someone uses it on purpose or the old password simply stays saved in a browser on a private device.
The roles in WordPress and what they allow
WordPress has six pre-defined roles (WordPress documentation). The sixth, Super Admin, only exists in a network of several sites; in a single site installation, Administrators are in effect the Super Admins (WordPress documentation). Each role bundles a set of permissions that WordPress calls capabilities. The documentation stresses that roles do not form a hierarchy but describe a user's responsibilities within the site (WordPress documentation). That is exactly how you should assign them: by task, not by trust or position in the company. Whether WordPress is the right system for your project in the first place is covered in the comparison WordPress or a custom website.
| Role (internal name) | Can | Cannot |
|---|---|---|
Administrator (administrator) | all administration features: install plugins and themes, create and delete users, settings, menus | practically nothing on a single site, where Administrators are in effect Super Admins |
Editor (editor) | publish and edit all posts and pages, including other users'; comments, categories, media, unfiltered HTML | plugins, themes, users, settings, menus and widgets |
Author (author) | write, publish and delete their own posts, upload media | edit pages, change other users' posts |
Contributor (contributor) | write and edit their own posts as long as they are not published | publish, upload media |
Subscriber (subscriber) | manage their own profile; the only capability is read | everything else |
The gap between Administrator and every other role is wider than the table suggests. The WordPress hardening guide warns that someone who gains access to an administrator account can install malicious scripts that can potentially compromise the entire server (WordPress developer docs). Every additional Administrator account is therefore another route to exactly this power, with its own password, its own mailbox for password resets and its own devices on which the login is saved.
Editor is not a harmless role either
On a single site, Editors may use unfiltered HTML. The unfiltered_html capability allows HTML markup and even JavaScript in pages, posts, comments and widgets; the documentation notes that enabling it for untrusted users may result in malicious or poorly formatted code (WordPress documentation). For your own marketing team, Editor is usually the right choice. For an external copywriter who delivers the occasional post, Contributor is enough: someone in-house then reviews the text before it goes live. If they are to publish their own posts, Author will do (WordPress documentation); that review step then no longer applies.
Menus and widgets: the gap that leads to Administrator
A common reason someone on the content team ends up as Administrator after all is the menu. Menus, widgets and the Site Editor depend on the edit_theme_options capability, which only Administrators have by default (WordPress documentation). The documentation does show how to add individual capabilities to a role, but it also warns to consider the broader permissions each capability provides: edit_theme_options is not limited to the Site Editor and may grant access to other theme-related administrative functionality (WordPress documentation). According to the documentation, a custom role is created with the capabilities required for the tasks the user should be able to perform (WordPress documentation). A custom role for menu maintenance is therefore a job for the provider who looks after the site, not a quick click in an add-on.
Why everyone ends up Administrator
Hardly any business decides to give everyone full rights. It happens along the way, usually for one of these four reasons.
- The first account gets shared. When WordPress is installed, an Administrator account is created automatically (WordPress documentation). If the site runs on exactly this account for years, in the end everyone knows the password.
- The agency sets everything up. During the build, the provider creates accounts and, for simplicity, assigns the highest role everywhere. After launch, nobody asks again.
- A task does not fit the role. Changing a menu, updating a plugin, adjusting a form: instead of sorting out the capability, the role gets raised and is not lowered again afterwards.
- The default setting is wrong. Under Settings > General, the New User Default Role determines which role new accounts receive (WordPress documentation). Since WordPress 7.0, the dropdown there hides Administrator and Editor by default (WordPress developer docs); a value saved earlier is not reset by the update, though.
Check registration and default role first
Inventory: review the user list account by account
Under Users > All Users, WordPress shows every account with username, name, email address, role and number of posts; above the table, links filter by the individual roles (WordPress documentation). Start with the Administrator filter. For every account listed there, there has to be a person you can name. The BSI requires exactly that: every user ID must be clearly assignable to one person (BSI IT-Grundschutz Compendium). An account called “agency” or “editorial” does not meet this.
- Who is behind it, and does this person still work for the business or on its behalf today?
- Which tasks do they actually do on the site: writing, publishing, maintaining pages, technical work?
- Which role is enough for exactly these tasks, and which role does the account have today?
- Do several people use this account with the same password?
- Are application passwords, and therefore integrations, attached to this account?
- Does the account own posts or pages that should stay on the site?
If you manage several sites or have access to the server's command line, WP-CLI gives you the same overview. The command wp user list lists all users, --role=administrator limits the list to Administrators, and --fields selects the columns, such as the registration date user_registered (WordPress developer docs).
# All administrators with registration date
wp user list --role=administrator --fields=ID,user_login,user_email,user_registered
# Number of accounts with the Editor role
wp user list --role=editor --format=countWrite down the result before you change anything. The BSI requires documenting which user IDs and permission profiles have been approved and created, and regularly comparing this documentation with the actual state (BSI IT-Grundschutz Compendium). For a small website, a table with account, person, role, reason and date of the last review is enough. The same table also covers domain, hosting and mailboxes; how these access points fit together is described in the article Who owns your website?
Right-sizing roles: who really needs what
The guiding question for every row is the task, not the person. The BSI calls this the principle of least privilege: user IDs and permissions are only granted based on actual need and the necessity to perform the task (BSI IT-Grundschutz Compendium). For the website of a small business, the result is a manageable picture.
| Who | Task on the site | Matching role |
|---|---|---|
| Owner or management | responsibility, approvals, emergency access | Administrator, personal account |
| Maintenance provider | updates, plugins, backups | Administrator, one per person, for the contract term |
| In-house marketing | maintain pages and posts, swap images | Editor |
| Sales or specialist department | publish their own expert posts | Author |
| External copywriter | deliver drafts that are approved in-house | Contributor |
| Customers with a login | manage their own profile, for example for a customer area | Subscriber |
Two points come up again and again. First, a maintenance provider does need full rights, but not through a shared account: each person at the provider gets their own named account that ends with the contract. Second, Authors can only edit posts, not pages (WordPress documentation). Anyone in sales who also maintains the service pages belongs in the Editor role.
The change itself is quick: select the accounts in the user list, choose the new role in the “Change role to…” dropdown and confirm (WordPress documentation). This dropdown depends on the promote_users capability, which only Administrators have (WordPress documentation). Tell the people affected what will change beforehand, so nobody finds a menu item missing the next morning. From a data protection perspective, right-sizing matches the requirement to ensure that, by default, only the processing necessary for each specific purpose takes place, explicitly including the accessibility of the data (Art. 25(2) GDPR). If you keep form submissions, job applications or customer accounts in WordPress, every Administrator role usually opens access to that data as well.
Removing accounts without losing content
When you delete an account, WordPress asks a question you should not skim over: what should happen to this user's content. The options are “Delete all content.” and “Attribute all content to:”. The first option deletes the account together with all posts and links attributed to it; the second transfers them to the selected account (WordPress documentation). If you delete an agency account under which the entire relaunch was created and pick the first option by mistake, you may lose a large part of the content.
- Make a current backup of the database and files.
- Look at the account's application passwords and find out which integration uses them.
- Decide on the target account for the content, usually a personal in-house account.
- Delete the account and choose “Attribute all content to:”.
- Change the passwords of the remaining Administrators if the deleted account could have known them, and use “Log Out Everywhere Else” in your own profile.
- Record the change with the date in the access table.
By the way, you cannot delete your own account, only all the others (WordPress documentation). If you want to get rid of the old shared “admin” account, first create a personal Administrator account, log in with it and then delete the old one, attributing its content to the new account. Renaming is not an option, because in WordPress not even an Administrator can change a username (WordPress documentation). Whether the backup from step one holds up in an emergency only shows in a test; how that works is described in the article on testing website backup restores.
On the command line, wp user delete does the same job; with --reassign, the posts go to the given user ID (WordPress developer docs). In a network of several sites, the command only removes the user from the current site unless --network is added (WordPress developer docs).
# Delete the account with ID 123, transfer its posts to the account with ID 2
wp user delete 123 --reassign=2Application passwords: access nobody sees
Besides the regular password, every account can have application passwords. WordPress has offered them since version 5.6 from December 2020 (WordPress developer docs). An application password is tied to a specific user account, is intended for APIs such as the REST API and cannot be used to log in to the dashboard (WordPress developer docs). That is exactly why it goes unnoticed: an app, a provider's script or a connected service can write content with it without anyone ever visibly logging in.
You find the application passwords in the profile of each account, and for other accounts via Users > All Users > Edit. They show the name of each password and usage data such as the time and network address of the last use, and every password can be revoked individually (WordPress developer docs). The “Last Used” column is accurate to within 24 hours, because WordPress only updates it once a day; the developers explicitly describe it as a way to identify passwords that are no longer in use so they can be safely revoked (WordPress Core blog).
For the cleanup, this means: before an account is deleted, its application passwords need a closer look. If one is named something like “Newsletter sync” and was last used yesterday, a live integration depends on this account. It needs a new password on a suitable account before the old one disappears. The developer docs recommend creating one application password per integration, revoking any that are no longer needed and rotating them on a schedule or after any suspected leak (WordPress developer docs). On the command line, wp user application-password list shows the same data, and the fields last_used and last_ip include the last use (WordPress developer docs).
# Application passwords of account 123 with last use
wp user application-password list 123 --fields=name,created,last_used,last_ipSecuring the remaining Administrators
After the cleanup, usually only a few Administrator accounts remain: the one for the responsible person in the business and, if applicable, one each for the people at the maintenance provider. These accounts carry the most responsibility and deserve the most protection. The hardening guide recommends two-step authentication as an additional security measure on top of a strong password (WordPress developer docs). The BSI is more explicit for user IDs with far-reaching permissions: they should be protected with multi-factor authentication (BSI IT-Grundschutz Compendium). Which method fits depends on your hosting and the extensions already in place.
A second measure concerns the tools an Administrator account comes with. By default, the dashboard lets Administrators edit PHP files of plugins and themes; according to the developer docs, this is often the first tool an attacker uses after a successful login (WordPress developer docs). One line in wp-config.php disables the file editor and removes the edit_themes, edit_plugins and edit_files capabilities from all users (WordPress developer docs). It does not stop uploaded malicious files, but it can stop some attacks.
define( 'DISALLOW_FILE_EDIT', true );Finally, the Administration Email Address under Settings > General. It receives notices about updates, recovery mode and fatal errors. The documentation explicitly advises: if your site was originally set up by a developer or agency, verify that the address points to an address your organization can access (WordPress documentation). A changed address only becomes active once the confirmation link in the email sent to the new address has been clicked; until then, the old one stays active (WordPress documentation).
Agencies and service providers: access for a limited time
Service providers need access, but not a permanent master key. A simple rule has proven itself: every person at the provider gets their own named account, the role follows the assignment, and the end of the assignment is also the end of the account. A copywriter gets the Contributor role, an agency entering content for a relaunch gets Editor for the duration of the project, and maintenance gets Administrator.
If the site involves personal data, such as form submissions or customer accounts, the provider is usually a processor. The contract must then stipulate that after the end of the services, the provider deletes or returns all personal data at the controller's choice (Art. 28(3) GDPR). And the business must take steps to ensure that people acting under its authority who have access to personal data only process it on its instructions (Art. 32(4) GDPR). An account that keeps running after the contract ends fits neither requirement.
Put in the contract that access is returned and accounts are deleted when the contract ends, and check it yourself in the user list on that date. Which deadlines matter for website contracts at year end is covered in the article on contract terms and notice periods. The same question applies to the ad account; who holds which access level in Google Ads is explained in Google Ads account: who owns it and who has access.
When an unknown account turns up
Sometimes the inventory finds an Administrator account nobody recognizes. Then deleting it is not the first step. First record what you see: username, email address, registration date and attributed posts. Then continue in this order.
- Change the passwords of all remaining Administrators and use “Log Out Everywhere Else” so that logins on other devices end (WordPress documentation).
- Go through the application passwords of all accounts and revoke unknown ones.
- Check the list of plugins and themes for unknown entries and ask your hosting provider for the access logs.
- Only delete the unknown account once it is clear what it created or changed.
- Find out whether personal data may be affected.
Do not put off the last point. In the case of a personal data breach, the controller notifies the competent supervisory authority without undue delay and, where feasible, not later than 72 hours after having become aware of it, unless the breach is unlikely to result in a risk to the rights and freedoms of natural persons (Art. 33(1) GDPR). Whether that applies is a case-by-case question to settle with your data protection adviser; this section does not replace legal advice. The technical basics against such break-ins are summarized in the article on website security basics.
Keeping the user list clean for good
A one-off inventory does not last long. For the security of processing, the GDPR requires a process for regularly testing, assessing and evaluating the effectiveness of the measures (Art. 32(1) GDPR); the BSI requires the documentation of user IDs to be compared regularly with the actual state of permissions (BSI IT-Grundschutz Compendium). For a website, this means in practice: two fixed occasions and one fixed date.
Joining
Create the account with the role that fits the task, not Administrator just in case. Note person, role and reason in the access table.
Leaving
Remove the account on the last working day or at contract end, attribute its content to an in-house account, revoke application passwords.
Fixed review date
Once a quarter, open the Administrator filter, check every row against the table and review registration and the default role.
In our website care, this is part of the ongoing work: we maintain login protection and access rights and make changes to accounts and roles once you approve them. Why updates, backups and checks like these belong together is explained in website maintenance: why it matters. How we build and maintain WordPress websites is shown on our page about WordPress websites and maintenance.
Related Articles
WordPress or Custom Website: Which One Fits?
WordPress or a custom-coded website? Pros and cons, maintenance effort, security and when each path pays off, compared soberly and without hype.
Online store holiday closure: pause or keep selling?
Closing your online store for the holidays? Cart off, banner, shipping from January 7 or a 503: what Google advises and which withdrawal duties keep running.
Google Ads account: who owns it and who has access
Checking a Google Ads account: the five access levels, manager account ownership, the payments profile and a checklist for switching agencies at year end.