Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Artificial Intelligence
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Property Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries ⟶
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    • Affiliate Program
    Get Services
    • Find a Partner
    • Find an Accountant
      • Get a Tailored Demo
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +32 2 290 34 90
    • Get a Tailored Demo
  • Pricing
  • Help
  1. APPS
  2. Administration
  3. Admin Login As User: Impersonate Users Safely with Audit Trail v 18.0
  4. Sales Conditions FAQ

Admin Login As User: Impersonate Users Safely with Audit Trail

by Viyug Infotech https://viyuginfotech.com
Odoo
v 18.0 Third Party 58
Download for v 18.0 Deploy on Odoo.sh
Apps purchases are linked to your Odoo account, please sign in or sign up first.
Versions 16.0 17.0 18.0 19.0 20.0
You bought this module and need support? Click here!
Versions 16.0 17.0 18.0 19.0 20.0
  • Description
  • Manifest
Login As User with Audit Trail

Log in as any user to reproduce an issue, with a full audit trail

See exactly what a colleague or a portal customer sees. Every session needs a reason, ends on its own, can be read-only, and leaves a complete record of who did what. Free, works on Community.

Mandatory reasonRead-only modeTime limit and returnField-level audit

2
security roles
19
settings
6
ways a session ends, all logged

Need finer control over what people see?

Once you have seen the problem through the user's eyes, fix their screens. Explore the full specifications of our paid app on its own page.

Access Management icon
Access Management Paid app

Access rights per user or group: hide menus, buttons, tabs, fields and reports, read-only users, record access and sign-in rules, with preview as any user.

View Access Management

From "send me a screenshot" to seeing it yourself

Most support questions are about what one person sees. Logging in as them is the fastest way to answer, as long as it is controlled.

Before

  • Long back-and-forth with screenshots
  • Shared passwords or temporary password resets
  • No record of who looked at which account
  • Changes made "as the user" with no trace of the real person

After

  • Open the user's own screens in two clicks
  • No password is shared, changed or reset
  • Every session logged with reason, IP, browser and duration
  • Changes recorded field by field, messages signed by the real user

What you get

๐Ÿ•ต๏ธ

Start from anywhere

A searchable picker in the top bar that lists only the users you are allowed to log in as (portal users marked, favourites and recent first, filter by group), a Log in as button on the user form and an action in the Users list.

๐Ÿ“

Reason before every session

Category (support ticket, access test, training, other), ticket reference and a reason with a minimum length. The dialog shows the user's companies and access rights first.

๐Ÿ”’

Read-only sessions

Turn a session read-only and every create, change, delete and message is refused on the server, including changes the portal makes on the user's behalf. Default it on, or force it per policy.

โฑ๏ธ

Time limit and automatic return

Sessions end after the time limit or when idle, and the browser goes back to the real account. One extension with a new reason, never above the hard maximum.

๐Ÿšฉ

Banner you cannot miss

A bar on every backend and portal page shows whom you are logged in as, the time left (red in the last five minutes) and a Return button.

๐Ÿ“‹

Complete session log

Who, as whom, reason, start, end, duration, end reason, IP address, browser and a hash of the browser session. Nobody can create, change or delete a log entry by hand.

๐Ÿ”

Field-level change audit

Old value and new value of every field changed while impersonating, records created and deleted, lists and records opened, with a button back to the record.

๐Ÿ‘ฅ

Who may impersonate whom

Policies: members of these groups may log in as users of those groups or user types, in these companies, for this long, optionally read-only only.

โœ…

User consent

Per user: never ask, notify only, or require consent. The user approves from their inbox or email, or allows support access until a time from their preferences.

๐Ÿ”‘

Password check before starting

The impersonator re-enters their own password with the standard identity check, so an unlocked laptop is not enough.

๐Ÿ›ก๏ธ

No way to climb

Never the superuser, yourself, archived or public users, administrators (unless allowed), protected users or groups, or anyone with rights you do not have. No nested sessions.

