Skip to content

Missing reasons on error message Unable to commit directly to branch using web editor with code:read permissions for upstream #38710

Description

@Nanodunkel

Gitea Version

1.26.4

What happened?

Image

The error message Unable to commit directly to branch because: doesn't list any reasons why this is not possible.

This happened to a user who had code:read and PR:write permissions. He forked the repo and used the web editor to edit and commit a file.

The behaviour is expected. The issue is the missing reasons on the error message.

How are you running Gitea?

Docker on Debian with default database.

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