优化客服权限
This commit is contained in:
@@ -25,6 +25,7 @@ export type AdminViewerContext = {
|
||||
canViewSensitiveTaskData: boolean
|
||||
canManageTaskLifecycle: boolean
|
||||
canOperateAssistedTask: boolean
|
||||
canOperateKuaishouIndustryVoucher: boolean
|
||||
}
|
||||
|
||||
type RedeemResolutionAttempt = {
|
||||
@@ -370,6 +371,7 @@ export function createAdminViewerContext(
|
||||
canViewSensitiveTaskData: role === 'admin' || role === 'operator',
|
||||
canManageTaskLifecycle: role === 'admin' || role === 'operator',
|
||||
canOperateAssistedTask: role === 'admin' || role === 'operator' || role === 'support',
|
||||
canOperateKuaishouIndustryVoucher: role === 'admin' || role === 'operator' || role === 'support',
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user