mirror of
				https://github.com/optim-enterprises-bv/vault.git
				synced 2025-10-31 10:37:56 +00:00 
			
		
		
		
	backport of commit 8931e4790b (#20972)
				
					
				
			Co-authored-by: akshya96 <87045294+akshya96@users.noreply.github.com>
This commit is contained in:
		 hc-github-team-secure-vault-core
					hc-github-team-secure-vault-core
				
			
				
					committed by
					
						 GitHub
						GitHub
					
				
			
			
				
	
			
			
			 GitHub
						GitHub
					
				
			
						parent
						
							c1d41b54f5
						
					
				
				
					commit
					db851a716e
				
			
							
								
								
									
										3
									
								
								changelog/20964.txt
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								changelog/20964.txt
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,3 @@ | |||||||
|  | ```release-note:bug | ||||||
|  | identity: Fixes duplicate groups creation with the same name but unique IDs.  | ||||||
|  | ``` | ||||||
| @@ -69,8 +69,11 @@ func groupPaths(i *IdentityStore) []*framework.Path { | |||||||
| 			}, | 			}, | ||||||
|  |  | ||||||
| 			Fields: groupPathFields(), | 			Fields: groupPathFields(), | ||||||
| 			Callbacks: map[logical.Operation]framework.OperationFunc{ | 			Operations: map[logical.Operation]framework.OperationHandler{ | ||||||
| 				logical.UpdateOperation: i.pathGroupRegister(), | 				logical.UpdateOperation: &framework.PathOperation{ | ||||||
|  | 					Callback:                  i.pathGroupRegister(), | ||||||
|  | 					ForwardPerformanceStandby: true, | ||||||
|  | 				}, | ||||||
| 			}, | 			}, | ||||||
|  |  | ||||||
| 			HelpSynopsis:    strings.TrimSpace(groupHelp["register"][0]), | 			HelpSynopsis:    strings.TrimSpace(groupHelp["register"][0]), | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user