getsentry / getsentry/sentry

Switching organization requires entering password if the user is superuser

Open
#25,030 2 comments 0 reactions 0 assignees View on GitHub
Component: Auth
Dominant language
Python
Stars
44.8k
Forks
4.9k
Avg merge
1d 5h
Merged PRs (30d)
624

Description

## Important Details

How are you running Sentry?

On-Premise w/ Docker, version 21.3.0

## Description

Switching organization in UI requires entering password if the user is superuser, while no password is required for normal user.

## Steps to Reproduce

1. Be superuser.
2. Login to sentry (sentry.domain/organizations/org1).
3. Wait until Admin page (/manage/) start to require password. Do not enter password.
4. Try to open another organization (sentry.domain/organizations/org2) - you will be prompted for a password `Help us keep your account safe by confirming your identity.` [https://github.com/getsentry/sentry/blob/master/src/sentry/locale/en/LC_MESSAGES/django.po#L1626-L1629]() . Default organization continues to work without password.

###

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.