fix: 修复session到期之后测试计划,测试用例与模块不对应

This commit is contained in:
Captain.B 2020-07-21 11:05:50 +08:00
parent 801ee5edd5
commit 1f4dc99864
2 changed files with 3 additions and 1 deletions

View File

@ -25,6 +25,7 @@ import java.util.List;
@RequestMapping("/test/case")
@RestController
@RequiresRoles(value = {RoleConstants.ADMIN, RoleConstants.TEST_MANAGER, RoleConstants.TEST_USER, RoleConstants.TEST_VIEWER, RoleConstants.ORG_ADMIN}, logical = Logical.OR)
public class TestCaseController {
@Resource

View File

@ -10,10 +10,11 @@ import org.apache.shiro.authz.annotation.RequiresRoles;
import org.springframework.web.bind.annotation.*;
import javax.annotation.Resource;
import java.util.*;
import java.util.List;
@RequestMapping("/case/node")
@RestController
@RequiresRoles(value = {RoleConstants.ADMIN, RoleConstants.TEST_MANAGER, RoleConstants.TEST_USER, RoleConstants.TEST_VIEWER, RoleConstants.ORG_ADMIN}, logical = Logical.OR)
public class TestCaseNodeController {
@Resource