Users, roles and access: an editor without publishing
How to give someone access to a site, how the roles differ, and how to limit or revoke an external agent. Only the current Core roles and Admin screens; no invented roles and no changes on a live site.
Three independent layers of access
Access to a site has three independent layers. A system operator is an installation-level identity: it sees every site and controls global settings. Site membership grants the role owner, admin, editor or viewer and applies only to that site. An external-agent connection adds its own scopes hoba:read, hoba:write and hoba:publish and is bound to one site and one account.
The layers do not replace each other. A role does not grant scopes to an agent, and a scope does not raise a role. If a role is lowered or membership is removed, Core sees it on the next check even when the agent token has not expired yet.
System operator. This is a separate installation list, not a site role. A current operator gets effective owner rights on every site for ordinary actions. Do not confuse it with a site owner membership, and do not grant operator status for routine editing.
Site members
Open site members in Admin → Sites → <site> → Users. A site owner or system operator adds a member by email, chooses a role, and sets a password only for a new account; for an existing account the password is ignored.
A role change or removal applies within this site. There is no global user disable: to close access, remove the site membership. The last owner of a site cannot be removed.
Only the owner changes membership or roles: adding, changing a role and removing a member require site management. An editor cannot grant rights to themselves or a colleague. A hidden button is not the protection — Core checks the action on the server.
Roles and their limits
The current roles and their limits:
Owner. Full control, including site management: settings, theme, domains, members, publishing, activation, rollback and release scheduling.
Admin. All content and schemas, draft review and approval, and review moderation. Site management, members and publishing are unavailable.
Editor. Create, update and delete content, work with composition and media, and moderate reviews. Cannot approve drafts, publish, or change site settings or members.
Viewer. Read-only access to content and schemas.
There is no separate “publisher” role. Publishing is a site-management operation, so in the current model only the owner can publish; a system operator acts as an effective owner. Admins and editors prepare the draft, but the owner publishes.
An editor without publishing
Scenario: a contractor or staff editor prepares pages but must not change the public version. Create a separate account and add it to the site with the editor role.
An editor can open the site, read and edit the draft, create and delete pages and entries, work with composition and media, and moderate reviews. They cannot publish, activate or roll back a release, schedule publication, change the theme, domains, site settings or members, or approve someone else’s draft.
To check it, sign in as the editor, edit the draft and save. The publish, activate and rollback controls must not appear in the release area, and a direct publish request is rejected by the server. If the person really needs to publish, do not make them an owner by default: decide who owns releases and keep publishing with the owner. A role that can publish without site management does not exist today.
External agent: site-scoped scopes
An external agent connects to the address of one site, /api/v1/cms/sites/<site UUID>/mcp. The connection is bound to that site and to the HOBA account that completed OAuth. Another site needs another connection; a site_id argument does not change the endpoint’s site.
Consent offers independent scopes:
hoba:readreads pages, content, catalogs and resources.hoba:writechanges draft content, composition, media and reusable blocks.hoba:publishstages, generates, inspects and activates releases, rolls back and schedules publication.
Publish does not imply read or write. On the consent screen hoba:publish is not selected by default: choose it explicitly when the client requested it. The current role is the ceiling: an editor can allow read and write but not publish; a viewer only read; an owner can select every scope.
Every call re-checks the current role. A role downgrade or site removal applies to the next request even if the connection and token remain. A scope never restores rights removed in HOBA.
Management is under Site → Settings → External agents. Listing, editing scopes and revoking are available to the site owner or a system operator. To add a scope, sign in as the connection’s account: the client must have requested that scope, and the current role must allow it. Saving applies to the next authenticated call without reconnecting. A scope outside the original request needs a new OAuth consent. Clearing all scopes suspends access while keeping the connection record.
Changing access and revoking it
Access is changed in three different places:
Member role. A role change in
Usersapplies at once: the next check uses the new role.Agent scopes. Saving in
External agentsnarrows or expands access for the next call; all scopes can be cleared to pause work.Connection revocation.
Revoke accesscloses the connection immediately: later requests with its access or refresh token are rejected, while the record stays in history asRevoked.
Revocation requires a live Admin session with CSRF, not just an API token. After revocation there is no need to wait for the token to expire. The events external_agent.revoke, external_agent.update_access and external_agent.tool appear in the site activity log.
To close a person’s access to the site, remove their membership. Their connections stop passing the current-role check, and they are revoked when a token is refreshed. Other sites and other connections are unaffected.
How to verify in Admin and MCP
Verify permission separation on a test site and a separate test account. Do not change roles or revoke access on a live site just to run a check.
Roles. Add a test user with the
editorrole, sign in as that user, and save a draft edit. Confirm that publishing, activation, rollback, site settings and members are unavailable. Then change the role toviewer: editing must stop saving while reading continues. Restore the role or remove the test user.Read scope. Connect a test MCP client with only
hoba:read. Ask it to edit a page: the editing tool is absent fromtools/list, and a direct call returnsdenied: connection lacks required scope.Expand and narrow. Sign in as the connection’s account, add
hoba:writeand save. The next call should work without reconnecting. Clearhoba:writeor all scopes — the next call is rejected again.Publishing. With
hoba:readandhoba:writebut withouthoba:publish, ask it to publish: release tools are absent or the call is rejected. Only an account with the owner role can add publishing.Revocation. Choose
Revoke accessand repeat a request through the agent. The connection must be rejected and appear asRevokedin the list. Check the site activity log and confirm that other connections and sites are unaffected.Role change while connected. Lower the test user from
editortoviewer: editing must stop working while reading remains. After removing membership, the next request is refused site access.
If an action still works when it should not, do not look for a bypass through another address or role. Check the current role, the connection scopes, the licence and the audit log; fix the cause at its source.
A website you can manage yourself.
Hi, I’m Hobbit! I can show you what HOBA can do. Where shall we start?