Do not show Add file button if user has no rights to add files to repo #9573

Closed
opened 2025-11-02 08:43:19 -06:00 by GiteaMirror · 2 comments
Owner

Originally created by @lafriks on GitHub (Sep 15, 2022).

Description

Currently button with empty submenu is shown

Gitea Version

1.17.2

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?

Not relevant

Database

No response

Originally created by @lafriks on GitHub (Sep 15, 2022). ### Description Currently button with empty submenu is shown ### Gitea Version 1.17.2 ### 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? Not relevant ### Database _No response_
GiteaMirror added the issue/needs-feedbacktopic/uitype/bug labels 2025-11-02 08:43:19 -06:00
Author
Owner

@wolfogre commented on GitHub (Sep 27, 2022):

I believe it has been fixed by #20718, and backport #20719 has been merged too.

I can't reproduce the error on v1.17.2, maybe this is a false positive?

@wolfogre commented on GitHub (Sep 27, 2022): I believe it has been fixed by #20718, and backport #20719 has been merged too. I can't reproduce the error on v1.17.2, maybe this is a false positive?
Author
Owner

@lunny commented on GitHub (Dec 12, 2022):

I can confirm this has been fixed in branch v1.17.

@lunny commented on GitHub (Dec 12, 2022): I can confirm this has been fixed in branch v1.17.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#9573