feat: 添加数据权限过滤

This commit is contained in:
陈淳
2024-01-18 16:28:09 +08:00
parent 666f5a10d3
commit 7475a683cc
13 changed files with 162 additions and 55 deletions

View File

@@ -23,5 +23,7 @@ namespace Yi.Framework.Rbac.Domain.Shared.Consts
public const string Roles = nameof(Roles);
public const string Permission = nameof(Permission);
public const string RoleInfo=nameof(RoleInfo);
}
}

View File

@@ -0,0 +1,15 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Yi.Framework.Rbac.Domain.Shared.Enums;
namespace Yi.Framework.Rbac.Domain.Shared.Model
{
public class RoleTokenInfoModel
{
public Guid Id { get; set; }
public DataScopeEnum DataScope { get; set; }
}
}