12345678910111213141516171819202122 |
- using System;
- using Luticate2.Auth.Interfaces.Permissions;
- using Luticate2.Utils.Dbo.Result;
-
- namespace Luticate2.Auth.Business
- {
- public class LuPermissionsBusiness : ILuPermissionsBusiness
- {
- public LuResult<bool> GetPermissionValue(string permissionName, string srcEntityType, object srcEntity,
- string dstEntityType, object dstEntity)
- {
- return LuResult<bool>.Ok(true);
- }
-
- public LuResult<bool> GetPermissionEffectiveValue(string permissionName, string srcEntityType, object srcEntity,
- string dstEntityType, object dstEntity)
- {
- // throw new Exception($"{permissionName} {srcEntityType} {srcEntity} {dstEntityType} {dstEntity}");
- return LuResult<bool>.Ok(true);
- }
- }
- }
|