Karl Persson
5eaaf9b9b7
RBAC: Rewrite search and plugin list rbac test ( #63483 )
...
* API: rewrite rbac tests for search
* API: rewrite rbac tests for listing plugins
* API: remove unused rbac test setup code
2023-02-21 11:13:35 +01:00
idafurjes
3bda112c5f
Chore: Move search model from models package to search service ( #62215 )
...
* Chore: Move search model from models package to search service
* Remove unused imports
* Cleanup after merge
2023-01-30 15:17:53 +01:00
Karl Persson
c08fe3a53c
RBAC: Enable rbac when creating new settings ( #53531 )
...
* Settings: Set RBACEnabled to true by default
* Remove accessControlEnabledFlag and explicitly set to false when needed
* Disable rbac for tests
2022-08-11 15:37:31 +02:00
idafurjes
6afad51761
Move SignedInUser to user service and RoleType and Roles to org ( #53445 )
...
* Move SignedInUser to user service and RoleType and Roles to org
* Use go naming convention for roles
* Fix some imports and leftovers
* Fix ldap debug test
* Fix lint
* Fix lint 2
* Fix lint 3
* Fix type and not needed conversion
* Clean up messages in api tests
* Clean up api tests 2
2022-08-10 11:56:48 +02:00
Karl Persson
44ffbfd6aa
RBAC: Refactor GetUserPermissions to use []accesscontrol.Permission ( #50683 )
...
* Return slice of permissions instead of slice of pointers for permissions
2022-06-14 10:17:48 +02:00
Karl Persson
34be8f28b9
AccessControl: Add metadata to search result ( #48879 )
...
* Add access control metadata to search hits if access control query string is passed
2022-05-17 15:51:44 +02:00