๐Ÿ“ง

Notes and emails

A silent note on the user's contact, optional emails to the user and to impersonation managers when a session starts, and an end-of-session summary of what changed.

๐Ÿ“Š

Reports

List, pivot and graph views by impersonator, user, category, end reason and month. Filters for active, today, my sessions, read-only, portal and forced ends. Export as usual.

๐Ÿข

Multi-company

You can only log in as users whose companies are all among yours, so a session never opens another company's data. Managers only see the sessions of their own companies.

๐Ÿšซ

Network and hours limits

Optionally allow starting only from listed IP networks and between set hours, in the impersonator's time zone.

๐Ÿงน

Retention

A scheduled job closes stale sessions, expires old consent requests and deletes ended sessions older than the retention period.

Safe by design

Every rule is checked on the server, on each request, not only by hiding buttons.

  • Only members of the Log in as other users group can start a session; the group is empty when the app is installed
  • Calls made outside your own web browser session (external API scripts) cannot start a session
  • The browser session is switched the same way a normal login does it, with a new session id, so the user's own access rights, record rules, companies and language apply
  • Return gives back your own session; if your account changed in the meantime (password, login, archived) you are logged out instead
  • Passwords, security keys and consent settings of the user can never be changed from an impersonated session
  • Time limit, idle timeout and sessions ended by a manager are enforced by the server on the next request
  • Messages posted while impersonating are signed with your name, never the user's
  • Only a hash of the browser session id is stored, never the session id itself

See it working

A fictional company with an administrator, a support agent, an employee and a portal customer.

1

Pick a user from the top bar

Search by name or login, filter by group. Favourites and recent users come first, portal users are marked.

Pick a user from the top bar
2

Give a reason and check the user first

The dialog warns that the session is recorded and shows the user's companies, access rights, time limit and policy.

Give a reason and check the user first
3

Confirm with your own password

With the password check on, you re-enter your own password before the switch.

Confirm with your own password
4

Work as the user

The banner shows whom you are logged in as, that the session is read-only, the time left, and the Return button.

Work as the user
5

Read-only means read-only

Saving a change in a read-only session is refused by the server.

Read-only means read-only
6

Extend once, with a new reason

One extension per session, added to the log, never beyond the hard maximum.

Extend once, with a new reason
7

Full-access session

Changes are allowed and recorded. The message on the contact is signed with the real person's name.

Full-access session
8

Session log

Every session with impersonator, user, category, reason, read-only flag, duration and end reason.

Session log
9

One session in detail

Who, why, when and from where, plus the activity: lists and records opened, fields changed and messages posted.

One session in detail
10

Old value, new value

Each change keeps the old and new value of every field, with a button to open the record.

Old value, new value
11

Reports

Pivot and graph views by impersonator, user, category, end reason or month.

Reports
12

Policies

Example: the support desk may log in as portal customers only, for 15 minutes, read-only.

Policies
13

A policy at work

A support agent starting a session on a portal customer: the time limit and read-only mode come from the policy.

A policy at work
14

Portal pages too

When the user is a portal customer you land on their portal, with the same banner and Return button.

Portal pages too
15

Readable on a phone

On small screens the banner keeps the name, the time left and the Return button.

Readable on a phone
16

Users who require consent

For these users the dialog sends a request instead of starting the session.

Users who require consent
17

The user decides

The request arrives in the user's inbox and by email, with Allow access and Refuse buttons.

The user decides
18

One click to answer

An approval is valid for one session within the next hour.

One click to answer
19

Self-service access grant

Users can allow support access until a date and time from their own preferences.

Self-service access grant
20

Settings

Time limits, read-only default, password check, administrators, networks, hours, protected users and groups, consent, emails, tracking and retention.

Settings

Configuration

Settings, Login As User. Give the right to log in as others in Settings, Users, on each person.

