Skip to content

Collaborator with read write can delete repository #81

Open
@jmgiaever

Description

@jmgiaever

A collaborator that only have read access to a repository can delete it.

How?

  • Log in to Gogs with one account and add a user (another account) to a repository as a collaborator with read access
  • Log in to Gogs with the collaborator and create a token for this account, and query the API with the new token: DELETE {url}/api/v1/repos/*owner username*/*repo name*

Gogs Version: 0.11.29.0727

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