feat: 添加数据权限过滤
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user