Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

500 while edit a user with a not-allowed visibility #29245

Open
zokkis opened this issue Feb 18, 2024 · 0 comments
Open

500 while edit a user with a not-allowed visibility #29245

zokkis opened this issue Feb 18, 2024 · 0 comments
Labels

Comments

@zokkis
Copy link
Contributor

zokkis commented Feb 18, 2024

Description

Similar to #29218

If there is a user which is created with 'public' and then change ALLOWED_USER_VISIBILITY_MODES to only allow 'limited'
When you now try to edit the user without touching visibility, then you get an 500 error

I think this needs to be discussed, because the solution can be

  • force change the visibility while edit
  • dont change visibility and somehow prevent this error

Gitea Version

1.21.5

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Screenshots

No response

Git Version

No response

Operating System

Linux

How are you running Gitea?

build from binary, amd64

Database

SQLite

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant