[API] get repo section permissions #8030

Open
opened 2025-11-02 07:51:39 -06:00 by GiteaMirror · 0 comments
Owner

Originally created by @qwerty287 on GitHub (Oct 27, 2021).

Feature Description

The current repo permission return value of the API is true for ex. push if you have push/write access to one or more repo sections. I think it would be good to split these values or add a separate endpoint to get the permissions adapted with the access to the sections (i.e. return an own permission object for code, issues, pull_requests, releases, wiki, ext_wiki, ext_issues and projects).

Screenshots

No response

Originally created by @qwerty287 on GitHub (Oct 27, 2021). ### Feature Description The current repo permission return value of the API is `true` for ex. `push` if you have push/write access to one or more repo sections. I think it would be good to split these values or add a separate endpoint to get the permissions adapted with the access to the sections (i.e. return an own permission object for `code`, `issues`, `pull_requests`, `releases`, `wiki`, `ext_wiki`, `ext_issues` and `projects`). ### Screenshots _No response_
GiteaMirror added the modifies/api label 2025-11-02 07:51:39 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#8030