Role Manager

Give roles other than Administrator permission to manage SEO settings, edit SEO fields or manage redirects. Administrators keep everything, and Hydrogen AI stays with them.

5 min read
On this page
  1. The three permissions
  2. Who always has everything
  3. What stays with administrators
  4. What each permission looks like in practice
  5. How it is stored
  6. With Hydrogen AI
  7. FAQ
  8. Can I give an editor access to Hydrogen AI?
  9. An editor has Edit SEO fields but cannot see the SEO sheet on a post. Why?
  10. Does the Role Manager change anything for visitors?
  11. Is Role Manager access included in a settings export?
  12. Related reading

The Role Manager lets you give WordPress roles other than Administrator part of Hydrogen SEO: the site-wide settings, the SEO fields in the editor, or redirects and the 404 Monitor. It is in version 0.0.36 and later, under Hydrogen SEO → Settings → Role Manager.

Nothing changes until you tick a box. Before 0.0.36 every part of Hydrogen SEO needed the manage_options capability, which on a standard site means administrators only, and a site that never opens the Role Manager keeps exactly that.

The three permissions

The screen shows a table with one row per role on your site and one column per permission, with a short description of each permission below it.

PermissionWhat it opens
Manage SEO settingsThe Hydrogen SEO dashboard and its site-wide settings, such as titles, schema, sitemap, robots and social. It does not include anything listed under what stays with administrators.
Edit SEO fieldsThe SEO settings sheet in the post and term editors, and the SEO column and Quick Edit fields on the Posts screen. Only on content the role can already edit.
Manage redirectsAdd, change and delete redirects, use the 404 Monitor, and have a redirect created automatically when they change a slug.

Tick the boxes you want, then click the dashboard's Save button. A message confirms Roles saved. The change applies on each person's next page load.

Who always has everything

Any role that can manage options holds all three permissions and Hydrogen AI, whatever the table says. Those rows are shown ticked and cannot be changed, with the note Can manage options, so always has everything. On a standard site that is the Administrator role. On a multisite network, super admins also have everything, because WordPress answers yes for them before Hydrogen SEO is asked.

This means a bad save cannot lock an administrator out of Hydrogen SEO.

What stays with administrators

None of the three permissions covers the following. They stay with roles that can manage options:

  • The API Key screen, which holds the key that connects the site to your hydrogenseo.com account.
  • The Role Manager itself. Only administrators can open it or change who has access.
  • Hydrogen AI. The agent acts with the permissions of the administrator who connected it. If another role could use the chat, that role could ask the agent to do anything an administrator can do through it, such as changing role access or importing settings. So the chat stays with roles that can manage options, and the Role Manager has no column for it.
  • Anything that spends AI credits: AI titles and descriptions, bulk metadata, AI content tools, AI alt text and AI featured images.
  • Webmaster Tools, where the verification codes that prove ownership of the domain are kept.
  • Import SEO Data, both the import from another SEO plugin and settings export and import, including undoing an import.

The agent's connection, the AI Abilities switch, the approval policy and re-syncing are also administrator-only, as they were before.

What each permission looks like in practice

Permissions belong to roles, not to people. Ticking a box for Editor gives it to every editor on the site. If you want one person to have more than the rest of their role, give them a different role.

Edit SEO fields is the one most sites want for writers and editors. With it, the SEO settings sheet appears in the block editor and the term editor, and the SEO column, filters and Quick Edit fields appear on the Posts screen, for the posts and terms that person can already edit. It never overrides WordPress's own edit rights: an Author with this permission still cannot open someone else's post. On its own it does not add the Hydrogen SEO menu to wp-admin, because none of the dashboard screens are needed for it.

Manage redirects suits someone who looks after moved pages and broken links. They see the Hydrogen SEO menu with the Redirections screen and the 404 Monitor, and when they change a slug with Auto Redirection on, the 301 is created for them as it is for an administrator.

Manage SEO settings opens the site-wide settings screens, such as General, Homepage, Social, Titles & Meta, Schema, Robots, Breadcrumbs, Sitemap and Instant Indexing. It does not open Webmaster Tools or Import SEO Data, and it does not let the person spend AI credits. Give it with care. These settings change what every visitor and search engine sees: a noindex rule, a sitemap exclusion or a robots.txt line can take pages out of search results. It does not include Redirections or the 404 Monitor; tick Manage redirects as well if the person should have those.

A person whose role holds none of the three sees no Hydrogen SEO menu and no SEO sheet, as before.

How it is stored

Nothing is written to WordPress's roles. The ticks are kept in one Hydrogen SEO option and applied while the plugin is active, so untick every box and save to go back to administrators only. Rows for roles that can manage options are never stored, because they already have everything.

The permissions are ordinary WordPress capabilities, so your own code can check them with current_user_can():

  • hydrogen_seo_manage_settings
  • hydrogen_seo_edit_meta
  • hydrogen_seo_manage_redirects

The plugin's REST routes check the same capabilities. See the plugin REST API.

With Hydrogen AI

An administrator can ask Hydrogen AI about access, for example "let editors set SEO titles on their own posts". The agent reads each role's current permissions first, explains which permission fits the job, and changes one role at a time. Changing role access is marked as a permanent change, so under the default policy it asks you before saving. If you ask it to give the chat to another role, it will tell you that is not possible and why.

FAQ

Can I give an editor access to Hydrogen AI?

No. Hydrogen AI acts as the administrator who connected it, so giving the chat to another role would give that role an administrator's reach through it. Only roles that can manage options can use it.

An editor has Edit SEO fields but cannot see the SEO sheet on a post. Why?

Check that the post type is one Hydrogen SEO edits, and that the editor can edit that post at all. The permission adds the SEO fields to content the role can already edit; it does not grant edit rights. Ask them to reload the editor after you save.

Does the Role Manager change anything for visitors?

No. It only decides who can use Hydrogen SEO in wp-admin and through the REST API. Nothing on the front end of your site changes.

Is Role Manager access included in a settings export?

No. Role access is left out of settings export and import, so set it again on the other site if the same team works there.

Was this page helpful?
Still stuck? Contact support