Skip to content

Commit 9618c2c

Browse files
committed
Remove comments referencing to authorization
1 parent f3505f7 commit 9618c2c

1 file changed

Lines changed: 3 additions & 6 deletions

File tree

src/legacy/server/saved_objects/service/saved_objects_client.js

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -125,8 +125,7 @@ export class SavedObjectsClient {
125125
/**
126126
* Function is used to validate if each type of saved object can be created in bulk.
127127
*
128-
* This is and should only be used by import / export / resolve import errors to merge
129-
* invalid types and unauthorized types in a single error response.
128+
* This should only be used by import / export / resolve import errors.
130129
*
131130
* @param {Array<string>} types Types of saved objects
132131
* @return [{ type, can }]
@@ -171,8 +170,7 @@ export class SavedObjectsClient {
171170
/**
172171
* Function is used to validate if each type of saved object can be created used with find.
173172
*
174-
* This is and should only be used by import / export / resolve import errors to merge
175-
* invalid types and unauthorized types in a single error response.
173+
* This should only be used by import / export / resolve import errors.
176174
*
177175
* @param {Array<string>} types Types of saved objects
178176
* @return [{ type, can }]
@@ -202,8 +200,7 @@ export class SavedObjectsClient {
202200
/**
203201
* Function is used to validate if each type of saved object can be created used in bulk get.
204202
*
205-
* This is and should only be used by import / export / resolve import errors to merge
206-
* invalid types and unauthorized types in a single error response.
203+
* This should only be used by import / export / resolve import errors.
207204
*
208205
* @param {Array<string>} types Types of saved objects
209206
* @return [{ type, can }]

0 commit comments

Comments
 (0)