[PR #373] [MERGED] feat: added impersonate user feature #451

Closed
opened 2026-03-03 11:30:00 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/dflow-sh/dflow/pull/373
Author: @pavanbhaskardev
Created: 7/30/2025
Status: Merged
Merged: 7/30/2025
Merged by: @pavanbhaskardev

Base: mainHead: feat-user-impersonation


📝 Commits (1)

  • fc3a476 feat: added impersonate user feature

📊 Changes

6 files changed (+70 additions, -0 deletions)

View changed files

📝 src/actions/auth/index.ts (+25 -0)
📝 src/actions/auth/validator.ts (+4 -0)
📝 src/app/(payload)/payload-admin/importMap.js (+2 -0)
src/components/ImpersonateUser.tsx (+31 -0)
📝 src/lib/permissions/config.ts (+3 -0)
📝 src/payload/collections/Users/index.ts (+5 -0)

📄 Description

  1. Added Impersonate User button in admin-panel
  2. Only admins can impersonate into other users

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/dflow-sh/dflow/pull/373 **Author:** [@pavanbhaskardev](https://github.com/pavanbhaskardev) **Created:** 7/30/2025 **Status:** ✅ Merged **Merged:** 7/30/2025 **Merged by:** [@pavanbhaskardev](https://github.com/pavanbhaskardev) **Base:** `main` ← **Head:** `feat-user-impersonation` --- ### 📝 Commits (1) - [`fc3a476`](https://github.com/dflow-sh/dflow/commit/fc3a4764cacd236001fb3005ef7ab0fd43b6f060) feat: added impersonate user feature ### 📊 Changes **6 files changed** (+70 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `src/actions/auth/index.ts` (+25 -0) 📝 `src/actions/auth/validator.ts` (+4 -0) 📝 `src/app/(payload)/payload-admin/importMap.js` (+2 -0) ➕ `src/components/ImpersonateUser.tsx` (+31 -0) 📝 `src/lib/permissions/config.ts` (+3 -0) 📝 `src/payload/collections/Users/index.ts` (+5 -0) </details> ### 📄 Description 1. Added `Impersonate User` button in admin-panel 2. Only admins can impersonate into other users --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-03 11:30:00 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/dflow#451
No description provided.