[search] folder name lookup performance (#100154)
[search] use search for folder name lookup
This commit is contained in:
@@ -88,3 +88,7 @@ func ToFolderStatusError(err error) k8sErrors.StatusError {
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
func IsForbidden(err error) bool {
|
||||
return k8sErrors.IsForbidden(err) || errors.Is(err, dashboards.ErrFolderAccessDenied)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user