Commit Graph

257 Commits (7339dbc09013608b7819ec16dee801bee6781aa2)

Author SHA1 Message Date
idafurjes f2ffce4351
Chore: Move team models to models pkg (#61262) 2 years ago
Gabriel MABILLE 6da850a2f2
RBAC: Add function to reduce permissions (#58197) 2 years ago
idafurjes bb35f37b66
Chore: Delete org model duplicates (#60940) 2 years ago
Karl Persson 0743c4eb87
ServiceAccount: Rewrite the api test to use fakes (#60441) 2 years ago
Ieva 6aa5a79cad
Access control: endpoint for searching single user permissions (#59669) 2 years ago
Gabriel MABILLE 109df85cae
RBAC: Add benchmarks to search all users given a specific permission (#59980) 2 years ago
Eric Leijonmarck 371d7850a5
Auth: Service account store refactor (#58961) 2 years ago
Kristin Laemmert 70fbf47022
chore: remove CreateUser from sqlstore & replace with userService.CreateUserForTests (#59910) 3 years ago
Karl Persson 6d1bcd9f40
DataSourcePermissions: Handle licensing properly for ds permissions (#59694) 3 years ago
Gabriel MABILLE bf49c20050
RBAC: Add an endpoint to list all user permissions (#57644) 3 years ago
Gabriel MABILLE 32a498e04f
RBAC: Validate plugin app access permission targets the plugin (#59468) 3 years ago
Denis Limarev b814c66c1d
Perfomance: add preallocation for some slices (#59263) 3 years ago
Serge Zaitsev 5b861faec3
Chore: Reduce the usage of sqlstore.createorg and use orgservice instead (#59356) 3 years ago
Ieva a8bae3f0b0
Access Control: Clear user's permission cache after resource creation (#59101) 3 years ago
Serge Zaitsev c2e847d0b0
Chore: Remove createorgwithmember (#59161) 3 years ago
Karl Persson fef1e1d5bc
Auth: Refactor auth package (#58920) 3 years ago
Gabriel MABILLE d999b5bda0
RBAC: remove redundant role name field from plugin role registrations (#58166) 3 years ago
Sofia Papagiannaki 9855e74b92
Chore: Refactor quota service (#58643) 3 years ago
Sasha Melentyev febcaeff3a
Chore: Use strings.ReplaceAll and preallocate containers (#58483) 3 years ago
Sofia Papagiannaki 96cdf77995
Revert "Chore: Refactor quota service (#57586)" (#58394) 3 years ago
Sofia Papagiannaki 326ea86a57
Chore: Refactor quota service (#57586) 3 years ago
Gabriel MABILLE 30fae33f66
RBAC: Allow role registration for plugins (#57387) 3 years ago
Ryan McKinley e6a9fa1cf9
ServiceAccounts: enable service accounts after IsRealUser change (#58263) 3 years ago
Dan Cech 9ea6a43089
Build: clean up and document integration test convention (#58170) 3 years ago
Gabriel MABILLE 101ce57a94
RBAC: Allow listing user permissions with scope (#57538) 3 years ago
Ieva 5c1a1c8318
change json command parameter names from userID to userId and teamID to teamId (#57902) 3 years ago
Ieva 2546437e20
add an endpoint for updating several managed permissions with one call (#57893) 3 years ago
Karl Persson 7386f8652c
RBAC: Improve performance of dashboard filter query (#56813) 3 years ago
Karl Persson 78c849ac29
RBAC: Fetch service account permissions in oss (#57343) 3 years ago
Kristina 5d7d54d076
Auth: Write the redirect cookie if denied - do not write a blank redirect (#57381) 3 years ago
Karl Persson 764d5b9929
RBAC: Cleaup team api rbac tests (#57265) 3 years ago
Kristin Laemmert 05709ce411
chore: remove sqlstore & mockstore dependencies from (most) packages (#57087) 3 years ago
Karl Persson 9adaf1565c
RBAC: Allow to list users for dashboard / folder admins (#57080) 3 years ago
Kristin Laemmert c61b5e85b4
chore: replace sqlstore.Store with db.DB (#57010) 3 years ago
idafurjes ef651daed2
Use org service instead of sqlstore (#56407) 3 years ago
Emil Tullstedt bb479e030a
RBAC: Redirect to /login when forceLogin is set (#56469) 3 years ago
idafurjes 5167c55760
Chore: Move methods from sqlstore to user store (#56305) 3 years ago
idafurjes a863a4d95d
Chore: Copy user methods over to user store (#56000) 3 years ago
Eric Leijonmarck f7de253cdd
fix: remove permission grouping (#56157) 3 years ago
Sofia Papagiannaki 8b77ee2734
SQLStore: Ensure that sessions are always closed (#55864) 3 years ago
Eric Leijonmarck 1e8f8dff4b
Auth: Adds validation and ingestion of conflict file (#53014) 3 years ago
Kristin Laemmert 701f6d5436
UserService: use the UserService instead of calling sqlstore directly (#55745) 3 years ago
Torkel Ödegaard 09f4068849
NavTree: Refactor out the navtree building from api/index.go and into it's own service (#55552) 3 years ago
Serge Zaitsev 4c19e83ff0
Chore: Move team store implementation to a separate package (#55514) 3 years ago
Ieva 6f93630e97
RBAC: add check for whether a role is managed (#55617) 3 years ago
Jo 13146cc812
Auth: reduce allocs (#55410) 3 years ago
ying-jeanne e4741ce8d6
remove datasource from sqlstore (#55288) 3 years ago
Karl Persson b827df626d
RBAC: Initiate store in service (#55081) 3 years ago
Yuriy Tseretyan 896eeb65a9
Alerting: Fix alerting evaluation to use proper permissions (#55127) 3 years ago
Karl Persson d896db6d30
RBAC: Batch permission creation (#55075) 3 years ago