Commit Graph

62 Commits (#44449-fix-context)

Author SHA1 Message Date
Dimitris Sotirakis 605d056136
Security: Sync security changes on main (#45083) 3 years ago
idafurjes 5a087d2708
Chore: Add context to team (#40504) 4 years ago
Serge Zaitsev 57fcfd578d
Chore: replace macaron with web package (#40136) 4 years ago
idafurjes 2759b16ef5
Chore: Add context for dashboards (#39844) 4 years ago
Gabriel MABILLE 4be9ec8f72
AccessControl: Protect org users lookup (#38981) 4 years ago
Serge Zaitsev e1e385b318
Chore: Remove untyped data map from macaron context (#39077) 4 years ago
Tobias Skarhed 7f882eea05
Login: Require user to not be signed in to get request password email (#35421) 4 years ago
Joan López de la Franca Beltran 610999cfa2
Auth: Allow soft token revocation (#31601) 4 years ago
Marcus Efraimsson a97637a133
Snapshots: Fix usage of sign in link from the snapshot page (#31986) 4 years ago
Torkel Ödegaard 7428668835
Profile: Fixes profile preferences being accessible when anonymous access was enabled (#31516) 4 years ago
Marcus Efraimsson 8f20b13f1c
Snapshots: Disallow anonymous user to create snapshots (#31263) 4 years ago
Arve Knudsen 12661e8a9d
Move middleware context handler logic to service (#29605) 5 years ago
Arve Knudsen 8d5b0084f1
Middleware: Simplifications (#29491) 5 years ago
Torkel Ödegaard 1076f47509
Dashboard: Fixes kiosk state after being redirected to login page and back (#29273) 5 years ago
Marcus Efraimsson 3be82ecd4e
Auth: Should redirect to login when anonymous enabled and URL with different org than anonymous specified (#28158) 5 years ago
Sofia Papagiannaki 44dff6fdd0
Auth: Fix POST request failures with anonymous access (#26049) 5 years ago
Sofia Papagiannaki fefbbc65a8
Auth: Add support for forcing authentication in anonymous mode and modify SignIn to use it instead of redirect (#25567) 5 years ago
Sofia Papagiannaki be022d4239
API: Fix redirect issues (#22285) 5 years ago
Carl Bergquist f2f2722bb1
chore: avoid aliasing models in middleware (#22484) 5 years ago
Brian Gann 0e2d874ecf
API: Fix redirect issue when configured to use a subpath (#21652) 5 years ago
Jeffrey Descan c5f906f472 Security: refactor 'redirect_to' cookie to use 'Secure' flag (#19787) 6 years ago
Marcus Efraimsson 964c2e722f
Snapshot: Fix http api (#18830) 6 years ago
Leonard Gram 6589a4e55f teams: better names for api permissions. 6 years ago
Hugo Häggmark 782b5b6a3a teams: viewers and editors can view teams 6 years ago
Leonard Gram 22e098b830 teams: editors can work with teams. 6 years ago
Johannes Schill a81d5486b0 Viewers with viewers_can_edit should be able to access /explore (#15787) 6 years ago
bergquist 5998646da5 restrict session usage to auth_proxy 7 years ago
Dan Cech 3056d9a80e support passing api token in Basic auth password (#12416) 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 0ab0343995 mark redirect_to cookie as http only 7 years ago
Alexander Zobnin f97be541af redirect "permission denied" requests to "/" (#10773) 8 years ago
bergquist 4fe72ebf69 feat(macaron): upgrades macaron version 10 years ago
Torkel Ödegaard fdcb4473af fix(api auth): return 401 for authentication errors and 403 for access denied errors, fixes #2693 10 years ago
Torkel Ödegaard 1f330d7753 Basic auth: Fixed issue when using basic auth proxy infront of Grafana, Fixes #1673 10 years ago
Torkel Ödegaard b83367063e Small improvement to dashboard loading error handling 10 years ago
Anthony Woods 7010df0fe8 fixes #1619 Secure PhantomJS Png rendering 10 years ago
Torkel Ödegaard 477e035f2e Fixed anonymous access mode, Closes #1586 10 years ago
Torkel Ödegaard 26e4809e2e Big Backend Refatoring: Renamed Account -> Org 10 years ago
Torkel Ödegaard 10820f31c2 Changed go package path 11 years ago
Torkel Ödegaard 1d6413bfae More work on backend for user favorites 11 years ago
Torkel Ödegaard 1cff564483 Fontend handling of account role to hide user actions and links that the user does not have access to 11 years ago
Torkel Ödegaard a5e450a0dd Worked on anonymous access 11 years ago
Torkel Ödegaard 257519490a Worked on login remember cookie, and redirect after login 11 years ago
Torkel Ödegaard 951ce0a102 API token -> API key rename 11 years ago
Torkel Ödegaard 90925273a0 User / Account model split, User and account now seperate entities, collaborators are now AccountUsers 11 years ago
Torkel Ödegaard 1532eb4278 Fixed png rendering 11 years ago
Torkel Ödegaard 2b05dac071 Api Key role is now correcty added do middleware context 11 years ago
Torkel Ödegaard 3912ed5023 Role checking when saving dashboard, making sure that the user has owner or editor role 11 years ago