Unistore: Skip label for getting full path (#102928)

This commit is contained in:
Stephanie Hingtgen
2025-03-26 15:50:53 -05:00
committed by GitHub
parent 558773ed7f
commit 0087d7bd58
7 changed files with 235 additions and 7 deletions
+1 -1
View File
@@ -371,7 +371,7 @@ func (s *server) newEvent(ctx context.Context, user claims.AuthInfo, key *Resour
// Make sure the command labels are not saved
for k := range obj.GetLabels() {
if k == utils.LabelKeyGetHistory || k == utils.LabelKeyGetTrash {
if k == utils.LabelKeyGetHistory || k == utils.LabelKeyGetTrash || k == utils.LabelGetFullpath {
return nil, NewBadRequestError("can not save label: " + k)
}
}