Commit Graph

48 Commits (b5c67fe0dd7c7f678ac039e39db5edf49b00743a)

Author SHA1 Message Date
Sofia Papagiannaki b157fcdd87
Chore: fix formating for swagger definitions (#54993) 3 years ago
Karl Persson 55c7b8add2
RBAC: Split up service into several components (#54002) 3 years ago
Karl Persson 57d87389e0
RBAC: Remove user permissions in org when user is removed (#53782) 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 1ecbe22751
Chore: Add user service method GetByLogin (#53204) 3 years ago
Sofia Papagiannaki 7ba076de10
Chore: Move swagger definitions to the handlers (#52643) 3 years ago
idafurjes 6c43eb0b4d
Split Create User (#50502) 4 years ago
Ieva 0c0cf36ab8
Access control: role checks before updates (#51449) 4 years ago
Karl Persson 5caf97be40
AccessControl: Replace IsEnterprise checks with license checks (#49572) 4 years ago
ying-jeanne 7ddae870e7
fix status code 200 (#47818) 4 years ago
Gabriel MABILLE 3440e7c8f7
AccessControl: Fix locked role picker in orgs/edit page (#46539) 4 years ago
Karl Persson 7ab1ef8d6e
Access Control: Support other attributes than id for resource permissions (#46727) 4 years ago
Gabriel MABILLE 14bee49f9a
AccessControl: Compute metadata from context permissions (#45578) 4 years ago
Gabriel MABILLE 6fbf346747
AccessControl: Add endpoint to get user permissions (#45309) 4 years ago
ying-jeanne 7422789ec7
Remove Macaron ParamsInt64 function from code base (#43810) 4 years ago
Karl Persson f999910dc6
Access control: Add access control sql filter to org user queries (#43961) 4 years ago
J Guerreiro 6bbf85e2e9
AccessControl: verify metadata map is not null (#43743) 4 years ago
Gabriel MABILLE 92c568e9f7
AccessControl: Remove unused error from `GetResourcesMetadata` (#43710) 4 years ago
J Guerreiro 056e143664
AccessControl: Present user edit actions according to AC metadata (#43602) 4 years ago
J Guerreiro 3d4fafcf70
AccessControl: Add access control metadata to org user DTOs (#43362) 4 years ago
Serge Zaitsev d9cdcb550e
Chore: Refactor api handlers to use web.Bind (#42199) 4 years ago
Gabriel MABILLE 818b8739c0
AccessControl: Remove scopes from orgs endpoints (#41709) 4 years ago
idafurjes 65ebb04cf3
Chore: Add context to org users (#39526) 4 years ago
Gabriel MABILLE 4be9ec8f72
AccessControl: Protect org users lookup (#38981) 4 years ago
idafurjes f2fcf721eb
32540: Add org users with pagination (#33788) 5 years ago
Hugo Häggmark 3d41267fc4
Chore: Moves common and response into separate packages (#30298) 5 years ago
Agnès Toulet 22788d1d86
Add an option to hide certain users in the UI (#28942) 5 years ago
Arve Knudsen 294770f411
Chore: Handle wrapped errors (#29223) 5 years ago
Agnès Toulet eb970a4985
Org API: enrich add user to org endpoints with user ID in the response (#27551) 5 years ago
Marcus Efraimsson 8fd153edb7
API: Restrict anonymous user information access (#18422) 6 years ago
Dan Cech 19b69a82af
fmt 7 years ago
Torkel Ödegaard b671b9704f changed property name to UserWasDeleted and added an assert for it 7 years ago
Torkel Ödegaard 9585dc7825 added the UserWasRemoved flag to make api aware of what happened to return correct message to UI 7 years ago
Torkel Ödegaard 5b5cb6622d Remove user form org now completely removes the user from the system if the user is orphaned 7 years ago
Marcus Efraimsson c0b7ca3902 fix /api/org/users so that query and limit querystrings works 7 years ago
Julian Kornberger 0a415c50d0 Make golint happier 8 years ago
Julian Kornberger 7aab6a8887 Make golint happier 8 years ago
Dan Cech c0ecdee375
rename Context to ReqContext 8 years ago
Dan Cech 338655dd37
move Context and session out of middleware 8 years ago
Marcus Efraimsson a86f2fa34b user picker should only include users from current org (#10845) 8 years ago
Torkel Ödegaard bb7b55277c users view update 8 years ago
Pavlos Daoglou c365d52a80 [6486] Fix status code when adding an existing user to org (#6678) 9 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 11 years ago
Torkel Ödegaard 788e7fd36d Lots of api refactoring for org routes, #2014 11 years ago
Torkel Ödegaard e771d8e944 Organization: You can now update the organization user role directly (without removing and readding the organization user). Closes #1899 11 years ago
Torkel Ödegaard 26e4809e2e Big Backend Refatoring: Renamed Account -> Org 11 years ago
Torkel Ödegaard e9e2fa2927 Started Account -> Organization rename 11 years ago
Torkel Ödegaard 10820f31c2 Changed go package path 11 years ago
Torkel Ödegaard eec178458b Validation check for not removing the last account admin 11 years ago