grafana/pkg/services/accesscontrol
idafurjes 6c43eb0b4d
Split Create User (#50502)
* Split Create User

* Use new create user and User from package user

* Add service to wire

* Making create user work

* Replace user from user pkg

* One more

* Move Insert to orguser Service/Store

* Remove unnecessary conversion

* Cleaunp

* Fix Get User and add fakes

* Fixing get org id for user logic, adding fakes and other adjustments

* Add some tests for ourguser service and store

* Fix insert org logic

* Add comment about deprecation

* Fix after merge with main

* Move orguser service/store to org service/store

* Remove orguser from wire

* Unimplement new Create user and use User from pkg user

* Fix wire generation

* Fix lint

* Fix lint - use only User and CrateUserCommand from user pkg

* Remove User and CreateUserCommand from models

* Fix lint 2
2022-06-28 14:32:25 +02:00
..
api AccessControl: Add endpoint to get user permissions (#45309) 2022-02-11 17:40:43 +01:00
database Split Create User (#50502) 2022-06-28 14:32:25 +02:00
mock RBAC: Add access control metadata to folder dtos (#51158) 2022-06-22 10:29:26 +02:00
ossaccesscontrol Remove version property from fixed roles (#51298) 2022-06-23 12:09:03 +02:00
resourcepermissions Split Create User (#50502) 2022-06-28 14:32:25 +02:00
accesscontrol_bench_test.go Chore: Remove last build tag (#50120) 2022-06-02 17:36:34 +00:00
accesscontrol_test.go Access Control: Support other attributes than id for resource permissions (#46727) 2022-03-21 17:58:18 +01:00
accesscontrol.go RBAC: Refactor GetUserPermissions to use []accesscontrol.Permission (#50683) 2022-06-14 10:17:48 +02:00
errors.go AccessControl: Resolve attribute based scopes to id based scopes (#40742) 2022-01-18 17:34:35 +01:00
evaluator_test.go Remove unused error from evaluator Evaluate (#49305) 2022-05-20 10:26:57 +02:00
evaluator.go Remove unused error from evaluator Evaluate (#49305) 2022-05-20 10:26:57 +02:00
filter_bench_test.go backend/datasources: move datasources models into the datasources service package (#51267) 2022-06-27 12:23:15 -04:00
filter_test.go backend/datasources: move datasources models into the datasources service package (#51267) 2022-06-27 12:23:15 -04:00
filter.go RBAC: Make RBAC action names more consistent (#49730) 2022-06-02 13:14:48 +01:00
middleware_test.go RBAC: Refactor GetUserPermissions to use []accesscontrol.Permission (#50683) 2022-06-14 10:17:48 +02:00
middleware.go Access Control: Move access control middlewares to domain package (#48322) 2022-04-28 10:46:18 +02:00
models.go Alerting: Add RBAC actions and role for provisioning API routes (#50459) 2022-06-09 09:18:57 +02:00
resolvers_test.go backend/datasources: move datasources models into the datasources service package (#51267) 2022-06-27 12:23:15 -04:00
resolvers.go fix logging of resolving scopes (#50173) 2022-06-03 10:53:53 -04:00
roles_test.go AccessControl: Remove package lists for roles and grants (#47141) 2022-04-06 09:31:14 +02:00
roles.go Remove version property from fixed roles (#51298) 2022-06-23 12:09:03 +02:00
scope_test.go Access Control: Refactor scope resolvers with support to resolve into several scopes (#48202) 2022-05-02 09:29:30 +02:00
scope.go RBAC: Add scope resolvers for dashboards (#50110) 2022-06-07 11:02:20 +02:00