grafana/pkg/setting
Agnès Toulet 22788d1d86
Add an option to hide certain users in the UI (#28942)
* Add an option to hide certain users in the UI

* revert changes for admin users routes

* fix sqlstore function name

* Improve slice management

Co-authored-by: Emil Tullstedt <emil.tullstedt@grafana.com>

* Hidden users: convert slice to map

* filter with user logins instead of IDs

* put HiddenUsers in Cfg struct

* hide hidden users from dashboards/folders permissions list

* Update conf/defaults.ini

Co-authored-by: Torkel Ödegaard <torkel@grafana.com>

* fix params order

* fix tests

* fix dashboard/folder update with hidden user

* add team tests

* add dashboard and folder permissions tests

* fixes after merge

* fix tests

* API: add test for org users endpoints

* update hidden users management for dashboard / folder permissions

* improve dashboard / folder permissions tests

* fixes after merge

* Guardian: add hidden acl tests

* API: add team members tests

* fix team sql syntax for postgres

* api tests update

* fix linter error

* fix tests errors after merge

Co-authored-by: Emil Tullstedt <emil.tullstedt@grafana.com>
Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
Co-authored-by: Leonard Gram <leo@xlson.com>
2020-11-24 12:10:32 +01:00
..
testdata Config: Show user-friendly error message instead of stack trace (#16564) 2019-04-25 08:29:07 +02:00
date_formats_test.go setting: Fix tests on Mac (#28886) 2020-11-09 14:39:56 +01:00
date_formats.go setting: Fix tests on Mac (#28886) 2020-11-09 14:39:56 +01:00
dynamic_settings_test.go Settings: Env override support for dynamic settings (#21439) 2020-01-10 15:33:54 +01:00
expanders_test.go Settings: Expand variables in configuration (#25075) 2020-06-10 14:58:42 +02:00
expanders.go Settings: Expand variables in configuration (#25075) 2020-06-10 14:58:42 +02:00
setting_oauth.go OAuth: Removes send_client_credentials_via_post setting (#20044) 2019-12-12 20:00:56 +01:00
setting_plugins_test.go Backend Plugins: Plugin configuration using Grafana config (#23451) 2020-04-14 18:04:27 +02:00
setting_plugins.go Backend Plugins: Plugin configuration using Grafana config (#23451) 2020-04-14 18:04:27 +02:00
setting_quota.go Chore: Remove unused Go code (#28852) 2020-11-17 11:51:31 +01:00
setting_sentry.go Logging: Log frontend errors (#28073) 2020-11-12 12:29:43 +01:00
setting_session_test.go pkg/setting: Check errors (#19838) 2019-10-22 16:17:49 +02:00
setting_smtp.go Email Notifications: Add StartTLSPolicy config flag (#24574) 2020-05-13 16:33:40 +02:00
setting_test.go gtime: Add ParseDuration function (#28525) 2020-11-02 19:26:19 +01:00
setting.go Add an option to hide certain users in the UI (#28942) 2020-11-24 12:10:32 +01:00