Commit Graph

46 Commits (64488f6b908528c1d9f2178ecec056551aef8f1a)

Author SHA1 Message Date
Sofia Papagiannaki 7ba076de10
Chore: Move swagger definitions to the handlers (#52643) 3 years ago
idafurjes d3d8fdd878
Chore: Move user errors to user service (#52460) 3 years ago
idafurjes 6c43eb0b4d
Split Create User (#50502) 3 years ago
ying-jeanne 7ddae870e7
fix status code 200 (#47818) 3 years ago
Kat Yang 7105bb3be7
Chore: Remove bus from admin users (#44869) 3 years ago
idafurjes 1b286e6bb5
Remove bus from quota, preferences, plugins, user_token (#44762) 3 years ago
ying-jeanne 7422789ec7
Remove Macaron ParamsInt64 function from code base (#43810) 3 years ago
idafurjes 8e6d6af744
Rename DispatchCtx to Dispatch (#43563) 3 years ago
Serge Zaitsev d9cdcb550e
Chore: Refactor api handlers to use web.Bind (#42199) 4 years ago
idafurjes ac6867c3bb
Chore: Add context to authinfo (#42096) 4 years ago
Katarina Yang c4306f9b3e
Chore: add context to login (#41316) 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) 4 years ago
Arve Knudsen 294770f411
Chore: Handle wrapped errors (#29223) 5 years ago
Arve Knudsen 676d393ec9
Chore: Fix issues reported by staticcheck; enable stylecheck linter (#28866) 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
Émile Fugulin d721dd13cd
Allow API to assign new user to a specific organization (#21775) 5 years ago
Pavlos Daoglou 53007e07e3 ApiUser: Fix response when enabling, disabling or deleting a nonexistent user (#21391) 5 years ago
Arve Knudsen 35e0e078b7
pkg/util: Check errors (#19832) 6 years ago
Oleg Gaidarenko 75fa1f0207 Metrics: use consistent naming for exported variables (#18134) 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
Carl Bergquist 9660356638
Auth: Enable retries and transaction for some db calls for auth tokens (#16785) 6 years ago
Marcus Efraimsson 0cd5a6772d
feat(api): support list/revoke auth token in admin/current user api 6 years ago
bergquist 8a3a3cccc3 moves metric package to /infra 6 years ago
danielbh d1b8f13c66
feat: #11067 prevent removing last grafana admin permissions 7 years ago
Julian Kornberger 7aab6a8887 Make golint happier 7 years ago
Dan Cech c0ecdee375
rename Context to ReqContext 7 years ago
Dan Cech 338655dd37
move Context and session out of middleware 7 years ago
bergquist 2de94d6548 convert old metrics to prom metrics 8 years ago
utkarshcmu f5db9950f8 fixed gofmt tests 10 years ago
utkarshcmu 9485e8cfee /api/admin/users returns user ID 10 years ago
Torkel Ödegaard a8aab0cb2b Worked on user administration page, a grafana server admin can now add and edit organization roles for any user, #2014 10 years ago
Torkel Ödegaard fbc6bb2112 More refactoring of user http api, trying to reuse handlers for sign in user and admin operations 10 years ago
Torkel Ödegaard d987532262 Added server metrics 10 years ago
Torkel Ödegaard 04ca85fe89 Moved dashboard theme option from the dashboard to a persisted user setting, #1458 10 years ago
Torkel Ödegaard 7c241fd617 Added permissions section to admin > edit user view, an admin can now make another user admin, Closes #1517 10 years ago
Torkel Ödegaard 138e720695 Increased max user list to 1000 for user admin page, need to paging, but will have to wait a few days 10 years ago
Torkel Ödegaard 1a106e5c38 Added change password ability to admin > edit user view, #1446 10 years ago
Torkel Ödegaard 71f09ddd94 Added delete user action to user admin api, and made it work in UI, Closes #1466, #1446 10 years ago
Torkel Ödegaard e165e2af95 Worked on user admin features, can now create and edit users as a grafana admin user, #1446 10 years ago
Torkel Ödegaard 10820f31c2 Changed go package path 10 years ago
Torkel Ödegaard 90925273a0 User / Account model split, User and account now seperate entities, collaborators are now AccountUsers 10 years ago
Torkel Ödegaard 5ec07db143 Refactoring of auth middleware, and starting work on account admin 11 years ago