---
title: "Security & Permissions"
url: "https://www.sensomcp.com/en/doc/concepts/security"
lang: "en-GB"
description: "Senso MCP security: feature toggles, Joomla ACL and OAuth scopes work together. The AI assistant can only do what your permissions allow, without Super User access."
category: "Concepts & architecture"
author: "Fred Oliver"
published: "2026-09-07T14:57:13+00:00"
modified: "2026-11-17T18:28:28+00:00"
---

# Security & Permissions

- Abstract: This page explains Senso MCP’s security model, based on three cumulative layers: the component switches and read-only mode, the Joomla ACL of the connected account, and the OAuth scopes granted to each connection. It shows that a tool can only be used if it is enabled on the site, permitted by the account’s permissions, and covered by the scopes.

Component switches, Joomla ACL, OAuth scopes: how Senso MCP enforces your permissions, and why Super User access is not required.

Intermediate

- three-layers-of-control, Three layers of control
- alignment-with-joomla-acl, Alignment with the Joomla ACL
--filtered-reads, Filtered reads
- tools-reserved-for-super-user, Tools reserved for Super Users
- do-you-need-to-be-a-super-user, Do you need to be a Super User?
- never-exposed-password, Passwords are never exposed
- tool-scope, Tool scope
- confirmation-of-sensitive-actions, Confirmation of sensitive actions
- best-practices, Best practices

Security is at the heart of Senso MCP. The solution relies on Joomla’s own mechanisms and introduces no backdoors: the assistant can only do what your permissions allow.

## Three layers of control

Every tool call passes through three successive filters, which are cumulative:

1. **The component switches** — a site-wide policy. A tool disabled in the Senso MCP administration is unavailable to anyone, regardless of the account. Global **read-only** mode likewise removes all write tools.
2. **The Joomla ACL** — the permissions of the connected account. Each tool is linked to an action and a Joomla component, exactly as in the administration.
3. **The OAuth scopes** — the scope granted to a given connection. When authorizing access, the user chooses which tool domains (content, media, menus, and so on) to entrust to the assistant, and can only select those their Joomla permissions allow them to access.

A tool can therefore only be used if it is enabled on the site, allowed by the account's ACL, and covered by the connection's scopes.

## Alignment with the Joomla ACL

MCP tools respect Joomla's **ACL** (access control list). An account that does not have a permission in the administration does not have it through MCP either: the tool does not appear in the list provided to the assistant, and a forced call is rejected with the message “Insufficient permission”. The mapping follows the tool name:

| Tools | Required Joomla action | Example |
|---|---|---|
| `create_*` | `core.create` on the component | create an article: `core.create` on com\_content |
| `update_*` | `core.edit` on the item (or `core.edit.own` for its own articles) | edit an article: `core.edit` on that article |
| `delete_*` | `core.delete` | delete a category |
| `set_*_state`, `reorder_*` | `core.edit.state` | publish, unpublish, reorder |
| administration components | `core.manage` on the component, *in addition* to the action | create a menu item: `core.manage` + `core.create` on com\_menus |
| extension reads | `core.manage` on com\_installer | list available updates |
| cache tools | `core.manage` on com\_cache | clear the cache |

The standard Joomla groups are sufficient: an **Author**, **Editor**, or **Publisher** can only act on content (articles, categories, tags, media, YOOtheme pages), while an **Administrator** has access to almost all tools. Administration components — menus, templates, languages, plugins, cache, installer, users, modules, custom fields — additionally require access to their manager (`core.manage` on the component), exactly as in the back office: an Editor therefore does not see the menu or module tools.

Content updates go through **Joomla forms**, just as when entering data in the administration: the site's text filters are applied to the body, and publication fields — state, dates, featured status, order — are only taken into account if the account has `core.edit.state` (`created_by`, the author, requires `core.manage` on com\_users). Rejected values do not cause an error: they are ignored and listed under the `ignored` key in the response, and an article created without this permission remains unpublished. Moving an article to another category requires `core.create` on that category.

## Filtered reads

The controls do not apply only to writes. Searches and requests for articles and categories return only items that are **published** within the account's **access levels**, unless the account has editing rights. MCP resources (reading an article by its URI) follow the same rules and require the `content.read` scope. Data that reveals sensitive information is restricted to authorized accounts: version history (drafts, trash), module settings, and YOOtheme settings (scripts, CSS).

## Tools restricted to Super Users

Some tools have a scope that extends beyond content and affects the entire site. As in Joomla, they require the global `core.admin` permission, meaning membership in the **Super Users** group:

- installing, updating, or uninstalling an extension;
- editing a template file;
- changing Senso MCP's own settings.

An Administrator cannot see them. This is deliberate: these actions can inject code or scripts into every page, so they require the same level of trust as server access.

The **YOOtheme Pro** add-on, on the other hand, is no longer covered by this list: its permissions are those of YOOtheme itself. Pages require `core.edit` — or `core.edit.own` for the user's own articles — on the relevant article; templates, settings, snapshots, the library, and mega menu require `core.edit` on `com_templates`, the permission that opens the Customizer; module layouts require `core.edit` on the module. An **Administrator** can therefore operate the builder without a Super User account.

## Do you need to be a Super User?

**No.** An ordinary account is sufficient for the vast majority of uses. Choose the Joomla group that matches the need: content creation with Editor or Publisher, day-to-day management with Administrator, and reserve a Super User account solely for extension operations and directly editing template files.

By default, however, Joomla reserves the API for Super Users: other groups must be granted access to it. The settings required depend on the connection method:

| Settings | OAuth | Joomla API Token |
|---|---|---|
| **Web Services Login** permission (`core.login.api`) | required | required |
| Group added to the **User - Joomla API Token** plugin | not needed | required to obtain a token |

### 1. Grant permission to connect to the API

This step is required for both methods. Example using the **Administrator** group:

1. open **System → Global Configuration**, then the **Permissions** tab;
2. expand the **Administrator** group;
3. set **Web Services Login** to **Allowed**, then save.

### 2. Add the group to the plugin (API token only)

The plugin determines which groups can obtain a token: until the group is listed there, the **Joomla API Token** tab does not appear in its members' profiles. By default, only the **Super Users** group is listed.

1. open **System → Plugins** and search for **User - Joomla API Token**;
2. make sure the plugin is enabled;
3. under **Allowed User Groups**, add **Administrator** without removing **Super Users**, then save.

### 3. Generate the token (API token only)

Sign in with the relevant account and open its profile: the **Joomla API Token** tab is now available. Save the profile to generate the token, then reopen the tab to copy it. Only the account holder can view their token: another administrator can generate or reset it, but cannot display it.

These settings only allow the connection: what the account can do remains limited by its ACL, as described above. Regardless of the connection method, the `core.login.api` permission and the fact that the account is not blocked are rechecked with every request and each time the token is renewed.

## Never expose a password

Senso MCP never sends a password to the assistant. Authentication relies on OAuth or API tokens, and the user management tools neither handle nor return passwords.

## Tool scope

You remain in control of the scope: each enabled plugin adds tools, each disabled plugin removes them, and every tool has its own toggle. Tools are divided into **read** (viewing) and **write** (modification) tools — enable only what you need for your use case.

## Confirmation of sensitive actions

Plugins can require actions that are difficult to undo — deletion, bulk changes, global settings — to be carried out in **two steps**. The first call makes no changes: it returns a preview of the changes and a token. The action is executed only if the assistant calls the tool again with the same parameters and token, after you approve it. The token is valid only once, for 5 minutes, for your account and for that specific request.

In addition, each tool tells the assistant whether it only reads data or can modify it: depending on the client you use and your settings, the assistant may execute read operations freely and ask for your approval before making a change.

## Best practices

- create **one account per use case** (an assistant, an automation), following the **principle of least privilege**;
- always serve the site over **HTTPS**;
- enable only the plugins and tools that are genuinely useful;
- grant each connection only the scopes it needs;
- revoke access as soon as it is no longer needed.
