summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/repository/queries/getPermissions.query.graphql
diff options
context:
space:
mode:
Diffstat (limited to 'app/assets/javascripts/repository/queries/getPermissions.query.graphql')
-rw-r--r--app/assets/javascripts/repository/queries/getPermissions.query.graphql9
1 files changed, 9 insertions, 0 deletions
diff --git a/app/assets/javascripts/repository/queries/getPermissions.query.graphql b/app/assets/javascripts/repository/queries/getPermissions.query.graphql
new file mode 100644
index 00000000000..092fa44e2d0
--- /dev/null
+++ b/app/assets/javascripts/repository/queries/getPermissions.query.graphql
@@ -0,0 +1,9 @@
+query getPermissions($projectPath: ID!) {
+ project(fullPath: $projectPath) {
+ userPermissions {
+ pushCode
+ forkProject
+ createMergeRequestIn
+ }
+ }
+}