Add config option for gitlab api scope and auto adapt gitlab snippet feature on it

This commit is contained in:
Wu Cheng-Han
2017-03-14 18:04:23 +08:00
parent baf13072c1
commit 506a381eca
7 changed files with 19 additions and 9 deletions

View File

@@ -36,7 +36,8 @@
"gitlab": {
"baseURL": "change this",
"clientID": "change this",
"clientSecret": "change this"
"clientSecret": "change this",
"scope": "use 'read_user' scope for auth user only or remove this property if you need gitlab snippet import/export support (will result to be default scope 'api')"
},
"dropbox": {
"clientID": "change this",