grafana/pkg/services/accesscontrol/resourcepermissions
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
..
types Access Control: Support other attributes than id for resource permissions (#46727) 2022-03-21 17:58:18 +01:00
api_test.go Split Create User (#50502) 2022-06-28 14:32:25 +02:00
api.go RBAC: Remove workaround to check permissions on folders for dashboard actions (#50291) 2022-06-07 13:21:56 +02:00
error.go Access Control: Pass db session to hooks (#44428) 2022-01-25 17:12:00 +01:00
middleware.go Access Control: Remove unused option (#48317) 2022-04-29 11:05:51 +02:00
options.go RBAC: Remove workaround to check permissions on folders for dashboard actions (#50291) 2022-06-07 13:21:56 +02:00
service_test.go Split Create User (#50502) 2022-06-28 14:32:25 +02:00
service.go Remove version property from fixed roles (#51298) 2022-06-23 12:09:03 +02:00