From 24ecb8f9a915456fdf47bce23f9508775a06390f Mon Sep 17 00:00:00 2001 From: Michael Leopard Date: Mon, 6 May 2019 16:30:28 -0400 Subject: Exposing dashboard setting through the API --- lib/api/users.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/api/users.rb') diff --git a/lib/api/users.rb b/lib/api/users.rb index 2f23e33bd4a..54bf5344460 100644 --- a/lib/api/users.rb +++ b/lib/api/users.rb @@ -50,6 +50,7 @@ module API optional :external, type: Boolean, desc: 'Flag indicating the user is an external user' optional :avatar, type: File, desc: 'Avatar image for user' optional :private_profile, type: Boolean, desc: 'Flag indicating the user has a private profile' + optional :dashboard, type: String, desc: 'Default dashboard for user' all_or_none_of :extern_uid, :provider if Gitlab.ee? -- cgit v1.2.1