Commit Graph

103 Commits (1b38d94537466adb5e43c4568844fcccc83f0093)

Author SHA1 Message Date
Shavonn Brown 3e5abe7c21 Admin: Adds setting to disable creating initial admin user (#19505) 6 years ago
Arve Knudsen 35e0e078b7
pkg/util: Check errors (#19832) 6 years ago
Arve Knudsen 2a78d2a61c
pkg/services: Check errors (#19712) 6 years ago
Rafael George e1b2bf711d API: Add createdAt field to /api/users/:id (#19475) 6 years ago
gotjosh fa007423e3
API: Add `updatedAt` to api/users/:id (#19004) 6 years ago
Oleg Gaidarenko d9f01cb822
SQLStore: use bool pointer instead of string (#18111) 7 years ago
Oleg Gaidarenko 8e0f091f14
SQLStore: allow to look for `is_disabled` flag (#18032) 7 years ago
Alexander Zobnin dad894f1cc
API: get list of users with additional auth info (#17305) 7 years ago
Oleg Gaidarenko c853ef7318
SQLStore: extend `user.SearchUsers` method (#17514) 7 years ago
Kyle Brandt a95c7bfa6f
sqlstore: clean quota and user_auth_tokens when removing users (#17487) 7 years ago
Alexander Zobnin 60ddad8fdb
Batch disable users (#17254) 7 years ago
Alexander Zobnin 2d03815770
Users: Disable users removed from LDAP (#16820) 7 years ago
Oleg Gaidarenko 54c1bf0cc9
Chore: a bit of spring cleaning (#16710) 7 years ago
Marcus Efraimsson e82b3632f6
fix signed in user for orgId=0 result should return active org id 7 years ago
danielbh d1b8f13c66
feat: #11067 prevent removing last grafana admin permissions 7 years ago
Marcus Efraimsson 818d48c2c0
always execute the user teams query 7 years ago
Marcus Efraimsson 5be2332c66
handle error before populating cache 7 years ago
Marcus Efraimsson 6ef941ea17
fix failing tests 7 years ago
Torkel Ödegaard 93453c2d94 added caching of signed in user DB calls 7 years ago
Marcus Efraimsson 70ddf93688
include teams on signed in user 7 years ago
Torkel Ödegaard 5b5cb6622d Remove user form org now completely removes the user from the system if the user is orphaned 7 years ago
Mario Trangoni 0dea8fe1e0 pkg/services/sqlstore/user.go: empty branch 7 years ago
Mario Trangoni e85d0e8d6b pkg/services/sqlstore: Fix sess.Id is deprecated: use ID instead. (megacheck) 7 years ago
Mario Trangoni f73236f8f4 pkg/services/sqlstore: Fix x.Sql is deprecated: use SQL instead. (megacheck) 7 years ago
Torkel Ödegaard 92ed1f04af sql: added code migration type 7 years ago
Mark Meyer 0f6e5e2953 Allow settting of default org id to auto-assign to (#12401) 8 years ago
Marcus Efraimsson 6d48d0a80c
set current org when adding/removing user to org 8 years ago
bergquist 4c5fe68e7e adds inTransactionCtx that calls inTransactionWithRetryCtx 8 years ago
bergquist 1181e96799 merge create user handlers 8 years ago
Torkel Ödegaard 5af0b924ff refactoring: renamed AddCtxHandler to AddHandlerCtx PR #12203 8 years ago
Torkel Ödegaard 442e0e437b refactoring: transaction manager PR #12203 8 years ago
bergquist 1bd31aa313 check if admin exists or create one in one transaction 8 years ago
Dan Cech 1dfff74da9 move database-specific code into dialects (#11884) 8 years ago
Karsten Weiss de8696d5d3 Outdent code after if block that ends with return (golint) 8 years ago
Mario Trangoni 6eb00000fe pkg/services: fix ineffassign issues 8 years ago
Dan Cech 33760b5c3b
make sure user's default org is kept up to date 8 years ago
Dan Cech 1c5afa731f
shared library for managing external user accounts 8 years ago
Karsten Weiss f61e69ce75 Simplify comparison to bool constant (gosimple) 8 years ago
Karsten Weiss be2d635078 Simplify error returns (gosimple) 8 years ago
Patrick O'Carroll 9ad8a77a21 ordered user orgs alphabeticaly fixes #11556 8 years ago
Gerben Meijer e722732021 Return actual user ID in UserProfileDTO 8 years ago
Alexander Zobnin d8612380e9 refactor: rename User Groups to Teams 8 years ago
Marcus Efraimsson 1e10fcad83 test: fix failing postgres test 8 years ago
Torkel Ödegaard 2bc57d856c fix: set lastSeenAt date when creating users to then years in past insteasd of empty date, fixes #9260 8 years ago
Aaron Kirkbride 442f625a4e Remove duplicate bus.AddHandler() (#9289) 8 years ago
Torkel Ödegaard 95f5c84a57 ux: making org visibile in profile view 9 years ago
Torkel Ödegaard e8a20643d6 feat: store last seen date for users and present in stats and user lists, closes #9007 9 years ago
Daniel Lee 9e7aa65fb7 WIP: clean up after user and org user delete 9 years ago
Daniel Lee 699f9095e2 WIP: remove permissions when deleting global user 9 years ago
Torkel Ödegaard 359421b5e8 refactor: sqlstore inTransaction consolidated to one version, fixes #8376 9 years ago