Skip to content

Commit

Permalink
fix bug in which vault altered a canonical ID belonging to an alias, …
Browse files Browse the repository at this point in the history
…not a clone (#27824)
  • Loading branch information
elliesterner authored Jul 26, 2024
1 parent a41c21b commit 9274d74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vault/identity_store_aliases.go
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ func (i *IdentityStore) handleAliasCreateUpdate() framework.OperationFunc {
if mountEntry.NamespaceID != ns.ID {
return logical.ErrorResponse("matching mount is in a different namespace than request"), logical.ErrPermissionDenied
}
alias, err := i.MemDBAliasByFactors(mountAccessor, name, false, false)
alias, err := i.MemDBAliasByFactors(mountAccessor, name, true, false)
if err != nil {
return nil, err
}
Expand Down

0 comments on commit 9274d74

Please sign in to comment.