summaryrefslogtreecommitdiff
path: root/lib/api/users.rb
diff options
context:
space:
mode:
authorMichael Leopard <mleopard@gitlab.com>2019-05-06 16:30:28 -0400
committerMichael Leopard <mleopard@gitlab.com>2019-05-06 16:30:28 -0400
commit24ecb8f9a915456fdf47bce23f9508775a06390f (patch)
tree5ac91c1c567e340eee719971cd86580ebc2b17d3 /lib/api/users.rb
parent863f2bcfb6ef7c6d3ce5726fa1a602e12f05ef57 (diff)
downloadgitlab-ce-configure_dashboard_through_api.tar.gz
Exposing dashboard setting through the APIconfigure_dashboard_through_api
Diffstat (limited to 'lib/api/users.rb')
-rw-r--r--lib/api/users.rb1
1 files changed, 1 insertions, 0 deletions
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?