Commit Graph

42 Commits (7731a4d6af401475d5662bddace2a0b1f23ca7ed)

Author SHA1 Message Date
Sofia Papagiannaki fde96c91c1
Chore: Differentiate the ErrOrgNotFound error messages (#64131) 2 years ago
idafurjes 6c5a573772
Chore: Move ReqContext to contexthandler service (#62102) 2 years ago
Serge Zaitsev fa36591380
Chore: Remove mockstore and use dbtest instead (#61629) 2 years ago
idafurjes bb35f37b66
Chore: Delete org model duplicates (#60940) 3 years ago
Serge Zaitsev af7d293eaf
Chore: Remove Store interface and use db.DB instead (#60160) 3 years ago
Karl Persson a4a5307722
Login: Remove CreateUser from LoginService (#59464) 3 years ago
Karl Persson fef1e1d5bc
Auth: Refactor auth package (#58920) 3 years ago
Kristin Laemmert 701f6d5436
UserService: use the UserService instead of calling sqlstore directly (#55745) 3 years ago
idafurjes 1f442b419b
Chore: Remove disable user, disable batch users and searchusers methods from store interface (#53717) 3 years ago
idafurjes a14621fff6
Chore: Add user service method SetUsingOrg and GetSignedInUserWithCacheCtx (#53343) 3 years ago
idafurjes 6afad51761
Move SignedInUser to user service and RoleType and Roles to org (#53445) 3 years ago
idafurjes fab6c38c95
Chore: Split get user by ID (#52442) 3 years ago
idafurjes d3d8fdd878
Chore: Move user errors to user service (#52460) 3 years ago
Serge Zaitsev e86b6662a1
Chore: Remove bus.Bus field (#47695) 3 years ago
Serge Zaitsev 18e93c7077
Chore: Remove bus (#47511) 3 years ago
Serge Zaitsev 33006436cc
Chore: Remove bus.Dispatch from some login packages (#47248) 3 years ago
Dimitris Sotirakis 605d056136
Security: Sync security changes on main (#45083) 3 years ago
ying-jeanne ef11e783f1
ldap debug bus removal (#45014) 3 years ago
ying-jeanne 016fa77460
remove bus from loginservice (#44907) 3 years ago
Kat Yang 7105bb3be7
Chore: Remove bus from admin users (#44869) 3 years ago
Serge Zaitsev 058e3ffc21
Chore: Remove bus from Alerting API (#44894) 3 years ago
idafurjes 1b286e6bb5
Remove bus from quota, preferences, plugins, user_token (#44762) 3 years ago
idafurjes 7936c4c522
Rename AddHandlerCtx to AddHandler (#43557) 4 years ago
idafurjes e6123bc3ef
Replace AddHandler with AddHandlerCtx in tests (#42585) 4 years ago
Serge Zaitsev d9cdcb550e
Chore: Refactor api handlers to use web.Bind (#42199) 4 years ago
Carl Bergquist 9ef4c21033
add context to getsignedinUser calls (#35963) 4 years ago
Joan López de la Franca Beltran 5c07df9f4b
Chore: Replace Command dispatches by explicit calls (#32131) 4 years ago
Joan López de la Franca Beltran b2e82a4f37
Login: Replace command dispatch by explicit call (#32088) 4 years ago
Hugo Häggmark 3d41267fc4
Chore: Moves common and response into separate packages (#30298) 5 years ago
Arve Knudsen 12661e8a9d
Move middleware context handler logic to service (#29605) 5 years ago
Arve Knudsen cb62e69997
Chore: Convert API tests to standard Go lib (#29009) 5 years ago
Arve Knudsen 3d3a7cbba8
Chore: Fix staticcheck issues (#28860) 5 years ago
Joan López de la Franca Beltran ef631582ba
Users: Improve conflict error handling (#26958) 5 years ago
Agnès Toulet 7a5464fe10
Chore: use Wrap for all admin API (#26673) 5 years ago
Arve Knudsen 41d432b5ae
Chore: Enable whitespace linter (#25903) 5 years ago
Émile Fugulin d721dd13cd
Allow API to assign new user to a specific organization (#21775) 5 years ago
Carl Bergquist 3fdd2648b1
Chore: Avoid aliasing importing models in api package (#22492) 5 years ago
Pavlos Daoglou 53007e07e3 ApiUser: Fix response when enabling, disabling or deleting a nonexistent user (#21391) 6 years ago
Alexander Zobnin a3a7916597
Auth: Logout disabled user (#17166) 6 years ago
Alexander Zobnin 2d03815770
Users: Disable users removed from LDAP (#16820) 6 years ago
Marcus Efraimsson 0cd5a6772d
feat(api): support list/revoke auth token in admin/current user api 6 years ago
danielbh d1b8f13c66
feat: #11067 prevent removing last grafana admin permissions 7 years ago