# Permissions

Let Lyna AI do an action without asking, in one chat or in the whole project, and see or remove what you allowed in Settings > Project > Permissions.

Lyna AI asks you before some actions. Answer **Always allow** and it stops asking for that action, in one chat or in the whole project. The **Permissions** page lists every action you allowed this way, and takes any of them back.

## What you can do

- Allow an action for good, in the chat where Lyna AI asked or in every chat of the project.
- See what Lyna AI does without asking, in one list with where each answer holds.
- Remove an allowed action, so Lyna AI asks you again the next time.
- Choose once whether Lyna AI may make AI images, for one request, one chat, the project or all your projects, and AI video for one request, one chat or the project.
- Set a rule for every member of a project and a monthly limit on AI media, as an Owner or Admin.
- Know which actions ask every time, whatever you answered before.
- Choose which outside sites Lyna AI may reach once it has read your private data, one site at a time.
- Keep Lyna AI to the files you name, and answer on its card when it needs another one.

## Always allow

When Lyna AI needs your approval, the **Request from Lyna** card above the composer offers three answers:

- **Deny** blocks the action. You can tell Lyna AI what to do instead, then choose **Send denial**.
- **Allow once** runs the action this time only.
- **Always allow** opens a menu that keeps your answer, so the same action runs without asking the next time.

The menu says where your answer holds:

| Choice                           | Where Lyna AI stops asking                |
| -------------------------------- | ----------------------------------------- |
| **Always allow in this chat**    | In this chat only. A new chat asks again. |
| **Always allow in this project** | In every chat of this project.            |

For a service you connected, the menu offers the same two places for one tool or for the whole connector, such as **Always allow this tool in this chat** or **Always allow this connector in this project**. Allowing the connector covers every tool it has now. A tool that changes, or a new tool of the connector, asks again.

After you answer, the chat shows where your answer holds: **Allowed in this chat** or **Allowed in this project**. When it cannot be kept, the chat says **Couldn't save this allow; Lyna will ask again**, and the action ran this time only.

> [!NOTE]
>
> **Your answers are yours**
>
> An allowed action holds only for the member who allowed it. Lyna AI still asks the other members of the project.

## AI images

Making an AI image spends your credits, so Lyna AI asks first. Its card says how many images it will make and what they cost, then offers:

- **Generate with AI** makes the images.
- **Stock photos**, **Upload my own** or the images saved in the project use a free source instead. Nothing is charged.
- **Not now** makes nothing.

Under the cost, **Remember for** says where your answer holds:

| Choice              | Where Lyna AI uses your answer |
| ------------------- | ------------------------------ |
| **This request**    | Until your next message.       |
| **This chat**       | In this chat.                  |
| **This project**    | In every chat of this project. |
| **All my projects** | In every project you work on.  |

The narrowest answer wins: an answer for this chat comes before one for the project, which comes before one for all your projects. Asking for an AI image in your own message counts as your answer for that request.

When you remember **Generate with AI**, it covers images up to the price per image you saw. A more expensive image asks again, with its cost. An answer you have not used for 90 days goes back to asking.

After you answer, the chat says where your choice holds, such as **You chose stock photos instead, for this chat**. An image that was not made says why: your choice, your **Never**, an admin's rule or the project's monthly limit.

## AI video

A video spends more credits, so Lyna AI asks on the same kind of card: **Make an AI video?** with its cost, then **Generate with AI**, **Use a saved video** when the project has some, **No video** or **Not now**. **Remember for** offers **This request**, **This chat** and **This project**: a video answer is never kept for all your projects.

Asking for an AI video in your own message counts as your answer for that request, up to 10 credits. A longer or more expensive video asks with its cost. When your message does not say what the video shows, Lyna AI first asks you to pick one of a few ideas for it; that pick decides what the video shows, never whether to spend.

The project's monthly AI media limit counts videos as well as images.

## Outside sites

Once a request has read private data, such as database rows, logs, files or a connected tool, or content with instructions aimed at the AI, Lyna AI asks before it sends anything to another site. Its card names the site and why it asks, such as **Send a request to api.example.com?**, and shows no cost:

- **Allow this host** sends the request.
- **Not now** sends nothing.

**Remember for** offers **This call only**, **This chat** and **This project**. An answer you keep covers that one site, never every site. A web address you typed in your own message counts as your yes for that one request to it. A private or local address, such as `localhost` or `192.168.1.10`, is never reached, whatever you answered.

In **Settings > Project > Permissions**, **Outside hosts** offers **Ask every time** or **Never** for every site, and each site you allowed is listed under **Remembered answers** with **Remove**. An admin can set **Never** for every member.

## See what Lyna AI does without asking

Open **Settings > Project > Permissions**. At the top, **What Lyna may do without asking you** shows your answer for each kind of action, such as **AI images**, **AI video**, **Outside hosts**, **Files past your limit** or **Actions that can't be undone**, and where each comes from: **Set for this project**, **From all my projects**, **Set by an admin** or **Lyna's default**. Change it in its list: **Ask every time**, **Allow**, a free source or **Never**. When a chat keeps its own answer, the row says how many do.

