Skip to content

Cannot Set User Visibility to Public via API #35030

Closed
@starrysky8

Description

@starrysky8

Description

/admin/users/{username}
Update user visibility. Supports changing to private or limited, but does not support changing visibility to public.
When attempting to set public, the API still returns HTTP 200 without an error, but the parameter is not successfully updated.

Gitea Version

1.24.0

Can you reproduce the bug on the Gitea demo site?

Yes

Log Gist

No response

Screenshots

No response

Git Version

No response

Operating System

No response

How are you running Gitea?

gitea installed using the helm package

Database

None

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions