[API] Get org permissions #17173

Closed
opened 2021-09-28 17:19:16 +00:00 by qwerty287 · 0 comments
Contributor

Feature Description

It would be very nice if there is an endpoint to get a summary of the permissions a user has in an org (if the user is in a team that has access to the certain permissions):

  1. Admin status (if user is an org admin/owner)
  2. Repository creation

If the user isn't in the org it could just return "false" for both fields or just return an error.

Screenshots

No response

### Feature Description It would be very nice if there is an endpoint to get a summary of the permissions a user has in an org (if the user is in a team that has access to the certain permissions): 1. Admin status (if user is an org admin/owner) 2. Repository creation If the user isn't in the org it could just return "false" for both fields or just return an error. ### Screenshots _No response_
This repo is archived. You cannot comment on issues.
No Milestone
No project
No Assignees
1 Participants
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: lunny/gitea#17173
No description provided.