修改权限

master
bynt 10 months ago
parent 131ecaed5d
commit 722a09b369

@ -195,7 +195,7 @@ public class SysUserController {
* @param userId userId
*/
@GetMapping("/scope/{userId}")
@PreAuthorize("@per.hasPermission('system:user:grant')")
// @PreAuthorize("@per.hasPermission('system:user:grant')")
public R<SysUserScope> getUserRoleIds(@PathVariable("userId") Long userId) {
List<SysRole> roleList = sysUserRoleService.listRoles(userId);
List<String> roleCodes = new ArrayList<>();

Loading…
Cancel
Save