mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-10-30 02:02:43 +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(),
|
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