dotCMS / dotCMS/core

"Sign In As" seems broken

Open
#35,238 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

OKR : Customer Support Team : Maintenance
Dominant language
Java
Stars
970
Forks
486
Avg merge
3d 33m
Merged PRs (30d)
170

Description

Problem Statement

I can't use the Sign In As feature to act as a lower-permissioned user from the CMS Admin position.

Steps to Reproduce
  • Log into demo.dotcms.com, or a local instance, as admin.
  • Try to use Sign In As
  • Be immediately logged out

https://github.com/user-attachments/assets/e8f0e163-c1af-4f56-a79a-116b50560f13

I also tested this on an older version (26.03.20-1) and found a different, but still fatal, error. It still failed to perform the Sign In As function, but it did so with an error message about lacking a password — despite never prompting for one, nor ever having needed one in the past.

Image

(Screenshot courtesy of @jorgecgll, who had the same issue earlier.)

Acceptance Criteria

Sign In As should allow you to assume a lesser user's role.

dotCMS Version

26.04.06-01, 26.03.20-01, possibly others.

Severity

High - Major functionality broken

Links

https://dotcms.slack.com/archives/C028Z3R2D/p1775580226804109

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the Sign In As flow in dotCMS 26.04.06-01 or a local instance, using the CMS Admin position and a lower-permissioned user. Trace the authentication and authorization entry points reached when the session logs out or reports a missing password. Done means an admin can assume the lesser user's role without being logged out or receiving the password error.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
authentication, authorization
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.