|
@@ -61,7 +61,7 @@ public class TableDetectionController extends BaseController
|
|
|
@GetMapping("/list")
|
|
|
public TableDataInfo list(TableDetection tableDetection)
|
|
|
{
|
|
|
- if(permissionService.hasAnyRoles("common")){
|
|
|
+ if(permissionService.hasAnyRoles("common") && !SecurityUtils.getLoginUser().getPermissions().contains("*:*:*")){
|
|
|
Map p = tableDetection.getParams();
|
|
|
if(p==null) p = new HashMap<String,Object>();
|
|
|
p.put("userId", SecurityUtils.getLoginUser().getUserId()+"");
|