mirror of
				https://codeberg.org/forgejo/forgejo.git
				synced 2025-10-31 06:21:11 +00:00 
			
		
		
		
	#1692 add admin APIs to add/remove a user from teams
This commit is contained in:
		
					parent
					
						
							
								9dda9ef07c
							
						
					
				
			
			
				commit
				
					
						b1d41cfa60
					
				
			
		
					 11 changed files with 712 additions and 639 deletions
				
			
		
							
								
								
									
										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 | ||||
| } | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue