christianessl/impersonate
最新稳定版本:5.0.4
Composer 安装命令:
composer require christianessl/impersonate
包简介
Impersonate frontend users from inside the TYPO3 Backend.
关键字:
README 文档
README
Impersonate frontend users from inside the TYPO3 Backend.
Features
The Impersonate extension gives backend users with administrator privileges the possibility to authenticate as any specific frontend user in the frontend with just a single click from inside the backend. This does not include default backend users.
And remember: With great power comes great responsibility. The purpose of this extension is mainly to allow for a tech support login as a specific user and see potential problems and bugs from the perspective of the user as well as doing tech support actions while impersonating the specified user account.
Setup
1. Installation
Installation with Composer
The recommended way to install the extension is using composer.
Run the following command within your Composer based TYPO3 project:
composer require portrino/impersonate.
Installation with TER
Open the TYPO3 Extension Manager, search for impersonate and install the extension.
2. Configuration (optional)
-
Go to the
Site Management/Sitesmodule in the backend and include theImpersonatesite set as dependency to your site configuration. -
Afterward open the
Site Management/Settingsmodule and set the id of the target page to redirect an admin to when impersonating a frontend user via the backend:tx_impersonate.loginRedirectPid- If not set, the user will be redirected to the root page of the site.
- Important: Impersonation needs an active backend user session for the target page hostname!
- The target page has to have the same hostname as the backend, otherwise the impersonation will fail due to backend user session checks. This is especially important if you have multiple sites with different hostnames in your TYPO3 instance.
-
By default, only backend admin users are allowed to impersonate frontend users. You can change this behavior by setting the following user TSconfig value for the respective backend user or backend user group:
tx_impersonate.enable = 1(set to0to disable again)
3. Usage
- Go to the list module as a backend user (with administrator privileges), open a page / sysfolder with frontend user records and click the "Impersonate user" button.
- Congratulations! You are now logged in as the chosen frontend user.
Compatibility
| Impersonate | TYPO3 | PHP | Support / Development |
|---|---|---|---|
| 5.x | 13.4 | 8.2 - 8.4 | features, bugfixes, security updates |
| 4.x | 13.4 | 8.2 - 8.4 | features, bugfixes, security updates |
| 3.x | 12.4 | 8.1 - 8.3 | bugfixes, security updates |
| 2.x | 11.5 | 7.4 - 8.3 | none |
| 1.1.x | 10.4 | 7.0 - 7.4 | none |
| 1.0.x | 8.7 - 9.5 | 7.0 - 7.4 | none |
Please note that the namespace has changed to "portrino" since version 5. If you extended impersonate with your own code, please use the new namespace also.
Authors
- See the list of contributors who participated in this project.
christianessl/impersonate 适用场景与选型建议
christianessl/impersonate 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 25.9k 次下载、GitHub Stars 达 3, 最近一次更新时间为 2019 年 02 月 11 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「extension」 「typo3」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 christianessl/impersonate 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 christianessl/impersonate 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 christianessl/impersonate 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
A custom URL rule class for Yii 2 which allows to create translated URL rules
Set Links with a specific language parameter
The Yii2 extension uses jQuery jquery.carousel-1.1.min.js and makes image carousel from php array of structure defined.
TYPO3 CMS extension to create gallery content element with preset crop ratios and pagination
UI Kit 3 Extension for Yii2
Adds more BBCode
统计信息
- 总下载量: 25.9k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 13
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0-or-later
- 更新时间: 2019-02-11
