mirror of
https://github.com/getrebuild/rebuild.git
synced 2025-09-29 01:59:38 +08:00
hotfix: getRequestUser
This commit is contained in:
parent
94fdd1fb7b
commit
b58800d9e8
1 changed files with 1 additions and 1 deletions
|
@ -171,7 +171,7 @@ public class DataImportController extends BaseController {
|
|||
// 开始导入
|
||||
@PostMapping("/data-imports/import-submit")
|
||||
public RespBody importSubmit(HttpServletRequest request) {
|
||||
final ID user = getIdParameterNotNull(request, "user");
|
||||
final ID user = getRequestUser(request);
|
||||
RbAssert.isAllow(
|
||||
Application.getPrivilegesManager().allow(user, ZeroEntry.AllowDataImport),
|
||||
Language.L("无操作权限"));
|
||||
|
|
Loading…
Add table
Reference in a new issue