GO
[1/3] subgroups
go-gitea/gitea#35265

this is the first in a series of 3 pull requests to implement subgroups which closes #1872

checklist

  • models
    • add GroupID field to Repository struct
    • new (to add)
      • Group
      • group-team relation stores a team’s access level to a group
      • GroupUnit like a repository unit, but grants or denies access to a specific unit at the group level. will override unit permissions defined on a team
  • misc
  • API access to these endpoints is governed by read:organization and write:organization scopes
    • POST /org/{org}/groups/new → create a new group at the root level of an org
    • /groups/{group_id}
      • GET → retrieves the group
      • PATCH → updates the group’s name and/or description
    • GET /groups/{group_id}/subgroups → get a group’s subgroups
    • GET /groups/{group_id}/repos → get a group’s repos
    • POST /groups/{group_id}/new → creates a new subgroup inside a group
    • POST /groups/{group_id}/move → moves a group to different group in the same organization, or to the root level if newParent is null or 0
    • POST /{username}/{reponame}/groups/move → moves a repository to a different group within an organization, or to the root level if newParent is null or 0
    • allow a group ID to be specified when creating a repository

/claim #1872

Stack generated by Git-Town

Claim

Total prize pool $980
Total paid $0
Status Pending
Submitted August 13, 2025
Last updated August 13, 2025

Contributors

☙◦

☙◦ The Tablet ❀ GamerGirlandCo ◦❧

@GamerGirlandCo

100%

Sponsors

JO

jozek.woloch

@jozek.woloch

$100
FR

Frank

@Frankkkkk

$80
JU

Julien-Pierre Avérous

@javerous

$500
DA

David Flanagan

@rawkode

$250
KL

Klexx

@Klexx

$50