Give a WordPress user the TermsFeed menu and the screens they need
The TermsFeed admin menu in TermsFeed AutoTerms follows the capabilities of each user, so an Editor, an Author, or a legal page editor without unfiltered_html sees part of it or none.
| Menu item | Who sees it |
|---|---|
| Dashboard, All Legal Pages, Add Legal Page, Help | Administrators, and users with the plugin capabilities |
| Compliance Kits, Settings | Administrators, and users with the plugin capabilities together with unfiltered_html |
| Legacy Auto TOS & PP | The users who see Settings, on sites upgraded from Auto Terms of Service and Privacy Policy 1.x only |
Close every private window, open a new one, and log in as the user there, or ask the user for a screenshot of the menu, before you change any role. Read the full list of menu items in What the TermsFeed AutoTerms WordPress Plugin Does.
Cause 1: An Editor, Author, or Contributor has no plugin capabilities
The WordPress roles Editor, Author, and Contributor do not carry the plugin capabilities, so their users do not see the TermsFeed menu. The plugin creates "WPAutoTerms Pages Editor (additional)", and "Editor + WPAutoTerms Pages Editor" on sites that have the Editor role. The Role column on the Users screen shows only "Editor", "Author", or "Contributor" for such a user.
Give an Editor the combined role, which holds the capabilities the Editor role had when the plugin created the combined role, plus the legal page capabilities.
- Open Users and edit the user.
- Select the role "Editor + WPAutoTerms Pages Editor".
- Click the "Update User" button and ask the user to reload the admin.
A developer gives an Editor the same role with WP-CLI, replacing jane with the user login.
wp user set-role jane manage_wpautoterms_pages_editor
For an Author or a Contributor, keep that role and add "WPAutoTerms Pages Editor (additional)" beside it. The combined role gives an Author or a Contributor Editor permissions over every post and page, so keep it for Editors. The profile screen offers a single role, so add the second role with a role editor plugin that allows several roles, or with WP-CLI.
A developer adds the role with WP-CLI, again replacing jane. Before you run wp user add-role, compare what each role allows in TermsFeed AutoTerms Capabilities and Roles.
wp user add-role jane manage_wpautoterms_pages
Cause 2: The user has the plugin capabilities but not unfiltered_html
A user with the plugin capabilities but without unfiltered_html sees the legal pages and not Compliance Kits or Settings. On a multisite network only Super Admins hold it, so an Editor with the combined role sees the legal pages only.
Ask an Administrator, or a Super Admin on a network, to change the kit settings for the user. On a single site, give the user unfiltered_html with a role plugin only where you trust that user with code on every page. Read the causes that remove the capability in Code or HTML Not Saving in WordPress.
Cause 3: The user has only the additional role
The role "WPAutoTerms Pages Editor (additional)" holds the 10 legal page capabilities and nothing else, so a user with that role alone lacks the basic WordPress access to the admin. That user does not hold the read capability, so WordPress sends the user to the home page after login and refuses the WordPress Dashboard. The legal page screens still open from a direct address, such as /wp-admin/edit.php?post_type=wpautoterms_page.
- Give the user a WordPress role, such as Author or Editor.
- Add "WPAutoTerms Pages Editor (additional)" on top with
wp user add-roleor with a role plugin that allows several roles. - Ask the user to log in again and open the TermsFeed menu.
Cause 4: The site never ran version 1.x of the plugin
The Legacy Auto TOS & PP item appears only on sites upgraded from Auto Terms of Service and Privacy Policy 1.x, so a new installation never shows it. On a site upgraded from 1.x, a user who is not an Administrator and lacks unfiltered_html does not see the item.
Leave the menu as it is. Use the [wpautoterms] shortcodes for legal pages on a new site, and read how the 3 legacy shortcodes behave in Legal Page Shortcodes for WordPress.
How to verify that the user sees the TermsFeed menu
A user with the right role sees the TermsFeed menu after a fresh login, with the items that role allows.
- Close every private window, open a new one, and log in as the user.
- Confirm that the TermsFeed menu shows Dashboard, All Legal Pages, Add Legal Page, and Help.
- Open Add Legal Page and confirm the "Create" buttons.
- Repeat as a user with
unfiltered_html, such as an Editor with the combined role on a single site. Confirm that Compliance Kits and Settings appear and that Compliance Kits loads.