Skip to content
Request Tracker extension to impersonate other users (correct rights given)
Perl HTML Perl 6
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

RT-Extension-BecomeUser - Become another user


Extra functionality to become another user. This is reserved for people with "SuperUser" or the newly introduced "BecomeUser" right.

Users cannot become SuperUsers.

This module adds a column to the user table in Admin->Users called "become user". Clicking on the "become" link leads to an ugly page from where you can go to the homepage of the target user.

The title bar in a "sudo session" is overwritten with "back to original account". This serves as a reminder of being a different user and clicking on it leads back to the original account.

Do not become yet another user after having impersonated a different user..

Use this module with care, you really are the other user. Also, be careful with granting the "BecomeUser" right. E.g. granted to an otherwise unprivileged user, it enables this user to become any arbitrarily privileged user (unless SuperUsers).


This module is ugly on purpose in the hope to avoid inadvertent manipulations. The code is rather straighforward and simple.

It should be easy to make it beautiful if that is what you need. If you do so, please get back with me before submitting a pull request. It might be better to start a new module like "BecomeUserBeautiful" or "BecomeUserUnobtrusive", in which case you are invited to use this module as a starting point.


Manual Installation

cd (root dir of your rt install)
cd local/
mkdir -p RT-Extension-BecomeUser
cd RT-Extension-BecomeUser

unzip the tar, here

Make sure the module gets loaded by including


into your etc/ or a file in etc/RT_SiteConfig.d/

Automated Install

perl Makefile.PL


make install

Pull requests welcome!


Copyright (c) 2018 by Matthias Bloch. All rights reserved.


This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.


Matthias Bloch


You can’t perform that action at this time.