mirror of
https://github.com/yangzongzhuan/RuoYi-Vue.git
synced 2025-09-04 03:55:43 +00:00
授权用户添加访问权限
This commit is contained in:
@@ -220,6 +220,7 @@ public class SysRoleController extends BaseController
|
||||
/**
|
||||
* 批量取消授权用户
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('system:role:edit')")
|
||||
@Log(title = "角色管理", businessType = BusinessType.GRANT)
|
||||
@PutMapping("/authUser/cancelAll")
|
||||
public AjaxResult cancelAuthUserAll(Long roleId, Long[] userIds)
|
||||
@@ -230,6 +231,7 @@ public class SysRoleController extends BaseController
|
||||
/**
|
||||
* 批量选择用户授权
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('system:role:edit')")
|
||||
@Log(title = "角色管理", businessType = BusinessType.GRANT)
|
||||
@PutMapping("/authUser/selectAll")
|
||||
public AjaxResult selectAuthUserAll(Long roleId, Long[] userIds)
|
||||
|
Reference in New Issue
Block a user