Skip to content

Commit

Permalink
Remove access declarations
Browse files Browse the repository at this point in the history
  • Loading branch information
lcawl committed Jun 4, 2024
1 parent a79b7d4 commit d1d418a
Show file tree
Hide file tree
Showing 9 changed files with 0 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ export function initCopyToSpacesApi(deps: ExternalRouteDeps) {
path: '/api/spaces/_copy_saved_objects',
options: {
tags: ['access:copySavedObjectsToSpaces'],
access: 'public',
description: `Copy saved objects to spaces`,
},
validate: {
Expand Down Expand Up @@ -150,7 +149,6 @@ export function initCopyToSpacesApi(deps: ExternalRouteDeps) {
path: '/api/spaces/_resolve_copy_saved_objects_errors',
options: {
tags: ['access:copySavedObjectsToSpaces'],
access: 'public',
description: `Resolve conflicts copying saved objects`,
},
validate: {
Expand Down
1 change: 0 additions & 1 deletion x-pack/plugins/spaces/server/routes/api/external/delete.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ export function initDeleteSpacesApi(deps: ExternalRouteDeps) {
{
path: '/api/spaces/space/{id}',
options: {
access: 'public',
description: `Delete a space`,
},
validate: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ export function initDisableLegacyUrlAliasesApi(deps: ExternalRouteDeps) {
{
path: '/api/spaces/_disable_legacy_url_aliases',
options: {
access: 'public',
description: `Disable legacy URL aliases`,
},
validate: {
Expand Down
1 change: 0 additions & 1 deletion x-pack/plugins/spaces/server/routes/api/external/get.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ export function initGetSpaceApi(deps: ExternalRouteDeps) {
{
path: '/api/spaces/space/{id}',
options: {
access: 'public',
description: `Get a space`,
},
validate: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ export function initGetAllSpacesApi(deps: ExternalRouteDeps) {
{
path: '/api/spaces/space',
options: {
access: 'public',
description: `Get all spaces`,
},
validate: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ export function initGetShareableReferencesApi(deps: ExternalRouteDeps) {
{
path: '/api/spaces/_get_shareable_references',
options: {
access: 'public',
description: `Get shareable references`,
},
validate: {
Expand Down
1 change: 0 additions & 1 deletion x-pack/plugins/spaces/server/routes/api/external/post.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ export function initPostSpacesApi(deps: ExternalRouteDeps) {
{
path: '/api/spaces/space',
options: {
access: 'public',
description: `Create a space`,
},
validate: {
Expand Down
1 change: 0 additions & 1 deletion x-pack/plugins/spaces/server/routes/api/external/put.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ export function initPutSpacesApi(deps: ExternalRouteDeps) {
{
path: '/api/spaces/space/{id}',
options: {
access: 'public',
description: `Update a space`,
},
validate: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ export function initUpdateObjectsSpacesApi(deps: ExternalRouteDeps) {
{
path: '/api/spaces/_update_objects_spaces',
options: {
access: 'public',
description: `Update saved objects in spaces`,
},
validate: {
Expand Down

0 comments on commit d1d418a

Please sign in to comment.