# Protect your access — Settings › Security (FoodEatUp)

Everyone creates a personal code and sees their devices. The owner also sees the team’s devices and the access log.

Tutorial page : https://foodeatup.com/en/academy/configuration/securite

## What it is for
- Create or change your personal code, 4 to 6 digits.
- See your connected devices, and disconnect one you do not recognise.
- For the owner: see the team’s devices and the access log.

## Why set it up
- A tablet often stays open in the kitchen or at the counter. The code stops someone else acting in your name.
- An employee leaves, a tablet is lost: you cut the device off in one tap.
- Everyone has their own access. You always know who did what.

## Who is it for?
- Patron / gérant
- Directeur
- Responsable de salle
- Chef de cuisine

## Step by step
1. **Open Security & access** — In the Configuration category, open “Sécurité”. The “Moi” tab shows your personal code, the automatic lock and your devices.
2. **Create your code** — Tap “Créer mon code” (or “Changer mon code”). Type the new code, type it again, enter your current password, then “Enregistrer”. A code that is too simple, such as 1234, is refused.
3. **Check your devices** — Under “Vos appareils”, the device you are using is marked “Cet appareil”. An unknown device? Tap “Déconnecter”, then change your password.
4. **Watch over the team** — The owner opens the “Équipe et journal” tab: the team’s devices, and the “Journal des accès”. The “Alertes” filter keeps only what deserves a look.

## The result
Your code is “Défini”. When the lock is switched on, the screen closes after a break and your code reopens it where you were. Sensitive actions, such as roles or deletions, ask for this code.

- **The owner** : Manages their code and devices. Also sees the team’s devices and the log, and can disconnect an employee’s device.
- **The employee** : Manages their code and devices. They only see the team’s devices if they have the right to edit the restaurant’s configuration.

## Do it with your assistant
### Who has access to my restaurant?
> In FoodEatUp, for my establishment [number], list my employees with their role.
What you get : The list of employees and each one’s role.
Tools used : list_employees, list_roles

### What can each role do?
> In FoodEatUp, for my establishment [number], list my roles and sum up in one line what each one can do.
What you get : Each role, with its rights summed up in plain words.
Tools used : list_roles

### Which access keys are active?
> In FoodEatUp, for my establishment [number], list my API keys without showing their secret.
What you get : The existing keys. You spot those no longer in use.
Tools used : list_api_clients

## What you gain
- A code of your own : 4 to 6 digits, never shared.
- Known devices : You see who is connected, and from where.
- Cut off in one tap : Lost tablet: “Déconnecter”.
- A clear log : Sign-ins and alerts, dated.

## The Chef’s tip
Never lend your account, even “just for tonight”. In the “Équipe et journal” tab, tap “Ajouter une personne”: your deputy gets their own access, limited to their role.

## What is linked to this screen
- [Team › Employés](https://foodeatup.com/en/academy/equipe/employees) : Each person gets their own access in Employés
- [Team › Rôles](https://foodeatup.com/en/academy/equipe/roles) : The role decides what each person can see and do
- [Service › Till](https://foodeatup.com/en/academy/service/service-caisse-fullscreen) : The till keeps its own code and does not lock during service

## Frequently asked questions
**Is the automatic lock active for me?**
It is switched on at server level, by request. Until then, the screen says so at the top of the page, and you can already create your code.

**What happens after several wrong codes?**
The screen shows how many tries are left. After five wrong codes, you are signed out and must sign in again with your password.

**Does the till lock during service?**
No. The till and the kitchen screen keep their own code: they do not lock during service.

