mirror of
https://github.com/Karaka-Management/oms-Admin.git
synced 2026-01-30 05:28:39 +00:00
allow users to search for accounts/groups
This commit is contained in:
parent
6bad9add41
commit
ca85c5cf60
|
|
@ -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,
|
||||
],
|
||||
],
|
||||
],
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user