**Remembered answers** lists each answer you kept for a chat, this project or all your projects, with how you gave it. **Recent decisions** lists your answers and the images they covered in the last 30 days, with **Show more** for older ones.

Every action you allowed with **Always allow** is a remembered answer too, listed once. Each row says what it is, such as **Change files of the project**, **Run commands in the project**, **Try a step again after it repeated**, a tool of a service you connected (the service, then the tool) or every tool of that service; where it holds, **This project** or **This chat** with the chat's title (**Untitled chat** when it has no title yet); and who allowed it: **You**, a member's name, or **A former member**. A tool you allowed once shows in **Recent decisions** as **Allowed once**.

You see the actions you allowed. A project Owner or Admin sees the actions of every member, and can remove any of them. When you kept no answer, **Remembered answers** says so: Lyna asks before acting.

## For every member

A project Owner or Admin also sees **For every member**, which holds whatever each member answers:

- a rule per action: **No policy**, **Always ask** (only an answer for one request counts) or **Never** (no member can turn it on);
- **Monthly AI media limit per member**: the credits one member can spend on AI images and video in this project each month. Leave it empty to turn it off.

When Lyna AI cannot check these rules, it makes no image, charges nothing and asks you to try again.

## Default permissions

Open **Settings > Account > Default permissions** to set your answer for all your projects at once, and to see or remove the answers you kept for all of them. A project or a chat that keeps its own answer comes first.

## Remove an allowed action

On the **Permissions** page, choose **Remove** on the row of the action. The row leaves the list, and Lyna AI asks you again before it does this action.

To clear the answers you kept for this project at once, choose **Reset to ask** next to **Remembered answers**, then confirm. Answers kept for a chat stay.

In a chat that keeps an answer, a chip such as **1 permission** sits next to the composer. It lists the chat's answers: choose **Remove** there, or **Manage all** to open the **Permissions** page.

A connector's tool you allowed is removed the same way, here or with **Ask again** on the connector's page.

When a helper of Lyna AI needs a connector's tool that asks first, the helper never asks you itself: its request shows in the chat with **Deny** and **Allow once**. **Allow once** lets that exact call run one time, when the helper goes back to its task.

In the chat, a connector tool you allowed in that chat also shows **Stop allowing** next to **Allowed in this chat**. Choose it to take your answer back from there.

## Files you did not name

When your message sets a limit on a change, such as "change only the header", "do not touch src/config.ts" or "change nothing else", Lyna AI keeps to it, whatever model you use:

- The files your message names can change, and new files can be created. The other files of your project stay as they are.
- A file you protect, such as "do not touch src/config.ts" or "everything except admin.tsx", is never written.
- "Don't change anything" keeps every file of your project as it is.
- When your limit names no file, such as "fix the button, nothing else", Lyna AI changes up to two files per request and asks before a third.

When the work needs a file outside your limit, Lyna AI asks on its card, such as **Change src/lib/api.ts?**, with why it asks and your own words. **Allow this file** lets that change through, and **Not now** keeps the file as it is. **Remember for** offers **This call only** or **This request**, never longer. A delete asks on its own card. In **Settings > Project > Permissions**, **Files past your limit** always reads **Ask every time**, and your answers show in **Recent decisions** with the file.

A question that asks your leave to change a file, such as "May I also edit src/lib/api.ts?", always waits for your answer: Lyna never answers it for you.

## What always asks

Some actions never offer **Always allow**. Their card has only **Deny** and **Allow once**, every time:

- **Text that Lyna AI reads with every request.** A change to your brand name, your brand description or your `DESIGN.md` shows the exact text it will write, and you read it each time before it is saved.
- **Changes that cannot be undone.** A change to your database, your sign-in users, your file storage, your environment variables, your edge functions or your Git history, such as deleting rows or merging a branch. The card says **This cannot be undone**. In **Settings > Project > Permissions**, **Actions that can't be undone** offers only **Ask every time** or **Never**: with **Never**, Lyna AI does not ask and does not do them in this project, and the chat says so. An admin can set **Never** for every member.
- **Actions that spend credits.** Any action that costs credits shows its cost when it asks. The logo studio makes logos only when you press **Generate logo** on its form; **Paid actions** in **Settings > Project > Permissions** offers **Ask every time** or **Never**, and with **Never** the studio makes nothing and charges nothing in this project. An admin can set it for every member. AI images and AI video ask too, until you remember an answer on their card (see [AI images](#ai-images) and [AI video](#ai-video)).

> \[!TIP]
> When a card has no **Always allow**, the action asks every time. Read what the card says it will do before you choose **Allow once**.

## Related

- [Questions, approvals and errors](/features/ai/questions-approvals-and-errors): Answer a question and approve a change.
- [Connectors](/integrations/connectors): Connect services and choose what Lyna AI can use.
- [Members and roles](/features/collaborate/members-and-roles): Who can do what in a project.
- [Project settings](/features/projects/project-settings): Every project setting in one reference.
