mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2025-12-21 10:59:46 +08:00
4.0发布前最后一般脚本;
优化登陆; 优化流程审批;
This commit is contained in:
@@ -105,7 +105,7 @@ namespace OpenAuth.App
|
||||
{
|
||||
var elementIds = UnitWork.Find<Relevance>(
|
||||
u =>
|
||||
(u.FirstId == _user.Id && u.Key == Define.ROLERESOURCE) ||
|
||||
(u.FirstId == _user.Id && u.Key == Define.USERELEMENT) ||
|
||||
(u.Key == Define.ROLEELEMENT && _userRoleIds.Contains(u.FirstId))).Select(u => u.SecondId);
|
||||
return UnitWork.Find<ModuleElement>(u => elementIds.Contains(u.Id));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user