fix 控制不可按role分配权限
This commit is contained in:
@@ -46,5 +46,9 @@ public class DevicePermissionSaveRequest : IValidatableObject
|
||||
yield return new ValidationResult("请明确具体的厂区", new[] { nameof(TenantId) });
|
||||
}
|
||||
}
|
||||
else if (AssignType == AssignTypeEnumType.Role)
|
||||
{
|
||||
yield return new ValidationResult("暂不支持角色分配", new[] { nameof(AssignType) });
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user