allow users to search for accounts/groups

This commit is contained in:
Dennis Eichhorn 2020-06-11 11:04:59 +02:00
parent 6bad9add41
commit ca85c5cf60
2 changed files with 4 additions and 3 deletions

View File

@ -73,7 +73,7 @@ return [
'permission' => [
'module' => ApiController::MODULE_NAME,
'type' => PermissionType::READ,
'state' => PermissionState::ACCOUNT,
'state' => PermissionState::SEARCH,
],
],
],
@ -84,7 +84,7 @@ return [
'permission' => [
'module' => ApiController::MODULE_NAME,
'type' => PermissionType::READ,
'state' => PermissionState::ACCOUNT,
'state' => PermissionState::SEARCH,
],
],
],
@ -95,7 +95,7 @@ return [
'permission' => [
'module' => ApiController::MODULE_NAME,
'type' => PermissionType::READ,
'state' => PermissionState::ACCOUNT,
'state' => PermissionState::SEARCH,
],
],
],

View File

@ -34,4 +34,5 @@ abstract class PermissionState extends Enum
public const ROUTE = 6;
public const APP = 7;
public const ACCOUNT_SETTINGS = 8;
public const SEARCH = 9;
}