From 506a381eca5e2bdc31d3529ecd3f1f7797551406 Mon Sep 17 00:00:00 2001 From: Wu Cheng-Han Date: Tue, 14 Mar 2017 18:04:23 +0800 Subject: Add config option for gitlab api scope and auto adapt gitlab snippet feature on it --- config.json.example | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'config.json.example') diff --git a/config.json.example b/config.json.example index 9ee00c09..87c04ed0 100644 --- a/config.json.example +++ b/config.json.example @@ -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", -- cgit v1.2.3