mirror of
				https://github.com/go-gitea/gitea
				synced 2025-11-04 05:18:25 +00:00 
			
		
		
		
	Multiple assignees (#3705)
This commit is contained in:
		@@ -600,9 +600,9 @@ func (repo *Repository) GetAssignees() (_ []*User, err error) {
 | 
			
		||||
	return repo.getAssignees(x)
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// GetAssigneeByID returns the user that has write access of repository by given ID.
 | 
			
		||||
func (repo *Repository) GetAssigneeByID(userID int64) (*User, error) {
 | 
			
		||||
	return GetAssigneeByID(repo, userID)
 | 
			
		||||
// GetUserIfHasWriteAccess returns the user that has write access of repository by given ID.
 | 
			
		||||
func (repo *Repository) GetUserIfHasWriteAccess(userID int64) (*User, error) {
 | 
			
		||||
	return GetUserIfHasWriteAccess(repo, userID)
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// GetMilestoneByID returns the milestone belongs to repository by given ID.
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user