Roles and permissions: what the agent can do for each person (admins)

For admins: how to limit what Lueira Agent can do for each custom role from the "Lueira Agent" section of the role editor, and what a person without access sees.

On this page
  1. The golden rule
  2. Where to configure it
  3. What you can switch off
  4. Changes it can propose
  5. "Everything is allowed except what you switch off"
  6. What a person without access sees
  7. What the agent cannot do with roles
  8. Related guides
  9. Related guides

The golden rule

Lueira Agent can never do more than the person's role allows. If your role cannot see payments or delete customers, the agent will not do it for you either. Also, the sensitive changes it prepares (deleting, money, sends, access or billing) are only applied when the person themselves confirms them in their own session.

This guide goes one step further: it explains how to limit even more what the agent can do for a specific role. It is for admins.

Where to configure it

  1. Go to Settings → Users and press Configure roles (only admins see it).
  2. Press Add role to create one, or the pencil of a custom role to edit it.
  3. Scroll to the bottom of the editor: you will find the Lueira Agent section, collapsed by default (press it to open it). It controls what Lueira Agent can do for whoever has that role. Its description says: "Choose what people with this role can use in Lueira Agents. Everything is allowed except what you switch off."
  4. Change what you need and save the role.

Important details:

  • Only an admin can change it. Anyone else does not reach the role editor (they are taken back to the users list), so there is no read-only view.
  • This limit is meant for custom roles. The fixed ADMIN and POS roles ("fixed and cannot be changed", marked "System role" and without a pencil) carry no agent restrictions and cannot be restricted from here. You can use them as a starting point when you create a role, with "Start from". Custom roles are explained in Custom Roles in Lueira (Spanish only).
  • For more context on users and roles, see Team users and access problems (Spanish only).

What you can switch off

The section is split into groups. Each option can be left on or switched off:

  • Support bar: which panels they see in the Lueira Agents bar: Lueira Agent, Guides, Videos and Support menu.
  • Agents: which specialists they can use: Lueira support, Form builder, Template builder, Expense reader, Website import, Document import, Operator and Analyst.
  • Lueira Agent operations: the areas where it can prepare bulk changes: Communications, Customers, Expenses, Orders, Passes, Rental, School and Shop. Each one can be expanded ("… operations") to switch off individual operations; you will see "… switched off" with the number.
  • What they can ask: How-to help, from the guides, Diagnosing my setup, Business data and statistics, Preparing changes (imports, scripts, drafts) and Talking to the Lueira team.
  • Changes it can propose: a list of individual actions (see below).
  • Lueira Agent tools: internal tools it uses on the person's behalf. Switch one off so it cannot use it for that role.

Even if you leave something on, the server always applies the role's normal permissions: "Lueira Agent can never do more than the role allows".

Changes it can propose

This is the longest list: one option for each action Lueira Agent can prepare for the person to confirm. It ranges from creating discounts or gift vouchers to sensitive actions such as Refunding order payments, Send campaigns or Deleting customers.

  • Next to each action you will see whether it Can be undone or Cannot be undone once confirmed.
  • The section's own note sums it up: "Lueira Agent only proposes these: it never applies them. Each person confirms them with their own session. Switch one off so Lueira Agent cannot propose it to people with this role."
  • If you switch an action off, Lueira Agent will not propose it to that person, even if their role is allowed to do it by hand.

If the full list cannot be loaded you will see "The full list of options could not be loaded; the main ones are shown."

💡 For teams with high turnover or interns, switching off the actions marked "Cannot be undone" is a good starting point.

"Everything is allowed except what you switch off"

The section works as a list of things you take away, not things you grant:

  • A new role, with nothing touched here, can use everything its role already allows. The editor shows "N restrictions" when something is switched off.
  • New options Lueira adds in the future will be allowed until you switch them off.
  • Switching something off never gives more permissions: it only removes.

Some examples of reasonable set-ups (ideas, not automatic settings):

  • Front desk or counter: leave help (guides, videos and diagnostics) and business data on; switch off Preparing changes and the Changes it can propose you do not need.
  • Shop manager: leave changes in Shop and Orders; switch off refunds and sending campaigns.
  • An external or temporary person: switch off Lueira Agent in the support bar; they will still see the guides and videos.

What a person without access sees

If a person's role allows no agent at all, when they open Lueira Agent they see a padlock and the message "Your role does not have access to Lueira Agent".

  • If you only switched off some things, the person keeps using the rest. Tools and views their role cannot use do not appear and cannot be used.
  • If you switched off a bar panel (for example Videos), that panel stops showing.
  • Changes to a role apply to everyone who has it.

If someone tells you they cannot see something they expected, check their role in this section before writing to us.

What the agent cannot do with roles

  • Lueira Agent cannot change the "Lueira Agent" section settings of any role: they can only be changed by hand in the role editor.
  • If it proposes a change to a user's role or permissions, it can only grant what the person confirming it already has. These cards do not carry a risk label like the others: they show a summary (who changes, the access they gain or lose), have a button named after the action (for example Change role) and may ask you to type a phrase to confirm.
  • Access changes can sign out the people affected; the card warns you before you confirm ("Their session will be closed.").

To learn how a change is confirmed, see the guide Making changes with the agent: the confirmation card.