SettingDefaultWhat it does
Session time limit60 minSessions end and the browser returns to your account. Policies can set their own limit.
Hard maximum120 minCaps policies and extensions.
Idle timeout30 min0 switches it off.
ExtensionOn, 30 minOne extension per session with a new reason.
Minimum reason length10 charactersAlso for extensions and consent requests.
Read-only by defaultOffNew sessions start read-only; a policy can force it.
Password checkOnRe-enter your own password before starting.
AdministratorsOffWhen on, system administrators may log in as other administrators.
Allowed networksAnyIP addresses or CIDR networks, separated by commas.
Allowed hoursAny timeFrom and until, in the impersonator's time zone.
Protected users and groupsNoneNever impersonated, whatever the policies say.
Default consentNever askPer user: never ask, notify only or require consent.
EmailsOffEmail the user, email impersonation managers, end-of-session summary.
Record field changes / opened screensOnWhat the activity log keeps.
Retention365 days0 keeps logs forever.

Log in as other users

Starts sessions within the rules and policies and sees their own sessions.

Audit and end sessions

Sees every session of their companies, ends active sessions and edits policies. Given to system administrators automatically. This right alone does not allow logging in as anyone.

Questions

Who can log in as other users after installing?

Nobody. Add the Log in as other users right to the people who need it, in Settings, Users. Optionally create policies to narrow who may log in as whom.

Can I log in as an administrator?

Not by default. With the Administrators setting on, system administrators may log in as other administrators, and only if they have the same rights or more. The superuser can never be impersonated.

Does the user's password change?

No. No password, security key or two-factor setting is read, reset or changed. The switch works like a login on your own browser session.

What happens when the time is up?

On the next click the server ends the session and gives your own account back. The banner counts down and returns you automatically, and a scheduled job closes sessions whose browser was closed.

What exactly does read-only block?

Creating, changing and deleting records, saving filters and posting messages, including changes the portal or website would make on the user's behalf. Opening screens, searching and printing still work.

Are my changes attributed to the user?

Record changes are stored in the activity log under your session with the old and new values. Messages and notes are signed with your name.

Can I log in as portal customers?

Yes. You land on their portal pages with the same banner and Return button. Portal users can never start a session themselves.

Does it work with several companies?

Yes. You can only log in as users whose companies are all among yours, and managers only see the sessions of their companies. Policies can be limited to companies.

Can I start a session from an API script?

No. Sessions can only be started from your own browser session, so the banner, the time limit and the return always apply.

How long are logs kept?

365 days by default. Change the retention in Settings, or set 0 to keep them forever.

Go further with paid Viyug apps

This app stays free. These paid apps from the same team work next to it:

Access Guard

Segregation of duties, risk matrix, emergency access and access reviews.

Open on the Odoo store รขย†ย—

Access Management

Access rights per user or group: hide menus, fields, buttons and tabs, read-only users and record access.

Open on the Odoo store รขย†ย—

Need help or a change?

Questions, or a workflow that does not match yours? Use the Contact Vendor button on this page. Viyug Infotech will get back to you.

Email support: support@viyuginfotech.com
Website: viyuginfotech.com

Scan with your phone to chat on WhatsApp or write us an email:

WhatsApp QR code for Viyug Infotech support

WhatsApp

+91 83207 42187

Email QR code for Viyug Infotech support

Email

Send us an email

Release notes

Initial release

  • Log in as internal and portal users from the top bar, the user form or the Users list
  • Mandatory reason, read-only mode, time limit, idle timeout, one extension
  • Policies, consent, password check, network and hours limits, protected users and groups
  • Session log, field-level change audit, opened screens, reports, retention
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies Discuss (mail)
Lines of code 2592
Technical Name user_impersonation_audit
LicenseLGPL-3
Websitehttps://viyuginfotech.com

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author, please use the developer contact information. They can usually be found in the description.
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal โ€ข Privacy
  • Security

Odoo is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

Website made with