Keeping Gus safe: permissions and approvals
Last updated
Letting an AI work on your websites only makes sense if you stay in control. MaintainHQ gives you several layers of control over Gus, and each one works on its own, so a mistake in one is caught by the next.
This guide explains each layer: what Gus is allowed to reach on each site, what always needs your approval, the optional rules that let some fixes run without a click, and the safety net under every change.
The layers of control
| Layer | What it controls | Where you set it |
|---|---|---|
| Gus access | Which parts of a site Gus can reach at all, or whether Gus can work on it. | When you add a site, then in WordPress admin. |
| Approvals | Every fix, on every environment, waits for you. | The Fix plans tab of Diagnose & fix, or a one-time email link. |
| Standing approvals | Optional rules for fixes that may run without asking. | The Standing approvals tab of Diagnose & fix. |
| Safety net | Backup, check and automatic rollback on every fix. | Always on. It cannot be switched off. |
Gus access: what Gus can reach on each site
When you add a site, you choose whether to Let Gus work on this site, and which areas it can reach. These are hard stops: they are built into the MaintainHQ plugin and the site enforces them, so Gus cannot reach anything you leave out.
| Area | What it lets Gus do |
|---|---|
| Plugins | See, update and switch off plugins; test for plugin conflicts. |
| Themes | See and update themes. |
| WordPress core | Check core files and update WordPress. |
| Files and code | Read theme files and suggest code changes. |
| Database | Run read-only queries and tidy up stale data. |
| Content | Read pages and posts and suggest content changes. |
| Error logs | Read the PHP error log. |
| Settings | Security, performance and cache settings. |
If you switch Gus off for a site, Gus gets no key to that site and nothing about it is sent to the AI. MaintainHQ still handles updates, backups and monitoring.
You choose this once, before the plugin is installed. After that it can only be changed on the site itself: in WordPress admin, go to MaintainHQ, then Gus access. Every Gus request is logged there too.
What always needs your approval
Gus can look, measure and explain without asking. Anything that changes a site needs an approval for that exact fix on that exact environment. That includes content changes such as a new phone number, swapping a photo, a menu change, a product price, a code change, and every technical fix.
Approvals can only be given on the Fix plans tab or through a one-time email link. Gus cannot approve its own work, and nor can the chat, Slack or the Gus menu in WordPress admin. See Approving Gus fixes.
Standing approvals: fixes that run without asking
If you are happy for certain fixes to run without being asked each time, such as low-risk fixes on staging, you can write a standing approval rule. Anything a rule does not cover still waits for you. MaintainHQ staff cannot create or change these rules for you.
- Open Diagnose & fix, choose the site and open the Standing approvals tab.
- Under Add a rule, give it a Name, such as "Low-risk on staging".
- Under Applies to, choose every environment of the linked project, or only this site.
- Choose the Environment the rule covers.
- Under Up to, choose the highest risk it covers: Low risk, Medium risk or High risk.
- Optionally tick Only these fixes to limit it to certain kinds of fix. Leave all unticked for any fix up to that risk.
- Check the sentence that sums up the rule, then press Save rule.
Each rule in the list has a switch to turn it off and on, and a bin button to delete it. With no rules, the tab says "Gus asks you before every fix."
Even under a rule, every fix is backed up, checked and rolled back if it does not work, you are told each time one runs, and you can undo it.
The kinds of fix a rule can cover
When you limit a rule to certain fixes, you choose from this list:
- Security headers; Disable XML-RPC; Hide the WordPress version; Disable the file editor; Stop open sign-ups.
- Update a plugin; Roll back a plugin; Roll back a theme; Deactivate a plugin; Delete an inactive plugin.
- Image alt text from media titles; Clear the cache; Expired transient clean-up; Database clean-up.
- Rebuild permalinks; Repair scheduled tasks; Repair the WooCommerce job queue; Clear stuck maintenance mode.
- Raise the PHP memory limit; Hide PHP errors from visitors; Move the site to HTTPS.
- Remove junk accounts; Move spam comments out of the queue; Close comments on old posts; Form spam protection.
The safety net under every change
- A backup of exactly what the fix will touch, taken on that environment just before it runs.
- A re-run of the check that found the problem, plus a health check of the site, straight afterwards.
- Automatic rollback if the problem is not fixed or the site got worse.
- An Undo button for a while afterwards.
- An audit log of every step, and a receipt showing who approved what.
- Plugin conflict tests that switch plugins off only for Gus’s own signed requests, so visitors never notice.
The backups and rollback guide covers this in detail, and the security page explains how MaintainHQ protects your sites more widely.
Good practice
- Give Gus only the areas it needs on each site. A brochure site may not need Database or Files and code.
- Start without standing approvals. Add a rule only for fixes you have approved many times and trust.
- Keep production rules narrow: low risk, and limited to specific fixes.
- Link a staging environment and send riskier fixes there first.
- Read the reports Gus sends after each batch of fixes.