mirror of
https://github.com/go-gitea/gitea
synced 2025-07-14 22:47:21 +00:00
#1692 add admin APIs to add/remove a user from teams
This commit is contained in:
14
modules/context/api_org.go
Normal file
14
modules/context/api_org.go
Normal file
@ -0,0 +1,14 @@
|
||||
// Copyright 2016 The Gogs Authors. All rights reserved.
|
||||
// Use of this source code is governed by a MIT-style
|
||||
// license that can be found in the LICENSE file.
|
||||
|
||||
package context
|
||||
|
||||
import (
|
||||
"github.com/gogits/gogs/models"
|
||||
)
|
||||
|
||||
type APIOrganization struct {
|
||||
Organization *models.User
|
||||
Team *models.Team
|
||||
}
|
Reference in New Issue
Block a user