summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/import_entities/import_projects/graphql/queries/search_namespaces_where_user_can_import_projects.query.graphql
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2023-05-01 12:17:48 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2023-05-01 12:17:48 +0000
commitcbce607eef01db76e6923ce684aa31af248c004d (patch)
tree172e75a56c6ec5d2c6bc61eb545d712d971b489b /app/assets/javascripts/import_entities/import_projects/graphql/queries/search_namespaces_where_user_can_import_projects.query.graphql
parentd27481e8f3dd252b543f65cb56a98eeb00de855f (diff)
downloadgitlab-ce-cbce607eef01db76e6923ce684aa31af248c004d.tar.gz
Add latest changes from gitlab-org/security/gitlab@15-11-stable-ee
Diffstat (limited to 'app/assets/javascripts/import_entities/import_projects/graphql/queries/search_namespaces_where_user_can_import_projects.query.graphql')
-rw-r--r--app/assets/javascripts/import_entities/import_projects/graphql/queries/search_namespaces_where_user_can_import_projects.query.graphql18
1 files changed, 18 insertions, 0 deletions
diff --git a/app/assets/javascripts/import_entities/import_projects/graphql/queries/search_namespaces_where_user_can_import_projects.query.graphql b/app/assets/javascripts/import_entities/import_projects/graphql/queries/search_namespaces_where_user_can_import_projects.query.graphql
new file mode 100644
index 00000000000..8c41f7116b3
--- /dev/null
+++ b/app/assets/javascripts/import_entities/import_projects/graphql/queries/search_namespaces_where_user_can_import_projects.query.graphql
@@ -0,0 +1,18 @@
+query searchNamespacesWhereUserCanImportProjects($search: String) {
+ currentUser {
+ id
+ groups(permissionScope: IMPORT_PROJECTS, search: $search) {
+ nodes {
+ id
+ fullPath
+ name
+ visibility
+ webUrl
+ }
+ }
+ namespace {
+ id
+ fullPath
+ }
+ }
+}