mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-10-29 01:32:33 +00:00
Duplicate groups creation bug (#20964)
* fix duplicate groups creation * add changelog
This commit is contained in:
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(),
|
||||
Callbacks: map[logical.Operation]framework.OperationFunc{
|
||||
logical.UpdateOperation: i.pathGroupRegister(),
|
||||
Operations: map[logical.Operation]framework.OperationHandler{
|
||||
logical.UpdateOperation: &framework.PathOperation{
|
||||
Callback: i.pathGroupRegister(),
|
||||
ForwardPerformanceStandby: true,
|
||||
},
|
||||
},
|
||||
|
||||
HelpSynopsis: strings.TrimSpace(groupHelp["register"][0]),
|
||||
|
||||
Reference in New Issue
Block a user