Commit Graph

114 Commits (c7e007d19938dbb01acba2b0f104f0924c589d4e)

Author SHA1 Message Date
Arve Knudsen 25048ebdf8
Chore: Add CloudWatch HTTP API tests (#29691) 5 years ago
Arve Knudsen b5379c5335
Chore: Fix SQL related Go variable naming (#28887) 6 years ago
Arve Knudsen a5d9196a53
Chore/fix lint issues (#27704) 6 years ago
Joan López de la Franca Beltran ef631582ba
Users: Improve conflict error handling (#26958) 6 years ago
Arve Knudsen d4e4cb4c71
Chore: Enable Go linter gocritic (#26224) 6 years ago
Arve Knudsen 41d432b5ae
Chore: Enable whitespace linter (#25903) 6 years ago
Alexander Zobnin c4eca530ce
Fix active LDAP sync (#25321) 6 years ago
Émile Fugulin d721dd13cd
Allow API to assign new user to a specific organization (#21775) 6 years ago
Vikky Omkar 97184c1750
Fix: Show organization popup in alphabetical order (#22259) 6 years ago
Arve Knudsen 0fd6edab64
services/sqlstore: Order results in UserSearch by username/email (#23328) 6 years ago
Pavlos Daoglou 53007e07e3 ApiUser: Fix response when enabling, disabling or deleting a nonexistent user (#21391) 6 years ago
Shavonn Brown 3e5abe7c21 Admin: Adds setting to disable creating initial admin user (#19505) 7 years ago
Arve Knudsen 35e0e078b7
pkg/util: Check errors (#19832) 7 years ago
Arve Knudsen 2a78d2a61c
pkg/services: Check errors (#19712) 7 years ago
Rafael George e1b2bf711d API: Add createdAt field to /api/users/:id (#19475) 7 years ago
gotjosh fa007423e3
API: Add `updatedAt` to api/users/:id (#19004) 7 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 8 years ago
Marcus Efraimsson 5be2332c66
handle error before populating cache 8 years ago
Marcus Efraimsson 6ef941ea17
fix failing tests 8 years ago
Torkel Ödegaard 93453c2d94 added caching of signed in user DB calls 8 years ago
Marcus Efraimsson 70ddf93688
include teams on signed in user 8 years ago
Torkel Ödegaard 5b5cb6622d Remove user form org now completely removes the user from the system if the user is orphaned 8 years ago
Mario Trangoni 0dea8fe1e0 pkg/services/sqlstore/user.go: empty branch 8 years ago
Mario Trangoni e85d0e8d6b pkg/services/sqlstore: Fix sess.Id is deprecated: use ID instead. (megacheck) 8 years ago
Mario Trangoni f73236f8f4 pkg/services/sqlstore: Fix x.Sql is deprecated: use SQL instead. (megacheck) 8 years ago
Torkel Ödegaard 92ed1f04af sql: added code migration type 8 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