Skip to content

Can't delete wiki page when master branch is protected #11363

Closed
@Tchoupinax

Description

@Tchoupinax
  • Gitea version (or commit ref): 1.11.5
  • Operating system: Docker image
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite

Description

Hello,

I found an unexpected behaviour on my gitea instance, i can't delete a page if the master branch is protected.

I found a fix that was made for creation and write (#7580). Is it a bug or it is wanted that deletion is forbidden ? I do not think that repository protection could affect the wiki, but maybe it should.

Thank you :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    issue/confirmedIssue has been reviewed and confirmed to be present or accepted to be implementedtype/bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions