Users, roles and activity log

Each person in the pharmacy has their own account. The role decides what they see, and the Journal d'Activité records sensitive actions under the name of whoever performed them.

Updated: 2026-09-292 min readالعربيّة · Français

Steps at a glance

  1. Log in as admin and open Utilisateurs.
  2. Click ➕ Ajouter Utilisateur.
  3. Enter the Nom d'utilisateur and the Nom Complet.
  4. Choose the worker role and enter the password.
  5. Click 💾 Enregistrer and test logging in with the new account.

The two roles: admin and worker

RoleAccess
adminall pages, including Statistiques, Promotions, Interactions, Journal d'Activité, Utilisateurs and Paramètres.
workerthe day-to-day pages: Tableau de Bord, Médicaments, Point de Vente, Vente Rapide, Caisse, Ordonnances, Ventes en Instance, Retours, Rejets CHIFA, Crédits / Dettes, Clients / Patients, Fournisseurs, Factures Fournisseur, Sauvegarde.
  • The dashboard hides financial figures (turnover, profit) from the worker.
  • The worker sees the Sauvegarde (backup) page and can create a copy, but restoring is closed to them (« 🔒 La restauration est réservée à l'administrateur. »).
  • The name and role of the logged-in user are shown in the top bar, with the Déconnexion (log out) button.
Software screenshot — Users and roles
Software screenshot

The default account: change its password straight away

On first launch, PharmaPro creates the admin account with the default password admin2026. Because this password is published in the documentation, change it on day one:

  1. Log in as admin.
  2. Open Utilisateurs (users) and select the admin row.
  3. 🔑 Changer Mot de Passe (change password), enter the new one (4 characters minimum, longer recommended), then 💾 Changer.
The software offers no way to recover a forgotten password. Keep the admin password somewhere safe, or create a second admin account.

Add a user

  1. In « Gestion des Utilisateurs », click ➕ Ajouter Utilisateur (add user).
  2. 👤 Nom d'utilisateur *: the login name (preferably without spaces).
  3. 📝 Nom Complet *: the name shown in the top bar and in reports.
  4. 🔑 Rôle: admin or worker.
  5. 🔒 Mot de passe *: required when creating the account.
  6. 💾 Enregistrer (save).

Columns: ID, Nom d'utilisateur, Nom Complet, Rôle, Actif, Créé le. Passwords are hashed (bcrypt), never stored in plain text.

Edit, change the password, deactivate

  • ✏️ Modifier (or a double-click): name or role. The password is optional there: leave it empty to keep it.
  • 🔑 Changer Mot de Passe: 4 characters minimum, otherwise « Mot de passe trop court (min 4 caractères). ».
  • 🔄 Activer/Désactiver: a deactivated account (❌ Non) can no longer log in, but its history and sales remain.
There is no account deletion. When an employee leaves, deactivate their account: their sales stay attributed to them in the statistics and the log.

The Journal d'Activité (activity log)

Read-only admin page. Columns: ID, Utilisateur, Action, Détails, Date/Heure.

  1. Set the period Du: / Au: (from / to; by default from the 1st of the month to today).
  2. Choose a user or Tous les utilisateurs (all users).
  3. Type part of the action code or of the details into 🔍 Filtrer par action, détails...; click 🔄 Actualiser (refresh) after changing the dates.

The last 500 entries of the period are shown. Examples of recorded codes: LOGIN, DÉCONNEXION, VENTE, SHIFT_OPEN, SHIFT_CLOSE, INTERACTION_OVERRIDE, ADD_CLIENT, DEL_CLIENT, ADD_FACTURE, DEL_FACTURE, BL_IMPORT, FIX_DATE_VENTE, EXPORT_CHIFA, ADD_USER, TOGGLE_USER, CHG_PWD, SETTINGS, RAPPEL_CHRONIQUES.

For a cash discrepancy: filter on SHIFT_CLOSE (counted and expected amount for each shift), then on VENTE for the user concerned.

Frequently asked questions

What is PharmaPro's default password?

The default account is admin, password admin2026. Change it immediately in Utilisateurs → 🔑 Changer Mot de Passe.

How do I stop a sales assistant from seeing profits?

Create their account with the worker role: they have no access to Statistiques and the dashboard hides the financial figures from them.

How do I delete the account of an employee who has left?

Deletion does not exist: select the account and click 🔄 Activer/Désactiver. They can no longer log in and their sales remain in the history.

How do I find out who performed an operation?

Open the Journal d'Activité, choose the period and the user, then filter by action code, for example VENTE or DEL_FACTURE.

Try PharmaPro in your pharmacy

15 days free with every feature, then 45 000 DZD once.

Download and try freeBuy the licence

Need help?

Support answers on WhatsApp or by e-mail.

support@tkawen.com