【7.6.0】【sys】【permission】【角色绑定权限】初始化绑定应用和所有

pull/55/MERGE
fengshuonan 2023-06-14 14:15:15 +08:00
parent e20e226462
commit 8cdc9850af
2 changed files with 56 additions and 0 deletions

View File

@ -0,0 +1,28 @@
package cn.stylefeng.roses.kernel.sys.modular.role.service.impl;
import cn.stylefeng.roses.kernel.sys.modular.role.action.RoleAssignOperateAction;
import cn.stylefeng.roses.kernel.sys.modular.role.enums.PermissionNodeTypeEnum;
import cn.stylefeng.roses.kernel.sys.modular.role.pojo.request.RoleBindPermissionRequest;
import cn.stylefeng.roses.kernel.sys.modular.role.pojo.response.RoleBindPermissionItem;
import java.util.List;
/**
*
*
* @author fengshuonan
* @since 2023/6/14 14:13
*/
public class RoleBindAppImpl implements RoleAssignOperateAction {
@Override
public PermissionNodeTypeEnum getNodeType() {
return PermissionNodeTypeEnum.APP;
}
@Override
public List<RoleBindPermissionItem> doOperateAction(RoleBindPermissionRequest roleBindPermissionRequest) {
return null;
}
}

View File

@ -0,0 +1,28 @@
package cn.stylefeng.roses.kernel.sys.modular.role.service.impl;
import cn.stylefeng.roses.kernel.sys.modular.role.action.RoleAssignOperateAction;
import cn.stylefeng.roses.kernel.sys.modular.role.enums.PermissionNodeTypeEnum;
import cn.stylefeng.roses.kernel.sys.modular.role.pojo.request.RoleBindPermissionRequest;
import cn.stylefeng.roses.kernel.sys.modular.role.pojo.response.RoleBindPermissionItem;
import java.util.List;
/**
*
*
* @author fengshuonan
* @since 2023/6/14 14:13
*/
public class RoleBindTotalImpl implements RoleAssignOperateAction {
@Override
public PermissionNodeTypeEnum getNodeType() {
return PermissionNodeTypeEnum.TOTAL;
}
@Override
public List<RoleBindPermissionItem> doOperateAction(RoleBindPermissionRequest roleBindPermissionRequest) {
return null;
}
}