Commit Graph

24 Commits (18e93c70773141b9a43857300b89a69e543cfdea)

Author SHA1 Message Date
Serge Zaitsev 18e93c7077
Chore: Remove bus (#47511) 3 years ago
Jguer ef9fe26886
Service accounts: Split user and service account database (#46442) 3 years ago
J Guerreiro 5cb03d6e62
Separate API key store from SA token store (#45862) 3 years ago
J Guerreiro 94820e1f29
Add/Delete API keys to Service accounts (#44871) 3 years ago
idafurjes 7936c4c522
Rename AddHandlerCtx to AddHandler (#43557) 4 years ago
Jeremy Price 13fdc5231d
AccessControl: upgrade apikeys by adding service accounts (#42425) 4 years ago
idafurjes f40c1d0808
Chore: Add context apikey (#41698) 4 years ago
Jeremy Price 6dbb6408d4
Access Control: Add service accounts (#38994) 4 years ago
Carl Bergquist f20de5588b
add context to api crud calls (#40047) 4 years ago
Christian Haudum 076e2ce06a
Return 404 when deleting non-existing API key (#33346) 4 years ago
Arve Knudsen 5a0780801b
SQLStore: Close session in withDbSession (#31775) 4 years ago
Arve Knudsen b5379c5335
Chore: Fix SQL related Go variable naming (#28887) 5 years ago
Sofia Papagiannaki d1c523838b
API: Optionally list expired keys (#20468) 6 years ago
Anthony Templeton 3680b95b44 Auth: Duplicate API Key Name Handle With Useful HTTP Code (#17905) 6 years ago
Sofia Papagiannaki dc9ec7dc91
Auth: Allow expiration of API keys (#17678) 6 years ago
bergquist 09e71e00a3 sql: adds tests for InTransaction 7 years ago
Karsten Weiss f61e69ce75 Simplify comparison to bool constant (gosimple) 7 years ago
Torkel Ödegaard 359421b5e8 refactor: sqlstore inTransaction consolidated to one version, fixes #8376 8 years ago
Torkel Ödegaard 059db533d5 HTTP API: grafana /render calls nows with api keys, Fixes #1649 10 years ago
Torkel Ödegaard c75aa23092 New implementation for API Keys that only stores hashed api keys, and the client key is base64 decoded json web token with the unhashed key, Closes #1440 11 years ago
Torkel Ödegaard 26e4809e2e Big Backend Refatoring: Renamed Account -> Org 11 years ago
woodsaj 7d69885e06 fixes #1481. correctly escape api_key.key column name 11 years ago
woodsaj 55ba8ad0c4 fix issue 1481. correctly escape api_key.key column name 11 years ago
Torkel Ödegaard 10820f31c2 Changed go package path 11 years ago
Torkel Ödegaard 951ce0a102 API token -> API key rename 11 years ago
Torkel Ödegaard e750508d76 Fixes for update user and add token 11 years ago
Torkel Ödegaard 2b05dac071 Api Key role is now correcty added do middleware context 11 years ago
Torkel Ödegaard cd5843e977 Fixed unit tests 11 years ago
Torkel Ödegaard fdfcc3ab2a Admin flagged users, create a default admin user on startup if missing 11 years ago
woodsaj 7b17e38f5d add Token authentication support 11 years ago