Skip to content

Using the API unable to delete a Repo within an Organisation where user is in the admin team but not the owner #23934

@brianread108

Description

@brianread108

Description

Using the API unable to delete a Repo within an Organisation where user is in the admin team but not the owner.
Return is:
{"message":"Given user is not owner of organization.","url":"https://***********/api/swagger"}
Can do it from web UI.

Gitea Version

1.19

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Screenshots

No response

Git Version

No response

Operating System

Debian 11 in LXC under procmox

How are you running Gitea?

Used turnkey template.

Database

MySQL

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions