public class CommonPrivilegeController extends java.lang.Object implements PrivilegeController
限定符和类型 | 字段和说明 |
---|---|
static CommonPrivilegeController |
KEY |
限定符和类型 | 方法和说明 |
---|---|
void |
updatePrivilege(java.lang.String currentUserId,
PrivilegeOperator operator,
java.util.List<AuthorityDetail> authorityDetails)
子管理员设置权限,规则是先获取当前用户具有的权限,再分配出去
|
public static final CommonPrivilegeController KEY
public void updatePrivilege(java.lang.String currentUserId, PrivilegeOperator operator, java.util.List<AuthorityDetail> authorityDetails) throws java.lang.Exception
updatePrivilege
在接口中 PrivilegeController
currentUserId
- 当前用户IDoperator
- 操作子authorityDetails
- 权限细节java.lang.Exception
- 异常