예제 #1
0
 public IDictionary <Neusoft.Privilege.ServiceContracts.Model.IPriv, IList <Neusoft.Privilege.ServiceContracts.Model.IOperation> > GetPermission(Neusoft.Privilege.ServiceContracts.Model.IRole role)
 {
     return(this.Channel.GetPermission(role));
 }
예제 #2
0
 public IDictionary <Neusoft.Privilege.ServiceContracts.Model.IPriv, IList <Neusoft.Privilege.ServiceContracts.Model.IOperation> > GetPermission(string ResourceType, string resId, Neusoft.Privilege.ServiceContracts.Model.IRole role)
 {
     return(this.Channel.GetPermission(ResourceType, resId, role));
 }
예제 #3
0
 public bool IsAllowed(string ResourceType, Neusoft.Privilege.ServiceContracts.Model.IRole role, Neusoft.Privilege.ServiceContracts.Model.IPriv resource, Neusoft.Privilege.ServiceContracts.Model.IOperation operation)
 {
     return(this.Channel.IsAllowed(ResourceType, role, resource, operation));
 }
예제 #4
0
 public int Revoke(string ResourceType, Neusoft.Privilege.ServiceContracts.Model.IRole role, Neusoft.Privilege.ServiceContracts.Model.IPriv resource)
 {
     return(this.Channel.Revoke(ResourceType, role, resource));
 }
예제 #5
0
 public Neusoft.Privilege.ServiceContracts.Model.IRole SaveRole(Neusoft.Privilege.ServiceContracts.Model.IRole role, IList <string> newUsersId)
 {
     return(this.Channel.SaveRole(role, newUsersId));
 }