Skip to content

[API] Get org permissions #17173

@qwerty287

Description

@qwerty287
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

Activity

added
modifies/apiThis PR adds API routes or modifies them
type/proposalThe new feature has not been accepted yet but needs to be discussed first.
on Sep 29, 2021
added this to the 1.16.0 milestone on Sep 30, 2021
locked and limited conversation to collaborators on Apr 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    modifies/apiThis PR adds API routes or modifies themtype/proposalThe new feature has not been accepted yet but needs to be discussed first.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

      Development

      Participants

      @noerw@6543@qwerty287

      Issue actions

        [API] Get org permissions · Issue #17173 · go-gitea/gitea