✨ 角色菜单数据权限替代用户级组织/客商权限
将后台数据权限迁移到角色×菜单配置,运行时按 menuCode 解析;组织树取最宽合并;停用用户侧组织与客商授权过滤。 Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
+9
@@ -29,6 +29,7 @@ import lombok.EqualsAndHashCode;
|
||||
import org.springblade.transport.pojo.entity.CommonAddress;
|
||||
|
||||
import java.io.Serial;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 常用地址视图实体类
|
||||
@@ -63,4 +64,12 @@ public class CommonAddressVO extends CommonAddress {
|
||||
@Schema(description = "是否查看全部组织")
|
||||
private Integer allDept;
|
||||
|
||||
@TableField(exist = false)
|
||||
@Schema(description = "数据权限组织ID集合")
|
||||
private List<Long> deptIds;
|
||||
|
||||
@TableField(exist = false)
|
||||
@Schema(description = "仅本人创建时的创建人ID")
|
||||
private Long scopeCreateUser;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user