mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2025-09-19 18:22:11 +08:00
全面修改Id为Guid类型,为2.0版做准备
This commit is contained in:
30
OpenAuth.Mvc/Models/WorkflowRuleProvider.cs
Normal file
30
OpenAuth.Mvc/Models/WorkflowRuleProvider.cs
Normal file
@@ -0,0 +1,30 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using OptimaJet.Workflow.Core.Model;
|
||||
using OptimaJet.Workflow.Core.Runtime;
|
||||
|
||||
namespace OpenAuth.Mvc.Models
|
||||
{
|
||||
public class WorkflowRuleProvider :IWorkflowRuleProvider
|
||||
{
|
||||
public List<string> GetRules()
|
||||
{
|
||||
return new List<string>
|
||||
{
|
||||
"管理员",
|
||||
"普通用户"
|
||||
};
|
||||
}
|
||||
|
||||
public bool Check(ProcessInstance processInstance, WorkflowRuntime runtime, string identityId, string ruleName,
|
||||
string parameter)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public IEnumerable<string> GetIdentities(ProcessInstance processInstance, WorkflowRuntime runtime, string ruleName, string parameter)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user