|
@@ -0,0 +1,37 @@
|
|
|
+using System;
|
|
|
+using System.Collections.Generic;
|
|
|
+using System.Linq;
|
|
|
+using System.Threading.Tasks;
|
|
|
+using VCommon.Ioc;
|
|
|
+using VCommon.VApplication.Authorization;
|
|
|
+
|
|
|
+namespace VCommonCoreExample.Authorization
|
|
|
+{
|
|
|
+ public partial class PermissionManager : ISingletonIocClass, IPermissionManager
|
|
|
+ {
|
|
|
+ public bool ValidPermission(string permission)
|
|
|
+ {
|
|
|
+ throw new NotImplementedException();
|
|
|
+ }
|
|
|
+
|
|
|
+ public bool CheckPermission(Guid tenantId, Guid userId, params string[] hasAnyPermission)
|
|
|
+ {
|
|
|
+ throw new NotImplementedException();
|
|
|
+ }
|
|
|
+
|
|
|
+ public IReadOnlyCollection<PermissionNode> GetAllPermissionTree()
|
|
|
+ {
|
|
|
+ throw new NotImplementedException();
|
|
|
+ }
|
|
|
+
|
|
|
+ public IReadOnlyCollection<PermissionNodeOutput> GetPermissionTreeOutput()
|
|
|
+ {
|
|
|
+ throw new NotImplementedException();
|
|
|
+ }
|
|
|
+
|
|
|
+ public string[] GetUserPermissionCodes()
|
|
|
+ {
|
|
|
+ throw new NotImplementedException();
|
|
|
+ }
|
|
|
+ }
|
|
|
+}
|